aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/location.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/location.rs')
-rw-r--r--components/script/dom/location.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/location.rs b/components/script/dom/location.rs
index 5882a024912..48e8ea0c744 100644
--- a/components/script/dom/location.rs
+++ b/components/script/dom/location.rs
@@ -50,7 +50,7 @@ impl Location {
LoadOrigin::Script(document.origin().immutable().clone()),
url,
Some(pipeline_id),
- Some(referrer),
+ referrer,
referrer_policy,
);
// TODO: rethrow exceptions, set exceptions enabled flag.