RESOLVED FIXED 69592
Pass "accept" mime type information into FileChooser at all call sites
https://bugs.webkit.org/show_bug.cgi?id=69592
Summary Pass "accept" mime type information into FileChooser at all call sites
Joseph Pecoraro
Reported 2011-10-06 18:48:01 PDT
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.
Attachments
[PATCH] Pass accept attribute information to ports via FileChooser (1.31 KB, patch)
2011-10-06 18:51 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2011-10-06 18:51:16 PDT
Created attachment 110075 [details] [PATCH] Pass accept attribute information to ports via FileChooser Added.
Kent Tamura
Comment 2 2011-10-06 18:53:24 PDT
Comment on attachment 110075 [details] [PATCH] Pass accept attribute information to ports via FileChooser OK
WebKit Review Bot
Comment 3 2011-10-06 19:54:47 PDT
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>
WebKit Review Bot
Comment 4 2011-10-06 19:54:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.