Skip to content

Test that BroadcastChannel settings object is current, not incumbent#24568

Merged
domenic merged 2 commits intomasterfrom
broadcastchannel-settings-object
Jul 14, 2020
Merged

Test that BroadcastChannel settings object is current, not incumbent#24568
domenic merged 2 commits intomasterfrom
broadcastchannel-settings-object

Conversation

@domenic
Copy link
Copy Markdown
Member

@domenic domenic commented Jul 10, 2020

Similar to #24566, but tests what origin is used for message-delivery filtering, which is the most important aspect of the BroadcastChannel settings object.

This tests my desired state, where the BroadcastChannel settings object can be eliminated and we use the relevant settings object instead. (Similar to what whatwg/html#5728 does for MessagePort.)

It appears that unlike MessagePort, where browsers all behave the same (but disagreed with the current spec), here Chrome has the simpler, desirable behavior while Firefox has the per-spec, complicated behavior. Let's see what Safari does when the CI results come in!Safari doesn't support BroadcastChannel

Comment thread webmessaging/multi-globals/broadcastchannel-current.sub.html Outdated
@wpt-pr-bot wpt-pr-bot requested a deployment to wpt-preview-24568 July 13, 2020 16:33 Pending
@domenic domenic merged commit 74b3f3f into master Jul 14, 2020
@domenic domenic deleted the broadcastchannel-settings-object branch July 14, 2020 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants