Context menu items in about:devtools-toolbox should set from ContextMenuChild
Categories
(DevTools :: about:debugging, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: daisuke, Unassigned)
Details
This is a follow up to bug 1522400.
In the implementation of bug 1522400, nsContextMenu
[1] determins the visibility and so on of some context menu items by a flag which indicates whether about:devtools-toolbox
which is provided by ContextMenuChild
[2].
However, it is ideal that ContextMenuChild
determins all the items and nsContextMenu
simply builds the context menu along this data.
And please see Julian's suggestion at [3] as concrete ideas.
[1] https://searchfox.org/mozilla-central/source/browser/actors/ContextMenuChild.jsm
[2] https://searchfox.org/mozilla-central/source/browser/base/content/nsContextMenu.js
[3] https://phabricator.services.mozilla.com/D17459#502722
Comment 1•6 years ago
|
||
This bug is a general cleanup to move most of the logic to ContextMenuChild, not only related to remote-debugging items.
Comment 2•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•2 years ago
|
Description
•