summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/node_execute
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /netwerk/test/unit/node_execute
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-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 'netwerk/test/unit/node_execute')
-rw-r--r--netwerk/test/unit/node_execute/test_node_execute_loop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/test/unit/node_execute/test_node_execute_loop.js b/netwerk/test/unit/node_execute/test_node_execute_loop.js
index 10400b8b54..44871c65c2 100644
--- a/netwerk/test/unit/node_execute/test_node_execute_loop.js
+++ b/netwerk/test/unit/node_execute/test_node_execute_loop.js
@@ -16,7 +16,7 @@ add_task(async function killOnEnd() {
await NodeServer.execute(id, `console.log("hello");`);
await NodeServer.execute(id, `console.error("hello");`);
// Make the forked subprocess hang forever.
- NodeServer.execute(id, "while (true) {}").catch(e => {});
+ NodeServer.execute(id, "while (true) {}").catch(() => {});
await new Promise(resolve => do_timeout(10, resolve));
// Should get killed at the end of the test by the harness.
});