diff --git a/.eslintignore b/.eslintignore index 6be8317af999..8d8c7e4316e6 100644 --- a/.eslintignore +++ b/.eslintignore @@ -102,7 +102,7 @@ devtools/client/shared/test/** devtools/client/shared/widgets/*.jsm devtools/client/sourceeditor/test/*.js devtools/client/webaudioeditor/** -devtools/client/webconsole/** +#devtools/client/webconsole/** !devtools/client/webconsole/panel.js !devtools/client/webconsole/jsterm.js !devtools/client/webconsole/console-commands.js diff --git a/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js b/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js index 8d694dd7b996..522fe47546d4 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js @@ -8,24 +8,26 @@ "use strict"; function test() { - const TEST_URI = 'data:text/html;charset=utf-8, \ - \ - \ - Test for DOM nodes in variables view \ - \ - \ -
\ -
\ -
\ -
\ -
\ -
\ -
\ -
\ -
\ - \ - '; + const TEST_URI = ` + data:text/html;charset=utf-8, + + + Test for DOM nodes in variables view + + +
+
+
+
+
+
+
+
+
+ + +`; Task.spawn(runner).then(finishTest); @@ -35,7 +37,7 @@ function test() { const jsterm = hud.jsterm; let deferred = promise.defer(); - jsterm.once("variablesview-fetched", (_, aVar) => deferred.resolve(aVar)); + jsterm.once("variablesview-fetched", (_, val) => deferred.resolve(val)); jsterm.execute("inspect(document.querySelectorAll('div'))"); let variableScope = yield deferred.promise; @@ -47,7 +49,8 @@ function test() { { name: "2", value: ""}, { name: "3", value: ""}, { name: "4", value: ""}, - { name: "5", value: ""}, + { name: "5", value: ""}, { name: "6", value: ""}, { name: "7", value: ""}, { name: "8", value: ""},