mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
fixup! Make script load event asynchronous for internal scripts
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user