diff --git a/.eslintignore b/.eslintignore index aaeca66ac124..6ac84fe1d179 100644 --- a/.eslintignore +++ b/.eslintignore @@ -161,7 +161,6 @@ dom/base/test/*.* dom/base/test/unit/test_serializers_entities*.js dom/base/test/unit_ipc/** dom/base/test/jsmodules/** -dom/bindings/** dom/canvas/** dom/encoding/** dom/events/** diff --git a/dom/bindings/test/TestInterfaceJS.js b/dom/bindings/test/TestInterfaceJS.js index 81c5c7e04c8d..744ed3a08a8a 100644 --- a/dom/bindings/test/TestInterfaceJS.js +++ b/dom/bindings/test/TestInterfaceJS.js @@ -2,6 +2,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 noSuchMethodExistsYo1, noSuchMethodExistsYo2, noSuchMethodExistsYo3 */ "use strict"; diff --git a/dom/bindings/test/file_bug775543.html b/dom/bindings/test/file_bug775543.html index ee8c14c4d9cc..856d14ab0e25 100644 --- a/dom/bindings/test/file_bug775543.html +++ b/dom/bindings/test/file_bug775543.html @@ -1,5 +1,5 @@ diff --git a/dom/bindings/test/test_ByteString.html b/dom/bindings/test/test_ByteString.html index 69c52662a479..2e5a70fb31f7 100644 --- a/dom/bindings/test/test_ByteString.html +++ b/dom/bindings/test/test_ByteString.html @@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=796850 /** Test for Bug 796850 **/ var xhr = new XMLHttpRequest(); - caught = false; + var caught = false; try { xhr.open("\u5427", "about:mozilla", true); } catch (TypeError) { diff --git a/dom/bindings/test/test_Object.prototype_props.html b/dom/bindings/test/test_Object.prototype_props.html index 68aec1ea9c54..9791bbbdeba2 100644 --- a/dom/bindings/test/test_Object.prototype_props.html +++ b/dom/bindings/test/test_Object.prototype_props.html @@ -5,6 +5,7 @@
'>