diff options
author | shanehandley <1322294+shanehandley@users.noreply.github.com> | 2024-11-19 23:45:10 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 12:45:10 +0000 |
commit | 975e2ae85925d5660d09415de33ea77537bcf0d4 (patch) | |
tree | 197776b1eafc04477081a131d982435f1340ad43 /components/script/dom/domimplementation.rs | |
parent | 83f8e888189cc265e73d6a3849f7b8c71c080181 (diff) | |
download | servo-975e2ae85925d5660d09415de33ea77537bcf0d4.tar.gz servo-975e2ae85925d5660d09415de33ea77537bcf0d4.zip |
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>
Diffstat (limited to 'components/script/dom/domimplementation.rs')
-rw-r--r-- | components/script/dom/domimplementation.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script/dom/domimplementation.rs b/components/script/dom/domimplementation.rs index 7a75fce1ae4..13b9d14ffe6 100644 --- a/components/script/dom/domimplementation.rs +++ b/components/script/dom/domimplementation.rs @@ -159,7 +159,6 @@ impl DOMImplementationMethods for DOMImplementation { loader, None, None, - None, Default::default(), can_gc, ); |