Closed Bug 1417456 Opened 8 years ago Closed 8 years ago

Shift-F10's context menu cannot be suppressed by web app

Categories

(Core :: DOM: Events, defect)

56 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1338369

People

(Reporter: Jonathan.Brink, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171024165158 Steps to reproduce: Please see this StackOverflow question for a full summary of the issue. What I did was to listen to when the shift-f10 key combination is pressed, and try to prevent the browser context menu from appearing. None of these seem to work: e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); Actual results: The browser context menu still appears Expected results: The browser context menu should be suppressed.
Summary: Shift-F10 cannot be overridden by web app → Shift-F10's context menu cannot be suppressed by web app
StackOverflow question I originally posted regarding this question: https://stackoverflow.com/questions/47272038/shift-f10-prevent-context-menu-in-firefox
Component: Untriaged → DOM: Events
Product: Firefox → Core
This sounds a duplicate of bug 1347079, right?
Flags: needinfo?(masayuki)
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #2) > This sounds a duplicate of bug 1347079, right? No. Bug 1347079 is, users cannot forcibly open context menu with Shift+F10 on Windows and Linux. This bug reports is, web apps cannot prevent context menu to open when user types Shift+F10. This bug is dup of bug 1338369 which was fixed on 56. And then, if user cannot mouse nor context menu key of 109 keyboard, users cannot open context menu without F10 key with any modifiers.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(masayuki)
Resolution: --- → DUPLICATE
Oops, that was fixed on 55.
You need to log in before you can comment on or make changes to this bug.