Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What state should be blocked? #8

Closed
annevk opened this issue May 13, 2020 · 1 comment
Closed

What state should be blocked? #8

annevk opened this issue May 13, 2020 · 1 comment

Comments

@annevk
Copy link
Collaborator

annevk commented May 13, 2020

This is related to #7.

In particular if you allow the Storage category to have its keying relaxed, there's an argument to be made that BroadcastChannel and shared/service workers ought to be blocked rather than have additional keying as sites could end up in a state where they have both third-party and first-party BroadcastChannel, for instance. And they cannot really be told apart either other than the site knowing when it allocated them relative to its current Storage Access API state.

Note that it's not a good solution to let part of the Storage category have its keying relaxed and part of it not. Sites often use multiple storage APIs for various bookkeeping purposes. Making their data inconsistent with each other is bad news. Blocking on the other hand doesn't really have that problem and might even be doable given that BroadcastChannel and shared worker are not supported by Safari.

Effectively this is a variant of the issue with same-origin frames having synchronous communication access being able to end up in different states. (Though we made a decision there to not let that happen.)

@annevk annevk added the agenda+F2F Request to add this issue or PR to the agenda for our upcoming F2F. label May 13, 2020
@annevk annevk removed the agenda+F2F Request to add this issue or PR to the agenda for our upcoming F2F. label Jun 16, 2020
@annevk
Copy link
Collaborator Author

annevk commented Sep 11, 2020

This is also discussed in #9 and I don't get the impression there is interest in this, apart perhaps for particularly bad actors so standards should allow for it being blocked (and already do as far as I'm aware).

@annevk annevk closed this as completed Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant