From discussion on: <http://webkit.org/b/63039> FileChooser should be only created when we need to choose files. > > Is there a particular reason that this FileChooser doesn't set the acceptTypes? > > It looks like the accept="..." mime type filter would get ignored in this case, > > but it is respected with the click/runOpenPanel case. > > There is no reason. We had better pass acceptTypes. > Chromium's enumeratChosenDirectory() implementaion doesn't have the acceptTypes parameter > for now. So adding acceptTypes here is harmless. So this covers adding it! Patch to follow.
Created attachment 110075 [details] [PATCH] Pass accept attribute information to ports via FileChooser Added.
Comment on attachment 110075 [details] [PATCH] Pass accept attribute information to ports via FileChooser OK
Comment on attachment 110075 [details] [PATCH] Pass accept attribute information to ports via FileChooser Clearing flags on attachment: 110075 Committed r96895: <http://trac.webkit.org/changeset/96895>
All reviewed patches have been landed. Closing bug.