Skip to content

Commit

Permalink
fix(ext/web): correct string tag for MessageEvent (denoland#24134)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Jun 9, 2024
1 parent f5d749d commit 32f5b48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/web/02_event.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/wpt/runner/expectation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/wpt/wpt.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 32f5b48

Please sign in to comment.