Bug 1376128 - Expose unrecognised eslint globals; r=automatedtester

In particular, XPCNativeWrapper should probably be made available
by default.

MozReview-Commit-ID: E1oYFyApbLi

--HG--
extra : rebase_source : 4e27ad6882bd4e43dadc97d4fd2a186e01510dfd
This commit is contained in:
Andreas Tolfsen 2017-06-28 11:04:14 -07:00
parent 54c2f296a7
commit b86d19c98a
6 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
/* global frame */
const {utils: Cu} = Components;

View File

@ -3,6 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
/* global XPCNativeWrapper */
var {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;

View File

@ -3,6 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
/* global XPCNativeWrapper */
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;

View File

@ -5,6 +5,7 @@
// Provides functionality for creating and sending DOM events.
"use strict";
/* global content, is */
const {interfaces: Ci, utils: Cu, classes: Cc} = Components;

View File

@ -2,6 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* eslint-env mozilla/frame-script */
/* global XPCNativeWrapper */
"use strict";
var {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;

View File

@ -2,6 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* global pref */
// Marionette is the remote protocol that lets OOP programs communicate
// with, instrument, and control Gecko.
//