diff --git a/ext/web/02_event.js b/ext/web/02_event.js index 510085aacc..985578bcc2 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 e3db367832..14fe7d9325 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 5fa56e41eb..f6d1911033 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.