Index: chrome/content/ui/filters-subscriptionview.js |
=================================================================== |
--- a/chrome/content/ui/filters-subscriptionview.js |
+++ b/chrome/content/ui/filters-subscriptionview.js |
@@ -171,17 +171,17 @@ ListManager.prototype = |
{ |
if ((action == "subscription.added" || action == "subscription.removed") && item.url == Prefs.subscriptions_exceptionsurl) |
E("acceptableAds").checked = FilterStorage.subscriptions.some(function(s) s.url == Prefs.subscriptions_exceptionsurl); |
if (action == "filter.disabled") |
{ |
if (this._scheduledUpdateDisabled == null) |
{ |
- this._scheduledUpdateDisabled = {__proto__: null}; |
+ this._scheduledUpdateDisabled = Object.create(null); |
Utils.runAsync(this.updateDisabled, this); |
} |
for (let i = 0; i < item.subscriptions.length; i++) |
this._scheduledUpdateDisabled[item.subscriptions[i].url] = true; |
return; |
} |
if (action != "load" && !this._filter(item)) |
@@ -268,17 +268,17 @@ ListManager.prototype = |
{ |
SubscriptionActions.updateCommands(); |
break; |
} |
case "subscription.updated": |
{ |
if (this._scheduledUpdateDisabled == null) |
{ |
- this._scheduledUpdateDisabled = {__proto__: null}; |
+ this._scheduledUpdateDisabled = Object.create(null); |
Utils.runAsync(this.updateDisabled, this); |
} |
this._scheduledUpdateDisabled[item.url] = true; |
break; |
} |
} |
} |
}; |