Add XPCOM layer to handle fallback on page-icon icons
Categories
(Firefox :: Address Bar, enhancement, P3)
Tracking
()
People
(Reporter: bugzilla, Unassigned)
References
Details
Mak suggested in these comments that we build an XPCOM layer that would allow us to fetch page-icon:
URLs, with a fallback to search engine and tippytop icons. This would allow us to remove the smallFavicon
properties added to NewTabUtils
in bug 1617333, making New Tab a bit more efficient and UrlbarProviderTopSites
less dependent on icons from Activity Stream.
Comment 1•5 years ago
|
||
The idea is that in Firefox itself we have a few icons always available, we may teach page-icon about those, so that when there's no real favicon it can fallback to one of those. I can imagine if in the future we introduce more preloaded top sites lists they will come with a default icon.
The protocol handler is in cpp, so it needs to talk to an xpcom component. This component may take care of building an origin -> icon Map by querying the various data source available (so far those would be the search service and tippytop).
Updated•5 years ago
|
Updated•2 years ago
|
Description
•