Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events.

This commit is contained in:
Josh Matthews 2015-03-11 10:44:59 -04:00
parent e52197d126
commit 8082df7d0d
32 changed files with 441 additions and 276 deletions

View file

@ -1,5 +0,0 @@
[async_006.htm]
type: testharness
[dynamically created external script executes asynchronously]
expected: FAIL

View file

@ -1,5 +0,0 @@
[015.html]
type: testharness
[ scheduler: DOM added inline+external+inline script earlier in document]
expected: FAIL

View file

@ -1,5 +0,0 @@
[015a.html]
type: testharness
[ scheduler: DOM added inline+external+inline script earlier in document]
expected: FAIL

View file

@ -1,5 +0,0 @@
[017.html]
type: testharness
[ scheduler: multiple DOM added scripts later in document]
expected: FAIL

View file

@ -1,5 +0,0 @@
[020.html]
type: testharness
[ scheduler: DOM added script with data: URL ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[022.html]
type: testharness
[ scheduler: DOM added script, late .src ]
expected: FAIL

View file

@ -1,6 +0,0 @@
[023.html]
type: testharness
expected: TIMEOUT
[ scheduler: DOM added script, even later .src ]
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[024.html]
type: testharness
[ scheduler: DOM added script, .src set twice]
expected: FAIL

View file

@ -1,5 +0,0 @@
[038.html]
type: testharness
[ scheduler: DOM movement with appendChild, external]
expected: FAIL

View file

@ -1,5 +0,0 @@
[046.html]
type: testharness
[ scheduler: no readystatechange events when adding external scripts ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[047.html]
type: testharness
[ scheduler: adding and removing external script ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[049.html]
type: testharness
[ scheduler: adding external script but removeAttribute( src ) before it runs]
expected: FAIL

View file

@ -1,5 +0,0 @@
[050.html]
type: testharness
[ scheduler: adding external script that removes all scripts from document]
expected: FAIL

View file

@ -1,5 +0,0 @@
[051.html]
type: testharness
[ scheduler: interaction of parsing and script execution - script added through DOM]
expected: FAIL

View file

@ -1,5 +0,0 @@
[053.html]
type: testharness
[ scheduler: adding external script that removes itself from document when loading]
expected: FAIL

View file

@ -1,5 +0,0 @@
[069.html]
type: testharness
[scheduler: external files added through DOM should not block further parsing while loading]
expected: FAIL

View file

@ -1,5 +0,0 @@
[076.html]
type: testharness
[ scheduler: adding and removing external and inline scripts ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[078.html]
type: testharness
[ adding several types of scripts through the DOM and removing some of them confuses scheduler (slow-loading scripts) ]
expected: FAIL

View file

@ -0,0 +1,4 @@
[095.html]
type: testharness
[ scheduler: slow-loading script added from defer blocking load event]
expected: FAIL

View file

@ -0,0 +1,4 @@
[105.html]
type: testharness
[ scheduler: adding async attribute at runtime]
expected: FAIL

View file

@ -0,0 +1,4 @@
[123.html]
type: testharness
[scheduler: altering the type attribute and adding/removing external script with async=false ]
expected: FAIL

View file

@ -0,0 +1,4 @@
[126.html]
type: testharness
[scheduler: altering the type attribute and changing script data external script async=false ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[134.html]
type: testharness
[scheduler: external HTML script added by SVG script ]
expected: FAIL