mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Implement PolicyContainer and update the default ReferrerPolicy (#33977)
* Implement PolicyContainer Signed-off-by: Shane Handley <shanehandley@fastmail.com> * implement small parts of fetch that interact with policy container Signed-off-by: Shane Handley <shanehandley@fastmail.com> * fix: allow policy container's csp list to be unset Signed-off-by: Shane Handley <shanehandley@fastmail.com> * fix: use the correct default policy when parsing from a token Signed-off-by: Shane Handley <shanehandley@fastmail.com> --------- Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
4f6283d7fe
commit
6451767428
201 changed files with 210 additions and 5178 deletions
|
@ -1,13 +1,7 @@
|
|||
[referrer-origin-when-cross-origin.sub.html]
|
||||
[Importing a remote-origin top-level script with the origin-when-cross-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a same-origin descendant script from a same-origin top-level script with the origin-when-cross-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a same-origin top-level script with the origin-when-cross-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a remote-origin top-level script with the origin-when-cross-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,15 +2,9 @@
|
|||
[Importing a same-origin top-level script with the origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin top-level script with the origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a same-origin descendant script from a same-origin top-level script with the origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a same-origin top-level script with the origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a remote-origin top-level script with the origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
[Parent module delivered with `origin` policy importing a same-origin descendant script.]
|
||||
expected: FAIL
|
||||
|
||||
[Parent module delivered with `origin-when-cross-origin` policy importing a cross-origin descendant script.]
|
||||
expected: FAIL
|
||||
|
||||
[Remote parent module delivered with `origin-when-cross-origin` policy importing a same-origin-to-parent-module descendant script.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -10,3 +10,6 @@
|
|||
|
||||
[Importing a same-origin descendant script from a remote-origin top-level script with the unsafe-url policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin top-level script with the unsafe-url policy.]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue