mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Introduce GlobalScope::networking_task_source
This commit is contained in:
parent
a7305b7fc4
commit
1fd470889d
5 changed files with 19 additions and 16 deletions
|
@ -96,7 +96,7 @@ pub fn Fetch(global: GlobalRef, input: RequestOrUSVString, init: &RequestInit) -
|
|||
}));
|
||||
let listener = NetworkListener {
|
||||
context: fetch_context,
|
||||
script_chan: global.networking_task_source(),
|
||||
script_chan: global_scope.networking_task_source(),
|
||||
wrapper: None,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue