From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../html5lib_tree_construction/comments01.dat | 206 +++++++++++++++++++++ 1 file changed, 206 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 0000000000..32021e15ca --- /dev/null +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/comments01.dat @@ -0,0 +1,206 @@ +#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 +FOO + +#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