Open Bug 1720623 Opened 3 years ago Updated 3 years ago

fetch useless favicon with link shortcut icon customization there

Categories

(Firefox :: Tabbed Browser, defect)

Firefox 89
defect

Tracking

()

People

(Reporter: johnhu, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Steps to reproduce:

  1. create 2 web pages (linked each other) with customized favicon tag, <link rel="shortcut icon" href="favicon.production.ico">
  2. serve these pages
  3. open the page 1 and click link to page 2
  4. open developer tools -> network tab
  5. press browser native backward button
  6. check network tab to find two network access:
  • favicon.ico
  • favicon.production.ico

Actual results:

Firefox tries to make two fetches:

  1. favicon.ico
  2. favicon.production.ico

The first one is useless and makes a 404 request to the web server.

Expected results:

Firefox tries to make one fetch:

  1. favicon.production.ico

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: Networking
Product: Firefox → Core

The fetch request was triggered by FaviconLoader.jsm, so change the component to Tabbed Browser.

Component: DOM: Networking → Tabbed Browser
Product: Core → Firefox

I'm not entirely sure but I believe this might be a duplicate of Bug 685740

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: