Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
This commit is contained in:
@@ -59,7 +59,7 @@ ContentPrefService.prototype = {
|
||||
Ci.nsIContentPrefService,
|
||||
Ci.nsISupports,
|
||||
];
|
||||
if (supportedIIDs.some(function (i) iid.equals(i)))
|
||||
if (supportedIIDs.some(i => iid.equals(i)))
|
||||
return this;
|
||||
if (iid.equals(Ci.nsIContentPrefService2)) {
|
||||
if (!this._contentPrefService2) {
|
||||
|
||||
Reference in New Issue
Block a user