Bug 83009 - Right click is not blocked behind a file selection sheet
Summary: Right click is not blocked behind a file selection sheet
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Normal
Assignee: Nobody
URL: http://www.saulis.com/test/upload/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-04-03 02:13 PDT by Martin Saulis
Modified: 2012-04-03 13:18 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>