Add support for specifying a mouse button in XULMenuPopup.activateItem
Categories
(Core :: Widget: Cocoa, task)
Tracking
()
People
(Reporter: mstange, Assigned: mstange)
References
Details
(Whiteboard: [proton-uplift])
Attachments
(2 files)
Our WebExtension menu items have the ability to detect the mouse button that a context menu item was clicked with: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/menus/OnClickData
This was added in bug 1469148 and is only supported in Firefox.
We have a test for this at browser/components/extensions/test/browser/browser_ext_menus_capture_secondary_click.js
.
I'd like to convert this test to use the activateItem API from bug 1704206, but at the moment, activateItem does not allow specifying the mouse button.
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D111956
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D111979
Comment 4•4 years ago
|
||
Backed out for conflicting with the backout of Bug 1704948
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/033cbb106695
https://hg.mozilla.org/mozilla-central/rev/c714e62ff3ea
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/8c6c70a90e78
https://hg.mozilla.org/releases/mozilla-beta/rev/a86234b27d73
Updated•4 years ago
|
Updated•3 years ago
|
Description
•