diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /devtools/shared/heapsnapshot/tests/xpcshell | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/shared/heapsnapshot/tests/xpcshell')
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."); |