Changeset 69745 in webkit


Ignore:
Timestamp:
Oct 13, 2010 11:58:30 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

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.
Location:
trunk/LayoutTests
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r69741 r69745  
     12010-10-13  James Simonsen  <simonjam@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Sync tests from html5lib.
     6        https://bugs.webkit.org/show_bug.cgi?id=47627
     7
     8        * html5lib/resources/adoption02.dat: Copied from html5lib.
     9        * html5lib/resources/entities01.dat: Ditto.
     10        * html5lib/resources/pending-spec-changes.dat: Ditto.
     11        * html5lib/resources/tests21.dat: Ditto.
     12        * html5lib/runner-expected.txt: 2 tests now pass.
     13        * platform/chromium/html5lib/runner-expected.txt: Ditto.
     14        * platform/win/html5lib/runner-expected.txt: Ditto.
     15
    1162010-10-13  Martin Robinson  <mrobinson@igalia.com>
    217
  • trunk/LayoutTests/html5lib/resources/adoption02.dat

    r64913 r69745  
    1717
    1818#data
    19 <b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
    20 #errors
    21 #document
    22 | <html>
    23 |   <head>
    24 |   <body>
    25 |     <b>
    26 |       id="c"
    27 |       "1"
    28 |       <i>
    29 |         id="j"
    30 |         "2"
    31 |     <i>
    32 |       id="i"
    33 |       <p>
    34 |         <b>
    35 |           id="b"
    36 |           "3"
    37 |           <script>
    38 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
    39 |         "4"
    40 
    41 #data
    4219<a><div><style></style><address><a>
    4320#errors
  • trunk/LayoutTests/html5lib/resources/entities01.dat

    r60369 r69745  
    190190
    191191#data
    192 FOO&#x000D;ZOO
    193 #errors
    194 #document
    195 | <html>
    196 |   <head>
    197 |   <body>
    198 |     "FOO
    199 ZOO"
    200 
    201 #data
    202192FOO&#x0078;ZOO
    203193#errors
  • trunk/LayoutTests/html5lib/resources/pending-spec-changes.dat

    r68129 r69745  
    11#data
    2 FOO<!-- BAR -- <QUX> -- MUX -- >BAZ
    3 #errors
    4 3: Non-space characters found without seeing a doctype first. Expected “<!DOCTYPE html>”.
    5 15: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
    6 24: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
    7 31: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
    8 35: End of file inside comment.
    9 #document
    10 | <html>
    11 |   <head>
    12 |   <body>
    13 |     "FOO"
    14 |     <!--  BAR -- <QUX> -- MUX -- >BAZ -->
    15 
    16 #data
    17 FOO<!-- BAR --   >BAZ
    18 #errors
    19 3: Non-space characters found without seeing a doctype first. Expected “<!DOCTYPE html>”.
    20 15: Consecutive hyphens did not terminate a comment. “--” is not permitted inside a comment, but e.g. “- -” is.
    21 21: End of file inside comment.
    22 #document
    23 | <html>
    24 |   <head>
    25 |   <body>
    26 |     "FOO"
    27 |     <!--  BAR --   >BAZ -->
    28 
    29 #data
    30 <svg><![CDATA[]]
     2Placeholder
    313#errors
    324#document
     
    346|   <head>
    357|   <body>
    36 |     <svg svg>
    37 
    38 #data
    39 <svg><![CDATA[]
    40 #errors
    41 #document
    42 | <html>
    43 |   <head>
    44 |   <body>
    45 |     <svg svg>
     8|     "Placeholder"
  • trunk/LayoutTests/html5lib/resources/tests21.dat

    r68129 r69745  
    8686|     <svg svg>
    8787|       "]] >"
     88
     89#data
     90<svg><![CDATA[]]
     91#errors
     92#document
     93| <html>
     94|   <head>
     95|   <body>
     96|     <svg svg>
     97|       "]]"
     98
     99#data
     100<svg><![CDATA[]
     101#errors
     102#document
     103| <html>
     104|   <head>
     105|   <body>
     106|     <svg svg>
     107|       "]"
    88108
    89109#data
  • trunk/LayoutTests/html5lib/runner-expected.txt

    r68129 r69745  
    1212resources/pending-spec-changes-plain-text-unsafe.dat: PASS
    1313
    14 resources/pending-spec-changes.dat:
    15 3
    16 4
    17 
    18 Test 3 of 4 in resources/pending-spec-changes.dat failed. Input:
    19 <svg><![CDATA[]]
    20 Got:
    21 | <html>
    22 |   <head>
    23 |   <body>
    24 |     <svg svg>
    25 |       "]]"
    26 Expected:
    27 | <html>
    28 |   <head>
    29 |   <body>
    30 |     <svg svg>
    31 
    32 Test 4 of 4 in resources/pending-spec-changes.dat failed. Input:
    33 <svg><![CDATA[]
    34 Got:
    35 | <html>
    36 |   <head>
    37 |   <body>
    38 |     <svg svg>
    39 |       "]"
    40 Expected:
    41 | <html>
    42 |   <head>
    43 |   <body>
    44 |     <svg svg>
     14resources/pending-spec-changes.dat: PASS
     15
    4516resources/plain-text-unsafe.dat: PASS
    4617
     
    230201resources/adoption01.dat: PASS
    231202
    232 resources/adoption02.dat:
    233 2
    234 
    235 Test 2 of 3 in resources/adoption02.dat failed. Input:
    236 <b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
    237 Got:
    238 | <html>
    239 |   <head>
    240 |   <body>
    241 |     <b>
    242 |       id="c"
    243 |       "1"
    244 |       <i>
    245 |         id="j"
    246 |         "2"
    247 |     <i>
    248 |       id="j"
    249 |       <p>
    250 |         <b>
    251 |           id="c"
    252 |           "3"
    253 |           <script>
    254 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
    255 |         "4"
    256 Expected:
    257 | <html>
    258 |   <head>
    259 |   <body>
    260 |     <b>
    261 |       id="c"
    262 |       "1"
    263 |       <i>
    264 |         id="j"
    265 |         "2"
    266 |     <i>
    267 |       id="i"
    268 |       <p>
    269 |         <b>
    270 |           id="b"
    271 |           "3"
    272 |           <script>
    273 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
    274 |         "4"
     203resources/adoption02.dat: PASS
     204
    275205resources/inbody01.dat: PASS
    276206
  • trunk/LayoutTests/platform/chromium/html5lib/runner-expected.txt

    r68306 r69745  
    1212resources/pending-spec-changes-plain-text-unsafe.dat: PASS
    1313
    14 resources/pending-spec-changes.dat:
    15 3
    16 4
    17 
    18 Test 3 of 4 in resources/pending-spec-changes.dat failed. Input:
    19 <svg><![CDATA[]]
    20 Got:
    21 | <html>
    22 |   <head>
    23 |   <body>
    24 |     <svg svg>
    25 |       "]]"
    26 Expected:
    27 | <html>
    28 |   <head>
    29 |   <body>
    30 |     <svg svg>
    31 
    32 Test 4 of 4 in resources/pending-spec-changes.dat failed. Input:
    33 <svg><![CDATA[]
    34 Got:
    35 | <html>
    36 |   <head>
    37 |   <body>
    38 |     <svg svg>
    39 |       "]"
    40 Expected:
    41 | <html>
    42 |   <head>
    43 |   <body>
    44 |     <svg svg>
     14resources/pending-spec-changes.dat: PASS
     15
    4516resources/plain-text-unsafe.dat: PASS
    4617
     
    226197resources/adoption01.dat: PASS
    227198
    228 resources/adoption02.dat:
    229 2
    230 
    231 Test 2 of 3 in resources/adoption02.dat failed. Input:
    232 <b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
    233 Got:
    234 | <html>
    235 |   <head>
    236 |   <body>
    237 |     <b>
    238 |       id="c"
    239 |       "1"
    240 |       <i>
    241 |         id="j"
    242 |         "2"
    243 |     <i>
    244 |       id="j"
    245 |       <p>
    246 |         <b>
    247 |           id="c"
    248 |           "3"
    249 |           <script>
    250 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
    251 |         "4"
    252 Expected:
    253 | <html>
    254 |   <head>
    255 |   <body>
    256 |     <b>
    257 |       id="c"
    258 |       "1"
    259 |       <i>
    260 |         id="j"
    261 |         "2"
    262 |     <i>
    263 |       id="i"
    264 |       <p>
    265 |         <b>
    266 |           id="b"
    267 |           "3"
    268 |           <script>
    269 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
    270 |         "4"
     199resources/adoption02.dat: PASS
     200
    271201resources/inbody01.dat: PASS
    272202
  • trunk/LayoutTests/platform/win/html5lib/runner-expected.txt

    r68784 r69745  
    1212resources/pending-spec-changes-plain-text-unsafe.dat: PASS
    1313
    14 resources/pending-spec-changes.dat:
    15 3
    16 4
    17 
    18 Test 3 of 4 in resources/pending-spec-changes.dat failed. Input:
    19 <svg><![CDATA[]]
    20 Got:
    21 | <html>
    22 |   <head>
    23 |   <body>
    24 |     <svg svg>
    25 |       "]]"
    26 Expected:
    27 | <html>
    28 |   <head>
    29 |   <body>
    30 |     <svg svg>
    31 
    32 Test 4 of 4 in resources/pending-spec-changes.dat failed. Input:
    33 <svg><![CDATA[]
    34 Got:
    35 | <html>
    36 |   <head>
    37 |   <body>
    38 |     <svg svg>
    39 |       "]"
    40 Expected:
    41 | <html>
    42 |   <head>
    43 |   <body>
    44 |     <svg svg>
     14resources/pending-spec-changes.dat: PASS
     15
    4516resources/plain-text-unsafe.dat: PASS
    4617
     
    188159resources/adoption01.dat: PASS
    189160
    190 resources/adoption02.dat:
    191 2
    192 
    193 Test 2 of 3 in resources/adoption02.dat failed. Input:
    194 <b id="b">1<i id="i">2<p>3<script>document.getElementById("b").id = "c";document.getElementById("i").id = "j"</script></b>4
    195 Got:
    196 | <html>
    197 |   <head>
    198 |   <body>
    199 |     <b>
    200 |       id="c"
    201 |       "1"
    202 |       <i>
    203 |         id="j"
    204 |         "2"
    205 |     <i>
    206 |       id="j"
    207 |       <p>
    208 |         <b>
    209 |           id="c"
    210 |           "3"
    211 |           <script>
    212 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
    213 |         "4"
    214 Expected:
    215 | <html>
    216 |   <head>
    217 |   <body>
    218 |     <b>
    219 |       id="c"
    220 |       "1"
    221 |       <i>
    222 |         id="j"
    223 |         "2"
    224 |     <i>
    225 |       id="i"
    226 |       <p>
    227 |         <b>
    228 |           id="b"
    229 |           "3"
    230 |           <script>
    231 |             "document.getElementById("b").id = "c";document.getElementById("i").id = "j""
    232 |         "4"
     161resources/adoption02.dat: PASS
     162
    233163resources/inbody01.dat: PASS
    234164
Note: See TracChangeset for help on using the changeset viewer.