Closed Bug 2045686 Opened 5 months ago Closed 5 months ago

Remove FaviconLoader resource://pdf.js principal substitution made obsolete by PDF.js's explicit favicon

Categories

(Firefox :: PDF Viewer, task)

task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: calixte, Assigned: calixte)

References

Details

Attachments

(1 external file)

Revert the resource://pdf.js branch (which has been added for fixing bu 2015285) in https://searchfox.org/firefox-main/source/browser/modules/FaviconLoader.sys.mjs#158-165 and remove the now-disabled browser_favicon_pdf.js test plus its blank.pdf support file and browser.toml entry.

PDF.js now declares an explicit favicon (chrome://global/skin/icons/pdf.svg) in
its viewer, so opening a PDF no longer falls back to requesting /favicon.ico from
the document origin. The resource://pdf.js principal substitution added in bug
2015285, along with its browser_favicon_pdf.js test and blank.pdf fixture, is
therefore dead code and is removed here.

Pushed by cdenizet@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fed673628560 https://hg.mozilla.org/integration/autoland/rev/04161ff90c87 Remove the PDF.js favicon principal workaround obsoleted by PDF.js's explicit favicon r=mossop
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: