diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /devtools/shared/heapsnapshot/tests | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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."); |