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

Move script loading out of the HTML parser #3356

Closed
mbrubeck opened this issue Sep 16, 2014 · 1 comment
Closed

Move script loading out of the HTML parser #3356

mbrubeck opened this issue Sep 16, 2014 · 1 comment

Comments

@mbrubeck
Copy link
Contributor

@mbrubeck mbrubeck commented Sep 16, 2014

Similar to #1959, but for script. We need to make sure that dynamically-inserted <script> elements are handled correctly, and that inline and remote scripts are loaded synchronously and in the correct order.

@tetsuharuohzeki
Copy link
Member

@tetsuharuohzeki tetsuharuohzeki commented Sep 17, 2014

#1879 is related.

mbrubeck added a commit to mbrubeck/servo that referenced this issue Oct 18, 2014
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes servo#3356.
mbrubeck added a commit to mbrubeck/servo that referenced this issue Oct 21, 2014
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes servo#3356.
@jdm jdm added this to the Dogfooding milestone Oct 23, 2014
mbrubeck added a commit to mbrubeck/servo that referenced this issue Oct 27, 2014
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes servo#3356.
mbrubeck added a commit to mbrubeck/servo that referenced this issue Oct 29, 2014
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes servo#3356.
bors-servo pushed a commit that referenced this issue Oct 29, 2014
Fixes #3356.  This makes script elements fetch their source synchronously and execute immediately by default.  It also lays some groundwork for future deferred or async script loading.

(Depends on #3716 to fix a content test failure caused by running script during parsing.)
mbrubeck added a commit to mbrubeck/servo that referenced this issue Oct 29, 2014
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes servo#3356.
mbrubeck added a commit to mbrubeck/servo that referenced this issue Oct 29, 2014
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes servo#3356.
bors-servo pushed a commit that referenced this issue Oct 29, 2014
Fixes #3356.  This makes script elements fetch their source synchronously and execute immediately by default.  It also lays some groundwork for future deferred or async script loading.

(Depends on #3716 to fix a content test failure caused by running script during parsing.)
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.

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