mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 554265 - Download search engine icons even when searchplugin is readonly [r=rflint]
--HG-- extra : rebase_source : c1d93bf91c126de9bce3ee171c26c0d46d70eae4
This commit is contained in:
parent
45a0d519f6
commit
8879ba6318
@ -1431,7 +1431,8 @@ Engine.prototype = {
|
||||
case "https":
|
||||
case "ftp":
|
||||
// No use downloading the icon if the engine file is read-only
|
||||
if (!this._readOnly) {
|
||||
if (!this._readOnly ||
|
||||
getBoolPref(BROWSER_SEARCH_PREF + "cache.enabled", true)) {
|
||||
LOG("_setIcon: Downloading icon: \"" + uri.spec +
|
||||
"\" for engine: \"" + this.name + "\"");
|
||||
var chan = NetUtil.ioService.newChannelFromURI(uri);
|
||||
|
Loading…
Reference in New Issue
Block a user