diff options
| author | Ricardo Iván Vieitez Parra <3857362+corrideat@users.noreply.github.com> | 2023-07-31 23:22:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-31 23:22:07 +0200 |
| commit | 98403691d100fec0804c86d8b89d0d3f8da68354 (patch) | |
| tree | 2757dc1a0ed392a9f2ca403903a078c6f61e8605 /tools/wpt/expectation.json | |
| parent | aa8078b6888ee4d55ef348e336e076676dffc25f (diff) | |
fix: call setIsTrusted for generated events (MessageEvent) (#19919)
This addresses issue #19918.
## Issue description
Event messages have the wrong isTrusted value when they are not
triggered by user interaction, which differs from the browser. In
particular, all MessageEvents created by Deno have isTrusted set to
false, even though it should be true.
This is my first ever contribution to Deno, so I might be missing
something.
Diffstat (limited to 'tools/wpt/expectation.json')
| -rw-r--r-- | tools/wpt/expectation.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 946f374eb..19075e224 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -6399,8 +6399,8 @@ "Channel_postMessage_with_transfer_incoming_messages.any.worker.html": true, "Channel_postMessage_with_transfer_outgoing_messages.any.html": true, "Channel_postMessage_with_transfer_outgoing_messages.any.worker.html": true, - "MessageEvent-trusted.any.html": false, - "MessageEvent-trusted.any.worker.html": false, + "MessageEvent-trusted.any.html": true, + "MessageEvent-trusted.any.worker.html": true, "MessageEvent-trusted.window.html": false, "MessageEvent.any.html": true, "MessageEvent.any.worker.html": true, @@ -9688,4 +9688,4 @@ "media-sniff.window.html": false } } -}
\ No newline at end of file +} |
