Switch to synchronous script loading

This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes #3356.
This commit is contained in:
Matt Brubeck 2014-10-17 09:48:31 -07:00
parent 65a0d1fe9a
commit fe123ad07c
39 changed files with 284 additions and 1006 deletions

View file

@ -1,20 +1,5 @@
[script-languages-02.html]
type: testharness
[Script should run with type=""]
expected: FAIL
[Script should run with type="application/ecmascript"]
expected: FAIL
[Script should run with type="application/javascript"]
expected: FAIL
[Script should run with type="application/x-ecmascript"]
expected: FAIL
[Script should run with type="application/x-javascript"]
expected: FAIL
[Script should run with type="APPLICATION/ECMASCRIPT"]
expected: FAIL
@ -27,162 +12,6 @@
[Script should run with type="APPLICATION/X-JAVASCRIPT"]
expected: FAIL
[Script should run with type="application/ecmascript "]
expected: FAIL
[Script should run with type="application/javascript "]
expected: FAIL
[Script should run with type="application/x-ecmascript "]
expected: FAIL
[Script should run with type="application/x-javascript "]
expected: FAIL
[Script should run with type=" application/ecmascript"]
expected: FAIL
[Script should run with type=" application/javascript"]
expected: FAIL
[Script should run with type=" application/x-ecmascript"]
expected: FAIL
[Script should run with type=" application/x-javascript"]
expected: FAIL
[Script should run with type="application/ecmascript\\t"]
expected: FAIL
[Script should run with type="application/javascript\\t"]
expected: FAIL
[Script should run with type="application/x-ecmascript\\t"]
expected: FAIL
[Script should run with type="application/x-javascript\\t"]
expected: FAIL
[Script should run with type="\\tapplication/ecmascript"]
expected: FAIL
[Script should run with type="\\tapplication/javascript"]
expected: FAIL
[Script should run with type="\\tapplication/x-ecmascript"]
expected: FAIL
[Script should run with type="\\tapplication/x-javascript"]
expected: FAIL
[Script should run with type="application/ecmascript\\n"]
expected: FAIL
[Script should run with type="application/javascript\\n"]
expected: FAIL
[Script should run with type="application/x-ecmascript\\n"]
expected: FAIL
[Script should run with type="application/x-javascript\\n"]
expected: FAIL
[Script should run with type="\\napplication/ecmascript"]
expected: FAIL
[Script should run with type="\\napplication/javascript"]
expected: FAIL
[Script should run with type="\\napplication/x-ecmascript"]
expected: FAIL
[Script should run with type="\\napplication/x-javascript"]
expected: FAIL
[Script should run with type="application/ecmascript\\r"]
expected: FAIL
[Script should run with type="application/javascript\\r"]
expected: FAIL
[Script should run with type="application/x-ecmascript\\r"]
expected: FAIL
[Script should run with type="application/x-javascript\\r"]
expected: FAIL
[Script should run with type="\\rapplication/ecmascript"]
expected: FAIL
[Script should run with type="\\rapplication/javascript"]
expected: FAIL
[Script should run with type="\\rapplication/x-ecmascript"]
expected: FAIL
[Script should run with type="\\rapplication/x-javascript"]
expected: FAIL
[Script should run with type="application/ecmascript\\f"]
expected: FAIL
[Script should run with type="application/javascript\\f"]
expected: FAIL
[Script should run with type="application/x-ecmascript\\f"]
expected: FAIL
[Script should run with type="application/x-javascript\\f"]
expected: FAIL
[Script should run with type="\\fapplication/ecmascript"]
expected: FAIL
[Script should run with type="\\fapplication/javascript"]
expected: FAIL
[Script should run with type="\\fapplication/x-ecmascript"]
expected: FAIL
[Script should run with type="\\fapplication/x-javascript"]
expected: FAIL
[Script should run with type="text/ecmascript"]
expected: FAIL
[Script should run with type="text/javascript"]
expected: FAIL
[Script should run with type="text/javascript1.0"]
expected: FAIL
[Script should run with type="text/javascript1.1"]
expected: FAIL
[Script should run with type="text/javascript1.2"]
expected: FAIL
[Script should run with type="text/javascript1.3"]
expected: FAIL
[Script should run with type="text/javascript1.4"]
expected: FAIL
[Script should run with type="text/javascript1.5"]
expected: FAIL
[Script should run with type="text/jscript"]
expected: FAIL
[Script should run with type="text/livescript"]
expected: FAIL
[Script should run with type="text/x-ecmascript"]
expected: FAIL
[Script should run with type="text/x-javascript"]
expected: FAIL
[Script should run with type="TEXT/ECMASCRIPT"]
expected: FAIL
@ -219,405 +48,6 @@
[Script should run with type="TEXT/X-JAVASCRIPT"]
expected: FAIL
[Script should run with type="text/ecmascript "]
expected: FAIL
[Script should run with type="text/javascript "]
expected: FAIL
[Script should run with type="text/javascript1.0 "]
expected: FAIL
[Script should run with type="text/javascript1.1 "]
expected: FAIL
[Script should run with type="text/javascript1.2 "]
expected: FAIL
[Script should run with type="text/javascript1.3 "]
expected: FAIL
[Script should run with type="text/javascript1.4 "]
expected: FAIL
[Script should run with type="text/javascript1.5 "]
expected: FAIL
[Script should run with type="text/jscript "]
expected: FAIL
[Script should run with type="text/livescript "]
expected: FAIL
[Script should run with type="text/x-ecmascript "]
expected: FAIL
[Script should run with type="text/x-javascript "]
expected: FAIL
[Script should run with type=" text/ecmascript"]
expected: FAIL
[Script should run with type=" text/javascript"]
expected: FAIL
[Script should run with type=" text/javascript1.0"]
expected: FAIL
[Script should run with type=" text/javascript1.1"]
expected: FAIL
[Script should run with type=" text/javascript1.2"]
expected: FAIL
[Script should run with type=" text/javascript1.3"]
expected: FAIL
[Script should run with type=" text/javascript1.4"]
expected: FAIL
[Script should run with type=" text/javascript1.5"]
expected: FAIL
[Script should run with type=" text/jscript"]
expected: FAIL
[Script should run with type=" text/livescript"]
expected: FAIL
[Script should run with type=" text/x-ecmascript"]
expected: FAIL
[Script should run with type=" text/x-javascript"]
expected: FAIL
[Script should run with type="text/ecmascript\\t"]
expected: FAIL
[Script should run with type="text/javascript\\t"]
expected: FAIL
[Script should run with type="text/javascript1.0\\t"]
expected: FAIL
[Script should run with type="text/javascript1.1\\t"]
expected: FAIL
[Script should run with type="text/javascript1.2\\t"]
expected: FAIL
[Script should run with type="text/javascript1.3\\t"]
expected: FAIL
[Script should run with type="text/javascript1.4\\t"]
expected: FAIL
[Script should run with type="text/javascript1.5\\t"]
expected: FAIL
[Script should run with type="text/jscript\\t"]
expected: FAIL
[Script should run with type="text/livescript\\t"]
expected: FAIL
[Script should run with type="text/x-ecmascript\\t"]
expected: FAIL
[Script should run with type="text/x-javascript\\t"]
expected: FAIL
[Script should run with type="\\ttext/ecmascript"]
expected: FAIL
[Script should run with type="\\ttext/javascript"]
expected: FAIL
[Script should run with type="\\ttext/javascript1.0"]
expected: FAIL
[Script should run with type="\\ttext/javascript1.1"]
expected: FAIL
[Script should run with type="\\ttext/javascript1.2"]
expected: FAIL
[Script should run with type="\\ttext/javascript1.3"]
expected: FAIL
[Script should run with type="\\ttext/javascript1.4"]
expected: FAIL
[Script should run with type="\\ttext/javascript1.5"]
expected: FAIL
[Script should run with type="\\ttext/jscript"]
expected: FAIL
[Script should run with type="\\ttext/livescript"]
expected: FAIL
[Script should run with type="\\ttext/x-ecmascript"]
expected: FAIL
[Script should run with type="\\ttext/x-javascript"]
expected: FAIL
[Script should run with type="text/ecmascript\\n"]
expected: FAIL
[Script should run with type="text/javascript\\n"]
expected: FAIL
[Script should run with type="text/javascript1.0\\n"]
expected: FAIL
[Script should run with type="text/javascript1.1\\n"]
expected: FAIL
[Script should run with type="text/javascript1.2\\n"]
expected: FAIL
[Script should run with type="text/javascript1.3\\n"]
expected: FAIL
[Script should run with type="text/javascript1.4\\n"]
expected: FAIL
[Script should run with type="text/javascript1.5\\n"]
expected: FAIL
[Script should run with type="text/jscript\\n"]
expected: FAIL
[Script should run with type="text/livescript\\n"]
expected: FAIL
[Script should run with type="text/x-ecmascript\\n"]
expected: FAIL
[Script should run with type="text/x-javascript\\n"]
expected: FAIL
[Script should run with type="\\ntext/ecmascript"]
expected: FAIL
[Script should run with type="\\ntext/javascript"]
expected: FAIL
[Script should run with type="\\ntext/javascript1.0"]
expected: FAIL
[Script should run with type="\\ntext/javascript1.1"]
expected: FAIL
[Script should run with type="\\ntext/javascript1.2"]
expected: FAIL
[Script should run with type="\\ntext/javascript1.3"]
expected: FAIL
[Script should run with type="\\ntext/javascript1.4"]
expected: FAIL
[Script should run with type="\\ntext/javascript1.5"]
expected: FAIL
[Script should run with type="\\ntext/jscript"]
expected: FAIL
[Script should run with type="\\ntext/livescript"]
expected: FAIL
[Script should run with type="\\ntext/x-ecmascript"]
expected: FAIL
[Script should run with type="\\ntext/x-javascript"]
expected: FAIL
[Script should run with type="text/ecmascript\\r"]
expected: FAIL
[Script should run with type="text/javascript\\r"]
expected: FAIL
[Script should run with type="text/javascript1.0\\r"]
expected: FAIL
[Script should run with type="text/javascript1.1\\r"]
expected: FAIL
[Script should run with type="text/javascript1.2\\r"]
expected: FAIL
[Script should run with type="text/javascript1.3\\r"]
expected: FAIL
[Script should run with type="text/javascript1.4\\r"]
expected: FAIL
[Script should run with type="text/javascript1.5\\r"]
expected: FAIL
[Script should run with type="text/jscript\\r"]
expected: FAIL
[Script should run with type="text/livescript\\r"]
expected: FAIL
[Script should run with type="text/x-ecmascript\\r"]
expected: FAIL
[Script should run with type="text/x-javascript\\r"]
expected: FAIL
[Script should run with type="\\rtext/ecmascript"]
expected: FAIL
[Script should run with type="\\rtext/javascript"]
expected: FAIL
[Script should run with type="\\rtext/javascript1.0"]
expected: FAIL
[Script should run with type="\\rtext/javascript1.1"]
expected: FAIL
[Script should run with type="\\rtext/javascript1.2"]
expected: FAIL
[Script should run with type="\\rtext/javascript1.3"]
expected: FAIL
[Script should run with type="\\rtext/javascript1.4"]
expected: FAIL
[Script should run with type="\\rtext/javascript1.5"]
expected: FAIL
[Script should run with type="\\rtext/jscript"]
expected: FAIL
[Script should run with type="\\rtext/livescript"]
expected: FAIL
[Script should run with type="\\rtext/x-ecmascript"]
expected: FAIL
[Script should run with type="\\rtext/x-javascript"]
expected: FAIL
[Script should run with type="text/ecmascript\\f"]
expected: FAIL
[Script should run with type="text/javascript\\f"]
expected: FAIL
[Script should run with type="text/javascript1.0\\f"]
expected: FAIL
[Script should run with type="text/javascript1.1\\f"]
expected: FAIL
[Script should run with type="text/javascript1.2\\f"]
expected: FAIL
[Script should run with type="text/javascript1.3\\f"]
expected: FAIL
[Script should run with type="text/javascript1.4\\f"]
expected: FAIL
[Script should run with type="text/javascript1.5\\f"]
expected: FAIL
[Script should run with type="text/jscript\\f"]
expected: FAIL
[Script should run with type="text/livescript\\f"]
expected: FAIL
[Script should run with type="text/x-ecmascript\\f"]
expected: FAIL
[Script should run with type="text/x-javascript\\f"]
expected: FAIL
[Script should run with type="\\ftext/ecmascript"]
expected: FAIL
[Script should run with type="\\ftext/javascript"]
expected: FAIL
[Script should run with type="\\ftext/javascript1.0"]
expected: FAIL
[Script should run with type="\\ftext/javascript1.1"]
expected: FAIL
[Script should run with type="\\ftext/javascript1.2"]
expected: FAIL
[Script should run with type="\\ftext/javascript1.3"]
expected: FAIL
[Script should run with type="\\ftext/javascript1.4"]
expected: FAIL
[Script should run with type="\\ftext/javascript1.5"]
expected: FAIL
[Script should run with type="\\ftext/jscript"]
expected: FAIL
[Script should run with type="\\ftext/livescript"]
expected: FAIL
[Script should run with type="\\ftext/x-ecmascript"]
expected: FAIL
[Script should run with type="\\ftext/x-javascript"]
expected: FAIL
[Script should run with language=""]
expected: FAIL
[Script should run with language="ecmascript"]
expected: FAIL
[Script should run with language="javascript"]
expected: FAIL
[Script should run with language="javascript1.0"]
expected: FAIL
[Script should run with language="javascript1.1"]
expected: FAIL
[Script should run with language="javascript1.2"]
expected: FAIL
[Script should run with language="javascript1.3"]
expected: FAIL
[Script should run with language="javascript1.4"]
expected: FAIL
[Script should run with language="javascript1.5"]
expected: FAIL
[Script should run with language="jscript"]
expected: FAIL
[Script should run with language="livescript"]
expected: FAIL
[Script should run with language="x-ecmascript"]
expected: FAIL
[Script should run with language="x-javascript"]
expected: FAIL
[Script should run with language="ECMASCRIPT"]
expected: FAIL