mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix invalid use of ReferrerUrl
This commit is contained in:
parent
23a1b0dfb9
commit
47355766ed
50 changed files with 293 additions and 830 deletions
|
@ -52,7 +52,7 @@ impl Tokenizer {
|
|||
pipeline_id: document.global().pipeline_id(),
|
||||
base_url: None,
|
||||
document_url: document.url(),
|
||||
referrer: Referrer::ReferrerUrl(document.url()),
|
||||
referrer: document.global().get_referrer(),
|
||||
referrer_policy: document.get_referrer_policy(),
|
||||
resource_threads: document.loader().resource_threads().clone(),
|
||||
// Initially we set prefetching to false, and only set it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue