Bug 83009

Summary: Right click is not blocked behind a file selection sheet
Product: WebKit Reporter: Martin Saulis <martin>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andersca, ap, sam
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
URL: http://www.saulis.com/test/upload/

Description Martin Saulis 2012-04-03 02:13:46 PDT
Steps to reproduce:
1. Go to http://www.saulis.com/test/upload/ (or any page which allows uploading files with <input type="file" />
2. Click on the 'Choose file' button
3. While the file selection dialog is open, right click anywhere on the page in the background and click 'Reload' from the drop-down menu

Issue:
The page reloads, the modal dialog is still visible, but selecting anything in the dialog won't register the file as being selected for upload.

Expected result:
As far as I understand, modal dialogs should block access to anything in the background completely, and the user should not be able to reload the page using the drop-down menu -- it's not possible to reload the page or use any navigation buttons when that dialog is open.

Only tested on MacOS X 10.7.2, both Safari and Chrome behave the same way.
Comment 1 Alexey Proskuryakov 2012-04-03 13:18:24 PDT
Confirmed. What I'm seeing is that Ctrl-click is blocked, but clicking Magic Trackpad with two fingers shows context menu. Presumably a right click with a mouse does the same, but I don't have one to test with.
Comment 2 Alexey Proskuryakov 2012-04-03 13:18:43 PDT
<rdar://problem/11177090>