Closed Bug 1345830 Opened 3 years ago Closed 4 months ago
Modifier keys and reserved keyboard shortcuts should not trigger 'interactivity' flag on documents (should still not show beforeunload dialog)
47 bytes, text/x-phabricator-request
|Details | Review|
Bug 636905 made it so pages can't stop you from leaving with beforeunload dialogs if you've never interacted with the page. Unfortunately, in some circumstances if focus is inside the web page and you use a keyboard shortcut to try to close the tab/window, that counts as "interaction" with the page, and so then the dialog still comes up. This shouldn't happen.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/c36eedede558 don't treat modified / shortcut-like key presses as user input, r=smaug
You need to log in before you can comment on or make changes to this bug.