mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Remove referrer policy from document (#34263)
* Remove the referrer policy from document and rely on its policy container Signed-off-by: Shane Handley <shanehandley@fastmail.com> * Make ReferrerPolicy non-optional, instead using a new enum value to represent the empty string case Signed-off-by: Shane Handley <shanehandley@fastmail.com> * Fix clippy issue Signed-off-by: Shane Handley <shanehandley@fastmail.com> * Fix usage of Option<ReferrerPolicy> in unit test Signed-off-by: Shane Handley <shanehandley@fastmail.com> --------- Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
83f8e88818
commit
975e2ae859
108 changed files with 171 additions and 1509 deletions
|
@ -1,18 +0,0 @@
|
|||
[referrer-no-referrer.sub.html]
|
||||
[Importing a same-origin top-level script with the no-referrer policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin top-level script with the no-referrer policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a same-origin descendant script from a same-origin top-level script with the no-referrer policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a same-origin top-level script with the no-referrer policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a remote-origin top-level script with the no-referrer policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a same-origin descendant script from a remote-origin top-level script with the no-referrer policy.]
|
||||
expected: FAIL
|
|
@ -1,10 +1,4 @@
|
|||
[referrer-origin.sub.html]
|
||||
[Importing a same-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 remote-origin top-level script with the origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,18 +2,12 @@
|
|||
[Parent module delivered with `no-referrer-when-downgrade` policy importing a same-origin descendant script.]
|
||||
expected: FAIL
|
||||
|
||||
[Parent module delivered with `origin` policy importing a same-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
|
||||
|
||||
[Remote parent module delivered with `origin-when-cross-origin` policy importing a cross-origin-to-parent-module descendant script.]
|
||||
expected: FAIL
|
||||
|
||||
[Parent module delivered with invalid policy importing a same-origin descendant script.]
|
||||
expected: FAIL
|
||||
|
||||
[Parent module delivered with `same-origin` policy importing a same-origin descendant script.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
[referrer-same-origin.sub.html]
|
||||
[Importing a remote-origin top-level script with the same-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a same-origin descendant script from a same-origin top-level script with the same-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a same-origin top-level script with the same-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a remote-origin descendant script from a remote-origin top-level script with the same-origin policy.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -10,6 +10,3 @@
|
|||
|
||||
[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