From 5f134f9b5ba3030a6c13c562f7436b68df8f036e Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 21 Jul 2011 12:50:45 +1000 Subject: [PATCH] html: sync html/testdata/webkit with upstream WebKit. As $GOROOT/src/pkg/html/testdata/webkit/README says, we're pulling from $WEBKITROOT/LayoutTests/html5lib/resources. R=r CC=golang-dev https://golang.org/cl/4810043 --- src/pkg/html/testdata/webkit/adoption01.dat | 194 +++ src/pkg/html/testdata/webkit/adoption02.dat | 31 + src/pkg/html/testdata/webkit/comments01.dat | 17 +- src/pkg/html/testdata/webkit/doctype01.dat | 63 +- src/pkg/html/testdata/webkit/dom2string.js | 135 -- src/pkg/html/testdata/webkit/entities01.dat | 9 - src/pkg/html/testdata/webkit/entities02.dat | 120 ++ .../html/testdata/webkit/html5test-com.dat | 246 ++++ src/pkg/html/testdata/webkit/inbody01.dat | 43 + src/pkg/html/testdata/webkit/isindex.dat | 40 + ...pending-spec-changes-plain-text-unsafe.dat | Bin 0 -> 115 bytes .../testdata/webkit/pending-spec-changes.dat | 28 + .../testdata/webkit/plain-text-unsafe.dat | 8 + .../testdata/webkit/scripted/adoption01.dat | 15 + .../testdata/webkit/scripted/webkit01.dat | 28 + src/pkg/html/testdata/webkit/tables01.dat | 197 +++ src/pkg/html/testdata/webkit/tests1.dat | 59 +- src/pkg/html/testdata/webkit/tests10.dat | 369 +++++ src/pkg/html/testdata/webkit/tests13.dat | 9 - src/pkg/html/testdata/webkit/tests14.dat | 2 +- src/pkg/html/testdata/webkit/tests15.dat | 2 +- src/pkg/html/testdata/webkit/tests17.dat | 153 +++ src/pkg/html/testdata/webkit/tests18.dat | 269 ++++ src/pkg/html/testdata/webkit/tests19.dat | 1220 +++++++++++++++++ src/pkg/html/testdata/webkit/tests2.dat | 27 +- src/pkg/html/testdata/webkit/tests20.dat | 455 ++++++ src/pkg/html/testdata/webkit/tests21.dat | 221 +++ src/pkg/html/testdata/webkit/tests22.dat | 157 +++ src/pkg/html/testdata/webkit/tests23.dat | 155 +++ src/pkg/html/testdata/webkit/tests24.dat | 79 ++ src/pkg/html/testdata/webkit/tests25.dat | 219 +++ src/pkg/html/testdata/webkit/tests26.dat | 195 +++ src/pkg/html/testdata/webkit/tests3.dat | 12 + src/pkg/html/testdata/webkit/tests6.dat | 10 + src/pkg/html/testdata/webkit/tests9.dat | 27 + .../testdata/webkit/tests_innerHTML_1.dat | 733 ++++++++++ src/pkg/html/testdata/webkit/tricky01.dat | 261 ++++ src/pkg/html/testdata/webkit/webkit01.dat | 460 ++++++- src/pkg/html/testdata/webkit/webkit02.dat | 104 ++ 39 files changed, 6139 insertions(+), 233 deletions(-) create mode 100644 src/pkg/html/testdata/webkit/adoption01.dat create mode 100644 src/pkg/html/testdata/webkit/adoption02.dat delete mode 100644 src/pkg/html/testdata/webkit/dom2string.js create mode 100644 src/pkg/html/testdata/webkit/html5test-com.dat create mode 100644 src/pkg/html/testdata/webkit/inbody01.dat create mode 100644 src/pkg/html/testdata/webkit/isindex.dat create mode 100644 src/pkg/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat create mode 100644 src/pkg/html/testdata/webkit/pending-spec-changes.dat create mode 100644 src/pkg/html/testdata/webkit/plain-text-unsafe.dat create mode 100644 src/pkg/html/testdata/webkit/scripted/adoption01.dat create mode 100644 src/pkg/html/testdata/webkit/scripted/webkit01.dat create mode 100644 src/pkg/html/testdata/webkit/tables01.dat delete mode 100644 src/pkg/html/testdata/webkit/tests13.dat create mode 100644 src/pkg/html/testdata/webkit/tests17.dat create mode 100644 src/pkg/html/testdata/webkit/tests18.dat create mode 100644 src/pkg/html/testdata/webkit/tests19.dat create mode 100644 src/pkg/html/testdata/webkit/tests20.dat create mode 100644 src/pkg/html/testdata/webkit/tests21.dat create mode 100644 src/pkg/html/testdata/webkit/tests22.dat create mode 100644 src/pkg/html/testdata/webkit/tests23.dat create mode 100644 src/pkg/html/testdata/webkit/tests24.dat create mode 100644 src/pkg/html/testdata/webkit/tests25.dat create mode 100644 src/pkg/html/testdata/webkit/tests26.dat create mode 100644 src/pkg/html/testdata/webkit/tests_innerHTML_1.dat create mode 100644 src/pkg/html/testdata/webkit/tricky01.dat create mode 100644 src/pkg/html/testdata/webkit/webkit02.dat diff --git a/src/pkg/html/testdata/webkit/adoption01.dat b/src/pkg/html/testdata/webkit/adoption01.dat new file mode 100644 index 00000000000..787e1b01e19 --- /dev/null +++ b/src/pkg/html/testdata/webkit/adoption01.dat @@ -0,0 +1,194 @@ +#data +
+| + +#data +123
2
+| +| "2" +| "3" + +#data +123 +#errors +#document +| +|
+| +| "2" +| "3" +|
+| + +#data + +#errors +#document +| +| +| +| +| +| +| +| +| + +#data + +#errors +#document +| +| +| +| +| +| +| +| +| +| + +#data +12345 +#errors +#document +| +| +| +| +| "1" +| +| id="A" +| "2" +| +| id="B" +| "3" +| +| id="A" +| +| id="B" +| "4" +| +| id="B" +| "5" + +#data +123 +#errors +#document +| +| +| +| +| "1" +| +| "3" +| +| +| +| +| "2" + +#data +ABC +#errors +#document +| +| +| +| "AC" +| +| +| +| +| "B" + +#data + +#errors +#document +| +| +| +| +| +| +| diff --git a/src/pkg/html/testdata/webkit/adoption02.dat b/src/pkg/html/testdata/webkit/adoption02.dat new file mode 100644 index 00000000000..d18151b44f0 --- /dev/null +++ b/src/pkg/html/testdata/webkit/adoption02.dat @@ -0,0 +1,31 @@ +#data +1234 +#errors +#document +| +| +| +| +| "1" +| +| "2" +| +| +| +| "3" +| "4" + +#data + +#errors +#document +| +| +| +| +| +| +| --> +#errors +#document +| +| +| --> +#errors +#document +| +| +| abc +#errors +#document +| +| +| +| +| "abc" +| +| +| +| abc +#errors +#document +| +| +| +| +| "abc" +| +| +| +| abc +#errors +#document +| +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| 3 -#errors -#document -| -| -| -| "1" -| 4 -#errors -#document -| -| -| -| "1" -|
+| + +#data + +#errors +#document +| +|
+| + +#data +12345
123
+| "1" +| +| id="A" +| "2" +| +| id="B" +| "3" +| +| id="A" +| +| id="B" +| "4" +| +| id="B" +| "5" + +#data +123 +#errors +#document +| +| +| +| +| "1" +| +| "3" +| +| +| +| +| "2" + +#data +ABC +#errors +#document +| +| +| +| "AC" +| +| +| +| +| "B" + +#data + +#errors +#document +| +| +| +| +| +| +| diff --git a/src/pkg/html/testdata/webkit/adoption02.dat b/src/pkg/html/testdata/webkit/adoption02.dat new file mode 100644 index 00000000000..d18151b44f0 --- /dev/null +++ b/src/pkg/html/testdata/webkit/adoption02.dat @@ -0,0 +1,31 @@ +#data +1234 +#errors +#document +| +| +| +| +| "1" +| +| "2" +| +| +| +| "3" +| "4" + +#data + +#errors +#document +| +| +| +| +| +| +| --> +#errors +#document +| +| +| --> +#errors +#document +| +| +| abc +#errors +#document +| +| +| +| +| "abc" +| +| +| +| abc +#errors +#document +| +| +| +| +| "abc" +| +| +| +| abc +#errors +#document +| +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| 3 -#errors -#document -| -| -| -| "1" -| 4 -#errors -#document -| -| -| -| "1" -|
34 +#errors +#document +| +|
+| +| "3" +| "4" + +#data + +#errors +#document +| +| +| +| +| +| +| --> +#errors +#document +| +| +| --> +#errors +#document +| +| +| abc +#errors +#document +| +| +| +| +| "abc" +| +| +| +| abc +#errors +#document +| +| +| +| +| "abc" +| +| +| +| abc +#errors +#document +| +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| abc +#errors +#document +| +| +| +| +| +| 3 -#errors -#document -| -| -| -| "1" -| 4 -#errors -#document -| -| -| -| "1" -|