Closed Bug 1010991 Opened 10 years ago Closed 3 years ago

Fall back to "shortcut icon" if no favicon available.

Categories

(Firefox for Android Graveyard :: Favicon Handling, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ckitching, Unassigned)

References

Details

Consider Margaret's blog:
http://blog.margaretleibovic.com/

Its favicon doesn't work:
https://dl.dropboxusercontent.com/u/3358452/2014-05-15%2012.45.15.png

But on desktop, it does:
https://www.dropbox.com/s/2uwxuwu2t7yafxw/Margaret.png

No <link rel="icon" .../> tag exists, and http://blog.margaretleibovic.com/favicon.ico is just... blank.

For reasons I should probably be able to figure out, on Firefox/Chrome ./favicon.ico presents a blank page, but when using wget it returns a 404. Does this blog emit an empty page as its 404 error page?

FF Desktop sees through this madness and fails over to the <link rel="shortcut icon".../> image to get the funky image of Margaret's head for use as the favicon. This is not something Fennec appears to do. It should.

Since the new about:home is so dependant upon favicons to not degenerate to a list of boring globe icons, it's probably worth working a little harder to find images to use. Certainly, at least using every resource desktop considers is a good start.
After that, it might even be worth digging through the page to find a suitable small image to use - although that has the potential to get ridiculous quickly if it picks something stupid.
<link rel="shortcut icon".../> should work in fennec:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#3774

I wonder if there's just a bug in that logic.
It works fine for me (Firefox 29 on a Nexus 5), but I have run into issues where the favicon for some sites just never loads, or does load but never gets stored in the history (So it shows in the address bar, but not on the new tab page)

The most recent example I've run into is this page: http://msdn.microsoft.com/en-us/library/windows/desktop/dd464660.aspx No matter how many times I load it the favicon never shows in the history, just in the address bar.
Filed Bug 1012498 for that, Alex. Thanks.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.