Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make script load event asynchronous for internal scripts #4540

Merged
merged 3 commits into from Jan 16, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

fixup! Make script load event asynchronous for internal scripts

  • Loading branch information
tetsuharuohzeki committed Jan 10, 2015
commit 4629b7ccf0b0ff27d437f369d42e5c9ffaf79e4a
@@ -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();
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.