mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #13571 - servo:simplify-fetching, r=nox
Simplify fetching code. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13571) <!-- Reviewable:end -->
This commit is contained in:
commit
b80769dbf5
5 changed files with 48 additions and 114 deletions
|
@ -269,7 +269,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