Open Bug 1801570 Opened 3 years ago Updated 1 year ago

Changing image source to empty data url still renders old image

Categories

(Core :: DOM: Core & HTML, defect)

Firefox 109
defect

Tracking

()

UNCONFIRMED

People

(Reporter: 1justinpeter, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

(Apologies if this isn't the right component; I'm not entirely sure here.)

When navigating to a page with <link rel="icon" href="data:;base64,=">, the tab bar renders the favicon of the previous page. When opening in a new tab, it correctly recognizes that the page does not have a valid favicon.

STR:

  1. Go to https://news.ycombinator.com/item?id=33683571
  2. Click on the link "Welcome to the First RISC-V Site" at the top of the page
  3. Notice that the favicon does not change

Mozregression points to bug 1718220; prior to this, no favicon was rendered.

(A slightly related question: this page sometimes renders the icon for no favicon, but others, such as example.com, simply do not render a favicon. Is this intentionally inconsistent?)

Flags: needinfo?(emilio)
Regressed by: 1718220
Attached file Test-case.

This seems like a more general problem with <img>...

Flags: needinfo?(emilio)
Component: Web Painting → DOM: Core & HTML
Summary: Page with favicon as empty data url renders favicon of previous page → Changing image source to empty data url still renders old image

Doesn't seem like a recent regression...

Severity: -- → S3
No longer blocks: 1076583
Depends on: 1076583
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: