Bug 1891577 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

For some reason this site is adding favicons dynamically after the pageshow event:
```
<script type='text/javascript'>(function() {
      var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
      link.type = 'image/x-icon';
      link.rel = 'shortcut icon';
      link.href = 'https://secure.identityforce.com/funnel/sales/img/idf-icon-logo.png';
      document.getElementsByTagName('head')[0].appendChild(link);
 })();
```
This method is normally used by sites to show indicator/status favicons, thus we don't store them as it doesn't make sense to store temporary status icons. We don't plan to change that, so that's pretty much a Web Compat problem.

In this case the root icon (https://benefit.identityforce.com/favicon.ico) should be loaded.
Instead I see NS_BINDING_ABORTED in the devtools.
If I disable Enhanced Tracking Protection the icon is loaded properly.

[FaviconLoader.sys.mjs](https://searchfox.org/mozilla-central/rev/77f8c66362e5f18f8e7cbaf1ba3ed6286f203d33/browser/modules/FaviconLoader.sys.mjs#94-115) should probably be able to bypass ETP.
Tim, is there any way to do that, or do you have any suggestions about this case?
For some reason this site is adding favicons dinamically after the pageshow event:
```
<script type='text/javascript'>(function() {
      var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
      link.type = 'image/x-icon';
      link.rel = 'shortcut icon';
      link.href = 'https://secure.identityforce.com/funnel/sales/img/idf-icon-logo.png';
      document.getElementsByTagName('head')[0].appendChild(link);
 })();
```
This method is normally used by sites to show indicator/status favicons, thus we don't store them as it doesn't make sense to store temporary status icons. We don't plan to change that, so that's pretty much a Web Compat problem.

In this case the root icon (https://benefit.identityforce.com/favicon.ico) should be loaded.
Instead I see NS_BINDING_ABORTED in the devtools.
If I disable Enhanced Tracking Protection the icon is loaded properly.

[FaviconLoader.sys.mjs](https://searchfox.org/mozilla-central/rev/77f8c66362e5f18f8e7cbaf1ba3ed6286f203d33/browser/modules/FaviconLoader.sys.mjs#94-115) should probably be able to bypass ETP.
Tim, is there any way to do that, or do you have any suggestions about this case?

Back to Bug 1891577 Comment 4