From 2440e0f98ade12cf595fe7c791a1065b29b53d74 Mon Sep 17 00:00:00 2001 From: Russell Cousineau Date: Sun, 24 Mar 2019 23:04:17 -0700 Subject: set referrer in window.load_url - this conforms to follow-hyperlinks spec step 13 - this conforms to window-open spec step 14.3 - replace uses of `referrer_url` with `referrer` - in Request class, change "no-referrer" to "" - set websocket fetch referrer to "no-referrer" --- components/script/script_thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/script_thread.rs') diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 2118e3efda1..810effabb37 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -3336,7 +3336,7 @@ impl ScriptThread { .credentials_mode(CredentialsMode::Include) .use_url_credentials(true) .pipeline_id(Some(id)) - .referrer_url(load_data.referrer_url) + .referrer(load_data.referrer) .referrer_policy(load_data.referrer_policy) .headers(load_data.headers) .body(load_data.data) -- cgit v1.2.3