Closed Bug 598174 Opened 9 years ago Closed 9 years ago
Frontend loads the favicon unconditionally
Whereas Firefox has code like http://mxr.mozilla.org/mozilla-central/source/browser/base/content/tabbrowser.xml#634, Fennec goes ahead and loads anything it can. This ends up bringing up an error message on FTP sites, which is bad news bears.
Sounds like good cleanup. Should be a simple fix.
tracking-fennec: --- → 2.0b2+
This replicates most of what Firefox does. I removed the prefs, as they seem like a waste of time. I also added "about" protocols, because we use favicons for about:home and the like.
Forgot to hit save...
Comment on attachment 477720 [details] [diff] [review] Ack! Fix without cruft I assumed you wanted this reviewed too
Attachment #477720 - Flags: review+
Unbitrotted for checkin, but it causes a test failure" TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/mobile/chrome/browser_navigation.js | The page favicon must be loaded - Got , expected data:image/gif;base64,R0lGODlhCwALAIAAAAAA3pn/ZiH5BAEAAAEALAAAAAALAAsAAAIUhA+hkcuO4lmNVindo7qyrIXiGBYAOw==
This passes tests for me. Mochitests expect to set icons on pages from chrome protocols, which we didn't allow. So now we allow them. I'll follow up with a test for a protocol we don't allow... as soon as I figure out what that is (ftp isn't on right now... moz-icon?)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified fixed on: Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110913 Firefox/9.0a1 Fennec/9.0a1 Device: Samsung Galaxy S OS: Android 2.2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.