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

This commit is contained in:
mail@bugz.ata.myota.org 2009-08-13 09:53:47 +02:00
parent 1c1ce2f83e
commit 7a7c854f53

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 "";