mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
fixup! Make script load event asynchronous for internal scripts
This commit is contained in:
parent
b984815b98
commit
4629b7ccf0
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ impl<'a> HTMLScriptElementMethods for JSRef<'a, HTMLScriptElement> {
|
|||
}
|
||||
|
||||
impl Runnable for Trusted<HTMLScriptElement> {
|
||||
fn handler(&self) {
|
||||
fn handler(self: Box<Trusted<HTMLScriptElement>>) {
|
||||
let target = self.to_temporary().root();
|
||||
target.r().dispatch_load_event();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue