Bug 1758261 [wpt PR 33075] - [BroadcastChannel] Add WPT: opaque origins can't communi...
commit7a980113d18697b0e92ef8cfee5031d6c69038fa
authorAndrew Williams <awillia@google.com>
Fri, 18 Mar 2022 10:46:05 +0000 (18 10:46 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 21 Mar 2022 06:52:07 +0000 (21 06:52 +0000)
tree039088e3f0b552fc5a4f9a137b848ed92c3c813b
parentbbef4347f0f749fd05f71f4fb41b052b4ee3e82d
Bug 1758261 [wpt PR 33075] - [BroadcastChannel] Add WPT: opaque origins can't communicate, a=testonly

Automatic update from web-platform-tests
[BroadcastChannel] Add WPT: opaque origins can't communicate

Add a WPT that tests that opaque origins can't communicate via
BroadcastChannel (with other opaque origins and with the origin
that created it). This ensures that same-origin restrictions
are correctly applied to BroadcastChannels in opaque origins
contexts.

For additional context, see:
https://bugs.chromium.org/p/chromium/issues/detail?id=670024#c6

Bug: 670024
Change-Id: I4cf9089d52cdeb6f255e645990ecc42f2e9a829c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3460249
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#978343}

--

wpt-commits: 840ff66cc88af5f263056f396135bcdd55936567
wpt-pr: 33075
testing/web-platform/tests/webmessaging/broadcastchannel/opaque-origin.html