ChromeClient::runOpenPanel() implementation should be able to refer 'accept' attribute to support it.
Created attachment 44685 [details] Proposed patch
style-queue ran check-webkit-style on attachment 44685 [details] without any errors.
Comment on attachment 44685 [details] Proposed patch > +++ b/WebCore/rendering/RenderFileUploadControl.cpp ... > +String RenderFileUploadControl::acceptTypes() > +{ > + HTMLInputElement* input = static_cast<HTMLInputElement*>(node()); > + return input->accept(); > +} nit: no need for the input variable, just do: return static_cast<HTMLInputElement*>(node())->accept(); Otherwise, R=me
(In reply to comment #3) Thank you for reviewing. > nit: no need for the input variable, just do: > > return static_cast<HTMLInputElement*>(node())->accept(); > > Otherwise, R=me Fixed it, and commit manually as r52003.