Closed Bug 1444779 Opened 3 years ago Closed 3 years ago

Can't show extensionGeneric-16.svg in a chrome-side list item background

Categories

(WebExtensions :: General, defect)

58 Branch
Unspecified
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1315616

People

(Reporter: eric.promislow, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20180206200532

Steps to reproduce:

I have a web extension (github.com/ericpromislow/tabhunter) that builds a list of loaded URLs along with their favicon url, using this code:

    var list = document.getElementById("list");
    var el = document.createElement("li");
    el.textContent = "about:addons-Add-ons Manager - about:addons";
    el.style.backgroundImage = "url(chrome://mozapps/skin/extensions/extensionGeneric-16.svg.)";
// ...
    list.append(el);
        }



Actual results:

The icon no longer shows up (FF 58.0.2). This message appears in the log:

Security Error: Content at moz-extension://5be5a12f-33d9-d14b-b06d-5c79ee3bb5b3/popup/tabhunter.html may not load or link to chrome://mozapps/skin/extensions/extensionGeneric-16.svg.


Expected results:

From https://bugzilla.mozilla.org/show_bug.cgi?id=1388880 I see that the icon used to be a .png, and was displayable. The png is no longer available. Could be made available in the interests of backwards compatibility?
I think the proper component for this issue would be Toolkit::WebExtensions: General. Please correct if this is not the right component.
Component: Untriaged → WebExtensions: General
OS: Unspecified → Mac OS X
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1315616
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.