Introduce GlobalScope::networking_task_source

This commit is contained in:
Anthony Ramine 2016-10-04 00:46:27 +02:00
parent a7305b7fc4
commit 1fd470889d
5 changed files with 19 additions and 16 deletions

View file

@ -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,
};