mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Make url for "client" referrer mandatory
This commit is contained in:
parent
37394a892c
commit
fa18cf620f
38 changed files with 410 additions and 213 deletions
|
@ -110,7 +110,7 @@ pub fn fetch_image_for_layout(
|
|||
}),
|
||||
);
|
||||
|
||||
let request = FetchRequestInit::new(url)
|
||||
let request = FetchRequestInit::new(url, document.global().get_referrer())
|
||||
.origin(document.origin().immutable().clone())
|
||||
.destination(Destination::Image)
|
||||
.pipeline_id(Some(document.global().pipeline_id()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue