2010-10-13 James Simonsen <simonjam@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2010 06:58:30 +0000 (06:58 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2010 06:58:30 +0000 (06:58 +0000)
        Reviewed by Adam Barth.

        Sync tests from html5lib.
        https://bugs.webkit.org/show_bug.cgi?id=47627

        * html5lib/resources/adoption02.dat: Copied from html5lib.
        * html5lib/resources/entities01.dat: Ditto.
        * html5lib/resources/pending-spec-changes.dat: Ditto.
        * html5lib/resources/tests21.dat: Ditto.
        * html5lib/runner-expected.txt: 2 tests now pass.
        * platform/chromium/html5lib/runner-expected.txt: Ditto.
        * platform/win/html5lib/runner-expected.txt: Ditto.

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

LayoutTests/ChangeLog
LayoutTests/html5lib/resources/adoption02.dat
LayoutTests/html5lib/resources/entities01.dat
LayoutTests/html5lib/resources/pending-spec-changes.dat
LayoutTests/html5lib/resources/tests21.dat
LayoutTests/html5lib/runner-expected.txt
LayoutTests/platform/chromium/html5lib/runner-expected.txt
LayoutTests/platform/win/html5lib/runner-expected.txt

index f5e0947..37b1e2b 100644 (file)
@@ -1,3 +1,18 @@
+2010-10-13  James Simonsen  <simonjam@chromium.org>
+
+        Reviewed by Adam Barth.
+
+        Sync tests from html5lib.
+        https://bugs.webkit.org/show_bug.cgi?id=47627
+
+        * html5lib/resources/adoption02.dat: Copied from html5lib.
+        * html5lib/resources/entities01.dat: Ditto.
+        * html5lib/resources/pending-spec-changes.dat: Ditto.
+        * html5lib/resources/tests21.dat: Ditto.
+        * html5lib/runner-expected.txt: 2 tests now pass.
+        * platform/chromium/html5lib/runner-expected.txt: Ditto.
+        * platform/win/html5lib/runner-expected.txt: Ditto.
+
 2010-10-13  Martin Robinson  <mrobinson@igalia.com>
 
         Rebaseline canvas/philip/tests/2d.gradient.radial.negative.html. It seems
index e6e6826..d18151b 100644 (file)
 |         "4"
 
 #data
-<b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
-#errors
-#document
-| <html>
-|   <head>
-|   <body>
-|     <b>
-|       id="c"
-|       "1"
-|       <i>
-|         id="j"
-|         "2"
-|     <i>
-|       id="i"
-|       <p>
-|         <b>
-|           id="b"
-|           "3"
-|           <script>
-|             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
-|         "4"
-
-#data
 <a><div><style></style><address><a>
 #errors
 #document
index 926642e..c8073b7 100644 (file)
@@ -189,15 +189,6 @@ FOO&#x0000;ZOO
 |     "FOO�ZOO"
 
 #data
-FOO&#x000D;ZOO
-#errors
-#document
-| <html>
-|   <head>
-|   <body>
-|     "FOO\rZOO"
-
-#data
 FOO&#x0078;ZOO
 #errors
 #document
index 4663c8b..b933025 100644 (file)
@@ -1,45 +1,8 @@
 #data
-FOO<!-- BAR -- <QUX> -- MUX -- >BAZ
+Placeholder
 #errors
-3: Non-space characters found without seeing a doctype first. Expected “<!DOCTYPE html>”.
-15: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
-24: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
-31: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
-35: End of file inside comment.
 #document
 | <html>
 |   <head>
 |   <body>
-|     "FOO"
-|     <!--  BAR -- <QUX> -- MUX -- >BAZ -->
-
-#data
-FOO<!-- BAR --   >BAZ
-#errors
-3: Non-space characters found without seeing a doctype first. Expected “<!DOCTYPE html>”.
-15: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
-21: End of file inside comment.
-#document
-| <html>
-|   <head>
-|   <body>
-|     "FOO"
-|     <!--  BAR --   >BAZ -->
-
-#data
-<svg><![CDATA[]]
-#errors
-#document
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-
-#data
-<svg><![CDATA[]
-#errors
-#document
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
+|     "Placeholder"
index 9acc845..1260ec0 100644 (file)
 |       "]] >"
 
 #data
+<svg><![CDATA[]]
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       "]]"
+
+#data
+<svg><![CDATA[]
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       "]"
+
+#data
 <svg><![CDATA[]>a
 #errors
 #document
index c4d0f90..b24c3ad 100644 (file)
@@ -11,37 +11,8 @@ 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:
-3
-4
+resources/pending-spec-changes.dat: PASS
 
-Test 3 of 4 in resources/pending-spec-changes.dat failed. Input:
-<svg><![CDATA[]]
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-|       "]]"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-
-Test 4 of 4 in resources/pending-spec-changes.dat failed. Input:
-<svg><![CDATA[]
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-|       "]"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
 resources/plain-text-unsafe.dat: PASS
 
 resources/tests1.dat: PASS
@@ -229,49 +200,8 @@ resources/comments01.dat: PASS
 
 resources/adoption01.dat: PASS
 
-resources/adoption02.dat:
-2
+resources/adoption02.dat: PASS
 
-Test 2 of 3 in resources/adoption02.dat failed. Input:
-<b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <b>
-|       id="c"
-|       "1"
-|       <i>
-|         id="j"
-|         "2"
-|     <i>
-|       id="j"
-|       <p>
-|         <b>
-|           id="c"
-|           "3"
-|           <script>
-|             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
-|         "4"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <b>
-|       id="c"
-|       "1"
-|       <i>
-|         id="j"
-|         "2"
-|     <i>
-|       id="i"
-|       <p>
-|         <b>
-|           id="b"
-|           "3"
-|           <script>
-|             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
-|         "4"
 resources/inbody01.dat: PASS
 
 resources/isindex.dat: PASS
index 42af374..ae08bbe 100755 (executable)
@@ -11,37 +11,8 @@ 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:
-3
-4
+resources/pending-spec-changes.dat: PASS
 
-Test 3 of 4 in resources/pending-spec-changes.dat failed. Input:
-<svg><![CDATA[]]
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-|       "]]"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-
-Test 4 of 4 in resources/pending-spec-changes.dat failed. Input:
-<svg><![CDATA[]
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-|       "]"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
 resources/plain-text-unsafe.dat: PASS
 
 resources/tests1.dat: PASS
@@ -225,49 +196,8 @@ resources/comments01.dat: PASS
 
 resources/adoption01.dat: PASS
 
-resources/adoption02.dat:
-2
+resources/adoption02.dat: PASS
 
-Test 2 of 3 in resources/adoption02.dat failed. Input:
-<b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <b>
-|       id="c"
-|       "1"
-|       <i>
-|         id="j"
-|         "2"
-|     <i>
-|       id="j"
-|       <p>
-|         <b>
-|           id="c"
-|           "3"
-|           <script>
-|             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
-|         "4"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <b>
-|       id="c"
-|       "1"
-|       <i>
-|         id="j"
-|         "2"
-|     <i>
-|       id="i"
-|       <p>
-|         <b>
-|           id="b"
-|           "3"
-|           <script>
-|             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
-|         "4"
 resources/inbody01.dat: PASS
 
 resources/isindex.dat: PASS
index 318d94e..e6259c8 100644 (file)
@@ -11,37 +11,8 @@ 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:
-3
-4
+resources/pending-spec-changes.dat: PASS
 
-Test 3 of 4 in resources/pending-spec-changes.dat failed. Input:
-<svg><![CDATA[]]
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-|       "]]"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-
-Test 4 of 4 in resources/pending-spec-changes.dat failed. Input:
-<svg><![CDATA[]
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
-|       "]"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <svg svg>
 resources/plain-text-unsafe.dat: PASS
 
 resources/tests1.dat: PASS
@@ -187,49 +158,8 @@ resources/comments01.dat: PASS
 
 resources/adoption01.dat: PASS
 
-resources/adoption02.dat:
-2
+resources/adoption02.dat: PASS
 
-Test 2 of 3 in resources/adoption02.dat failed. Input:
-<b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <b>
-|       id="c"
-|       "1"
-|       <i>
-|         id="j"
-|         "2"
-|     <i>
-|       id="j"
-|       <p>
-|         <b>
-|           id="c"
-|           "3"
-|           <script>
-|             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
-|         "4"
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <b>
-|       id="c"
-|       "1"
-|       <i>
-|         id="j"
-|         "2"
-|     <i>
-|       id="i"
-|       <p>
-|         <b>
-|           id="b"
-|           "3"
-|           <script>
-|             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
-|         "4"
 resources/inbody01.dat: PASS
 
 resources/isindex.dat: PASS