mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +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,3 +0,0 @@
|
|||
[iframe-inheritance-document-write.html]
|
||||
[document.open() should not change the referrer policy of the opened document.]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[meta-referrer-removed-1.http.html]
|
||||
[removing <meta name="referrer"> should not change referrer policy]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[second-meta-referrer-added-before-first.http.html]
|
||||
[document referrer policy is the value of the most recently added <meta name="referrer">]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue