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 #4504

Closed
jdm opened this issue Dec 29, 2014 · 0 comments
Closed

Make script load event asynchronous for internal scripts #4504

jdm opened this issue Dec 29, 2014 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Dec 29, 2014

According to https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block:

If the script is from an external file, fire a simple event named load at the script element.
Otherwise, the script is internal; queue a task to fire a simple event named load at the script element.

This should be a Runnable object that contains a Trusted<HTMLScriptElement> value that gets dispatched to the script task of the element's containing window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.