Closed Bug 1361085 Opened 7 years ago Closed 7 years ago

Allow individual icons for context menu entries

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1321544

People

(Reporter: Manuel.Spam, Unassigned)

Details

For one of my addons:
https://addons.mozilla.org/en-US/firefox/addon/undoclosetabbutton/
I would like to be able to set individual icons for context menu items.

I think the easiest way to allow this would be to allow a new value (for example "icon" to be passed to "contextMenus.create".

Please allow icon URLs in whatever "tabs.Tab.favIconUrl" returns, as this is what I would like to do: Show the favicons next to the items in my "closed tab list" in the context menu.
In WebExtensions, the top level context menu item will have an icon that matches the add-on so that we can give the user a clear indication of where the context menu is from. There is a request for sub-items to have different icons in bug 1321544. Because we aren't going to support this at the top level, we'll dupe it to that bug.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.