fixup! Make script load event asynchronous for internal scripts

This commit is contained in:
Tetsuharu OHZEKI 2015-01-11 03:38:21 +09:00
parent b984815b98
commit 4629b7ccf0

View file

@ -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();
}