Closed
Bug 1272977
Opened 9 years ago
Closed 9 years ago
Add-on icon not shown in context menu
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1215375
People
(Reporter: macieksitarz, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160503092831
Steps to reproduce:
I'm porting an existing Chrome extension to Firefox (https://github.com/khloke/play-to-xbmc-chrome)
According to Chrome's doc, context menu should get the icon of the add-on defined in manifest.json:
https://developer.chrome.com/extensions/contextMenus#method-create
This part of code is responsible for adding context menus:
chrome.contextMenus.create({
title: "Play now",
contexts: ["link"],
targetUrlPatterns: ['magnet:*', 'acestream:*', 'sop:*'],
onclick: function (info) {
doAction(actions.Stop, function () {
clearPlaylist(function () {
queueItem(info.linkUrl, function () {
});
})
});
}
});
Firefox version: 46.0.1
OS: GNU/Linux Fedora 23
Actual results:
No icon is shown in the context menu.
Expected results:
16x16 icon defined in manifest.json should be shown in add-on's context menu
Comment 1•9 years ago
|
||
I believe support for icons landed in Firefox 47. See https://bugzilla.mozilla.org/show_bug.cgi?id=1215375
Reporter | ||
Comment 2•9 years ago
|
||
Thank you Matthew. I checked on firefox-nightly-49.0a1.20160515 on this is fixed.
I'm closing this as duplicate of bug #1215375.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•