From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../html5lib_tree_construction/comments01.dat | 178 +++++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 parser/htmlparser/tests/mochitest/html5lib_tree_construction/comments01.dat (limited to 'parser/htmlparser/tests/mochitest/html5lib_tree_construction/comments01.dat') diff --git a/parser/htmlparser/tests/mochitest/html5lib_tree_construction/comments01.dat b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/comments01.dat new file mode 100644 index 000000000..35ec6cced --- /dev/null +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/comments01.dat @@ -0,0 +1,178 @@ +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-bang-after-double-dash-in-comment +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +FOO + +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment +(1,31): unexpected-bang-after-double-dash-in-comment +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +FOO + +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +(1,9): incorrect-comment +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +(1,8): incorrect-comment +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +Hi +#errors +(1,1): expected-tag-name-but-got-question-mark +(1,22): expected-doctype-but-got-chars +#document +| +| +| +| +| "Hi" + +#data + +#errors +(1,1): expected-tag-name-but-got-question-mark +(1,20): expected-doctype-but-got-eof +#document +| +| +| +| + +#data + +| +| +| + +#data +FOOBAZ +#errors +(1,3): expected-doctype-but-got-chars +(1,10): unexpected-dash-after-double-dash-in-comment +#document +| +| +| +| "FOO" +| +| "BAZ" + +#data +Comment before head +#errors +(1,6): expected-doctype-but-got-start-tag +#document +| +| +| +| +| "Comment before head" +| <body> -- cgit v1.2.3