diff --git a/devtools/.eslintrc.js b/devtools/.eslintrc.js index 75ad6c0e7319..b8d64487164b 100644 --- a/devtools/.eslintrc.js +++ b/devtools/.eslintrc.js @@ -13,15 +13,6 @@ module.exports = { "require": true, }, "overrides": [{ - // XXX Bug 1230193. We're still working on enabling no-undef for these test - // directories. - "files": [ - "server/tests/mochitest/**", - ], - "rules": { - "no-undef": "off", - } - }, { "files": [ "client/framework/**", ], diff --git a/devtools/server/tests/mochitest/.eslintrc.js b/devtools/server/tests/mochitest/.eslintrc.js index c5b919ce337f..c5009f62edd1 100644 --- a/devtools/server/tests/mochitest/.eslintrc.js +++ b/devtools/server/tests/mochitest/.eslintrc.js @@ -2,5 +2,5 @@ module.exports = { // Extend from the common devtools mochitest eslintrc config. - "extends": "../../../.eslintrc.xpcshell.js" + "extends": "../../../.eslintrc.mochitests.js" }; diff --git a/devtools/server/tests/mochitest/Debugger.Source.prototype.element.js b/devtools/server/tests/mochitest/Debugger.Source.prototype.element.js index 0fe4157a4401..095398ddadfd 100644 --- a/devtools/server/tests/mochitest/Debugger.Source.prototype.element.js +++ b/devtools/server/tests/mochitest/Debugger.Source.prototype.element.js @@ -1,4 +1,5 @@ /* exported heinrichFun */ +/* global franz */ "use strict"; function heinrichFun() { diff --git a/devtools/server/tests/mochitest/test_connectToFrame.html b/devtools/server/tests/mochitest/test_connectToFrame.html index 6fa1159ae7da..33cde598acc7 100644 --- a/devtools/server/tests/mochitest/test_connectToFrame.html +++ b/devtools/server/tests/mochitest/test_connectToFrame.html @@ -14,6 +14,9 @@ Bug 966991 - Test DebuggerServer.connectToFrame