Shard html5lib/runner.html into many separate tests
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Dec 2011 07:46:56 +0000 (07:46 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Dec 2011 07:46:56 +0000 (07:46 +0000)
https://bugs.webkit.org/show_bug.cgi?id=74968

Reviewed by Eric Seidel.

runner.html is something of an uber test that runs many, many sub
tests.  It's slow and times out in some configurations.  This patch
breaks it up into a number of different subtests, along the same lines
that the upstream html5lib test suite is sharded.

* html5lib/resources/runner.js: Added.
(window.onload):
(run.xhr.onreadystatechange):
(run):
(test.else.overview.onclick):
(test):
(run_test.else.iframe.onload):
(run_test):
(process_result.get if):
(process_result):
* html5lib/run-test1-expected.txt: Added.
* html5lib/run-test1.html: Added.
* html5lib/run-test10-expected.txt: Added.
* html5lib/run-test10.html: Added.
* html5lib/run-test11-expected.txt: Added.
* html5lib/run-test11.html: Added.
* html5lib/run-test12-expected.txt: Added.
* html5lib/run-test12.html: Added.
* html5lib/run-test14-expected.txt: Added.
* html5lib/run-test14.html: Added.
* html5lib/run-test15-expected.txt: Added.
* html5lib/run-test15.html: Added.
* html5lib/run-test16-expected.txt: Added.
* html5lib/run-test16.html: Added.
* html5lib/run-test17-expected.txt: Added.
* html5lib/run-test17.html: Added.
* html5lib/run-test18-expected.txt: Added.
* html5lib/run-test18.html: Added.
* html5lib/run-test19-expected.txt: Added.
* html5lib/run-test19.html: Added.
* html5lib/run-test2-expected.txt: Added.
* html5lib/run-test2.html: Added.
* html5lib/run-test20-expected.txt: Added.
* html5lib/run-test20.html: Added.
* html5lib/run-test21-expected.txt: Added.
* html5lib/run-test21.html: Added.
* html5lib/run-test22-expected.txt: Added.
* html5lib/run-test22.html: Added.
* html5lib/run-test23-expected.txt: Added.
* html5lib/run-test23.html: Added.
* html5lib/run-test24-expected.txt: Added.
* html5lib/run-test24.html: Added.
* html5lib/run-test25-expected.txt: Added.
* html5lib/run-test25.html: Added.
* html5lib/run-test26-expected.txt: Added.
* html5lib/run-test26.html: Added.
* html5lib/run-test3-expected.txt: Added.
* html5lib/run-test3.html: Added.
* html5lib/run-test4-expected.txt: Added.
* html5lib/run-test4.html: Added.
* html5lib/run-test5-expected.txt: Added.
* html5lib/run-test5.html: Added.
* html5lib/run-test6-expected.txt: Added.
* html5lib/run-test6.html: Added.
* html5lib/run-test7-expected.txt: Added.
* html5lib/run-test7.html: Added.
* html5lib/run-test8-expected.txt: Added.
* html5lib/run-test8.html: Added.
* html5lib/run-test9-expected.txt: Added.
* html5lib/run-test9.html: Added.
* html5lib/runner-expected.txt:
* html5lib/runner.html:
* platform/chromium/html5lib/runner-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@103499 268f45cc-cd09-0410-ab3c-d52691b4dbfc

58 files changed:
LayoutTests/ChangeLog
LayoutTests/html5lib/resources/runner.js [new file with mode: 0644]
LayoutTests/html5lib/run-test1-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test1.html [new file with mode: 0644]
LayoutTests/html5lib/run-test10-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test10.html [new file with mode: 0644]
LayoutTests/html5lib/run-test11-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test11.html [new file with mode: 0644]
LayoutTests/html5lib/run-test12-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test12.html [new file with mode: 0644]
LayoutTests/html5lib/run-test14-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test14.html [new file with mode: 0644]
LayoutTests/html5lib/run-test15-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test15.html [new file with mode: 0644]
LayoutTests/html5lib/run-test16-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test16.html [new file with mode: 0644]
LayoutTests/html5lib/run-test17-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test17.html [new file with mode: 0644]
LayoutTests/html5lib/run-test18-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test18.html [new file with mode: 0644]
LayoutTests/html5lib/run-test19-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test19.html [new file with mode: 0644]
LayoutTests/html5lib/run-test2-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test2.html [new file with mode: 0644]
LayoutTests/html5lib/run-test20-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test20.html [new file with mode: 0644]
LayoutTests/html5lib/run-test21-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test21.html [new file with mode: 0644]
LayoutTests/html5lib/run-test22-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test22.html [new file with mode: 0644]
LayoutTests/html5lib/run-test23-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test23.html [new file with mode: 0644]
LayoutTests/html5lib/run-test24-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test24.html [new file with mode: 0644]
LayoutTests/html5lib/run-test25-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test25.html [new file with mode: 0644]
LayoutTests/html5lib/run-test26-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test26.html [new file with mode: 0644]
LayoutTests/html5lib/run-test3-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test3.html [new file with mode: 0644]
LayoutTests/html5lib/run-test4-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test4.html [new file with mode: 0644]
LayoutTests/html5lib/run-test5-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test5.html [new file with mode: 0644]
LayoutTests/html5lib/run-test6-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test6.html [new file with mode: 0644]
LayoutTests/html5lib/run-test7-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test7.html [new file with mode: 0644]
LayoutTests/html5lib/run-test8-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test8.html [new file with mode: 0644]
LayoutTests/html5lib/run-test9-expected.txt [new file with mode: 0644]
LayoutTests/html5lib/run-test9.html [new file with mode: 0644]
LayoutTests/html5lib/runner-expected.txt
LayoutTests/html5lib/runner.html
LayoutTests/platform/chromium/html5lib/run-test1-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium/html5lib/run-test18-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium/html5lib/run-test7-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium/html5lib/runner-expected.txt [deleted file]

index 25803fa..45c7cd1 100644 (file)
@@ -1,3 +1,79 @@
+2011-12-21  Adam Barth  <abarth@webkit.org>
+
+        Shard html5lib/runner.html into many separate tests
+        https://bugs.webkit.org/show_bug.cgi?id=74968
+
+        Reviewed by Eric Seidel.
+
+        runner.html is something of an uber test that runs many, many sub
+        tests.  It's slow and times out in some configurations.  This patch
+        breaks it up into a number of different subtests, along the same lines
+        that the upstream html5lib test suite is sharded.
+
+        * html5lib/resources/runner.js: Added.
+        (window.onload):
+        (run.xhr.onreadystatechange):
+        (run):
+        (test.else.overview.onclick):
+        (test):
+        (run_test.else.iframe.onload):
+        (run_test):
+        (process_result.get if):
+        (process_result):
+        * html5lib/run-test1-expected.txt: Added.
+        * html5lib/run-test1.html: Added.
+        * html5lib/run-test10-expected.txt: Added.
+        * html5lib/run-test10.html: Added.
+        * html5lib/run-test11-expected.txt: Added.
+        * html5lib/run-test11.html: Added.
+        * html5lib/run-test12-expected.txt: Added.
+        * html5lib/run-test12.html: Added.
+        * html5lib/run-test14-expected.txt: Added.
+        * html5lib/run-test14.html: Added.
+        * html5lib/run-test15-expected.txt: Added.
+        * html5lib/run-test15.html: Added.
+        * html5lib/run-test16-expected.txt: Added.
+        * html5lib/run-test16.html: Added.
+        * html5lib/run-test17-expected.txt: Added.
+        * html5lib/run-test17.html: Added.
+        * html5lib/run-test18-expected.txt: Added.
+        * html5lib/run-test18.html: Added.
+        * html5lib/run-test19-expected.txt: Added.
+        * html5lib/run-test19.html: Added.
+        * html5lib/run-test2-expected.txt: Added.
+        * html5lib/run-test2.html: Added.
+        * html5lib/run-test20-expected.txt: Added.
+        * html5lib/run-test20.html: Added.
+        * html5lib/run-test21-expected.txt: Added.
+        * html5lib/run-test21.html: Added.
+        * html5lib/run-test22-expected.txt: Added.
+        * html5lib/run-test22.html: Added.
+        * html5lib/run-test23-expected.txt: Added.
+        * html5lib/run-test23.html: Added.
+        * html5lib/run-test24-expected.txt: Added.
+        * html5lib/run-test24.html: Added.
+        * html5lib/run-test25-expected.txt: Added.
+        * html5lib/run-test25.html: Added.
+        * html5lib/run-test26-expected.txt: Added.
+        * html5lib/run-test26.html: Added.
+        * html5lib/run-test3-expected.txt: Added.
+        * html5lib/run-test3.html: Added.
+        * html5lib/run-test4-expected.txt: Added.
+        * html5lib/run-test4.html: Added.
+        * html5lib/run-test5-expected.txt: Added.
+        * html5lib/run-test5.html: Added.
+        * html5lib/run-test6-expected.txt: Added.
+        * html5lib/run-test6.html: Added.
+        * html5lib/run-test7-expected.txt: Added.
+        * html5lib/run-test7.html: Added.
+        * html5lib/run-test8-expected.txt: Added.
+        * html5lib/run-test8.html: Added.
+        * html5lib/run-test9-expected.txt: Added.
+        * html5lib/run-test9.html: Added.
+        * html5lib/runner-expected.txt:
+        * html5lib/runner.html:
+        * platform/chromium/html5lib/runner-expected.txt: Removed.
+
 2011-12-21  Yosifumi Inoue  <yosin@chromium.org>
 
         [Forms] Selection change by type-ahead doesn't fire 'change' event
diff --git a/LayoutTests/html5lib/resources/runner.js b/LayoutTests/html5lib/resources/runner.js
new file mode 100644 (file)
index 0000000..40a1c0e
--- /dev/null
@@ -0,0 +1,204 @@
+// Copyright (c) 2008 Geoffrey Sneddon
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+document.writeln("<title>html5lib test runner</title>");
+document.writeln("<style>");
+document.writeln(".overview:hover {");
+document.writeln("background: #ccc;");
+document.writeln("}");
+document.writeln("iframe {");
+document.writeln("display: none;");
+document.writeln("}");
+document.writeln("</style>");
+document.writeln("<p>Script did not run</p>");
+document.writeln("<iframe></iframe>");
+
+if (window.layoutTestController)
+    layoutTestController.waitUntilDone();
+
+Markup.noAutoDump();
+Markup.useHTML5libOutputFormat();
+
+var tests = [],
+    iframe = document.getElementsByTagName("iframe")[0],
+    stat = document.getElementsByTagName("p")[0].firstChild,
+    file = "",
+    test_number = 1,
+    fail_list = [],
+    log = "";
+
+iframe.contentWindow.document.open()
+iframe.contentWindow.document.write("Test");
+iframe.contentWindow.document.close();
+var write = iframe.contentWindow.document.lastChild.lastChild.lastChild !== null;
+var ignoreTitle = iframe.contentWindow.document.getElementsByTagName("title")[0] !== undefined;
+
+window.onload = function()
+{
+    stat.data = "Running";
+    run();
+}
+
+function run()
+{
+    var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
+    if (file = test_files.shift())
+    {
+        stat.data = "Retriving " + file;
+        test_number = 1;
+        fail_list = [];
+        log = "";
+        xhr.open("GET", file);
+        xhr.onreadystatechange = function()
+        {
+            if (xhr.readyState === 4)
+            {
+                tests = xhr.responseText.split(/(?:^|\n\n)#data\n/);
+                tests.shift();
+                test();
+            }
+        }
+        xhr.send(null);
+    } else {
+        if (window.layoutTestController)
+            layoutTestController.notifyDone();
+    }
+}
+
+function test()
+{
+    var input, errorsStart, fragmentStart, contextElement, domStart, dom;
+    if (data = tests.shift())
+    {
+        stat.data = "Running test " + test_number + " of " + (test_number + tests.length) + " in " + file;
+        errorsStart = data.indexOf("\n#errors\n");
+        if (errorsStart !== -1)
+        {
+            input = data.substring(0, errorsStart);
+            fragmentStart = data.indexOf("\n#document-fragment\n")
+            domStart = data.indexOf("\n#document\n")
+            if (fragmentStart !== -1)
+            {
+                contextElement = data.substring(fragmentStart + 20, domStart);
+            }
+            if (domStart !== -1)
+            {
+                dom = data.substring(domStart + 11);
+                if (dom.substring(dom.length - 1) === "\n")
+                {
+                    dom = dom.substring(0, dom.length - 1);
+                }
+                run_test(input, contextElement, dom);
+                return;
+            }
+        }
+        alert("Invalid test: " + data);
+        test();
+        return;
+    }
+    else
+    {
+        stat.data = "Finished running " + file;
+        var overview = document.createElement("p");
+        if (fail_list.length)
+        {
+            overview.innerHTML = file + ":<br>" + fail_list.join("<br>");
+            overview.className = "overview";
+            overview.title = "Click for more details";
+            overview.onclick = function()
+            {
+                this.nextSibling.style.display = this.nextSibling.style.display == "none" ? "block" : "none";
+            }
+            var detail = document.createElement("pre");
+            detail.appendChild(document.createTextNode(log.substring(2)));
+            detail.style.display = "block";
+            document.body.appendChild(overview);
+            document.body.appendChild(detail);
+        }
+        else
+        {
+            overview.innerHTML = file + ": PASS";
+            document.body.appendChild(overview);
+        }
+        stat.data = "";
+        run();
+    }
+}
+
+function run_test(input, contextElement, expected)
+{
+    if (contextElement)
+    {
+        var element = document.createElement(contextElement);
+        try
+        {
+            element.innerHTML = input;
+        }
+        catch(e) {}
+        process_result(input, element, expected);
+    }
+    else if (write)
+    {
+        iframe.contentWindow.document.open();
+        try
+        {
+            iframe.contentWindow.document.write(input);
+        }
+        catch(e) {}
+        iframe.contentWindow.document.close();
+        if (ignoreTitle)
+        {
+            var title = iframe.contentWindow.document.getElementsByTagName("title")[0];
+            if (!title.innerHTML)
+            {
+                title.parentElement.removeChild(title);
+            }
+        }
+        process_result(input, iframe.contentWindow.document, expected);
+    }
+    else
+    {
+        iframe.onload = function()
+        {
+            if (ignoreTitle)
+            {
+                var title = iframe.contentWindow.document.getElementsByTagName("title")[0];
+                if (!title.innerHTML)
+                {
+                    title.parentElement.removeChild(title);
+                }
+            }
+            process_result(input, iframe.contentWindow.document, expected);
+        }
+        iframe.src = "data:text/html," + encodeURIComponent(input);
+    }
+}
+
+function process_result(input, result, expected)
+{
+    result = Markup.get(result);
+    if (result !== expected)
+    {
+        fail_list.push(test_number);
+        log += "\n\nTest " + (test_number) + " of " + (test_number + tests.length) + " in " + file + " failed. Input:\n" + input + "\nGot:\n" + result + "\nExpected:\n" + expected;
+    }
+    test_number++;
+    test();
+}
diff --git a/LayoutTests/html5lib/run-test1-expected.txt b/LayoutTests/html5lib/run-test1-expected.txt
new file mode 100644 (file)
index 0000000..23cd3b8
--- /dev/null
@@ -0,0 +1,2 @@
+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
+resources/tests1.dat: PASS
diff --git a/LayoutTests/html5lib/run-test1.html b/LayoutTests/html5lib/run-test1.html
new file mode 100644 (file)
index 0000000..5468b6e
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests1.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test10-expected.txt b/LayoutTests/html5lib/run-test10-expected.txt
new file mode 100644 (file)
index 0000000..691d6db
--- /dev/null
@@ -0,0 +1 @@
+resources/tests10.dat: PASS
diff --git a/LayoutTests/html5lib/run-test10.html b/LayoutTests/html5lib/run-test10.html
new file mode 100644 (file)
index 0000000..e67bb9a
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests10.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test11-expected.txt b/LayoutTests/html5lib/run-test11-expected.txt
new file mode 100644 (file)
index 0000000..5a82831
--- /dev/null
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
+CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
+CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
+resources/tests11.dat: PASS
diff --git a/LayoutTests/html5lib/run-test11.html b/LayoutTests/html5lib/run-test11.html
new file mode 100644 (file)
index 0000000..866eaef
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests11.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test12-expected.txt b/LayoutTests/html5lib/run-test12-expected.txt
new file mode 100644 (file)
index 0000000..ff62cb2
--- /dev/null
@@ -0,0 +1 @@
+resources/tests12.dat: PASS
diff --git a/LayoutTests/html5lib/run-test12.html b/LayoutTests/html5lib/run-test12.html
new file mode 100644 (file)
index 0000000..09ab373
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests12.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test14-expected.txt b/LayoutTests/html5lib/run-test14-expected.txt
new file mode 100644 (file)
index 0000000..20d3394
--- /dev/null
@@ -0,0 +1 @@
+resources/tests14.dat: PASS
diff --git a/LayoutTests/html5lib/run-test14.html b/LayoutTests/html5lib/run-test14.html
new file mode 100644 (file)
index 0000000..4c4311c
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests14.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test15-expected.txt b/LayoutTests/html5lib/run-test15-expected.txt
new file mode 100644 (file)
index 0000000..c409859
--- /dev/null
@@ -0,0 +1 @@
+resources/tests15.dat: PASS
diff --git a/LayoutTests/html5lib/run-test15.html b/LayoutTests/html5lib/run-test15.html
new file mode 100644 (file)
index 0000000..6eba071
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests15.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test16-expected.txt b/LayoutTests/html5lib/run-test16-expected.txt
new file mode 100644 (file)
index 0000000..d417588
--- /dev/null
@@ -0,0 +1 @@
+resources/tests16.dat: PASS
diff --git a/LayoutTests/html5lib/run-test16.html b/LayoutTests/html5lib/run-test16.html
new file mode 100644 (file)
index 0000000..663d597
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests16.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test17-expected.txt b/LayoutTests/html5lib/run-test17-expected.txt
new file mode 100644 (file)
index 0000000..0b4049d
--- /dev/null
@@ -0,0 +1 @@
+resources/tests17.dat: PASS
diff --git a/LayoutTests/html5lib/run-test17.html b/LayoutTests/html5lib/run-test17.html
new file mode 100644 (file)
index 0000000..5596fc1
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests17.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test18-expected.txt b/LayoutTests/html5lib/run-test18-expected.txt
new file mode 100644 (file)
index 0000000..96f3770
--- /dev/null
@@ -0,0 +1,5 @@
+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
+resources/tests18.dat: PASS
diff --git a/LayoutTests/html5lib/run-test18.html b/LayoutTests/html5lib/run-test18.html
new file mode 100644 (file)
index 0000000..277af29
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests18.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test19-expected.txt b/LayoutTests/html5lib/run-test19-expected.txt
new file mode 100644 (file)
index 0000000..d0a554c
--- /dev/null
@@ -0,0 +1 @@
+resources/tests19.dat: PASS
diff --git a/LayoutTests/html5lib/run-test19.html b/LayoutTests/html5lib/run-test19.html
new file mode 100644 (file)
index 0000000..5d97fd9
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests19.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test2-expected.txt b/LayoutTests/html5lib/run-test2-expected.txt
new file mode 100644 (file)
index 0000000..5e25da0
--- /dev/null
@@ -0,0 +1 @@
+resources/tests2.dat: PASS
diff --git a/LayoutTests/html5lib/run-test2.html b/LayoutTests/html5lib/run-test2.html
new file mode 100644 (file)
index 0000000..deba4eb
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests2.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test20-expected.txt b/LayoutTests/html5lib/run-test20-expected.txt
new file mode 100644 (file)
index 0000000..33c5166
--- /dev/null
@@ -0,0 +1 @@
+resources/tests20.dat: PASS
diff --git a/LayoutTests/html5lib/run-test20.html b/LayoutTests/html5lib/run-test20.html
new file mode 100644 (file)
index 0000000..0510f37
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests20.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test21-expected.txt b/LayoutTests/html5lib/run-test21-expected.txt
new file mode 100644 (file)
index 0000000..915c349
--- /dev/null
@@ -0,0 +1 @@
+resources/tests21.dat: PASS
diff --git a/LayoutTests/html5lib/run-test21.html b/LayoutTests/html5lib/run-test21.html
new file mode 100644 (file)
index 0000000..7a99c5a
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests21.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test22-expected.txt b/LayoutTests/html5lib/run-test22-expected.txt
new file mode 100644 (file)
index 0000000..4f173d2
--- /dev/null
@@ -0,0 +1 @@
+resources/test22.dat: PASS
diff --git a/LayoutTests/html5lib/run-test22.html b/LayoutTests/html5lib/run-test22.html
new file mode 100644 (file)
index 0000000..74524b5
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/test22.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test23-expected.txt b/LayoutTests/html5lib/run-test23-expected.txt
new file mode 100644 (file)
index 0000000..d89fc1a
--- /dev/null
@@ -0,0 +1 @@
+resources/tests23.dat: PASS
diff --git a/LayoutTests/html5lib/run-test23.html b/LayoutTests/html5lib/run-test23.html
new file mode 100644 (file)
index 0000000..7555a44
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests23.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test24-expected.txt b/LayoutTests/html5lib/run-test24-expected.txt
new file mode 100644 (file)
index 0000000..643d721
--- /dev/null
@@ -0,0 +1 @@
+resources/tests24.dat: PASS
diff --git a/LayoutTests/html5lib/run-test24.html b/LayoutTests/html5lib/run-test24.html
new file mode 100644 (file)
index 0000000..d1b5ac3
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests24.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test25-expected.txt b/LayoutTests/html5lib/run-test25-expected.txt
new file mode 100644 (file)
index 0000000..29f66b7
--- /dev/null
@@ -0,0 +1 @@
+resources/tests25.dat: PASS
diff --git a/LayoutTests/html5lib/run-test25.html b/LayoutTests/html5lib/run-test25.html
new file mode 100644 (file)
index 0000000..20724d2
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests25.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test26-expected.txt b/LayoutTests/html5lib/run-test26-expected.txt
new file mode 100644 (file)
index 0000000..4bf61e5
--- /dev/null
@@ -0,0 +1 @@
+resources/tests26.dat: PASS
diff --git a/LayoutTests/html5lib/run-test26.html b/LayoutTests/html5lib/run-test26.html
new file mode 100644 (file)
index 0000000..1aeee90
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests26.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test3-expected.txt b/LayoutTests/html5lib/run-test3-expected.txt
new file mode 100644 (file)
index 0000000..499d2ee
--- /dev/null
@@ -0,0 +1 @@
+resources/tests3.dat: PASS
diff --git a/LayoutTests/html5lib/run-test3.html b/LayoutTests/html5lib/run-test3.html
new file mode 100644 (file)
index 0000000..ec61530
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests3.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test4-expected.txt b/LayoutTests/html5lib/run-test4-expected.txt
new file mode 100644 (file)
index 0000000..102e5bc
--- /dev/null
@@ -0,0 +1 @@
+resources/tests4.dat: PASS
diff --git a/LayoutTests/html5lib/run-test4.html b/LayoutTests/html5lib/run-test4.html
new file mode 100644 (file)
index 0000000..30da445
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests4.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test5-expected.txt b/LayoutTests/html5lib/run-test5-expected.txt
new file mode 100644 (file)
index 0000000..097dc3a
--- /dev/null
@@ -0,0 +1 @@
+resources/tests5.dat: PASS
diff --git a/LayoutTests/html5lib/run-test5.html b/LayoutTests/html5lib/run-test5.html
new file mode 100644 (file)
index 0000000..27c36c1
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests5.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test6-expected.txt b/LayoutTests/html5lib/run-test6-expected.txt
new file mode 100644 (file)
index 0000000..e8da49c
--- /dev/null
@@ -0,0 +1 @@
+resources/tests6.dat: PASS
diff --git a/LayoutTests/html5lib/run-test6.html b/LayoutTests/html5lib/run-test6.html
new file mode 100644 (file)
index 0000000..31d9009
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests6.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test7-expected.txt b/LayoutTests/html5lib/run-test7-expected.txt
new file mode 100644 (file)
index 0000000..e84157b
--- /dev/null
@@ -0,0 +1,2 @@
+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
+resources/tests7.dat: PASS
diff --git a/LayoutTests/html5lib/run-test7.html b/LayoutTests/html5lib/run-test7.html
new file mode 100644 (file)
index 0000000..49f49b8
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests7.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test8-expected.txt b/LayoutTests/html5lib/run-test8-expected.txt
new file mode 100644 (file)
index 0000000..191ebc6
--- /dev/null
@@ -0,0 +1 @@
+resources/tests8.dat: PASS
diff --git a/LayoutTests/html5lib/run-test8.html b/LayoutTests/html5lib/run-test8.html
new file mode 100644 (file)
index 0000000..85032ae
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests8.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/html5lib/run-test9-expected.txt b/LayoutTests/html5lib/run-test9-expected.txt
new file mode 100644 (file)
index 0000000..d6795ac
--- /dev/null
@@ -0,0 +1 @@
+resources/tests9.dat: PASS
diff --git a/LayoutTests/html5lib/run-test9.html b/LayoutTests/html5lib/run-test9.html
new file mode 100644 (file)
index 0000000..aabcb57
--- /dev/null
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var test_files = [
+  'resources/tests9.dat',
+]
+</script>
+<script src="../resources/dump-as-markup.js"></script>
+<script src="resources/runner.js"></script>
index f863a99..19c4b1a 100644 (file)
@@ -1,12 +1,3 @@
-CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
-CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
-CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
-CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
-CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
-CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
-CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
-CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
-CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '<'
 ALERT: Invalid test: #errors
 #document-fragment
 html
@@ -22,56 +13,6 @@ resources/pending-spec-changes.dat: PASS
 
 resources/plain-text-unsafe.dat: PASS
 
-resources/tests1.dat: PASS
-
-resources/tests2.dat: PASS
-
-resources/tests3.dat: PASS
-
-resources/tests4.dat: PASS
-
-resources/tests5.dat: PASS
-
-resources/tests6.dat: PASS
-
-resources/tests7.dat: PASS
-
-resources/tests8.dat: PASS
-
-resources/tests9.dat: PASS
-
-resources/tests10.dat: PASS
-
-resources/tests11.dat: PASS
-
-resources/tests12.dat: PASS
-
-resources/tests14.dat: PASS
-
-resources/tests15.dat: PASS
-
-resources/tests16.dat: PASS
-
-resources/tests17.dat: PASS
-
-resources/tests18.dat: PASS
-
-resources/tests19.dat: PASS
-
-resources/tests20.dat: PASS
-
-resources/tests21.dat: PASS
-
-resources/tests22.dat: PASS
-
-resources/tests23.dat: PASS
-
-resources/tests24.dat: PASS
-
-resources/tests25.dat: PASS
-
-resources/tests26.dat: PASS
-
 resources/tests_innerHTML_1.dat: PASS
 
 resources/webkit01.dat: PASS
index a90cd73..f3bdd74 100644 (file)
 <!doctype html>
-<!--
-Copyright (c) 2008 Geoffrey Sneddon
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
--->
-<title>html5lib test runner</title>
-<script src=../resources/dump-as-markup.js></script>
-<style>
-.overview:hover {
-background: #ccc;
-}
-iframe {
-display: none;
-}
-</style>
-<p>Script did not run</p>
-<iframe></iframe>
 <script>
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
-Markup.noAutoDump();
-Markup.useHTML5libOutputFormat();
-
 var test_files = [
-        'resources/pending-spec-changes-plain-text-unsafe.dat',
-        'resources/pending-spec-changes.dat',
-        'resources/plain-text-unsafe.dat',
-        'resources/tests1.dat',
-        'resources/tests2.dat',
-        'resources/tests3.dat',
-        'resources/tests4.dat',
-        'resources/tests5.dat',
-        'resources/tests6.dat',
-        'resources/tests7.dat',
-        'resources/tests8.dat',
-        'resources/tests9.dat',
-        'resources/tests10.dat',
-        'resources/tests11.dat',
-        'resources/tests12.dat',
-        'resources/tests14.dat',
-        'resources/tests15.dat',
-        'resources/tests16.dat',
-        'resources/tests17.dat',
-        'resources/tests18.dat',
-        'resources/tests19.dat',
-        'resources/tests20.dat',
-        'resources/tests21.dat',
-        'resources/tests22.dat',
-        'resources/tests23.dat',
-        'resources/tests24.dat',
-        'resources/tests25.dat',
-        'resources/tests26.dat',
-        'resources/tests_innerHTML_1.dat',
-        'resources/webkit01.dat',
-        'resources/webkit02.dat',
-        'resources/doctype01.dat',
-        'resources/scriptdata01.dat',
-        'resources/html5test-com.dat',
-        'resources/entities01.dat',
-        'resources/entities02.dat',
-        'resources/comments01.dat',
-        'resources/adoption01.dat',
-        'resources/adoption02.dat',
-        'resources/inbody01.dat',
-        'resources/isindex.dat',
-        'resources/tables01.dat',
-        'resources/tricky01.dat',
-        'resources/scripted/adoption01.dat',
-        'resources/scripted/webkit01.dat'
-    ],
-    tests = [],
-    iframe = document.getElementsByTagName("iframe")[0],
-    stat = document.getElementsByTagName("p")[0].firstChild,
-    file = "",
-    test_number = 1,
-    fail_list = [],
-    log = "";
-
-iframe.contentWindow.document.open()
-iframe.contentWindow.document.write("Test");
-iframe.contentWindow.document.close();
-var write = iframe.contentWindow.document.lastChild.lastChild.lastChild !== null;
-var ignoreTitle = iframe.contentWindow.document.getElementsByTagName("title")[0] !== undefined;
-
-window.onload = function()
-{
-    stat.data = "Running";
-    run();
-}
-
-function run()
-{
-    var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
-    if (file = test_files.shift())
-    {
-        stat.data = "Retriving " + file;
-        test_number = 1;
-        fail_list = [];
-        log = "";
-        xhr.open("GET", file);
-        xhr.onreadystatechange = function()
-        {
-            if (xhr.readyState === 4)
-            {
-                tests = xhr.responseText.split(/(?:^|\n\n)#data\n/);
-                tests.shift();
-                test();
-            }
-        }
-        xhr.send(null);
-    } else {
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
-    }
-}
-
-function test()
-{
-    var input, errorsStart, fragmentStart, contextElement, domStart, dom;
-    if (data = tests.shift())
-    {
-        stat.data = "Running test " + test_number + " of " + (test_number + tests.length) + " in " + file;
-        errorsStart = data.indexOf("\n#errors\n");
-        if (errorsStart !== -1)
-        {
-            input = data.substring(0, errorsStart);
-            fragmentStart = data.indexOf("\n#document-fragment\n")
-            domStart = data.indexOf("\n#document\n")
-            if (fragmentStart !== -1)
-            {
-                contextElement = data.substring(fragmentStart + 20, domStart);
-            }
-            if (domStart !== -1)
-            {
-                dom = data.substring(domStart + 11);
-                if (dom.substring(dom.length - 1) === "\n")
-                {
-                    dom = dom.substring(0, dom.length - 1);
-                }
-                run_test(input, contextElement, dom);
-                return;
-            }
-        }
-        alert("Invalid test: " + data);
-        test();
-        return;
-    }
-    else
-    {
-        stat.data = "Finished running " + file;
-        var overview = document.createElement("p");
-        if (fail_list.length)
-        {
-            overview.innerHTML = file + ":<br>" + fail_list.join("<br>");
-            overview.className = "overview";
-            overview.title = "Click for more details";
-            overview.onclick = function()
-            {
-                this.nextSibling.style.display = this.nextSibling.style.display == "none" ? "block" : "none";
-            }
-            var detail = document.createElement("pre");
-            detail.appendChild(document.createTextNode(log.substring(2)));
-            detail.style.display = "block";
-            document.body.appendChild(overview);
-            document.body.appendChild(detail);
-        }
-        else
-        {
-            overview.innerHTML = file + ": PASS";
-            document.body.appendChild(overview);
-        }
-        stat.data = "";
-        run();
-    }
-}
-
-function run_test(input, contextElement, expected)
-{
-    if (contextElement)
-    {
-        var element = document.createElement(contextElement);
-        try
-        {
-            element.innerHTML = input;
-        }
-        catch(e) {}
-        process_result(input, element, expected);
-    }
-    else if (write)
-    {
-        iframe.contentWindow.document.open();
-        try
-        {
-            iframe.contentWindow.document.write(input);
-        }
-        catch(e) {}
-        iframe.contentWindow.document.close();
-        if (ignoreTitle)
-        {
-            var title = iframe.contentWindow.document.getElementsByTagName("title")[0];
-            if (!title.innerHTML)
-            {
-                title.parentElement.removeChild(title);
-            }
-        }
-        process_result(input, iframe.contentWindow.document, expected);
-    }
-    else
-    {
-        iframe.onload = function()
-        {
-            if (ignoreTitle)
-            {
-                var title = iframe.contentWindow.document.getElementsByTagName("title")[0];
-                if (!title.innerHTML)
-                {
-                    title.parentElement.removeChild(title);
-                }
-            }
-            process_result(input, iframe.contentWindow.document, expected);
-        }
-        iframe.src = "data:text/html," + encodeURIComponent(input);
-    }
-}
-
-function process_result(input, result, expected)
-{
-    result = Markup.get(result);
-    if (result !== expected)
-    {
-        fail_list.push(test_number);
-        log += "\n\nTest " + (test_number) + " of " + (test_number + tests.length) + " in " + file + " failed. Input:\n" + input + "\nGot:\n" + result + "\nExpected:\n" + expected;
-    }
-    test_number++;
-    test();
-}
+  'resources/pending-spec-changes-plain-text-unsafe.dat',
+  'resources/pending-spec-changes.dat',
+  'resources/plain-text-unsafe.dat',
+  'resources/tests_innerHTML_1.dat',
+  'resources/webkit01.dat',
+  'resources/webkit02.dat',
+  'resources/doctype01.dat',
+  'resources/scriptdata01.dat',
+  'resources/html5test-com.dat',
+  'resources/entities01.dat',
+  'resources/entities02.dat',
+  'resources/comments01.dat',
+  'resources/adoption01.dat',
+  'resources/adoption02.dat',
+  'resources/inbody01.dat',
+  'resources/isindex.dat',
+  'resources/tables01.dat',
+  'resources/tricky01.dat',
+  'resources/scripted/adoption01.dat',
+  'resources/scripted/webkit01.dat'
+];
 </script>
+<script src=../resources/dump-as-markup.js></script>
+<script src="resources/runner.js"></script>
diff --git a/LayoutTests/platform/chromium/html5lib/run-test1-expected.txt b/LayoutTests/platform/chromium/html5lib/run-test1-expected.txt
new file mode 100644 (file)
index 0000000..26c3ac3
--- /dev/null
@@ -0,0 +1,2 @@
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
+resources/tests1.dat: PASS
diff --git a/LayoutTests/platform/chromium/html5lib/run-test18-expected.txt b/LayoutTests/platform/chromium/html5lib/run-test18-expected.txt
new file mode 100644 (file)
index 0000000..c09debf
--- /dev/null
@@ -0,0 +1,5 @@
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
+resources/tests18.dat: PASS
diff --git a/LayoutTests/platform/chromium/html5lib/run-test7-expected.txt b/LayoutTests/platform/chromium/html5lib/run-test7-expected.txt
new file mode 100644 (file)
index 0000000..73e94fc
--- /dev/null
@@ -0,0 +1,2 @@
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
+resources/tests7.dat: PASS
diff --git a/LayoutTests/platform/chromium/html5lib/runner-expected.txt b/LayoutTests/platform/chromium/html5lib/runner-expected.txt
deleted file mode 100644 (file)
index 128ee75..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
-CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
-CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
-CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
-CONSOLE MESSAGE: line 1: Warning: Problem parsing viewBox=""
-CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
-CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
-CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
-CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
-ALERT: Invalid test: #errors
-#document-fragment
-html
-#document
-| <head>
-| <body>
-
-CONSOLE MESSAGE: line 2: PASS
-CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
-resources/pending-spec-changes-plain-text-unsafe.dat: PASS
-
-resources/pending-spec-changes.dat: PASS
-
-resources/plain-text-unsafe.dat: PASS
-
-resources/tests1.dat: PASS
-
-resources/tests2.dat: PASS
-
-resources/tests3.dat: PASS
-
-resources/tests4.dat: PASS
-
-resources/tests5.dat: PASS
-
-resources/tests6.dat: PASS
-
-resources/tests7.dat: PASS
-
-resources/tests8.dat: PASS
-
-resources/tests9.dat: PASS
-
-resources/tests10.dat: PASS
-
-resources/tests11.dat: PASS
-
-resources/tests12.dat: PASS
-
-resources/tests14.dat: PASS
-
-resources/tests15.dat: PASS
-
-resources/tests16.dat: PASS
-
-resources/tests17.dat: PASS
-
-resources/tests18.dat: PASS
-
-resources/tests19.dat: PASS
-
-resources/tests20.dat: PASS
-
-resources/tests21.dat: PASS
-
-resources/tests22.dat: PASS
-
-resources/tests23.dat: PASS
-
-resources/tests24.dat: PASS
-
-resources/tests25.dat: PASS
-
-resources/tests26.dat: PASS
-
-resources/tests_innerHTML_1.dat: PASS
-
-resources/webkit01.dat: PASS
-
-resources/webkit02.dat: PASS
-
-resources/doctype01.dat: PASS
-
-resources/scriptdata01.dat: PASS
-
-resources/html5test-com.dat: PASS
-
-resources/entities01.dat: PASS
-
-resources/entities02.dat: PASS
-
-resources/comments01.dat: PASS
-
-resources/adoption01.dat: PASS
-
-resources/adoption02.dat: PASS
-
-resources/inbody01.dat: PASS
-
-resources/isindex.dat: PASS
-
-resources/tables01.dat: PASS
-
-resources/tricky01.dat: PASS
-
-resources/scripted/adoption01.dat:
-1
-
-Test 1 of 1 in resources/scripted/adoption01.dat failed. Input:
-<p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b>
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <p>
-|       <b>
-|         id="B"
-|         <script>
-|           "document.getElementById("A").id = "B""
-|     <b>
-|       id="B"
-|       "TEXT"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <p>
-|       <b>
-|         id="B"
-|         <script>
-|           "document.getElementById("A").id = "B""
-|     <b>
-|       id="A"
-|       "TEXT"
-resources/scripted/webkit01.dat: PASS