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:
Kris Maglione
2018-05-08 18:36:22 -07:00
parent f45e53c27b
commit c03fa450d6
84 changed files with 328 additions and 564 deletions

View File

@@ -61,7 +61,7 @@ PlacesTreeView.prototype = {
return this.__xulStore;
},
QueryInterface: XPCOMUtils.generateQI(PTV_interfaces),
QueryInterface: ChromeUtils.generateQI(PTV_interfaces),
// Bug 761494:
// ----------