From: Andrew Balholm Date: Thu, 24 May 2012 00:35:31 +0000 (+1000) Subject: exp/html: update test data X-Git-Tag: go1.1rc2~3130 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e947eba2914d707514ca54bebef3c9cd1e23c86a;p=gostls13.git exp/html: update test data Import updated test data from the WebKit Subversion repository (SVN revision 118111). Some of the old tests were failing because we were HTML5 compliant, but the tests weren't. R=nigeltao CC=golang-dev https://golang.org/cl/6228049 --- diff --git a/src/pkg/exp/html/testdata/webkit/pending-spec-changes.dat b/src/pkg/exp/html/testdata/webkit/pending-spec-changes.dat index e00ee85d3b..5a9208465f 100644 --- a/src/pkg/exp/html/testdata/webkit/pending-spec-changes.dat +++ b/src/pkg/exp/html/testdata/webkit/pending-spec-changes.dat @@ -26,3 +26,27 @@ | | "foo" | "bar" + +#data +
+#errors +7: Start tag seen without seeing a doctype first. Expected “”. +30: A table cell was implicitly closed, but there were open elements. +26: Unclosed element “desc”. +20: Unclosed element “svg”. +37: Stray end tag “desc”. +45: End of file seen and there were open elements. +45: Unclosed element “circle”. +7: Unclosed element “table”. +#document +| +| +| +| +| +| +|
+| +| +| +| diff --git a/src/pkg/exp/html/testdata/webkit/plain-text-unsafe.dat b/src/pkg/exp/html/testdata/webkit/plain-text-unsafe.dat index 2f40e83bab..04cc11fb9d 100644 Binary files a/src/pkg/exp/html/testdata/webkit/plain-text-unsafe.dat and b/src/pkg/exp/html/testdata/webkit/plain-text-unsafe.dat differ diff --git a/src/pkg/exp/html/testdata/webkit/tables01.dat b/src/pkg/exp/html/testdata/webkit/tables01.dat index 88ef1fe2ee..c4b47e48a8 100644 --- a/src/pkg/exp/html/testdata/webkit/tables01.dat +++ b/src/pkg/exp/html/testdata/webkit/tables01.dat @@ -195,3 +195,18 @@ | |
+#errors +#document +| +| +| +| +| +| +|
+| +| +| diff --git a/src/pkg/exp/html/testdata/webkit/tests16.dat b/src/pkg/exp/html/testdata/webkit/tests16.dat index 937dba9f42..c8ef66f0e6 100644 --- a/src/pkg/exp/html/testdata/webkit/tests16.dat +++ b/src/pkg/exp/html/testdata/webkit/tests16.dat @@ -1075,6 +1075,28 @@ Line: 1 Col: 64 Unexpected end tag (textarea). | " +#data + +#errors +#document +| +| +| +| +| +#errors +#document +| +| +| +| +| -->" PASS "" +PASS "" +PASS "" PASS "-->" PASS "" PASS "<!--<xmp>-->" diff --git a/src/pkg/exp/html/testlogs/tests19.dat.log b/src/pkg/exp/html/testlogs/tests19.dat.log index 9ada3791f1..f1202346be 100644 --- a/src/pkg/exp/html/testlogs/tests19.dat.log +++ b/src/pkg/exp/html/testlogs/tests19.dat.log @@ -11,11 +11,11 @@ PASS "" PASS "" PASS "" PASS "

" -FAIL "
" -FAIL "

" +PASS "
" +PASS "

" PASS "

" -FAIL "
" -FAIL "

" +PASS "
" +PASS "

" PASS "" PASS "" PASS "
" @@ -101,3 +101,4 @@ PASS "" PASS "
a" PASS "
a" PARSE "

b" +PASS "<!DOCTYPE html><div>a<a></div>b<p>c</p>d" diff --git a/src/pkg/exp/html/testlogs/tests26.dat.log b/src/pkg/exp/html/testlogs/tests26.dat.log index e5fc975fbc..864f1ea131 100644 --- a/src/pkg/exp/html/testlogs/tests26.dat.log +++ b/src/pkg/exp/html/testlogs/tests26.dat.log @@ -7,3 +7,9 @@ PASS "<!DOCTYPE html><body><b><nobr>1<nobr></b><div><i><nobr>2<nobr></i>3" PASS "<!DOCTYPE html><body><b><nobr>1<nobr><ins></b><i><nobr>" PASS "<!DOCTYPE html><body><b><nobr>1<ins><nobr></b><i>2" PASS "<!DOCTYPE html><body><b>1<nobr></b><i><nobr>2</i>" +FAIL "<p><code x</code></p>" +FAIL "<!DOCTYPE html><svg><foreignObject><p><i></p>a" +FAIL "<!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a" +FAIL "<!DOCTYPE html><math><mtext><p><i></p>a" +FAIL "<!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a" +PASS "<!DOCTYPE html><body><div><!/div>a" diff --git a/src/pkg/exp/html/testlogs/tests_innerHTML_1.dat.log b/src/pkg/exp/html/testlogs/tests_innerHTML_1.dat.log index 95f9f70000..f34bb783ac 100644 --- a/src/pkg/exp/html/testlogs/tests_innerHTML_1.dat.log +++ b/src/pkg/exp/html/testlogs/tests_innerHTML_1.dat.log @@ -82,3 +82,4 @@ PASS "<keygen><option>" FAIL "<textarea><option>" FAIL "</html><!--abc-->" PASS "</frameset><frame>" +PASS "" diff --git a/src/pkg/exp/html/testlogs/webkit01.dat.log b/src/pkg/exp/html/testlogs/webkit01.dat.log index 3488b7eec8..cf520cfae6 100644 --- a/src/pkg/exp/html/testlogs/webkit01.dat.log +++ b/src/pkg/exp/html/testlogs/webkit01.dat.log @@ -23,8 +23,8 @@ PASS "<html><body></body></html><!-- Hi there -->" PASS "<html><body></body></html>x<!-- Hi there -->" PASS "<html><body></body></html>x<!-- Hi there --></html><!-- Again -->" PASS "<html><body></body></html>x<!-- Hi there --></body></html><!-- Again -->" -FAIL "<html><body><ruby><div><rp>xx</rp></div></ruby></body></html>" -FAIL "<html><body><ruby><div><rt>xx</rt></div></ruby></body></html>" +PASS "<html><body><ruby><div><rp>xx</rp></div></ruby></body></html>" +PASS "<html><body><ruby><div><rt>xx</rt></div></ruby></body></html>" PASS "<html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->" PASS "<select><option>A<select><option>B<select><option>C<select><option>D<select><option>E<select><option>F<select><option>G<select>" PASS "<dd><dd><dt><dt><dd><li><li>" @@ -42,7 +42,7 @@ FAIL "<svg><title><svg><div>" PASS "<img <=\"\" FAIL>" FAIL "<ul><li><div id='foo'/>A</li><li>B<div>C</div></li></ul>" PASS "<svg><em><desc></em>" -PASS "<table><tr><td><svg><desc><td></desc><circle>" +FAIL "<table><tr><td><svg><desc><td></desc><circle>" PASS "<svg><tfoot></mi><td>" PASS "<math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math>" PASS "<!doctype html><input type=\"hidden\"><frameset>" diff --git a/src/pkg/exp/html/testlogs/webkit02.dat.log b/src/pkg/exp/html/testlogs/webkit02.dat.log index 1a32ff2106..fd0ae38eb8 100644 --- a/src/pkg/exp/html/testlogs/webkit02.dat.log +++ b/src/pkg/exp/html/testlogs/webkit02.dat.log @@ -7,3 +7,7 @@ PASS "<table><td></thead>A" PASS "<table><td></tfoot>A" PASS "<table><thead><td></tbody>A" PASS "<legend>test</legend>" +PASS "<table><input>" +PASS "<b><em><dcell><postfield><postfield><postfield><postfield><missing_glyph><missing_glyph><missing_glyph><missing_glyph><hkern><aside></b></em>" +FAIL "<isindex action=\"x\">" +PASS "<option><XH<optgroup></optgroup>"