Bug 55102

Summary: A user gesture should not be required to open the file chooser dialog if the pop-up blocker is disabled.
Product: WebKit Reporter: Andy Estes <aestes>
Component: DOMAssignee: Johnny(Jianning) Ding <jnd>
Status: NEW    
Severity: Normal CC: abarth, adele, jnd, me
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on: 56383, 47593    
Bug Blocks:    
Attachments:
Description Flags
patch v1 adele: review-

Andy Estes
Reported 2011-02-23 16:35:36 PST
This matches Firefox 4's behavior. Users should be able to opt out of our protections if they so choose.
Attachments
patch v1 (7.87 KB, patch)
2011-03-15 09:15 PDT, Johnny(Jianning) Ding
adele: review-
Johnny(Jianning) Ding
Comment 1 2011-03-15 09:15:55 PDT
Created attachment 85815 [details] patch v1
Adele Peterson
Comment 2 2011-04-26 15:47:54 PDT
I'm not sure this is a good idea. Even if a user turns off pop-up blocking, then might not expect that script can open the file chooser dialog.
Andy Estes
Comment 3 2011-04-26 15:56:13 PDT
This bug was based on a discussion I had with jnd about improving how we block file dialogs. This probably isn't as important to fix since we landed <http://trac.webkit.org/changeset/81057>, as that patch allows apps that rely on opening file choosers via setTimeout() to continue to work without changing the pop-up blocker pref.
Adele Peterson
Comment 4 2011-04-26 15:58:26 PDT
Comment on attachment 85815 [details] patch v1 ok, then r-'ing for now. If someone wants to argue for this, I'll reconsider.
Note You need to log in before you can comment on or make changes to this bug.