Open Bug 1274648 Opened 8 years ago Updated 2 years ago

Reloading a temporary add-on does not refresh svg browser action icon

Categories

(WebExtensions :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: TheOne, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: triaged)

STR:
1. Use an extension with a browseraction using a svg icon, e.g. https://addons.mozilla.org/en-US/firefox/addon/open-multiple-addresses/
2. Load the add-on using about:debugging
3. Edit the svg file in a text editor
4. Click "Reload" in about:debugging

Expected results:
browseraction icon should update

Actual results:
The changes are not reflected

Note:
Restarting the browser and clicking "load temporary add-on" does pick up the changed svg file
We probably need to flush the image loader cache after the reload.
if it's a PNG you can change the icon, reload, and it works, so that's odd
I suspect that we have different cache behavior for SVGs, since they're much more expensive to rasterize than PNGs are to decode and scale.
Priority: -- → P3
Whiteboard: triaged
Product: Toolkit → WebExtensions
Bulk move of bugs per https://bugzilla.mozilla.org/show_bug.cgi?id=1483958
Component: Untriaged → General
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.