Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add docs for HTTP
Permissions-Policy
headercross-origin-isolated
directive #36780Add docs for HTTP
Permissions-Policy
headercross-origin-isolated
directive #36780Changes from 13 commits
5f296ff
c8b9b2e
1867116
a0057ab
41dcc8c
a73ebf8
199652b
25bb737
c84ce9d
e7f3167
61fc4eb
8c6483b
b8a01b8
2e20c7f
498707c
1d91bb1
2cd990c
8aa162d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "(protects your origin from attackers)" and same on the other header are wrong/pointless. I will fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The explanations here makes sense to me though. With COOP your site can't be cross-origin accessed by another opener. With COEP you can't cross-origin access another site.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, so
Cross-Origin-Opener-Policy
certainly protects your origin from attackers, since it allows you to prevent your document from loading cross origin resources in the same BCG or being loaded into same BCG as cross origin documents, and severs the relationships.The embedder policy ensures that your document only loads those documents that have opted into CORS, or doesn't send them credentials. I guess that you could look at that as "protect victims from your origin"? I'm not actually entirely sure why that has value.
I am sure of two things:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upshot, love an explanation of why COEP is useful other than you now need it to access certain APIs. But either way, it won't change this doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a useful link for Cross-Origin isolation by stackblitz - https://blog.stackblitz.com/posts/cross-browser-with-coop-coep/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that is cool. A little out of date but well worth linking.