Bug 1475978 - Add chromeOuterWindowID global to mozilla/frame-script ESLint environment. r=mconley
authorTim Nguyen <ntim.bugs@gmail.com>
Mon, 16 Jul 2018 14:36:35 +0100
changeset 818996 e40038281727001cf3da186e14a7fa8eb1e79f09
parent 818995 2613d4453b1ffcc0fde21cd4a0ed0dab08dde553
child 818997 21074760bff672d53594a4d1a45cd4460f6d66b0
push id116413
push userbgrinstead@mozilla.com
push dateMon, 16 Jul 2018 22:40:17 +0000
reviewersmconley
bugs1475978
milestone63.0a1
Bug 1475978 - Add chromeOuterWindowID global to mozilla/frame-script ESLint environment. r=mconley MozReview-Commit-ID: FYfTDDY2d8j
tools/lint/eslint/eslint-plugin-mozilla/lib/environments/frame-script.js
--- a/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/frame-script.js
+++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/frame-script.js
@@ -9,16 +9,17 @@
 "use strict";
 
 module.exports = {
   globals: {
     addMessageListener: false,
     addWeakMessageListener: false,
     atob: false,
     btoa: false,
+    chromeOuterWindowID: false,
     content: false,
     docShell: false,
     privateNoteIntentionalCrash: false,
     processMessageManager: false,
     removeMessageListener: false,
     removeWeakMessageListener: false,
     sendAsyncMessage: false,
     sendSyncMessage: false,