diff options
author | Luca Casonato <hello@lcas.dev> | 2024-06-09 02:03:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-09 02:03:24 +0200 |
commit | 32f5b4808ef7591401b46ea5bb3d680c18dedf20 (patch) | |
tree | 9c3806052923349714ec5ce4d469e03c1156fb17 | |
parent | f5d749d922e6434b876ac322ce0c1aeb9af1078c (diff) |
fix(ext/web): correct string tag for MessageEvent (#24134)
-rw-r--r-- | ext/web/02_event.js | 2 | ||||
-rw-r--r-- | tests/wpt/runner/expectation.json | 2 | ||||
-rwxr-xr-x | tests/wpt/wpt.ts | 2 |
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. |