Closed Bug 1999468 Opened 8 months ago Closed 7 months ago

Safely display SVG favicons by using the remote-image protocol

Categories

(Firefox :: Tabbed Browser, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: tschuster, Assigned: tschuster)

References

Details

(Keywords: sec-want, Whiteboard: [adv-main148-])

Attachments

(1 file)

Since bug 1586083 we send raster images (PNG, JPEG etc.) as safe pixel data from the child to parent and re-encode it there for display and sharing (think the WebExtension API). We can't easily do this for (all) SVG images, because those need to be dynamically sized etc. To solve this issue I am adding the remote-image protocol in bug 1985987, which will safely decode the SVG at a specific size in a child process. This bug will be used to change the frontend to actually make use of the protocol.

Assignee: nobody → tschuster
Status: NEW → ASSIGNED

There are still a few small improvement that I want to make with the moz-remote-image: protocol before using it for something as important as the URL bar, but I hope that by adding the pref I can at least more easily test the code. I will of course add tests for this when enabling it by default.

Pushed by tschuster@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6c9c4294f1c5 https://hg.mozilla.org/integration/autoland/rev/cb0ae3346d6c Display SVG favicons using the moz-remote-image: protocol (disabled by default). r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
QA Whiteboard: [qa-triage-done-c149/b148]
Whiteboard: [adv-main148-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: