-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1919939 [wpt PR 48213] - [Partitioned Popins] Popin-Policy Respon…
…se Header (Default none), a=testonly Automatic update from web-platform-tests [Partitioned Popins] Popin-Policy Response Header (Default none) Every top-frame response for a popin must include a Popin-Policy header that permits the popin's opener's top-frame-origin. This is to ensure popins cannot be opened in a partitioned context other than the one they are designed to. This CL requires the header to exist and permit access, whereas before omitting the header would permit access. 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: I4577cefe3687c1cf0501a4c195161f1335d8023b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5865610 Reviewed-by: Dana Fried <dfriedchromium.org> Auto-Submit: Ari Chivukula <arichivchromium.org> Commit-Queue: Rakina Zata Amni <rakinachromium.org> Reviewed-by: Rakina Zata Amni <rakinachromium.org> Cr-Commit-Position: refs/heads/main{#1356212} -- wpt-commits: 14686909771afddb61df9d8fc9a46eaeabb8df76 wpt-pr: 48213 UltraBlame original commit: 33271155043f49fe6e92fa125680f5c1f59c43e7
- Loading branch information
Showing
13 changed files
with
187 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...ing/web-platform/tests/partitioned-popins/resources/partitioned-popins.close.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,26 @@ | |
" | ||
) | ||
|
||
headers | ||
. | ||
append | ||
( | ||
( | ||
b | ||
' | ||
Popin | ||
- | ||
Policy | ||
' | ||
b | ||
" | ||
partitioned | ||
= | ||
* | ||
" | ||
) | ||
) | ||
|
||
cookies | ||
= | ||
readCookies | ||
|
7 changes: 7 additions & 0 deletions
7
...orm/tests/partitioned-popins/resources/partitioned-popins.localStorage-popin.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |
7 changes: 7 additions & 0 deletions
7
...form/tests/partitioned-popins/resources/partitioned-popins.permissions-popin.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |
7 changes: 7 additions & 0 deletions
7
...b-platform/tests/partitioned-popins/resources/partitioned-popins.proxy-popin.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |
7 changes: 7 additions & 0 deletions
7
...web-platform/tests/partitioned-popins/resources/partitioned-popins.recursive.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,26 @@ | |
" | ||
) | ||
|
||
headers | ||
. | ||
append | ||
( | ||
( | ||
b | ||
' | ||
Popin | ||
- | ||
Policy | ||
' | ||
b | ||
" | ||
partitioned | ||
= | ||
* | ||
" | ||
) | ||
) | ||
|
||
message | ||
= | ||
request | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,6 +100,26 @@ | |
) | ||
) | ||
|
||
headers | ||
. | ||
append | ||
( | ||
( | ||
b | ||
' | ||
Popin | ||
- | ||
Policy | ||
' | ||
b | ||
" | ||
partitioned | ||
= | ||
* | ||
" | ||
) | ||
) | ||
|
||
return | ||
302 | ||
headers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,26 @@ | |
" | ||
) | ||
|
||
headers | ||
. | ||
append | ||
( | ||
( | ||
b | ||
' | ||
Popin | ||
- | ||
Policy | ||
' | ||
b | ||
" | ||
partitioned | ||
= | ||
* | ||
" | ||
) | ||
) | ||
|
||
message | ||
= | ||
request | ||
|
7 changes: 7 additions & 0 deletions
7
testing/web-platform/tests/partitioned-popins/resources/partitioned-popins.wait.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |
7 changes: 7 additions & 0 deletions
7
testing/web-platform/tests/partitioned-popins/resources/popinContextType.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |
7 changes: 7 additions & 0 deletions
7
...g/web-platform/tests/partitioned-popins/resources/popinContextTypesSupported.html.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Popin | ||
- | ||
Policy | ||
: | ||
partitioned | ||
= | ||
* |