Bug 1367486 - Fix eslint errors on a CLOSED TREE

This commit is contained in:
Eitan Isaacson 2017-05-30 11:31:05 -07:00
Родитель cbc10fc587
Коммит f1d5ed7c8b
5 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -12,6 +12,4 @@ Services.scriptloader.loadSubScript(
// Loading and common.js from accessible/tests/mochitest/ for all tests, as // Loading and common.js from accessible/tests/mochitest/ for all tests, as
// well as events.js. // well as events.js.
/* import-globals-from ../../mochitest/common.js */
/* import-globals-from events.js */
loadScripts({ name: 'common.js', dir: MOCHITESTS_DIR }, 'events.js'); loadScripts({ name: 'common.js', dir: MOCHITESTS_DIR }, 'events.js');

Просмотреть файл

@ -6,7 +6,8 @@
// This is loaded by head.js, so has the same globals, hence we import the // This is loaded by head.js, so has the same globals, hence we import the
// globals from there. // globals from there.
/* import-globals-from head.js */ /* import-globals-from shared-head.js */
/* import-globals-from ../mochitest/common.js */
/* exported EVENT_REORDER, EVENT_SHOW, EVENT_TEXT_INSERTED, EVENT_TEXT_REMOVED, /* exported EVENT_REORDER, EVENT_SHOW, EVENT_TEXT_INSERTED, EVENT_TEXT_REMOVED,
EVENT_DOCUMENT_LOAD_COMPLETE, EVENT_HIDE, EVENT_TEXT_CARET_MOVED, EVENT_DOCUMENT_LOAD_COMPLETE, EVENT_HIDE, EVENT_TEXT_CARET_MOVED,

Просмотреть файл

@ -110,7 +110,7 @@ function shutdownPromise(contentBrowser) {
/** /**
* Simpler verions of waitForEvent defined in * Simpler verions of waitForEvent defined in
* accessible/tests/browser/e10s/events.js * accessible/tests/browser/events.js
*/ */
function waitForEvent(eventType, expectedId) { function waitForEvent(eventType, expectedId) {
return new Promise(resolve => { return new Promise(resolve => {

Просмотреть файл

@ -4,6 +4,9 @@
'use strict'; 'use strict';
/* import-globals-from ../mochitest/common.js */
/* import-globals-from events.js */
/* exported Logger, MOCHITESTS_DIR, invokeSetAttribute, invokeFocus, /* exported Logger, MOCHITESTS_DIR, invokeSetAttribute, invokeFocus,
invokeSetStyle, getAccessibleDOMNodeID, invokeSetStyle, getAccessibleDOMNodeID,
addAccessibleTask, findAccessibleChildByID, isDefunct, addAccessibleTask, findAccessibleChildByID, isDefunct,

Просмотреть файл

@ -12,6 +12,4 @@ Services.scriptloader.loadSubScript(
// Loading and common.js from accessible/tests/mochitest/ for all tests, as // Loading and common.js from accessible/tests/mochitest/ for all tests, as
// well as events.js. // well as events.js.
/* import-globals-from ../../mochitest/common.js */
/* import-globals-from events.js */
loadScripts({ name: 'common.js', dir: MOCHITESTS_DIR }, 'events.js'); loadScripts({ name: 'common.js', dir: MOCHITESTS_DIR }, 'events.js');