From e947eba2914d707514ca54bebef3c9cd1e23c86a Mon Sep 17 00:00:00 2001 From: Andrew Balholm Date: Thu, 24 May 2012 10:35:31 +1000 Subject: [PATCH] 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 --- .../testdata/webkit/pending-spec-changes.dat | 24 ++++ .../testdata/webkit/plain-text-unsafe.dat | Bin 86 -> 4166 bytes src/pkg/exp/html/testdata/webkit/tables01.dat | 15 +++ src/pkg/exp/html/testdata/webkit/tests16.dat | 22 ++++ src/pkg/exp/html/testdata/webkit/tests19.dat | 25 +++- src/pkg/exp/html/testdata/webkit/tests26.dat | 118 ++++++++++++++++++ .../testdata/webkit/tests_innerHTML_1.dat | 8 ++ src/pkg/exp/html/testdata/webkit/webkit01.dat | 11 +- src/pkg/exp/html/testdata/webkit/webkit02.dat | 55 ++++++++ .../testlogs/pending-spec-changes.dat.log | 1 + .../html/testlogs/plain-text-unsafe.dat.log | 32 +++++ src/pkg/exp/html/testlogs/tables01.dat.log | 1 + src/pkg/exp/html/testlogs/tests16.dat.log | 2 + src/pkg/exp/html/testlogs/tests19.dat.log | 9 +- src/pkg/exp/html/testlogs/tests26.dat.log | 6 + .../html/testlogs/tests_innerHTML_1.dat.log | 1 + src/pkg/exp/html/testlogs/webkit01.dat.log | 6 +- src/pkg/exp/html/testlogs/webkit02.dat.log | 4 + 18 files changed, 324 insertions(+), 16 deletions(-) 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 2f40e83babcdf5d287c0bf9463388fd7c2399e7f..04cc11fb9d458ea32dca02e2f3bf39221196ab8e 100644 GIT binary patch literal 4166 zcmds4&1%~~5Y}1XcNojiOL5|Zdr6iB6Q@@dnjYGa!^&DaD*8j(rYZE*N*}4O(Ai!6 zt?Ym#%MQd~yz+X#nfd0M+40P0g4rKk_ucGyu~@9HzqzhG<5`wuxjplf&5wx3!u}29 zQA8od1>ll1zgT*S|4T0c9E6$RdB?_+5>}tF$TnjU&$*!FvRd{rQXeva!GcpkGm9M! zZBWBlo0XH%V%aC7h2%Ws8$qo;*=zDp0+b3F08~mq!5(ow4OtKi{*2LVgD~WoB_9R= z%96mMsPR;h$nTtgfB$G~Tu5~MsAZ5p?I@Yv->g@6t9!$ThX*>G;HMo(}#7Rl5a zZg4uE1I7jOIW4nFO4J6iM;kDRJYY@HxlJ-2>|)pZu4LMqS(UCIoh@(L9F*ZXarNczOPxy50-rRltbPH+lsqMcUzhGX-DG?dIeM%yw zq)6Z5tV+moc?F-@Px$g4N7@AhG2|lSEV{6lAFkjw_958<_GvD+SlP=VmQ!lVHXJsI znhY+?3E0d<$JA<%tK<^VtQR#nU@+CT{-PMJ<%52yKtV-o{8a81dy0d-O}vj9)n^7k zT4d@%G%wJ%%qhlePD%yYMMpP?=tpcJ%YZV=t3+x1nKCnh=v}&mgl&nSNPf^%ki)ze l`$yqfayHMBo}R^L^DOS^S$;Op@}8cl(m$8f+I>c;?LSw^)ujLc delta 5 McmX@65H=wU00!FvBLDyZ 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 @@ | | + +#data +
+#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>"