summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/web/02_event.js2
-rw-r--r--tests/wpt/runner/expectation.json2
-rwxr-xr-xtests/wpt/wpt.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index 510085aac..985578bcc 100644
--- a/ext/web/02_event.js
+++ b/ext/web/02_event.js
@@ -1230,7 +1230,7 @@ class MessageEvent extends Event {
}
// TODO(lucacasonato): remove when this interface is spec aligned
- [SymbolToStringTag] = "CloseEvent";
+ [SymbolToStringTag] = "MessageEvent";
}
const MessageEventPrototype = MessageEvent.prototype;
diff --git a/tests/wpt/runner/expectation.json b/tests/wpt/runner/expectation.json
index e3db36783..14fe7d932 100644
--- a/tests/wpt/runner/expectation.json
+++ b/tests/wpt/runner/expectation.json
@@ -12355,7 +12355,7 @@
"return-value.worker.html": true,
"event-ports-dedicated.html": true,
"imagedata-cloned-canvas-in-array.html": false,
- "message-event.html": false,
+ "message-event.html": true,
"second-argument-dictionary.html": true,
"second-argument-null-in-array.html": true,
"second-argument-null.html": true,
diff --git a/tests/wpt/wpt.ts b/tests/wpt/wpt.ts
index 5fa56e41e..f6d191103 100755
--- a/tests/wpt/wpt.ts
+++ b/tests/wpt/wpt.ts
@@ -1,4 +1,4 @@
-#!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run
+#!/usr/bin/env -S deno run --allow-write --allow-read --allow-net --allow-env --allow-run
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This script is used to run WPT tests for Deno.