summaryrefslogtreecommitdiffstats
path: root/dom/messagechannel/tests/test_removedWindow.html
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 /dom/messagechannel/tests/test_removedWindow.html
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/messagechannel/tests/test_removedWindow.html')
-rw-r--r--dom/messagechannel/tests/test_removedWindow.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/messagechannel/tests/test_removedWindow.html b/dom/messagechannel/tests/test_removedWindow.html
index b660000fd8..0413a7afeb 100644
--- a/dom/messagechannel/tests/test_removedWindow.html
+++ b/dom/messagechannel/tests/test_removedWindow.html
@@ -30,13 +30,13 @@ async function runTest() {
// This should silently fail.
pre.port1.postMessage(42);
- pre.port2.onmessage = e => {
+ pre.port2.onmessage = () => {
ok(false, "No messages should be received!");
}
// This should silently fail.
post.port1.postMessage(42);
- post.port2.onmessage = e => {
+ post.port2.onmessage = () => {
ok(false, "No messages should be received!");
}
@@ -45,7 +45,7 @@ async function runTest() {
let mc = new MessageChannel();
mc.port1.postMessage(42);
- mc.port2.onmessage = e => {
+ mc.port2.onmessage = () => {
ok(true, "Ready to complete the test");
SimpleTest.finish();
}