diff options
Diffstat (limited to 'devtools/shared/heapsnapshot/tests')
3 files changed, 3 insertions, 2 deletions
diff --git a/devtools/shared/heapsnapshot/tests/xpcshell/Census.sys.mjs b/devtools/shared/heapsnapshot/tests/xpcshell/Census.sys.mjs index 0e86f8b055..93f35a83a3 100644 --- a/devtools/shared/heapsnapshot/tests/xpcshell/Census.sys.mjs +++ b/devtools/shared/heapsnapshot/tests/xpcshell/Census.sys.mjs @@ -148,6 +148,7 @@ function ok(val) { throw new Error("Census mismatch: expected truthy, got " + val); } } +/* eslint-disable mozilla/no-comparison-or-assignment-inside-ok */ // Return a walker that checks that the subject census has at least as many // items of each category as |basis|. diff --git a/devtools/shared/heapsnapshot/tests/xpcshell/dominator-tree-worker.js b/devtools/shared/heapsnapshot/tests/xpcshell/dominator-tree-worker.js index c636226101..1d69c66420 100644 --- a/devtools/shared/heapsnapshot/tests/xpcshell/dominator-tree-worker.js +++ b/devtools/shared/heapsnapshot/tests/xpcshell/dominator-tree-worker.js @@ -7,7 +7,7 @@ console.log("Initializing worker."); -self.onmessage = e => { +self.onmessage = () => { console.log("Starting test."); try { const path = ChromeUtils.saveHeapSnapshot({ runtime: true }); diff --git a/devtools/shared/heapsnapshot/tests/xpcshell/heap-snapshot-worker.js b/devtools/shared/heapsnapshot/tests/xpcshell/heap-snapshot-worker.js index a79f442193..dc70046562 100644 --- a/devtools/shared/heapsnapshot/tests/xpcshell/heap-snapshot-worker.js +++ b/devtools/shared/heapsnapshot/tests/xpcshell/heap-snapshot-worker.js @@ -7,7 +7,7 @@ console.log("Initializing worker."); -self.onmessage = ex => { +self.onmessage = () => { console.log("Starting test."); try { ok(ChromeUtils, "Should have access to ChromeUtils in a worker."); |