[Partitioned Popins] (4) Renderer popin (top-)site(-for-cookies)
This CL implements the barest knowledge the renderer should need to have
of whether it represents a partitioned popin. This knowledge is
necessary to ensure proper checks for data access, like the cookies
tested here, are possible.
This series of CLs implement core components of the Partitioned Popin
system, significant additional effort will be needed to align with the
explainer and I2P, but all of that will depend on this work:
(1) Implement popin
window feature
(2) popin
feature triggers tab modal popup
(3) popin
feature triggers third-party storage partitioning
(4) Renderer awareness of popin top-origin
(5) Limit window.opener access for popin
(6) Add permissions policy for popin
Explainer: https://explainers-by-googlers.github.io/partitioned-popins/
I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/ApU_zUmpQ2g/
Bug: 340606651
Change-Id: I036c08c2be0f7b8a315b1b517ddbdd3cb72927a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5797543
Reviewed-by: Daniel Cheng dcheng@chromium.org
Reviewed-by: Dave Tapuska dtapuska@chromium.org
Reviewed-by: Rebekah Potter rbpotter@chromium.org
Auto-Submit: Ari Chivukula arichiv@chromium.org
Reviewed-by: Reilly Grant reillyg@chromium.org
Commit-Queue: Dave Tapuska dtapuska@chromium.org
Cr-Commit-Position: refs/heads/main@{#1344788}