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

@ -5,6 +5,64 @@
page </title>
<base href="./"></base>
<script src="harness.js"></script>
</head>
<body>
<div id="first" name="test">fffff<br><br><br><br>fffffffffffffffff</div>
<div id="second">ggg</div>
<span id="third" name="test">hhhhhhhh</span>
<div id="fourth">iiiiiiiiiiiiiiiiiii</div>
<a href="http://www.mozilla.org"></a>
<img src="test.jpg"/>
<embed></embed>
<form>
<fieldset>
<legend>legend</legend>
<label for="">label<input type="text" value="input" /></label>
</fieldset>
</form>
<hr />
<canvas/>
<p>pppppppppp</p>
<q>qqqqqqqqqqqqqqqqqqqqqqqqqqq</q>
<progress max="100" value="80">80%</progress>
<applet></applet>
<input type="text" value="input"/>
<iframe></iframe>
<ol type="1">
<li>li</li>
</ol>
<table>
<caption>sample table</caption>
<colgroup>
<col/>
</colgroup>
<tbody>
<tr><th>head</th></tr>
<tr><td>data</td></tr>
</tbody>
</table>
<section>section</section>
<aside>aside</aside>
<b>b</b>
<i>i</i>
<small>small</small>
<textarea>textarea</textarea>
<time datetime="2014-02-14">Valentines day</time>
<area></area>
<data></data>
<template></template>
<pre>pre</pre>
<audio>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
</audio>
<video src="">
<track></track>
</video>
<foo-á>hi</foo-á>
<script>
function check_collection(obj, num, classes, name) {
is_a(obj, HTMLCollection);
@ -81,63 +139,5 @@ check_tag("foo-á", 1, [HTMLUnknownElement], "FOO-á");
finish();
</script>
</head>
<body>
<div id="first" name="test">fffff<br><br><br><br>fffffffffffffffff</div>
<div id="second">ggg</div>
<span id="third" name="test">hhhhhhhh</span>
<div id="fourth">iiiiiiiiiiiiiiiiiii</div>
<a href="http://www.mozilla.org"></a>
<img src="test.jpg"/>
<embed></embed>
<form>
<fieldset>
<legend>legend</legend>
<label for="">label<input type="text" value="input" /></label>
</fieldset>
</form>
<hr />
<canvas/>
<p>pppppppppp</p>
<q>qqqqqqqqqqqqqqqqqqqqqqqqqqq</q>
<progress max="100" value="80">80%</progress>
<applet></applet>
<input type="text" value="input"/>
<iframe></iframe>
<ol type="1">
<li>li</li>
</ol>
<table>
<caption>sample table</caption>
<colgroup>
<col/>
</colgroup>
<tbody>
<tr><th>head</th></tr>
<tr><td>data</td></tr>
</tbody>
</table>
<section>section</section>
<aside>aside</aside>
<b>b</b>
<i>i</i>
<small>small</small>
<textarea>textarea</textarea>
<time datetime="2014-02-14">Valentines day</time>
<area></area>
<data></data>
<template></template>
<pre>pre</pre>
<audio>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
</audio>
<video src="">
<track></track>
</video>
<foo-á>hi</foo-á>
</body>
</html>

View file

@ -2,6 +2,9 @@
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<div id="foo"><div id="bar"></div></div>
<script>
let foo = document.getElementById("foo");
let doc = document.implementation.createHTMLDocument("title");
@ -18,8 +21,5 @@
finish();
</script>
</head>
<body>
<div id="foo"><div id="bar"></div></div>
</body>
</html>

View file

@ -2,6 +2,8 @@
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<script>
var links = document.links;
is(links, document.links);
@ -33,5 +35,5 @@
finish();
</script>
</head>
</body>
</html>

View file

@ -2,14 +2,13 @@
<head>
<script src="harness.js"></script>
</head>
<!-- gNumChanges should be 2 once synchronous script execution is supported -->
<body onload="is(document.readyState, 'complete'); is(gNumChanges, 1); finish()">
<body onload="is(document.readyState, 'complete'); is(gNumChanges, 2); finish()">
<script>
gNumChanges = 0;
document.addEventListener('readystatechange', function() {
gNumChanges++;
}, true);
is(document.readyState, "interactive");
is(document.readyState, "loading");
</script>
</body>
</html>

View file

@ -2,6 +2,10 @@
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<div id="foo-1" class="foo"></div>
<div id="foo-2" class="baz"></div>
<script>
let foo1 = document.getElementById("foo-1");
let foo2 = document.getElementById("foo-2");
@ -30,9 +34,5 @@
finish();
</script>
</head>
<body>
<div id="foo-1" class="foo"></div>
<div id="foo-2" class="baz"></div>
</body>
</html>

View file

@ -3,6 +3,54 @@
<head>
<title>Tests for :enabled and :disabled selectors</title>
<script src="harness.js"></script>
</head>
<body>
<button id="button-1"></button>
<button id="button-2" disabled></button>
<input id="input-1"></input>
<input id="input-2" disabled></input>
<option id="option-1"></option>
<option id="option-2" disabled></option>
<select id="select-1"></select>
<select id="select-2" disabled></select>
<textarea id="textarea-1"></textarea>
<textarea id="textarea-2" disabled></textarea>
<optgroup disabled>
<option id="option-3"></option>
</optgroup>
<fieldset disabled>
<fieldset>
<button id="button-3"></button>
<input id="input-3"></input>
<select id="select-3"></select>
<textarea id="textarea-3"></textarea>
</fieldset>
</fieldset>
<fieldset disabled>
<legend>
<button id="button-4"></button>
<input id="input-4"></input>
<select id="select-4"></select>
<textarea id="textarea-4"></textarea>
</legend>
</fieldset>
<fieldset disabled>
<legend></legend>
<legend>
<button id="button-5"></button>
<input id="input-5"></input>
<select id="select-5"></select>
<textarea id="textarea-5"></textarea>
</legend>
</fieldset>
<script>
{ // Simple initialization checks.
var list, i, elem;
@ -127,53 +175,5 @@
finish();
</script>
</head>
<body>
<button id="button-1"></button>
<button id="button-2" disabled></button>
<input id="input-1"></input>
<input id="input-2" disabled></input>
<option id="option-1"></option>
<option id="option-2" disabled></option>
<select id="select-1"></select>
<select id="select-2" disabled></select>
<textarea id="textarea-1"></textarea>
<textarea id="textarea-2" disabled></textarea>
<optgroup disabled>
<option id="option-3"></option>
</optgroup>
<fieldset disabled>
<fieldset>
<button id="button-3"></button>
<input id="input-3"></input>
<select id="select-3"></select>
<textarea id="textarea-3"></textarea>
</fieldset>
</fieldset>
<fieldset disabled>
<legend>
<button id="button-4"></button>
<input id="input-4"></input>
<select id="select-4"></select>
<textarea id="textarea-4"></textarea>
</legend>
</fieldset>
<fieldset disabled>
<legend></legend>
<legend>
<button id="button-5"></button>
<input id="input-5"></input>
<select id="select-5"></select>
<textarea id="textarea-5"></textarea>
</legend>
</fieldset>
</body>
</html>

View file

@ -1,25 +1,6 @@
<html>
<head>
<script src="harness.js"></script>
<script>
is_function(DOMRect, "DOMRect");
var elems = document.getElementsByTagName('div');
var rect = elems[0].getBoundingClientRect();
is_a(rect, DOMRect);
geq(rect.top, 100);
geq(rect.bottom, 200);
geq(rect.left, 100);
geq(rect.right, 200);
is(rect.width, 100);
is(rect.height, 100);
is(rect.width, rect.right - rect.left);
is(rect.height, rect.bottom - rect.top);
finish();
</script>
<style>
div {
margin-top: 100px;
@ -31,5 +12,24 @@ div {
</head>
<body>
<div>my div</div>
<script>
is_function(DOMRect, "DOMRect");
var elems = document.getElementsByTagName('div');
var rect = elems[0].getBoundingClientRect();
is_a(rect, DOMRect);
geq(rect.top, 100);
geq(rect.bottom, 200);
geq(rect.left, 100);
geq(rect.right, 200);
is(rect.width, 100);
is(rect.height, 100);
is(rect.width, rect.right - rect.left);
is(rect.height, rect.bottom - rect.top);
finish();
</script>
</body>
</html>

View file

@ -2,6 +2,17 @@
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<div id="foo-1" class="foo"></div>
<div id="foo-2" class="foo"></div>
<div id="bar" class="bar"></div>
<div id="live" class="live"></div>
<div id="class-example">
<p id="p1" class="aaa bbb"/>
<p id="p2" class="aaa ccc"/>
<p id="p3" class="bbb ccc"/>
</div>
<script>
let foo1 = document.getElementById("foo-1");
let foo2 = document.getElementById("foo-2");
@ -104,16 +115,5 @@
finish();
</script>
</head>
<body>
<div id="foo-1" class="foo"></div>
<div id="foo-2" class="foo"></div>
<div id="bar" class="bar"></div>
<div id="live" class="live"></div>
<div id="class-example">
<p id="p1" class="aaa bbb"/>
<p id="p2" class="aaa ccc"/>
<p id="p3" class="bbb ccc"/>
</div>
</body>
</html>

View file

@ -2,11 +2,6 @@
<html>
<head>
<script src="harness.js"></script>
<script>
is(document.getElementsByClassName("foo").length, 6);
is_not(document.getElementById("bar").className, "ggg foo");
finish();
</script>
</head>
<body>
<!-- \u0020 Space -->
@ -23,5 +18,10 @@
<div id="foo-6" class="fff foo"></div>
<!-- Non-HTML space character -->
<div id="bar" class="ggg&#11;foo"></div>
<script>
is(document.getElementsByClassName("foo").length, 6);
is_not(document.getElementById("bar").className, "ggg foo");
finish();
</script>
</body>
</html>

View file

@ -2,6 +2,12 @@
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<div id="foo"></div>
<div id="foo\bar"></div>
<div id="foo:bar"></div>
<div id="bar" class="myClass"></p>
<script>
{ // document.querySelector
let div = document.getElementById("foo");
@ -60,11 +66,5 @@
}
finish();
</script>
</head>
<body>
<div id="foo"></div>
<div id="foo\bar"></div>
<div id="foo:bar"></div>
<div id="bar" class="myClass"></p>
</body>
</html>

View file

@ -2,6 +2,13 @@
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<div id="parent">
<div id="foo" class="test"></div>
<div id="bar" class="test"></div>
<div id="baz" class="test"></div>
</div>
<script>
let foo = document.getElementById("foo");
let bar = document.getElementById("bar");
@ -48,12 +55,5 @@
finish();
</script>
</head>
<body>
<div id="parent">
<div id="foo" class="test"></div>
<div id="bar" class="test"></div>
<div id="baz" class="test"></div>
</div>
</body>
</html>

View file

@ -3,22 +3,24 @@
<meta charset="utf-8">
<script src="harness.js"></script>
</head>
<body>
<body onload="test()">
<foo-á>foo</foo-á>
<script>
is_a(window.document, Node);
gc(); // ensure that our document rooting works; subsequent accesses should be valid.
is_a(window.document, Node);
is(window.document.nodeType, Node.DOCUMENT_NODE);
is_a(window.document.documentElement, Node);
is_a(window.document.documentElement, Element);
is_a(window.document.documentElement, HTMLElement);
is_a(window.document.documentElement, HTMLHtmlElement);
is_a(window.document, Document);
is(window.document.documentElement.tagName, "HTML");
is_a(window.document.getElementsByTagName('foo-á')[0], HTMLUnknownElement);
is(window.document.getElementsByTagName('foo-á')[0].tagName, "FOO-á");
finish();
function test() {
is_a(window.document, Node);
gc(); // ensure that our document rooting works; subsequent accesses should be valid.
is_a(window.document, Node);
is(window.document.nodeType, Node.DOCUMENT_NODE);
is_a(window.document.documentElement, Node);
is_a(window.document.documentElement, Element);
is_a(window.document.documentElement, HTMLElement);
is_a(window.document.documentElement, HTMLHtmlElement);
is_a(window.document, Document);
is(window.document.documentElement.tagName, "HTML");
is_a(window.document.getElementsByTagName('foo-á')[0], HTMLUnknownElement);
is(window.document.getElementsByTagName('foo-á')[0].tagName, "FOO-á");
finish();
}
</script>
</body>
</html>

View file

@ -1,6 +1,10 @@
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<div>this is
text content</div>
<script>
var div = document.getElementsByTagName('div')[0];
is(div.textContent, "this is\n text content");
@ -9,9 +13,5 @@
is(div.textContent, newContent);
finish();
</script>
</head>
<body>
<div>this is
text content</div>
</body>
</html>

View file

@ -1,3 +1,3 @@
[Document-createElement-namespace.html]
type: testharness
expected: TIMEOUT
expected: CRASH

View file

@ -1,4 +0,0 @@
[document-readyState.html]
type: testharness
[readystatechange event is fired each time document.readyState changes]
expected: FAIL

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

View file

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

View file

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

View file

@ -1,5 +0,0 @@
[025.html]
type: testharness
[ scheduler: DOM added script, .src set on script with content]
expected: FAIL

View file

@ -1,5 +0,0 @@
[036.html]
type: testharness
[ scheduler: DOM cloning]
expected: FAIL

View file

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

View file

@ -1,5 +0,0 @@
[048.html]
type: testharness
[ scheduler: adding inline script which sets its own .src ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[052.html]
type: testharness
[ scheduler: interaction of parsing and script execution - external script ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[056.html]
type: testharness
[ scheduler: appending code to initially empty SCRIPT tag in DOM ]
expected: FAIL

View file

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

View file

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

View file

@ -1,6 +1,5 @@
[116.html]
type: testharness
expected: TIMEOUT
[scheduler: adding script to head of frameset document]
expected: TIMEOUT
expected: FAIL

View file

@ -1,5 +0,0 @@
[124.html]
type: testharness
[scheduler: altering the type attribute and changing script data inline script ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[127.html]
type: testharness
[scheduler: appending non-text children to script ]
expected: FAIL

View file

@ -1,5 +0,0 @@
[129.html]
type: testharness
[scheduler: appending multiple script elements]
expected: FAIL

View file

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

View file

@ -1,5 +0,0 @@
[145.html]
type: testharness
[scheduler: SVG inline script adding text to empty script ]
expected: FAIL