Open Bug 1845035 Opened 1 year ago Updated 1 year ago

Invalid blank favicon causes the page to inherit favicon from a previously visited page

Categories

(Firefox :: Tabbed Browser, defect)

Firefox 115
defect

Tracking

()

People

(Reporter: rimas, Unassigned, NeedInfo)

References

(Depends on 1 open bug, )

Details

Attachments

(3 files)

Attached file favicon_demo.html (deleted) —

+++ This bug was initially created as a clone of Bug #577447 +++

When a newly visited page specifies data:image/x-icon with no content as its favicon, it inherits the favicon from the previously visited page.

I've noticed this a while ago with https://savitarna.perlasgo.lt/, but I've just reported them that their favicon is missing, so I hope they might fix this soon, so I'm attaching a really minimal test case which illustrates the problem.

If you visit a website that has a favicon (e.g. https://www.google.com), and then open the attached file in that same tab, you'll see that the tab keeps the favicon that was previously shown.

Component: General → Tabbed Browser

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
Attached image Screenshot of tab DOM (deleted) —

This is a screenshot of the Firefox tab's DOM at the time that the bug is reproduced. The src on the image looks pretty fishy - it's data:image/x-icon, which isn't a valid Data URI, and yet the old image is still displaying.

mak said he wanted to take a look at this.

Flags: needinfo?(mak)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: