summaryrefslogtreecommitdiffstats
path: root/dom/reporting/tests/common_deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/reporting/tests/common_deprecated.js')
-rw-r--r--dom/reporting/tests/common_deprecated.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/dom/reporting/tests/common_deprecated.js b/dom/reporting/tests/common_deprecated.js
index 8f8415fcf3..f3ff1028be 100644
--- a/dom/reporting/tests/common_deprecated.js
+++ b/dom/reporting/tests/common_deprecated.js
@@ -1,5 +1,7 @@
let testingInterface;
+/* eslint-disable mozilla/no-comparison-or-assignment-inside-ok */
+
// eslint-disable-next-line no-unused-vars
function test_deprecatedInterface() {
info("Testing DeprecatedTestingInterface report");
@@ -34,7 +36,7 @@ function test_deprecatedInterface() {
.replace("worker_deprecated.js", "common_deprecated.js"),
"We have a sourceFile"
);
- is(report.body.lineNumber, 48, "We have a lineNumber");
+ is(report.body.lineNumber, 50, "We have a lineNumber");
is(report.body.columnNumber, 24, "We have a columnNumber");
obs.disconnect();
@@ -86,7 +88,7 @@ function test_deprecatedMethod() {
.replace("worker_deprecated.js", "common_deprecated.js"),
"We have a sourceFile"
);
- is(report.body.lineNumber, 100, "We have a lineNumber");
+ is(report.body.lineNumber, 102, "We have a lineNumber");
is(report.body.columnNumber, 22, "We have a columnNumber");
obs.disconnect();
@@ -122,7 +124,7 @@ function test_deprecatedMethodWithDataURI() {
};
</script>`;
- return new Promise((resolve, reject) => {
+ return new Promise(resolve => {
window.open(uri);
window.addEventListener("message", e => {
is(e.data, "passed", "The data URI is truncated");
@@ -167,7 +169,7 @@ function test_deprecatedAttribute() {
.replace("worker_deprecated.js", "common_deprecated.js"),
"We have a sourceFile"
);
- is(report.body.lineNumber, 181, "We have a lineNumber");
+ is(report.body.lineNumber, 183, "We have a lineNumber");
is(report.body.columnNumber, 8, "We have a columnNumber");
obs.disconnect();