mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Make network listener runnable cancellable
This commit is contained in:
parent
b9af49f120
commit
315ffe7677
6 changed files with 21 additions and 5 deletions
|
@ -308,6 +308,7 @@ impl HTMLScriptElement {
|
|||
let listener = NetworkListener {
|
||||
context: context,
|
||||
script_chan: doc.window().networking_task_source(),
|
||||
wrapper: Some(doc.window().get_runnable_wrapper()),
|
||||
};
|
||||
let response_target = AsyncResponseTarget {
|
||||
sender: action_sender,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue