Bug 258969 - WebKit doesn't load favicon over file:// scheme
Summary: WebKit doesn't load favicon over file:// scheme
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-07 05:04 PDT by Pierre Ossman
Modified: 2023-07-14 05:05 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Ossman 2023-07-07 05:04:16 PDT
When opening a locally stored HTML file, WebKit-based browsers will fail to load the favicon referenced from the HTML file and hence will not display any icon for the tab. Example <link> tag that doesn't work:

    <link rel="shortcut icon" href="_static/favicon.ico"/>

I've tried variations on this (e.g. removing "shortcut"), but nothing makes the icon load.

Tested with Safari 16 on macOS and Epiphany 42.5 on Linux.

All other browsers on all other platforms support this, so it's just WebKit that fails to handle this.
Comment 1 Radar WebKit Bug Importer 2023-07-14 05:05:16 PDT
<rdar://problem/112260690>