Bug 480826 - Firefox should honour browser.chrome.favicons setting when opening Edit->Preferences->Applications. r=mconnor

This commit is contained in:
2009-08-13 09:53:47 +02:00
parent 3cb9e77479
commit a19bb54210

View File

@@ -1875,7 +1875,7 @@ var gApplicationsPane = {
// they'll only visit URLs derived from that template (i.e. with %s
// in the template replaced by the URL of the content being handled).
if (/^https?/.test(uri.scheme))
if (/^https?/.test(uri.scheme) && this._prefSvc.getBoolPref("browser.chrome.favicons"))
return uri.prePath + "/favicon.ico";
return "";