mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02: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:
@@ -55,7 +55,6 @@ impl XMLDocument {
|
||||
doc_loader,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Default::default(),
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user