Open
Bug 1493639
Opened 6 years ago
Updated 2 years ago
menus.refresh should only modify modified menu items
Categories
(WebExtensions :: Frontend, enhancement, P3)
WebExtensions
Frontend
Tracking
(Not tracked)
NEW
People
(Reporter: robwu, Unassigned)
References
(Blocks 1 open bug)
Details
The menus.refresh API allows extensions to refresh its own menu items in the menu. The implementation removes all existing menu items and reconstructs the new menu, under the assumption that it has a minimal impact on the menu appearance because there is at most one extension menu item in the root menu. This assumption is no longer valid once bug 1367160 lands (and already invalid for extension action menus).
The menus.refresh implementation should be updated to support partial refreshes, i.e. updating only one or a few specific menu items without destroying and rebuilding the whole extension menu.
This would also be necessary if we want to allow extensions to observe individual extension submenus (bug 1440635).
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•