Consider making "mozIAsyncFavicons.getFaviconURLForPage" and page-icon: redirect-aware
Categories
(Toolkit :: Places, enhancement, P3)
Tracking
()
People
(Reporter: nanj, Unassigned)
References
Details
(Whiteboard: [sng])
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
| Reporter | ||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Updated•3 years ago
|
Comment 8•2 years ago
|
||
This is still a valid problem, and lately I've heard various teams dealing with it, so we may want to do something sooner.
One example is having a page url of
https://www.yahoo.com/sports/jets-qb-aaron-rodgers-has-strong-words-for-insecure-sean-payton-over-nathaniel-hackett-comments-183609249.html
that redirects to
https://sports.yahoo.com/jets-qb-aaron-rodgers-has-strong-words-for-insecure-sean-payton-over-nathaniel-hackett-comments-183609249.html
We store a favicon for the latter, not for the former.
In this case even if we'd have a root icon as https://sports.yahoo.com/favicon.ico, it would not apply to our page-url that is in www.yahoo.com domain. We only ignore "www.", not other subdomains.
On the storing side, when we're not setting a root icon, we could probably walk up all redirect levels and set the icon on all the sources IFF the top level matches, and there's no root icon for the redirecting urls (so they'd be icon-less). This could not fix the www.yahoo.com => sports.yahoo.com root icon problem, cause we likely don't want to copy over a root icon of a subdomain to the main domain.
On the fetching side we could probably walk up 1 level and eventually accept imperfect root icons. But maybe the storing improvement will be good enough to not require this.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•