mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Avoid PendingAsyncLoad in fetch_async.
This commit is contained in:
parent
fc251384a7
commit
59689475af
4 changed files with 8 additions and 18 deletions
|
@ -271,7 +271,7 @@ fn fetch_a_classic_script(script: &HTMLScriptElement,
|
|||
ROUTER.add_route(action_receiver.to_opaque(), box move |message| {
|
||||
listener.notify_fetch(message.to().unwrap());
|
||||
});
|
||||
doc.fetch_async(LoadType::Script(url), request, action_sender, None);
|
||||
doc.fetch_async(LoadType::Script(url), request, action_sender);
|
||||
}
|
||||
|
||||
impl HTMLScriptElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue