Auto merge of #7979 - tschneidereit:script-loading-fixes, r=jdm

Improve spec-compliance of script loading and execution during document startup

Including proper support for async and deferred scripts.

r? @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7979)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-10-26 15:48:23 -05:00
commit 704c5ef25a
9 changed files with 298 additions and 128 deletions

View file

@ -1,5 +0,0 @@
[085.html]
type: testharness
[ scheduler: async script and slow-loading defer script]
expected: FAIL

View file

@ -1,5 +0,0 @@
[103.html]
type: testharness
[ scheduler: removing defer attribute at runtime]
expected: FAIL

View file

@ -1,5 +0,0 @@
[110.html]
type: testharness
[ scheduler: removing defer script at runtime]
expected: FAIL