Title: [128359] trunk/LayoutTests
Revision
128359
Author
e...@webkit.org
Date
2012-09-12 14:21:06 -0700 (Wed, 12 Sep 2012)

Log Message

Sync html5lib tests with latest sources (and sort the tests alphabetically in runner.html)
https://bugs.webkit.org/show_bug.cgi?id=96544

Reviewed by Adam Barth.

* html5lib/resources/adoption01.dat:
* html5lib/resources/domjs-unsafe.dat: Added.
* html5lib/resources/scripted/ark.dat: Added.
* html5lib/runner.html:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (128358 => 128359)


--- trunk/LayoutTests/ChangeLog	2012-09-12 21:04:13 UTC (rev 128358)
+++ trunk/LayoutTests/ChangeLog	2012-09-12 21:21:06 UTC (rev 128359)
@@ -1,3 +1,15 @@
+2012-09-12  Eric Seidel  <e...@webkit.org>
+
+        Sync html5lib tests with latest sources (and sort the tests alphabetically in runner.html)
+        https://bugs.webkit.org/show_bug.cgi?id=96544
+
+        Reviewed by Adam Barth.
+
+        * html5lib/resources/adoption01.dat:
+        * html5lib/resources/domjs-unsafe.dat: Added.
+        * html5lib/resources/scripted/ark.dat: Added.
+        * html5lib/runner.html:
+
 2012-09-12  Adam Klein  <ad...@chromium.org>
 
         Widen CRASH expectations for fast/replaced/border-radius-clip.html

Modified: trunk/LayoutTests/html5lib/resources/adoption01.dat (128358 => 128359)


--- trunk/LayoutTests/html5lib/resources/adoption01.dat	2012-09-12 21:04:13 UTC (rev 128358)
+++ trunk/LayoutTests/html5lib/resources/adoption01.dat	2012-09-12 21:21:06 UTC (rev 128359)
@@ -192,3 +192,84 @@
 |       <svg svg>
 |         <svg tr>
 |           <svg input>
+
+#data
+<div><a><b><div><div><div><div><div><div><div><div><div><div></a>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <div>
+|       <a>
+|         <b>
+|       <b>
+|         <div>
+|           <a>
+|           <div>
+|             <a>
+|             <div>
+|               <a>
+|               <div>
+|                 <a>
+|                 <div>
+|                   <a>
+|                   <div>
+|                     <a>
+|                     <div>
+|                       <a>
+|                       <div>
+|                         <a>
+|                         <div>
+|                           <div>
+
+#data
+<div><a><b><u><i><code><div></a>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <div>
+|       <a>
+|         <b>
+|           <u>
+|             <i>
+|               <code>
+|       <u>
+|         <i>
+|           <code>
+|             <div>
+|               <a>
+
+#data
+<b><b><b><b>x</b></b></b></b>y
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <b>
+|       <b>
+|         <b>
+|           <b>
+|             "x"
+|     "y"
+
+#data
+<p><b><b><b><b><p>x
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <p>
+|       <b>
+|         <b>
+|           <b>
+|             <b>
+|     <p>
+|       <b>
+|         <b>
+|           <b>
+|             "x"

Added: trunk/LayoutTests/html5lib/resources/domjs-unsafe.dat (0 => 128359)


--- trunk/LayoutTests/html5lib/resources/domjs-unsafe.dat	                        (rev 0)
+++ trunk/LayoutTests/html5lib/resources/domjs-unsafe.dat	2012-09-12 21:21:06 UTC (rev 128359)
@@ -0,0 +1,503 @@
+#data
+<svg><![CDATA[foo
+bar]]>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       "foo
+bar"
+
+#data
+<svg><![CDATA[foo
+bar]]>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       "foo
+bar"
+
+#data
+<svg><![CDATA[foo
+bar]]>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       "foo
+bar"
+
+#data
+<script>a=''</script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       "a='�'"
+|   <body>
+
+#data
+<script type="data"><!--</script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--�"
+|   <body>
+
+#data
+<script type="data"><!--foo</script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--foo�"
+|   <body>
+
+#data
+<script type="data"><!-- foo-</script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!-- foo-�"
+|   <body>
+
+#data
+<script type="data"><!-- foo--</script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!-- foo--�"
+|   <body>
+
+#data
+<script type="data"><!-- foo-
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!-- foo-"
+|   <body>
+
+#data
+<script type="data"><!-- foo-<</script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!-- foo-<"
+|   <body>
+
+#data
+<script type="data"><!-- foo-<S
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!-- foo-<S"
+|   <body>
+
+#data
+<script type="data"><!-- foo-</SCRIPT>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!-- foo-"
+|   <body>
+
+#data
+<script type="data"><!--<p></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<p>"
+|   <body>
+
+#data
+<script type="data"><!--<script></script></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script></script>"
+|   <body>
+
+#data
+<script type="data"><!--<script></script></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script>�</script>"
+|   <body>
+
+#data
+<script type="data"><!--<script>-</script></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script>-�</script>"
+|   <body>
+
+#data
+<script type="data"><!--<script>--</script></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script>--�</script>"
+|   <body>
+
+#data
+<script type="data"><!--<script>---</script></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script>---</script>"
+|   <body>
+
+#data
+<script type="data"><!--<script></scrip></SCRIPT></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script></scrip></SCRIPT>"
+|   <body>
+
+#data
+<script type="data"><!--<script></scrip </SCRIPT></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script></scrip </SCRIPT>"
+|   <body>
+
+#data
+<script type="data"><!--<script></scrip/</SCRIPT></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--<script></scrip/</SCRIPT>"
+|   <body>
+
+#data
+<script type="data"></scrip/></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "</scrip/>"
+|   <body>
+
+#data
+<script type="data"></scrip ></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "</scrip >"
+|   <body>
+
+#data
+<script type="data"><!--</scrip></script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--</scrip>"
+|   <body>
+
+#data
+<script type="data"><!--</scrip </script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--</scrip "
+|   <body>
+
+#data
+<script type="data"><!--</scrip/</script>
+#errors
+#document
+| <html>
+|   <head>
+|     <script>
+|       type="data"
+|       "<!--</scrip/"
+|   <body>
+
+#data
+<!DOCTYPE html><!DOCTYPE html>
+#errors
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+
+#data
+<html><!DOCTYPE html>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+
+#data
+<html><head><!DOCTYPE html></head>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+
+#data
+<html><head></head><!DOCTYPE html>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+
+#data
+<body></body><!DOCTYPE html>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+
+#data
+<table><!DOCTYPE html></table>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <table>
+
+#data
+<select><!DOCTYPE html></select>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <select>
+
+#data
+<table><colgroup><!DOCTYPE html></colgroup></table>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <table>
+|       <colgroup>
+
+#data
+<table><colgroup><!--test--></colgroup></table>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <table>
+|       <colgroup>
+|         <!-- test -->
+
+#data
+<table><colgroup><html></colgroup></table>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <table>
+|       <colgroup>
+
+#data
+<table><colgroup> foo</colgroup></table>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     "foo"
+|     <table>
+|       <colgroup>
+|         " "
+
+#data
+<select><!--test--></select>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <select>
+|       <!-- test -->
+
+#data
+<select><html></select>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <select>
+
+#data
+<frameset><html></frameset>
+#errors
+#document
+| <html>
+|   <head>
+|   <frameset>
+
+#data
+<frameset></frameset><html>
+#errors
+#document
+| <html>
+|   <head>
+|   <frameset>
+
+#data
+<frameset></frameset><!DOCTYPE html>
+#errors
+#document
+| <html>
+|   <head>
+|   <frameset>
+
+#data
+<html><body></body></html><!DOCTYPE html>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+
+#data
+<svg><!DOCTYPE html></svg>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+
+#data
+<svg><font></font></svg>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       <svg font>
+
+#data
+<svg><font id=foo></font></svg>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       <svg font>
+|         id="foo"
+
+#data
+<svg><font size=4></font></svg>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|     <font>
+|       size="4"
+
+#data
+<svg><font color=red></font></svg>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|     <font>
+|       color="red"
+
+#data
+<svg><font font=sans></font></svg>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       <svg font>
+|         font="sans"

Added: trunk/LayoutTests/html5lib/resources/scripted/ark.dat (0 => 128359)


--- trunk/LayoutTests/html5lib/resources/scripted/ark.dat	                        (rev 0)
+++ trunk/LayoutTests/html5lib/resources/scripted/ark.dat	2012-09-12 21:21:06 UTC (rev 128359)
@@ -0,0 +1,26 @@
+#data
+<p><font size=4><font size=4><font size=4><script>document.getElementsByTagName("font")[2].setAttribute("size", "5");</script><font size=4><p>X
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <p>
+|       <font>
+|         size="4"
+|         <font>
+|           size="4"
+|           <font>
+|             size="5"
+|             <script>
+|               "document.getElementsByTagName("font")[2].setAttribute("size", "5");"
+|             <font>
+|               size="4"
+|     <p>
+|       <font>
+|         size="4"
+|         <font>
+|           size="4"
+|           <font>
+|             size="4"
+|             "X"

Modified: trunk/LayoutTests/html5lib/runner-expected.txt (128358 => 128359)


--- trunk/LayoutTests/html5lib/runner-expected.txt	2012-09-12 21:04:13 UTC (rev 128358)
+++ trunk/LayoutTests/html5lib/runner-expected.txt	2012-09-12 21:21:06 UTC (rev 128359)
@@ -7,42 +7,125 @@
 
 CONSOLE MESSAGE: line 2: PASS
 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
-resources/pending-spec-changes-plain-text-unsafe.dat: PASS
+resources/adoption01.dat:
+14
+16
 
-resources/pending-spec-changes.dat: PASS
+Test 14 of 17 in resources/adoption01.dat failed. Input:
+<div><a><b><div><div><div><div><div><div><div><div><div><div></a>
+Got:
+| <html>
+|   <head>
+|   <body>
+|     <div>
+|       <a>
+|         <b>
+|       <b>
+|         <div>
+|           <a>
+|           <div>
+|             <a>
+|             <div>
+|               <a>
+|               <div>
+|                 <a>
+|                 <div>
+|                   <a>
+|                   <div>
+|                     <a>
+|                     <div>
+|                       <a>
+|                       <div>
+|                         <a>
+|                           <div>
+|                             <div>
+Expected:
+| <html>
+|   <head>
+|   <body>
+|     <div>
+|       <a>
+|         <b>
+|       <b>
+|         <div>
+|           <a>
+|           <div>
+|             <a>
+|             <div>
+|               <a>
+|               <div>
+|                 <a>
+|                 <div>
+|                   <a>
+|                   <div>
+|                     <a>
+|                     <div>
+|                       <a>
+|                       <div>
+|                         <a>
+|                         <div>
+|                           <div>
 
-resources/plain-text-unsafe.dat: PASS
+Test 16 of 17 in resources/adoption01.dat failed. Input:
+<b><b><b><b>x</b></b></b></b>y
+Got:
+| <html>
+|   <head>
+|   <body>
+|     <b>
+|       <b>
+|         <b>
+|           <b>
+|             "x"
+|       "y"
+Expected:
+| <html>
+|   <head>
+|   <body>
+|     <b>
+|       <b>
+|         <b>
+|           <b>
+|             "x"
+|     "y"
+resources/adoption02.dat: PASS
 
-resources/tests_innerHTML_1.dat: PASS
+resources/comments01.dat: PASS
 
-resources/webkit01.dat: PASS
+resources/doctype01.dat: PASS
 
-resources/webkit02.dat: PASS
+resources/domjs-unsafe.dat: PASS
 
-resources/doctype01.dat: PASS
+resources/entities01.dat: PASS
 
-resources/scriptdata01.dat: PASS
+resources/entities02.dat: PASS
 
 resources/html5test-com.dat: PASS
 
-resources/entities01.dat: PASS
+resources/inbody01.dat: PASS
 
-resources/entities02.dat: PASS
+resources/isindex.dat: PASS
 
-resources/comments01.dat: PASS
+resources/pending-spec-changes-plain-text-unsafe.dat: PASS
 
-resources/adoption01.dat: PASS
+resources/pending-spec-changes.dat: PASS
 
-resources/adoption02.dat: PASS
+resources/plain-text-unsafe.dat: PASS
 
-resources/inbody01.dat: PASS
+resources/scriptdata01.dat: PASS
 
-resources/isindex.dat: PASS
+resources/scripted/adoption01.dat: PASS
 
+resources/scripted/ark.dat: PASS
+
+resources/scripted/webkit01.dat: PASS
+
 resources/tables01.dat: PASS
 
+resources/tests_innerHTML_1.dat: PASS
+
 resources/tricky01.dat: PASS
 
-resources/scripted/adoption01.dat: PASS
+resources/webkit01.dat: PASS
 
-resources/scripted/webkit01.dat: PASS
+resources/webkit02.dat: PASS

Modified: trunk/LayoutTests/html5lib/runner.html (128358 => 128359)


--- trunk/LayoutTests/html5lib/runner.html	2012-09-12 21:04:13 UTC (rev 128358)
+++ trunk/LayoutTests/html5lib/runner.html	2012-09-12 21:21:06 UTC (rev 128359)
@@ -1,26 +1,28 @@
 <!doctype html>
 <script>
 var test_files = [
-  '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/adoption01.dat',
+  'resources/adoption02.dat',
+  'resources/comments01.dat',
   'resources/doctype01.dat',
-  'resources/scriptdata01.dat',
-  'resources/html5test-com.dat',
+  'resources/domjs-unsafe.dat',
   'resources/entities01.dat',
   'resources/entities02.dat',
-  'resources/comments01.dat',
-  'resources/adoption01.dat',
-  'resources/adoption02.dat',
+  'resources/html5test-com.dat',
   'resources/inbody01.dat',
   'resources/isindex.dat',
+  'resources/pending-spec-changes-plain-text-unsafe.dat',
+  'resources/pending-spec-changes.dat',
+  'resources/plain-text-unsafe.dat',
+  'resources/scriptdata01.dat',
+  'resources/scripted/adoption01.dat',
+  'resources/scripted/ark.dat',
+  'resources/scripted/webkit01.dat',
   'resources/tables01.dat',
+  'resources/tests_innerHTML_1.dat',
   'resources/tricky01.dat',
-  'resources/scripted/adoption01.dat',
-  'resources/scripted/webkit01.dat'
+  'resources/webkit01.dat',
+  'resources/webkit02.dat',
 ];
 </script>
 <script src=""
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to