Bug 480826 - Firefox should honour browser.chrome.favicons setting when opening Edit->Preferences->Applications. r=mconnor
This commit is contained in:
@@ -1875,7 +1875,7 @@ var gApplicationsPane = {
|
|||||||
// they'll only visit URLs derived from that template (i.e. with %s
|
// 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).
|
// 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 uri.prePath + "/favicon.ico";
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
Reference in New Issue
Block a user