Bug 258969

Summary: WebKit doesn't load favicon over file:// scheme
Product: WebKit Reporter: Pierre Ossman <ossman>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, beidson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

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>