Open Bug 1992674 Opened 1 month ago Updated 3 days ago

Support dynamic favicons

Categories

(Firefox for Android :: Browser Engine, enhancement)

Firefox 145
All
Android
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: simon.suiter, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

Trying to change the favicon dynamically:

<html>
  <head>
    <link rel="icon" href="https://www.firefox.com/media/img/favicons/firefox/browser/favicon-196x196.59e3822720be.png">
  </head>
  <body>
    <script>
      const link = document.querySelector("link");
      link.href = "https://blog.nightly.mozilla.org/files/2024/04/cropped-Fx-Browser-Nightly-icon-fullColor-512-32x32.png";
      document.addEventListener("DOMContentLoaded", _ => {
        link.href = "https://bugzilla.mozilla.org/extensions/BMO/web/images/favicon.ico";
      });
    </script>
  </body>
</html>

Actual results:

The icon used (tabs/history) for the page is the Firefox Nightly icon; changes after DOMContentLoaded do not apply.

Expected results:

The icon used for the page is the bugzilla.mozilla.org icon (Firefox Nightly might be temporary visible, flashes on tab in Firefox Desktop).

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Browser Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Browser Engine

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)
Type: defect → enhancement
Flags: needinfo?(jboek)
Summary: dynamic favicons are not supported → Support dynamic favicons
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: