зеркало из https://github.com/mozilla/pjs.git
Bug 554265 - Download search engine icons even when searchplugin is readonly [r=rflint]
--HG-- extra : rebase_source : c1d93bf91c126de9bce3ee171c26c0d46d70eae4
This commit is contained in:
Родитель
82c701ef87
Коммит
b617df1868
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче