The “Remove Extension” context menu item is not available for pageAction
Categories
(WebExtensions :: Frontend, defect, P3)
Tracking
(firefox62 disabled, firefox63 disabled, firefox64 wontfix, firefox77 fixed)
People
(Reporter: cbadescu, Assigned: willdurand)
References
Details
Attachments
(2 files)
Updated•7 years ago
|
![]() |
||
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Hey Will, thanks for taking this issue, here is some pointers that may be useful to find some of the relevant pieces:
-
the pageAction context menu item actions are defined in browser/base/content/browser-pageActions.js, e.g. here is the action for "Manage Extension"
-
the pageAction localized strings are defined in the browser.ftl fluent file
-
the pageAction HTML DOM elements are defined in browser.xhtml
-
the browserAction's "Remote Extension" context menu item is currently defined here
I think that the pageAction would likely have to do most of what ToolbarContextMenu.removeExtensionForContextAction
is doing for the browserAction context menu item, and so it would be great if we could share at least part of the code to handle the extension context menu item shared by both pageAction and browserAction (Mark Striemer may help you to evaluate that or find someone from Firefox Frontend that would be good to consult on the topic).
Assignee | ||
Comment 2•5 years ago
|
||
Comment 4•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•