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
Integrate COOP in PolicyContainer #28128
Conversation
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 review process for this patch is being conducted in the Chromium project.
4284a90
to
53cfdc9
Compare
3edc152
to
a84cc2b
Compare
e21572e
to
fcadaaf
Compare
This adds Cross-Origin Opener Policy to the policy container. This was previously within [1], which was then split into COOP and COEP specific CLs. With this COOP inheritance is handled by the PolicyContainer. PolicyContainer does not handle the inheritance from the opener during a new window creation, given that COOP inheritance differs significantly: - It inherits from the top frame of the opener, if the opener is same-origin with its top frame. Further details in [2]. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2490046/. [2] https://docs.google.com/document/d/1CnG8IWCXencWxmsQMDt9JHUucfpbWXjgknRjquzquV0/edit# Bug: 1153648 Change-Id: I77bb56bb0d6cd5c8f1523c14487817e970cb0bd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2565243 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Auto-Submit: Pâris Meuleman <pmeuleman@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Antonio Sartori <antoniosartori@chromium.org> Cr-Commit-Position: refs/heads/master@{#877388}
fcadaaf
to
f945772
Compare
The changed tests are flaky on both Chrome Dev and Firefox nightly (this could be new or pre-existing flakes). Chrome Dev unstable results
Firefox Nightly unstable results
|
Filed crbug.com/1205423. I'll force merge this PR for now. |
This adds Cross-Origin Opener Policy to the policy container.
This was previously within [1], which was then split into COOP and COEP
specific CLs.
With this COOP inheritance is handled by the PolicyContainer.
PolicyContainer does not handle the inheritance from the opener during
a new window creation, given that COOP inheritance differs significantly:
same-origin with its top frame.
Further details in [2].
[1] https://chromium-review.googlesource.com/c/chromium/src/+/2490046/.
[2] https://docs.google.com/document/d/1CnG8IWCXencWxmsQMDt9JHUucfpbWXjgknRjquzquV0/edit#
Bug: 1153648
Change-Id: I77bb56bb0d6cd5c8f1523c14487817e970cb0bd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2565243
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Auto-Submit: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#877388}