mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Introduce GlobalScope::pipeline_id
This commit is contained in:
parent
c6ff767625
commit
27f100b1d4
21 changed files with 103 additions and 85 deletions
|
@ -451,7 +451,7 @@ fn net_request_from_global(global: GlobalRef,
|
|||
url: Url,
|
||||
is_service_worker_global_scope: bool) -> NetTraitsRequest {
|
||||
let origin = Origin::Origin(global.get_url().origin());
|
||||
let pipeline_id = global.pipeline_id();
|
||||
let pipeline_id = global.as_global_scope().pipeline_id();
|
||||
NetTraitsRequest::new(url,
|
||||
Some(origin),
|
||||
is_service_worker_global_scope,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue