Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
Also fixes existing code which fails the rule. MozReview-Commit-ID: CkLFgsspGMU
This commit is contained in:
@@ -61,7 +61,7 @@ PlacesTreeView.prototype = {
|
||||
return this.__xulStore;
|
||||
},
|
||||
|
||||
QueryInterface: XPCOMUtils.generateQI(PTV_interfaces),
|
||||
QueryInterface: ChromeUtils.generateQI(PTV_interfaces),
|
||||
|
||||
// Bug 761494:
|
||||
// ----------
|
||||
|
||||
Reference in New Issue
Block a user