From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- parser/htmlparser/tests/reftest/after-1kb-ref.html | 9 + parser/htmlparser/tests/reftest/after-1kb.html | 955 +++++++++++++++++ .../tests/reftest/after-bogus-after-1kb-ref.html | 9 + .../tests/reftest/after-bogus-after-1kb.html | 933 +++++++++++++++++ .../htmlparser/tests/reftest/after-bogus-ref.html | 9 + parser/htmlparser/tests/reftest/after-bogus.html | 10 + .../reftest/after-head-after-1kb-crlf-ref.html | 9 + .../tests/reftest/after-head-after-1kb-crlf.html | 927 +++++++++++++++++ .../tests/reftest/after-head-after-1kb-ref.html | 9 + .../tests/reftest/after-head-after-1kb.html | 933 +++++++++++++++++ .../tests/reftest/after-head-in-1kb-crlf-ref.html | 9 + .../tests/reftest/after-head-in-1kb-crlf.html | 932 +++++++++++++++++ .../tests/reftest/after-head-in-1kb-ref.html | 9 + .../tests/reftest/after-head-in-1kb.html | 938 +++++++++++++++++ parser/htmlparser/tests/reftest/baseline-ref.html | 9 + parser/htmlparser/tests/reftest/baseline.html | 10 + .../htmlparser/tests/reftest/bug1153920-1-ref.html | 4 + parser/htmlparser/tests/reftest/bug1153920-1.html | 3 + .../htmlparser/tests/reftest/bug1319410-1-ref.html | 6 + parser/htmlparser/tests/reftest/bug1319410-1.html | 5 + .../htmlparser/tests/reftest/bug1636607-1-ref.html | 18 + parser/htmlparser/tests/reftest/bug1636607-1.html | 18 + .../htmlparser/tests/reftest/bug1636607-2-ref.html | 17 + parser/htmlparser/tests/reftest/bug1636607-2.html | 18 + .../htmlparser/tests/reftest/bug1650087-1-ref.html | 8 + parser/htmlparser/tests/reftest/bug1650087-1.html | 7 + .../htmlparser/tests/reftest/bug1726374-1-ref.html | 2 + parser/htmlparser/tests/reftest/bug1726374-1.html | 1 + .../htmlparser/tests/reftest/bug1749522-1-ref.txt | 3 + parser/htmlparser/tests/reftest/bug1749522-1.txt | 3 + .../htmlparser/tests/reftest/bug482921-1-ref.html | 27 + parser/htmlparser/tests/reftest/bug482921-1.html | 24 + .../htmlparser/tests/reftest/bug482921-2-ref.html | 28 + parser/htmlparser/tests/reftest/bug482921-2.xhtml | 25 + .../htmlparser/tests/reftest/bug535530-1-ref.html | 2 + parser/htmlparser/tests/reftest/bug535530-1.html | 14 + .../htmlparser/tests/reftest/bug535530-2-ref.html | 17 + parser/htmlparser/tests/reftest/bug535530-2.html | 14 + .../htmlparser/tests/reftest/bug566280-1-ref.html | 2 + parser/htmlparser/tests/reftest/bug566280-1.html | Bin 0 -> 19 bytes .../htmlparser/tests/reftest/bug569229-1-ref.xml | 2 + parser/htmlparser/tests/reftest/bug569229-1.xml | 6 + .../htmlparser/tests/reftest/bug577418-1-ref.html | 6 + parser/htmlparser/tests/reftest/bug577418-1.html | 15 + .../htmlparser/tests/reftest/bug582788-1-ref.html | 11 + parser/htmlparser/tests/reftest/bug582788-1.html | 11 + .../htmlparser/tests/reftest/bug582940-1-ref.html | 16 + parser/htmlparser/tests/reftest/bug582940-1.html | 16 + .../htmlparser/tests/reftest/bug592656-1-ref.html | 9 + parser/htmlparser/tests/reftest/bug592656-1.html | 32 + .../htmlparser/tests/reftest/bug599320-1-ref.html | 17 + parser/htmlparser/tests/reftest/bug599320-1.html | Bin 0 -> 616 bytes .../htmlparser/tests/reftest/bug608373-1-ref.html | 9 + parser/htmlparser/tests/reftest/bug608373-1.html | 14 + .../htmlparser/tests/reftest/bug659763-1-ref.html | 2 + parser/htmlparser/tests/reftest/bug659763-1.html | 9 + .../htmlparser/tests/reftest/bug659763-2-ref.html | 2 + parser/htmlparser/tests/reftest/bug659763-2.html | 9 + .../htmlparser/tests/reftest/bug659763-3-ref.html | 2 + parser/htmlparser/tests/reftest/bug659763-3.html | 9 + .../htmlparser/tests/reftest/bug659763-4-ref.html | 2 + parser/htmlparser/tests/reftest/bug659763-4.html | 9 + .../htmlparser/tests/reftest/bug659763-5-ref.html | 2 + parser/htmlparser/tests/reftest/bug659763-5.html | 9 + .../htmlparser/tests/reftest/bug659763-6-ref.html | 2 + parser/htmlparser/tests/reftest/bug659763-6.html | 9 + .../htmlparser/tests/reftest/bug673094-1-ref.html | 9 + parser/htmlparser/tests/reftest/bug673094-1.html | 9 + .../htmlparser/tests/reftest/bug696651-1-ref.html | 1 + parser/htmlparser/tests/reftest/bug696651-1.html | 2 + .../htmlparser/tests/reftest/bug696651-2-ref.html | 1 + parser/htmlparser/tests/reftest/bug696651-2.html | 6 + .../htmlparser/tests/reftest/bug696651-external.js | 1 + .../htmlparser/tests/reftest/bug700260-1-ref.html | 3 + parser/htmlparser/tests/reftest/bug700260-1.html | 3 + .../htmlparser/tests/reftest/bug704667-1-ref.html | 4 + parser/htmlparser/tests/reftest/bug704667-1.html | 1 + .../htmlparser/tests/reftest/bug731234-1-ref.html | 30 + parser/htmlparser/tests/reftest/bug731234-1.html | 27 + .../htmlparser/tests/reftest/bug820508-1-ref.html | 6 + parser/htmlparser/tests/reftest/bug820508-1.html | 6 + .../htmlparser/tests/reftest/bug910588-1-ref.html | 2 + parser/htmlparser/tests/reftest/bug910588-1.html | 1 + .../tests/reftest/document-write-ref.html | 9 + .../htmlparser/tests/reftest/document-write.html | 10 + .../htmlparser/tests/reftest/frame582940-ref.html | 51 + parser/htmlparser/tests/reftest/frame582940.html | 51 + .../tests/reftest/frame599320-1-ref.html | 15 + parser/htmlparser/tests/reftest/frame599320-1.html | 1092 ++++++++++++++++++++ .../htmlparser/tests/reftest/in-comment-ref.html | 9 + parser/htmlparser/tests/reftest/in-comment.html | 10 + .../in-noscript-after-template-after-1kb-ref.html | 9 + .../in-noscript-after-template-after-1kb.html | 894 ++++++++++++++++ .../reftest/in-noscript-after-template-ref.html | 9 + .../tests/reftest/in-noscript-after-template.html | 10 + .../tests/reftest/in-noscript-ncr-ref.html | 9 + .../htmlparser/tests/reftest/in-noscript-ncr.html | 10 + .../htmlparser/tests/reftest/in-noscript-ref.html | 9 + parser/htmlparser/tests/reftest/in-noscript.html | 10 + parser/htmlparser/tests/reftest/in-object-ref.html | 9 + parser/htmlparser/tests/reftest/in-object.html | 10 + parser/htmlparser/tests/reftest/in-script-ref.html | 9 + parser/htmlparser/tests/reftest/in-script.html | 10 + parser/htmlparser/tests/reftest/in-style-ref.html | 9 + parser/htmlparser/tests/reftest/in-style.html | 10 + .../reftest/in-svg-in-cdata-after-gt-ref.html | 10 + .../tests/reftest/in-svg-in-cdata-after-gt.html | 10 + .../tests/reftest/in-svg-in-cdata-ref.html | 10 + .../htmlparser/tests/reftest/in-svg-in-cdata.html | 10 + parser/htmlparser/tests/reftest/in-svg-ref.html | 10 + parser/htmlparser/tests/reftest/in-svg.html | 10 + .../tests/reftest/in-template-after-1kb-ref.html | 8 + .../tests/reftest/in-template-after-1kb.html | 1046 +++++++++++++++++++ .../htmlparser/tests/reftest/in-template-ref.html | 9 + parser/htmlparser/tests/reftest/in-template.html | 10 + parser/htmlparser/tests/reftest/in-title-ref.html | 10 + parser/htmlparser/tests/reftest/in-title.html | 10 + .../tests/reftest/incomplete-xml-decl-ref.html | 2 + .../tests/reftest/incomplete-xml-decl.xml | 1 + parser/htmlparser/tests/reftest/ncr-ref.html | 9 + parser/htmlparser/tests/reftest/ncr.html | 10 + .../reftest/non-ascii-in-comment-before-ref.html | 9 + .../tests/reftest/non-ascii-in-comment-before.html | 11 + .../reftest/non-ascii-in-title-before-ref.html | 10 + .../tests/reftest/non-ascii-in-title-before.html | 11 + parser/htmlparser/tests/reftest/reftest.list | 73 ++ .../tests/reftest/view-source-bom-ref.html | 10 + .../htmlparser/tests/reftest/view-source-bom.html | 9 + .../tests/reftest/vs-after-head-after-1kb-ref.html | 11 + .../tests/reftest/vs-after-head-after-1kb.html | 10 + .../tests/reftest/vs-after-head-in-1kb-ref.html | 12 + .../tests/reftest/vs-after-head-in-1kb.html | 11 + .../vs-non-ascii-in-comment-before-ref.html | 12 + .../reftest/vs-non-ascii-in-comment-before.html | 11 + .../reftest/vs-non-ascii-in-comment-before.sjs | 16 + parser/htmlparser/tests/reftest/xml-1.xml | 1 + parser/htmlparser/tests/reftest/xml-ref.html | 2 + parser/htmlparser/tests/reftest/xml-trickle-1.sjs | 17 + parser/htmlparser/tests/reftest/xml-trickle-2.sjs | 17 + parser/htmlparser/tests/reftest/xml-trickle-3.sjs | 21 + parser/htmlparser/tests/reftest/xml-trickle-4.sjs | 17 + parser/htmlparser/tests/reftest/xml-trickle-5.sjs | 17 + parser/htmlparser/tests/reftest/xml-trickle-6.sjs | 21 + parser/htmlparser/tests/reftest/xml-utf-ref.html | 2 + .../tests/reftest/xml-without-tags-ref.html | 2 + .../htmlparser/tests/reftest/xml-without-tags.xml | 1 + 146 files changed, 10091 insertions(+) create mode 100644 parser/htmlparser/tests/reftest/after-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/after-1kb.html create mode 100644 parser/htmlparser/tests/reftest/after-bogus-after-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/after-bogus-after-1kb.html create mode 100644 parser/htmlparser/tests/reftest/after-bogus-ref.html create mode 100644 parser/htmlparser/tests/reftest/after-bogus.html create mode 100644 parser/htmlparser/tests/reftest/after-head-after-1kb-crlf-ref.html create mode 100644 parser/htmlparser/tests/reftest/after-head-after-1kb-crlf.html create mode 100644 parser/htmlparser/tests/reftest/after-head-after-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/after-head-after-1kb.html create mode 100644 parser/htmlparser/tests/reftest/after-head-in-1kb-crlf-ref.html create mode 100644 parser/htmlparser/tests/reftest/after-head-in-1kb-crlf.html create mode 100644 parser/htmlparser/tests/reftest/after-head-in-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/after-head-in-1kb.html create mode 100644 parser/htmlparser/tests/reftest/baseline-ref.html create mode 100644 parser/htmlparser/tests/reftest/baseline.html create mode 100644 parser/htmlparser/tests/reftest/bug1153920-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug1153920-1.html create mode 100644 parser/htmlparser/tests/reftest/bug1319410-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug1319410-1.html create mode 100644 parser/htmlparser/tests/reftest/bug1636607-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug1636607-1.html create mode 100644 parser/htmlparser/tests/reftest/bug1636607-2-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug1636607-2.html create mode 100644 parser/htmlparser/tests/reftest/bug1650087-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug1650087-1.html create mode 100644 parser/htmlparser/tests/reftest/bug1726374-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug1726374-1.html create mode 100644 parser/htmlparser/tests/reftest/bug1749522-1-ref.txt create mode 100644 parser/htmlparser/tests/reftest/bug1749522-1.txt create mode 100644 parser/htmlparser/tests/reftest/bug482921-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug482921-1.html create mode 100644 parser/htmlparser/tests/reftest/bug482921-2-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug482921-2.xhtml create mode 100644 parser/htmlparser/tests/reftest/bug535530-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug535530-1.html create mode 100644 parser/htmlparser/tests/reftest/bug535530-2-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug535530-2.html create mode 100644 parser/htmlparser/tests/reftest/bug566280-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug566280-1.html create mode 100644 parser/htmlparser/tests/reftest/bug569229-1-ref.xml create mode 100644 parser/htmlparser/tests/reftest/bug569229-1.xml create mode 100644 parser/htmlparser/tests/reftest/bug577418-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug577418-1.html create mode 100644 parser/htmlparser/tests/reftest/bug582788-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug582788-1.html create mode 100644 parser/htmlparser/tests/reftest/bug582940-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug582940-1.html create mode 100644 parser/htmlparser/tests/reftest/bug592656-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug592656-1.html create mode 100644 parser/htmlparser/tests/reftest/bug599320-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug599320-1.html create mode 100644 parser/htmlparser/tests/reftest/bug608373-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug608373-1.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-1.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-2-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-2.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-3-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-3.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-4-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-4.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-5-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-5.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-6-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug659763-6.html create mode 100644 parser/htmlparser/tests/reftest/bug673094-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug673094-1.html create mode 100644 parser/htmlparser/tests/reftest/bug696651-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug696651-1.html create mode 100644 parser/htmlparser/tests/reftest/bug696651-2-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug696651-2.html create mode 100644 parser/htmlparser/tests/reftest/bug696651-external.js create mode 100644 parser/htmlparser/tests/reftest/bug700260-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug700260-1.html create mode 100644 parser/htmlparser/tests/reftest/bug704667-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug704667-1.html create mode 100644 parser/htmlparser/tests/reftest/bug731234-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug731234-1.html create mode 100644 parser/htmlparser/tests/reftest/bug820508-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug820508-1.html create mode 100644 parser/htmlparser/tests/reftest/bug910588-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/bug910588-1.html create mode 100644 parser/htmlparser/tests/reftest/document-write-ref.html create mode 100644 parser/htmlparser/tests/reftest/document-write.html create mode 100644 parser/htmlparser/tests/reftest/frame582940-ref.html create mode 100644 parser/htmlparser/tests/reftest/frame582940.html create mode 100644 parser/htmlparser/tests/reftest/frame599320-1-ref.html create mode 100644 parser/htmlparser/tests/reftest/frame599320-1.html create mode 100644 parser/htmlparser/tests/reftest/in-comment-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-comment.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript-after-template-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript-after-template.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript-ncr-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript-ncr.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-noscript.html create mode 100644 parser/htmlparser/tests/reftest/in-object-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-object.html create mode 100644 parser/htmlparser/tests/reftest/in-script-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-script.html create mode 100644 parser/htmlparser/tests/reftest/in-style-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-style.html create mode 100644 parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt.html create mode 100644 parser/htmlparser/tests/reftest/in-svg-in-cdata-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-svg-in-cdata.html create mode 100644 parser/htmlparser/tests/reftest/in-svg-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-svg.html create mode 100644 parser/htmlparser/tests/reftest/in-template-after-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-template-after-1kb.html create mode 100644 parser/htmlparser/tests/reftest/in-template-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-template.html create mode 100644 parser/htmlparser/tests/reftest/in-title-ref.html create mode 100644 parser/htmlparser/tests/reftest/in-title.html create mode 100644 parser/htmlparser/tests/reftest/incomplete-xml-decl-ref.html create mode 100644 parser/htmlparser/tests/reftest/incomplete-xml-decl.xml create mode 100644 parser/htmlparser/tests/reftest/ncr-ref.html create mode 100644 parser/htmlparser/tests/reftest/ncr.html create mode 100644 parser/htmlparser/tests/reftest/non-ascii-in-comment-before-ref.html create mode 100644 parser/htmlparser/tests/reftest/non-ascii-in-comment-before.html create mode 100644 parser/htmlparser/tests/reftest/non-ascii-in-title-before-ref.html create mode 100644 parser/htmlparser/tests/reftest/non-ascii-in-title-before.html create mode 100644 parser/htmlparser/tests/reftest/reftest.list create mode 100644 parser/htmlparser/tests/reftest/view-source-bom-ref.html create mode 100644 parser/htmlparser/tests/reftest/view-source-bom.html create mode 100644 parser/htmlparser/tests/reftest/vs-after-head-after-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/vs-after-head-after-1kb.html create mode 100644 parser/htmlparser/tests/reftest/vs-after-head-in-1kb-ref.html create mode 100644 parser/htmlparser/tests/reftest/vs-after-head-in-1kb.html create mode 100644 parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before-ref.html create mode 100644 parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.html create mode 100644 parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.sjs create mode 100644 parser/htmlparser/tests/reftest/xml-1.xml create mode 100644 parser/htmlparser/tests/reftest/xml-ref.html create mode 100644 parser/htmlparser/tests/reftest/xml-trickle-1.sjs create mode 100644 parser/htmlparser/tests/reftest/xml-trickle-2.sjs create mode 100644 parser/htmlparser/tests/reftest/xml-trickle-3.sjs create mode 100644 parser/htmlparser/tests/reftest/xml-trickle-4.sjs create mode 100644 parser/htmlparser/tests/reftest/xml-trickle-5.sjs create mode 100644 parser/htmlparser/tests/reftest/xml-trickle-6.sjs create mode 100644 parser/htmlparser/tests/reftest/xml-utf-ref.html create mode 100644 parser/htmlparser/tests/reftest/xml-without-tags-ref.html create mode 100644 parser/htmlparser/tests/reftest/xml-without-tags.xml (limited to 'parser/htmlparser/tests/reftest') diff --git a/parser/htmlparser/tests/reftest/after-1kb-ref.html b/parser/htmlparser/tests/reftest/after-1kb-ref.html new file mode 100644 index 0000000000..edb0ae9c72 --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-1kb-ref.html @@ -0,0 +1,9 @@ + + + + + +

In head, after first kilobyte.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-1kb.html b/parser/htmlparser/tests/reftest/after-1kb.html new file mode 100644 index 0000000000..01eedca187 --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-1kb.html @@ -0,0 +1,955 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

In head, after first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-bogus-after-1kb-ref.html b/parser/htmlparser/tests/reftest/after-bogus-after-1kb-ref.html new file mode 100644 index 0000000000..c6f129a89e --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-bogus-after-1kb-ref.html @@ -0,0 +1,9 @@ + + + + + +

After bogus, before head end tag, after first kilobyte.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-bogus-after-1kb.html b/parser/htmlparser/tests/reftest/after-bogus-after-1kb.html new file mode 100644 index 0000000000..f44fda1e6d --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-bogus-after-1kb.html @@ -0,0 +1,933 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

After bogus, before head end tag, after first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-bogus-ref.html b/parser/htmlparser/tests/reftest/after-bogus-ref.html new file mode 100644 index 0000000000..f8080e60aa --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-bogus-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta after bogus.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-bogus.html b/parser/htmlparser/tests/reftest/after-bogus.html new file mode 100644 index 0000000000..7eeedde7af --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-bogus.html @@ -0,0 +1,10 @@ + + + + + + +

Meta after bogus.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-after-1kb-crlf-ref.html b/parser/htmlparser/tests/reftest/after-head-after-1kb-crlf-ref.html new file mode 100644 index 0000000000..868a9639bf --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-after-1kb-crlf-ref.html @@ -0,0 +1,9 @@ + + + + + +

After head, before body, after first kilobyte, with a CRLF in the first kilobyte.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-after-1kb-crlf.html b/parser/htmlparser/tests/reftest/after-head-after-1kb-crlf.html new file mode 100644 index 0000000000..10a6d1c3d7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-after-1kb-crlf.html @@ -0,0 +1,927 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

After head, before body, after first kilobyte, with a CRLF in the first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-after-1kb-ref.html b/parser/htmlparser/tests/reftest/after-head-after-1kb-ref.html new file mode 100644 index 0000000000..bde4745b26 --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-after-1kb-ref.html @@ -0,0 +1,9 @@ + + + + + +

After head, before body, after first kilobyte.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-after-1kb.html b/parser/htmlparser/tests/reftest/after-head-after-1kb.html new file mode 100644 index 0000000000..d514fdfbff --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-after-1kb.html @@ -0,0 +1,933 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

After head, before body, after first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-in-1kb-crlf-ref.html b/parser/htmlparser/tests/reftest/after-head-in-1kb-crlf-ref.html new file mode 100644 index 0000000000..0676d7374e --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-in-1kb-crlf-ref.html @@ -0,0 +1,9 @@ + + + + + +

After head, before body, within first kilobyte, with a CRLF in the first kilobyte.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-in-1kb-crlf.html b/parser/htmlparser/tests/reftest/after-head-in-1kb-crlf.html new file mode 100644 index 0000000000..e5c95e7036 --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-in-1kb-crlf.html @@ -0,0 +1,932 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

After head, before body, within first kilobyte, with a CRLF in the first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-in-1kb-ref.html b/parser/htmlparser/tests/reftest/after-head-in-1kb-ref.html new file mode 100644 index 0000000000..75fc2dd618 --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-in-1kb-ref.html @@ -0,0 +1,9 @@ + + + + + +

After head, before body, within first kilobyte.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/after-head-in-1kb.html b/parser/htmlparser/tests/reftest/after-head-in-1kb.html new file mode 100644 index 0000000000..e73522d373 --- /dev/null +++ b/parser/htmlparser/tests/reftest/after-head-in-1kb.html @@ -0,0 +1,938 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

After head, before body, within first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/baseline-ref.html b/parser/htmlparser/tests/reftest/baseline-ref.html new file mode 100644 index 0000000000..21b939efe0 --- /dev/null +++ b/parser/htmlparser/tests/reftest/baseline-ref.html @@ -0,0 +1,9 @@ + + + + + +

Normal meta.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/baseline.html b/parser/htmlparser/tests/reftest/baseline.html new file mode 100644 index 0000000000..40bce2f63f --- /dev/null +++ b/parser/htmlparser/tests/reftest/baseline.html @@ -0,0 +1,10 @@ + + + + + + +

Normal meta.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/bug1153920-1-ref.html b/parser/htmlparser/tests/reftest/bug1153920-1-ref.html new file mode 100644 index 0000000000..6c7e8fb13c --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1153920-1-ref.html @@ -0,0 +1,4 @@ +
<!DOCTYPE html>
+<a href='?a=b&c=d&a0b=c&copy=1&noti=n&not=in&notin=&notin;&not;&;& &'>Link</a>
+<p>Text: ?a=b&c=d&a0b=c&copy=1&noti=n&not=in&notin=&notin;&not;&;& &</p>
+
diff --git a/parser/htmlparser/tests/reftest/bug1153920-1.html b/parser/htmlparser/tests/reftest/bug1153920-1.html new file mode 100644 index 0000000000..f36b2b0581 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1153920-1.html @@ -0,0 +1,3 @@ + +Link +

Text: ?a=b&c=d&a0b=c©=1¬i=n¬=in¬in=∉¬&;& &

diff --git a/parser/htmlparser/tests/reftest/bug1319410-1-ref.html b/parser/htmlparser/tests/reftest/bug1319410-1-ref.html new file mode 100644 index 0000000000..abce6d8540 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1319410-1-ref.html @@ -0,0 +1,6 @@ +
<!DOCTYPE html>
+<!-- -- -->
+<!-- <!-- --> -->
+<!-->
+<!--<!-->
+
diff --git a/parser/htmlparser/tests/reftest/bug1319410-1.html b/parser/htmlparser/tests/reftest/bug1319410-1.html new file mode 100644 index 0000000000..04363210af --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1319410-1.html @@ -0,0 +1,5 @@ + + + --> + + diff --git a/parser/htmlparser/tests/reftest/bug1636607-1-ref.html b/parser/htmlparser/tests/reftest/bug1636607-1-ref.html new file mode 100644 index 0000000000..b5e24f87a7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1636607-1-ref.html @@ -0,0 +1,18 @@ + + +

This document is in mode.

+

This is a test for the line height quirk which is present in limited-quirks mode and quirks mode:

+
hello
hello
+

This is a test for the hashless hex color quirk which is present in quirks mode only:

+
test
+ + diff --git a/parser/htmlparser/tests/reftest/bug1636607-1.html b/parser/htmlparser/tests/reftest/bug1636607-1.html new file mode 100644 index 0000000000..af2c2cb3e8 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1636607-1.html @@ -0,0 +1,18 @@ + + +

This document is in mode.

+

This is a test for the line height quirk which is present in limited-quirks mode and quirks mode:

+
hello
hello
+

This is a test for the hashless hex color quirk which is present in quirks mode only:

+
test
+ + diff --git a/parser/htmlparser/tests/reftest/bug1636607-2-ref.html b/parser/htmlparser/tests/reftest/bug1636607-2-ref.html new file mode 100644 index 0000000000..e82fd73824 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1636607-2-ref.html @@ -0,0 +1,17 @@ + +

This document is in mode.

+

This is a test for the line height quirk which is present in limited-quirks mode and quirks mode:

+
hello
hello
+

This is a test for the hashless hex color quirk which is present in quirks mode only:

+
test
+ + diff --git a/parser/htmlparser/tests/reftest/bug1636607-2.html b/parser/htmlparser/tests/reftest/bug1636607-2.html new file mode 100644 index 0000000000..f551df5ac1 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1636607-2.html @@ -0,0 +1,18 @@ + + +

This document is in mode.

+

This is a test for the line height quirk which is present in limited-quirks mode and quirks mode:

+
hello
hello
+

This is a test for the hashless hex color quirk which is present in quirks mode only:

+
test
+ + diff --git a/parser/htmlparser/tests/reftest/bug1650087-1-ref.html b/parser/htmlparser/tests/reftest/bug1650087-1-ref.html new file mode 100644 index 0000000000..284f097100 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1650087-1-ref.html @@ -0,0 +1,8 @@ +
<!DOCTYPE html>
+<template><td></template>
+<template><tr></template>
+<template><thead></template>
+<template><tbody></template>
+<template><tfoot></template>
+<template><colgroup></template>
+
diff --git a/parser/htmlparser/tests/reftest/bug1650087-1.html b/parser/htmlparser/tests/reftest/bug1650087-1.html new file mode 100644 index 0000000000..c5b92f1615 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1650087-1.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/parser/htmlparser/tests/reftest/bug1726374-1-ref.html b/parser/htmlparser/tests/reftest/bug1726374-1-ref.html new file mode 100644 index 0000000000..1bd351963d --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1726374-1-ref.html @@ -0,0 +1,2 @@ +
<!DOCTYPE html><!-- a <!-->b
+
diff --git a/parser/htmlparser/tests/reftest/bug1726374-1.html b/parser/htmlparser/tests/reftest/bug1726374-1.html new file mode 100644 index 0000000000..edcb3952c5 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1726374-1.html @@ -0,0 +1 @@ +b diff --git a/parser/htmlparser/tests/reftest/bug1749522-1-ref.txt b/parser/htmlparser/tests/reftest/bug1749522-1-ref.txt new file mode 100644 index 0000000000..c95d7230fd --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1749522-1-ref.txt @@ -0,0 +1,3 @@ + diff --git a/parser/htmlparser/tests/reftest/bug1749522-1.txt b/parser/htmlparser/tests/reftest/bug1749522-1.txt new file mode 100644 index 0000000000..3520d89838 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug1749522-1.txt @@ -0,0 +1,3 @@ + diff --git a/parser/htmlparser/tests/reftest/bug482921-1-ref.html b/parser/htmlparser/tests/reftest/bug482921-1-ref.html new file mode 100644 index 0000000000..71c0f91c08 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug482921-1-ref.html @@ -0,0 +1,27 @@ +
<!DOCTYPE html>
+<html>
+<head>
+<title>Title</title>
+<script>
+var lt = "<";
+<!--
+var s = "<script>foo</script>";
+-->
+</script><!-- Comment. -->
+<style>
+/* </foo> */
+</style>
+</head>
+<body>
+<p>Entity: &amp; </p>
+<iframe><img></iframe>
+<noscript><p>Not para</p></noscript>
+<svg>
+<title><![CDATA[bar]]></title>
+<script><!-- this is a comment --></script>
+</svg>
+</body>
+</html>
+
+
+ diff --git a/parser/htmlparser/tests/reftest/bug482921-1.html b/parser/htmlparser/tests/reftest/bug482921-1.html new file mode 100644 index 0000000000..ca603844f2 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug482921-1.html @@ -0,0 +1,24 @@ + + + +Title + + + + +

Entity: &

+ + + +bar + + + + diff --git a/parser/htmlparser/tests/reftest/bug482921-2-ref.html b/parser/htmlparser/tests/reftest/bug482921-2-ref.html new file mode 100644 index 0000000000..d764c70bca --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug482921-2-ref.html @@ -0,0 +1,28 @@ +
<?xml version="1.0" encoding="utf-8"?>
+<?foo bar?>
+<html>
+<head>
+<title>Title</title>
+<script>
+var s = "<script>foo</script>";
+<!--
+var s = "<script>foo</script>";
+-->
+</script>
+<style>
+/* <foo/> */
+</style>
+</head>
+<body>
+<p>Entity: &amp; </p>
+<iframe><img></iframe>
+<noscript><p>Not para</p></noscript>
+<svg>
+<title><![CDATA[bar]]></title>
+<script><!-- this is a comment --></script>
+</svg>
+</body>
+</html>
+
+
+ diff --git a/parser/htmlparser/tests/reftest/bug482921-2.xhtml b/parser/htmlparser/tests/reftest/bug482921-2.xhtml new file mode 100644 index 0000000000..4d3f0b6a73 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug482921-2.xhtml @@ -0,0 +1,25 @@ + + + + +Title +"; + + + + + +

Entity: &

+ + + +bar + + + + diff --git a/parser/htmlparser/tests/reftest/bug535530-1-ref.html b/parser/htmlparser/tests/reftest/bug535530-1-ref.html new file mode 100644 index 0000000000..22d0dc0b0b --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug535530-1-ref.html @@ -0,0 +1,2 @@ + +XX&XX XX&nXX XX&noXX XX¬XX XX¬iXX XX¬inXX XX&;XX XX&n;XX XX&no;XX XX¬XX XX¬i;XX XX∉XX diff --git a/parser/htmlparser/tests/reftest/bug535530-1.html b/parser/htmlparser/tests/reftest/bug535530-1.html new file mode 100644 index 0000000000..63f2d8782e --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug535530-1.html @@ -0,0 +1,14 @@ + +XX&XX +XX&nXX +XX&noXX +XX¬XX +XX¬iXX +XX¬inXX +XX&;XX +XX&n;XX +XX&no;XX +XX¬XX +XX¬i;XX +XX∉XX + diff --git a/parser/htmlparser/tests/reftest/bug535530-2-ref.html b/parser/htmlparser/tests/reftest/bug535530-2-ref.html new file mode 100644 index 0000000000..174e94dc8b --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug535530-2-ref.html @@ -0,0 +1,17 @@ +
<!DOCTYPE html>
+XX&XX
+XX&nXX
+XX&noXX
+XX&notXX
+XX&notiXX
+XX&notinXX
+XX&;XX
+XX&n;XX
+XX&no;XX
+XX&not;XX
+XX&noti;XX
+XX&notin;XX
+
+
+
+ diff --git a/parser/htmlparser/tests/reftest/bug535530-2.html b/parser/htmlparser/tests/reftest/bug535530-2.html new file mode 100644 index 0000000000..63f2d8782e --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug535530-2.html @@ -0,0 +1,14 @@ + +XX&XX +XX&nXX +XX&noXX +XX¬XX +XX¬iXX +XX¬inXX +XX&;XX +XX&n;XX +XX&no;XX +XX¬XX +XX¬i;XX +XX∉XX + diff --git a/parser/htmlparser/tests/reftest/bug566280-1-ref.html b/parser/htmlparser/tests/reftest/bug566280-1-ref.html new file mode 100644 index 0000000000..6585cac38f --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug566280-1-ref.html @@ -0,0 +1,2 @@ +hello world + diff --git a/parser/htmlparser/tests/reftest/bug566280-1.html b/parser/htmlparser/tests/reftest/bug566280-1.html new file mode 100644 index 0000000000..3aa60caf34 Binary files /dev/null and b/parser/htmlparser/tests/reftest/bug566280-1.html differ diff --git a/parser/htmlparser/tests/reftest/bug569229-1-ref.xml b/parser/htmlparser/tests/reftest/bug569229-1-ref.xml new file mode 100644 index 0000000000..652f1d7da8 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug569229-1-ref.xml @@ -0,0 +1,2 @@ + +

abcd

diff --git a/parser/htmlparser/tests/reftest/bug569229-1.xml b/parser/htmlparser/tests/reftest/bug569229-1.xml new file mode 100644 index 0000000000..2e1ff75603 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug569229-1.xml @@ -0,0 +1,6 @@ + +

abcd

"> + +]> +&outer; diff --git a/parser/htmlparser/tests/reftest/bug577418-1-ref.html b/parser/htmlparser/tests/reftest/bug577418-1-ref.html new file mode 100644 index 0000000000..ff773d5364 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug577418-1-ref.html @@ -0,0 +1,6 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug577418-1.html b/parser/htmlparser/tests/reftest/bug577418-1.html new file mode 100644 index 0000000000..cfd53be0a8 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug577418-1.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/parser/htmlparser/tests/reftest/bug582788-1-ref.html b/parser/htmlparser/tests/reftest/bug582788-1-ref.html new file mode 100644 index 0000000000..c1f684807a --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug582788-1-ref.html @@ -0,0 +1,11 @@ + + + + +Not ISO-10646 + + +

Not ISO-10646

+ + + diff --git a/parser/htmlparser/tests/reftest/bug582788-1.html b/parser/htmlparser/tests/reftest/bug582788-1.html new file mode 100644 index 0000000000..ee31b3de9d --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug582788-1.html @@ -0,0 +1,11 @@ + + + + +Not ISO-10646 + + +

Not ISO-10646

+ + + diff --git a/parser/htmlparser/tests/reftest/bug582940-1-ref.html b/parser/htmlparser/tests/reftest/bug582940-1-ref.html new file mode 100644 index 0000000000..7209c8e69e --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug582940-1-ref.html @@ -0,0 +1,16 @@ + + + + +Fragment nav + + + + + + + diff --git a/parser/htmlparser/tests/reftest/bug582940-1.html b/parser/htmlparser/tests/reftest/bug582940-1.html new file mode 100644 index 0000000000..fd721a8bc3 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug582940-1.html @@ -0,0 +1,16 @@ + + + + +Fragment nav + + + + + + + diff --git a/parser/htmlparser/tests/reftest/bug592656-1-ref.html b/parser/htmlparser/tests/reftest/bug592656-1-ref.html new file mode 100644 index 0000000000..824d815633 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug592656-1-ref.html @@ -0,0 +1,9 @@ + + + +document.write() from script-inserted inline scripts and script@onload + + +1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 + + diff --git a/parser/htmlparser/tests/reftest/bug592656-1.html b/parser/htmlparser/tests/reftest/bug592656-1.html new file mode 100644 index 0000000000..769f62f648 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug592656-1.html @@ -0,0 +1,32 @@ + + + +document.write() from script-inserted inline scripts and script@onload + + +1 + + + diff --git a/parser/htmlparser/tests/reftest/bug599320-1-ref.html b/parser/htmlparser/tests/reftest/bug599320-1-ref.html new file mode 100644 index 0000000000..bb48fe5d25 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug599320-1-ref.html @@ -0,0 +1,17 @@ + + + + + +UTF-16 doc + + +

UTF-16 doc

+ +

Euro sign: €

+

iframe:

+ + + + + diff --git a/parser/htmlparser/tests/reftest/bug599320-1.html b/parser/htmlparser/tests/reftest/bug599320-1.html new file mode 100644 index 0000000000..590e9126c3 Binary files /dev/null and b/parser/htmlparser/tests/reftest/bug599320-1.html differ diff --git a/parser/htmlparser/tests/reftest/bug608373-1-ref.html b/parser/htmlparser/tests/reftest/bug608373-1-ref.html new file mode 100644 index 0000000000..69fec47d0f --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug608373-1-ref.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/parser/htmlparser/tests/reftest/bug608373-1.html b/parser/htmlparser/tests/reftest/bug608373-1.html new file mode 100644 index 0000000000..7bc47552f7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug608373-1.html @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/parser/htmlparser/tests/reftest/bug659763-1-ref.html b/parser/htmlparser/tests/reftest/bug659763-1-ref.html new file mode 100644 index 0000000000..99429bf4e7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-1-ref.html @@ -0,0 +1,2 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug659763-1.html b/parser/htmlparser/tests/reftest/bug659763-1.html new file mode 100644 index 0000000000..46dbde092e --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-1.html @@ -0,0 +1,9 @@ + + + diff --git a/parser/htmlparser/tests/reftest/bug659763-2-ref.html b/parser/htmlparser/tests/reftest/bug659763-2-ref.html new file mode 100644 index 0000000000..99429bf4e7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-2-ref.html @@ -0,0 +1,2 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug659763-2.html b/parser/htmlparser/tests/reftest/bug659763-2.html new file mode 100644 index 0000000000..c6152193aa --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-2.html @@ -0,0 +1,9 @@ + + + diff --git a/parser/htmlparser/tests/reftest/bug659763-3-ref.html b/parser/htmlparser/tests/reftest/bug659763-3-ref.html new file mode 100644 index 0000000000..99429bf4e7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-3-ref.html @@ -0,0 +1,2 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug659763-3.html b/parser/htmlparser/tests/reftest/bug659763-3.html new file mode 100644 index 0000000000..bd2ed094bc --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-3.html @@ -0,0 +1,9 @@ + + + diff --git a/parser/htmlparser/tests/reftest/bug659763-4-ref.html b/parser/htmlparser/tests/reftest/bug659763-4-ref.html new file mode 100644 index 0000000000..99429bf4e7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-4-ref.html @@ -0,0 +1,2 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug659763-4.html b/parser/htmlparser/tests/reftest/bug659763-4.html new file mode 100644 index 0000000000..5317186351 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-4.html @@ -0,0 +1,9 @@ + + + diff --git a/parser/htmlparser/tests/reftest/bug659763-5-ref.html b/parser/htmlparser/tests/reftest/bug659763-5-ref.html new file mode 100644 index 0000000000..99429bf4e7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-5-ref.html @@ -0,0 +1,2 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug659763-5.html b/parser/htmlparser/tests/reftest/bug659763-5.html new file mode 100644 index 0000000000..23e9fd8e6f --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-5.html @@ -0,0 +1,9 @@ + + + diff --git a/parser/htmlparser/tests/reftest/bug659763-6-ref.html b/parser/htmlparser/tests/reftest/bug659763-6-ref.html new file mode 100644 index 0000000000..99429bf4e7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-6-ref.html @@ -0,0 +1,2 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug659763-6.html b/parser/htmlparser/tests/reftest/bug659763-6.html new file mode 100644 index 0000000000..f0a5ea8d3f --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug659763-6.html @@ -0,0 +1,9 @@ + + + diff --git a/parser/htmlparser/tests/reftest/bug673094-1-ref.html b/parser/htmlparser/tests/reftest/bug673094-1-ref.html new file mode 100644 index 0000000000..f8f8ce5939 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug673094-1-ref.html @@ -0,0 +1,9 @@ + + + +bidi in attribute + + +

Persian فارسی

+

+ diff --git a/parser/htmlparser/tests/reftest/bug673094-1.html b/parser/htmlparser/tests/reftest/bug673094-1.html new file mode 100644 index 0000000000..2fbdbfb10d --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug673094-1.html @@ -0,0 +1,9 @@ + + + +bidi in attribute + + +

Persian فارسی

+

+ diff --git a/parser/htmlparser/tests/reftest/bug696651-1-ref.html b/parser/htmlparser/tests/reftest/bug696651-1-ref.html new file mode 100644 index 0000000000..02f59b7ae6 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug696651-1-ref.html @@ -0,0 +1 @@ +CcBbAa diff --git a/parser/htmlparser/tests/reftest/bug696651-1.html b/parser/htmlparser/tests/reftest/bug696651-1.html new file mode 100644 index 0000000000..50a9135aa3 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug696651-1.html @@ -0,0 +1,2 @@ + + diff --git a/parser/htmlparser/tests/reftest/bug696651-2-ref.html b/parser/htmlparser/tests/reftest/bug696651-2-ref.html new file mode 100644 index 0000000000..7999785c09 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug696651-2-ref.html @@ -0,0 +1 @@ + diff --git a/parser/htmlparser/tests/reftest/bug696651-2.html b/parser/htmlparser/tests/reftest/bug696651-2.html new file mode 100644 index 0000000000..2d3515b6af --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug696651-2.html @@ -0,0 +1,6 @@ + + + + diff --git a/parser/htmlparser/tests/reftest/bug696651-external.js b/parser/htmlparser/tests/reftest/bug696651-external.js new file mode 100644 index 0000000000..c1c2a8f788 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug696651-external.js @@ -0,0 +1 @@ +document.write("C"); document.write("c"); diff --git a/parser/htmlparser/tests/reftest/bug700260-1-ref.html b/parser/htmlparser/tests/reftest/bug700260-1-ref.html new file mode 100644 index 0000000000..0ba4495a09 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug700260-1-ref.html @@ -0,0 +1,3 @@ + 1 + 2 + 3 diff --git a/parser/htmlparser/tests/reftest/bug700260-1.html b/parser/htmlparser/tests/reftest/bug700260-1.html new file mode 100644 index 0000000000..37d3008347 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug700260-1.html @@ -0,0 +1,3 @@ + 1 + 2 + 3 diff --git a/parser/htmlparser/tests/reftest/bug704667-1-ref.html b/parser/htmlparser/tests/reftest/bug704667-1-ref.html new file mode 100644 index 0000000000..a7a939f3a4 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug704667-1-ref.html @@ -0,0 +1,4 @@ +
<!--> <!X>
+
+
+ diff --git a/parser/htmlparser/tests/reftest/bug704667-1.html b/parser/htmlparser/tests/reftest/bug704667-1.html new file mode 100644 index 0000000000..553c62b309 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug704667-1.html @@ -0,0 +1 @@ + diff --git a/parser/htmlparser/tests/reftest/bug731234-1-ref.html b/parser/htmlparser/tests/reftest/bug731234-1-ref.html new file mode 100644 index 0000000000..897b73ea1b --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug731234-1-ref.html @@ -0,0 +1,30 @@ +
<!DOCTYPE html>
+<body>
+<script></script>X
+<script></script >X
+<script></script
+>X
+<script></script foo>X
+<script></script foo=bar>X
+<script></script foo="bar">X
+<script><!--</script>X
+<script><!-- </script>X
+<script><!-- </script >X
+<script><!-- </script
+>X
+<script><!-- </script foo>X
+<script><!-- </script foo=bar>X
+<script><!-- </script foo="bar">X
+<script><!-- -</script>X
+<script><!-- --</script>X
+<script><!-- --></script>X
+<script><!--<script> </script> </script>X
+<script><!--<script> </script> --></script>X
+<script><!--<script </script> --></script>X
+<script><!--<script> </script  > --></script>X
+<script><!--<script> </script  foo> --></script>X
+<script><!--<script> </script  foo=bar> --></script>X
+<script><!--<script> </script  foo="bar"> --></script>X
+
+
+ diff --git a/parser/htmlparser/tests/reftest/bug731234-1.html b/parser/htmlparser/tests/reftest/bug731234-1.html new file mode 100644 index 0000000000..313e44cca7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug731234-1.html @@ -0,0 +1,27 @@ + + +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X diff --git a/parser/htmlparser/tests/reftest/bug820508-1-ref.html b/parser/htmlparser/tests/reftest/bug820508-1-ref.html new file mode 100644 index 0000000000..e624b16885 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug820508-1-ref.html @@ -0,0 +1,6 @@ + +main { display: block; } + +
foo
bar
diff --git a/parser/htmlparser/tests/reftest/bug820508-1.html b/parser/htmlparser/tests/reftest/bug820508-1.html new file mode 100644 index 0000000000..60eabee67d --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug820508-1.html @@ -0,0 +1,6 @@ + +main { display: block; } + +
foo
bar
diff --git a/parser/htmlparser/tests/reftest/bug910588-1-ref.html b/parser/htmlparser/tests/reftest/bug910588-1-ref.html new file mode 100644 index 0000000000..46133dd2c4 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug910588-1-ref.html @@ -0,0 +1,2 @@ +
<!DOCTYPE html><table><input type=hidden></table>
+
diff --git a/parser/htmlparser/tests/reftest/bug910588-1.html b/parser/htmlparser/tests/reftest/bug910588-1.html new file mode 100644 index 0000000000..d0f5958582 --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug910588-1.html @@ -0,0 +1 @@ +
diff --git a/parser/htmlparser/tests/reftest/document-write-ref.html b/parser/htmlparser/tests/reftest/document-write-ref.html new file mode 100644 index 0000000000..9902cf77d1 --- /dev/null +++ b/parser/htmlparser/tests/reftest/document-write-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta from document.write (with concatenation in the middle of charset to require execution for effect).

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/document-write.html b/parser/htmlparser/tests/reftest/document-write.html new file mode 100644 index 0000000000..b70a15c567 --- /dev/null +++ b/parser/htmlparser/tests/reftest/document-write.html @@ -0,0 +1,10 @@ + + + + + + +

Meta from document.write (with concatenation in the middle of charset to require execution for effect).

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/frame582940-ref.html b/parser/htmlparser/tests/reftest/frame582940-ref.html new file mode 100644 index 0000000000..ac665679b5 --- /dev/null +++ b/parser/htmlparser/tests/reftest/frame582940-ref.html @@ -0,0 +1,51 @@ + + + + +Fragment nav + + +

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Ref!

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+ + + diff --git a/parser/htmlparser/tests/reftest/frame582940.html b/parser/htmlparser/tests/reftest/frame582940.html new file mode 100644 index 0000000000..646b7d5a71 --- /dev/null +++ b/parser/htmlparser/tests/reftest/frame582940.html @@ -0,0 +1,51 @@ + + + + +Fragment nav + + +

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Ref!

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+

Filler

+ + + diff --git a/parser/htmlparser/tests/reftest/frame599320-1-ref.html b/parser/htmlparser/tests/reftest/frame599320-1-ref.html new file mode 100644 index 0000000000..735c368f8b --- /dev/null +++ b/parser/htmlparser/tests/reftest/frame599320-1-ref.html @@ -0,0 +1,15 @@ + + + + + +Non-UTF-16 doc + + +

Non-UTF-16 doc

+ +

Euro sign: €

+ + + + diff --git a/parser/htmlparser/tests/reftest/frame599320-1.html b/parser/htmlparser/tests/reftest/frame599320-1.html new file mode 100644 index 0000000000..145ee94ba8 --- /dev/null +++ b/parser/htmlparser/tests/reftest/frame599320-1.html @@ -0,0 +1,1092 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Non-UTF-16 doc + + +

Non-UTF-16 doc

+ +

Euro sign: €

+ + + + diff --git a/parser/htmlparser/tests/reftest/in-comment-ref.html b/parser/htmlparser/tests/reftest/in-comment-ref.html new file mode 100644 index 0000000000..94b2016e0d --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-comment-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta inside comment.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-comment.html b/parser/htmlparser/tests/reftest/in-comment.html new file mode 100644 index 0000000000..65828a1872 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-comment.html @@ -0,0 +1,10 @@ + + + + + + +

Meta inside comment.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb-ref.html b/parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb-ref.html new file mode 100644 index 0000000000..12e9b93626 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta in noscript after template (which is also inside the noscript) after 1kb of padding following the template.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb.html b/parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb.html new file mode 100644 index 0000000000..d22e83aaa7 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript-after-template-after-1kb.html @@ -0,0 +1,894 @@ + + + + + + +

Meta in noscript after template (which is also inside the noscript) after 1kb of padding following the template.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript-after-template-ref.html b/parser/htmlparser/tests/reftest/in-noscript-after-template-ref.html new file mode 100644 index 0000000000..27defe54c0 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript-after-template-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta in noscript after template (which is also inside the noscript).

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript-after-template.html b/parser/htmlparser/tests/reftest/in-noscript-after-template.html new file mode 100644 index 0000000000..71ef9144e0 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript-after-template.html @@ -0,0 +1,10 @@ + + + + + + +

Meta in noscript after template (which is also inside the noscript).

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript-ncr-ref.html b/parser/htmlparser/tests/reftest/in-noscript-ncr-ref.html new file mode 100644 index 0000000000..3581ab68db --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript-ncr-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta with NCR in the encoding label in noscript.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript-ncr.html b/parser/htmlparser/tests/reftest/in-noscript-ncr.html new file mode 100644 index 0000000000..645f151b26 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript-ncr.html @@ -0,0 +1,10 @@ + + + + + + +

Meta with NCR in the encoding label in noscript.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript-ref.html b/parser/htmlparser/tests/reftest/in-noscript-ref.html new file mode 100644 index 0000000000..9bb9f24b88 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta in noscript.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-noscript.html b/parser/htmlparser/tests/reftest/in-noscript.html new file mode 100644 index 0000000000..e76054d618 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-noscript.html @@ -0,0 +1,10 @@ + + + + + + +

Meta in noscript.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-object-ref.html b/parser/htmlparser/tests/reftest/in-object-ref.html new file mode 100644 index 0000000000..3f52d0efe9 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-object-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta in object.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-object.html b/parser/htmlparser/tests/reftest/in-object.html new file mode 100644 index 0000000000..32535b8eba --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-object.html @@ -0,0 +1,10 @@ + + + + + + +

Meta in object.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-script-ref.html b/parser/htmlparser/tests/reftest/in-script-ref.html new file mode 100644 index 0000000000..bbb63fd931 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-script-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta in script.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-script.html b/parser/htmlparser/tests/reftest/in-script.html new file mode 100644 index 0000000000..0c18a4435e --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-script.html @@ -0,0 +1,10 @@ + + + + + + +

Meta in script.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-style-ref.html b/parser/htmlparser/tests/reftest/in-style-ref.html new file mode 100644 index 0000000000..9669146eb5 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-style-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta in style.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-style.html b/parser/htmlparser/tests/reftest/in-style.html new file mode 100644 index 0000000000..69d8fa429c --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-style.html @@ -0,0 +1,10 @@ + + + + + + +

Meta in style.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt-ref.html b/parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt-ref.html new file mode 100644 index 0000000000..2868f47fc2 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt-ref.html @@ -0,0 +1,10 @@ + + + + + + +

In SVG in CDATA after greater-than sign in the CDATA (after head).

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt.html b/parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt.html new file mode 100644 index 0000000000..56783b7afc --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-svg-in-cdata-after-gt.html @@ -0,0 +1,10 @@ + + + + + +><meta charset="windows-1251"> +

In SVG in CDATA after greater-than sign in the CDATA (after head).

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-svg-in-cdata-ref.html b/parser/htmlparser/tests/reftest/in-svg-in-cdata-ref.html new file mode 100644 index 0000000000..1d17d2720b --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-svg-in-cdata-ref.html @@ -0,0 +1,10 @@ + + + + + + +

In SVG in CDATA (after head).

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-svg-in-cdata.html b/parser/htmlparser/tests/reftest/in-svg-in-cdata.html new file mode 100644 index 0000000000..d1c4ca12b3 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-svg-in-cdata.html @@ -0,0 +1,10 @@ + + + + + +<meta charset="windows-1251"> +

In SVG in CDATA (after head).

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-svg-ref.html b/parser/htmlparser/tests/reftest/in-svg-ref.html new file mode 100644 index 0000000000..c9e41aa177 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-svg-ref.html @@ -0,0 +1,10 @@ + + + + + + +

In SVG (after head).

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-svg.html b/parser/htmlparser/tests/reftest/in-svg.html new file mode 100644 index 0000000000..cb29164289 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-svg.html @@ -0,0 +1,10 @@ + + + + + + +

In SVG (after head).

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-template-after-1kb-ref.html b/parser/htmlparser/tests/reftest/in-template-after-1kb-ref.html new file mode 100644 index 0000000000..df20eba39b --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-template-after-1kb-ref.html @@ -0,0 +1,8 @@ + + + + +

In template, before head end tag, after first kilobyte.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-template-after-1kb.html b/parser/htmlparser/tests/reftest/in-template-after-1kb.html new file mode 100644 index 0000000000..ae77decea2 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-template-after-1kb.html @@ -0,0 +1,1046 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

In template, before head end tag, after first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-template-ref.html b/parser/htmlparser/tests/reftest/in-template-ref.html new file mode 100644 index 0000000000..83c0e93072 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-template-ref.html @@ -0,0 +1,9 @@ + + + + + +

Meta in template.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-template.html b/parser/htmlparser/tests/reftest/in-template.html new file mode 100644 index 0000000000..264affc269 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-template.html @@ -0,0 +1,10 @@ + + + + + + +

Meta in template.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-title-ref.html b/parser/htmlparser/tests/reftest/in-title-ref.html new file mode 100644 index 0000000000..5fb8a05f2d --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-title-ref.html @@ -0,0 +1,10 @@ + + + +<meta charset="windows-1251"> + + +

Meta in title.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/in-title.html b/parser/htmlparser/tests/reftest/in-title.html new file mode 100644 index 0000000000..7b72c48dd8 --- /dev/null +++ b/parser/htmlparser/tests/reftest/in-title.html @@ -0,0 +1,10 @@ + + + +<meta charset="windows-1251"> + + +

Meta in title.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/incomplete-xml-decl-ref.html b/parser/htmlparser/tests/reftest/incomplete-xml-decl-ref.html new file mode 100644 index 0000000000..201fe664d5 --- /dev/null +++ b/parser/htmlparser/tests/reftest/incomplete-xml-decl-ref.html @@ -0,0 +1,2 @@ +incomplete-xml-decl.xml
<?xml 
+
diff --git a/parser/htmlparser/tests/reftest/incomplete-xml-decl.xml b/parser/htmlparser/tests/reftest/incomplete-xml-decl.xml new file mode 100644 index 0000000000..1b345b6c84 --- /dev/null +++ b/parser/htmlparser/tests/reftest/incomplete-xml-decl.xml @@ -0,0 +1 @@ + + + + + +

NCR in encoding label.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/ncr.html b/parser/htmlparser/tests/reftest/ncr.html new file mode 100644 index 0000000000..9f8b7308ad --- /dev/null +++ b/parser/htmlparser/tests/reftest/ncr.html @@ -0,0 +1,10 @@ + + + + + + +

NCR in encoding label.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/non-ascii-in-comment-before-ref.html b/parser/htmlparser/tests/reftest/non-ascii-in-comment-before-ref.html new file mode 100644 index 0000000000..bd2acd274c --- /dev/null +++ b/parser/htmlparser/tests/reftest/non-ascii-in-comment-before-ref.html @@ -0,0 +1,9 @@ + + + + + +

Normal meta. Non-ASCII in comment before.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/non-ascii-in-comment-before.html b/parser/htmlparser/tests/reftest/non-ascii-in-comment-before.html new file mode 100644 index 0000000000..148c6544a3 --- /dev/null +++ b/parser/htmlparser/tests/reftest/non-ascii-in-comment-before.html @@ -0,0 +1,11 @@ + + + + + + + +

Normal meta. Non-ASCII in comment before.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/non-ascii-in-title-before-ref.html b/parser/htmlparser/tests/reftest/non-ascii-in-title-before-ref.html new file mode 100644 index 0000000000..4f54732432 --- /dev/null +++ b/parser/htmlparser/tests/reftest/non-ascii-in-title-before-ref.html @@ -0,0 +1,10 @@ + + + +ж + + +

Normal meta. Non-ASCII in title before.

+

Test: ж

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/non-ascii-in-title-before.html b/parser/htmlparser/tests/reftest/non-ascii-in-title-before.html new file mode 100644 index 0000000000..aac0ca94c1 --- /dev/null +++ b/parser/htmlparser/tests/reftest/non-ascii-in-title-before.html @@ -0,0 +1,11 @@ + + + + + + + +

Normal meta. Non-ASCII in title before.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/reftest.list b/parser/htmlparser/tests/reftest/reftest.list new file mode 100644 index 0000000000..52b5bc45b0 --- /dev/null +++ b/parser/htmlparser/tests/reftest/reftest.list @@ -0,0 +1,73 @@ +== bug535530-1.html bug535530-1-ref.html +== view-source:bug535530-2.html bug535530-2-ref.html +== bug566280-1.html bug566280-1-ref.html +== bug569229-1.xml bug569229-1-ref.xml +== bug577418-1.html bug577418-1-ref.html +== bug582788-1.html bug582788-1-ref.html +fuzzy(0-2,0-5) skip-if(OSX) == bug582940-1.html bug582940-1-ref.html +== bug592656-1.html bug592656-1-ref.html +fuzzy(0-1,0-5) == bug599320-1.html bug599320-1-ref.html +fuzzy(0-2,0-5) == bug608373-1.html bug608373-1-ref.html +fuzzy-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccelerated&&!azureSkia,0-73,0-1) == view-source:bug482921-1.html bug482921-1-ref.html +== view-source:bug482921-2.xhtml bug482921-2-ref.html +fuzzy(0-2,0-5) == bug659763-1.html bug659763-1-ref.html +fuzzy(0-1,0-5) == bug659763-2.html bug659763-2-ref.html +fuzzy(0-1,0-5) == bug659763-3.html bug659763-3-ref.html +fuzzy(0-2,0-3) == bug659763-4.html bug659763-4-ref.html +fuzzy(0-1,0-5) == bug659763-5.html bug659763-5-ref.html +fuzzy(0-1,0-5) == bug659763-6.html bug659763-6-ref.html +== view-source:bug673094-1.html view-source:bug673094-1-ref.html +== bug696651-1.html bug696651-1-ref.html +== bug696651-2.html bug696651-2-ref.html +== view-source:bug700260-1.html view-source:bug700260-1-ref.html +== view-source:bug704667-1.html bug704667-1-ref.html +== view-source:bug731234-1.html bug731234-1-ref.html +== bug820508-1.html bug820508-1-ref.html +== view-source:bug910588-1.html bug910588-1-ref.html +== bug1636607-1.html bug1636607-1-ref.html +== bug1636607-2.html bug1636607-2-ref.html +== view-source:bug1319410-1.html bug1319410-1-ref.html +== view-source:bug1650087-1.html bug1650087-1-ref.html +== view-source:bug1726374-1.html bug1726374-1-ref.html +== view-source:bug1153920-1.html bug1153920-1-ref.html +== after-1kb.html after-1kb-ref.html +!= after-bogus-after-1kb.html after-bogus-after-1kb-ref.html +== after-bogus.html after-bogus-ref.html +!= after-head-after-1kb-crlf.html after-head-after-1kb-crlf-ref.html +!= after-head-after-1kb.html after-head-after-1kb-ref.html +== after-head-in-1kb-crlf.html after-head-in-1kb-crlf-ref.html +== after-head-in-1kb.html after-head-in-1kb-ref.html +== baseline.html baseline-ref.html +!= document-write.html document-write-ref.html +!= in-comment.html in-comment-ref.html +!= in-noscript-after-template-after-1kb.html in-noscript-after-template-after-1kb-ref.html +!= in-noscript-after-template.html in-noscript-after-template-ref.html +!= in-noscript.html in-noscript-ref.html +!= in-noscript-ncr.html in-noscript-ncr-ref.html +== in-object.html in-object-ref.html +!= in-script.html in-script-ref.html +!= in-style.html in-style-ref.html +== in-svg.html in-svg-ref.html +!= in-svg-in-cdata-after-gt.html in-svg-in-cdata-after-gt-ref.html +!= in-svg-in-cdata.html in-svg-in-cdata-ref.html +!= in-template-after-1kb.html in-template-after-1kb-ref.html +== in-template.html in-template-ref.html +!= in-title.html in-title-ref.html +== ncr.html ncr-ref.html +== non-ascii-in-comment-before.html non-ascii-in-comment-before-ref.html +== non-ascii-in-title-before.html non-ascii-in-title-before-ref.html +== view-source:xml-1.xml xml-ref.html +HTTP(..) == view-source:xml-trickle-1.sjs xml-ref.html +HTTP(..) == view-source:xml-trickle-2.sjs xml-ref.html +HTTP(..) == view-source:xml-trickle-3.sjs xml-ref.html +HTTP(..) == view-source:xml-trickle-4.sjs xml-utf-ref.html +HTTP(..) == view-source:xml-trickle-5.sjs xml-utf-ref.html +HTTP(..) == view-source:xml-trickle-6.sjs xml-utf-ref.html +skip-if(Android) HTTP(..) == view-source:vs-after-head-in-1kb.html vs-after-head-in-1kb-ref.html # Skipped on Android due to inconsistent scrollbar display +HTTP(..) != view-source:vs-after-head-after-1kb.html vs-after-head-after-1kb-ref.html +HTTP(..) == view-source:vs-non-ascii-in-comment-before.html vs-non-ascii-in-comment-before-ref.html +HTTP(..) == view-source:vs-non-ascii-in-comment-before.sjs vs-non-ascii-in-comment-before-ref.html +== view-source:xml-without-tags.xml xml-without-tags-ref.html +== view-source:incomplete-xml-decl.xml incomplete-xml-decl-ref.html +== view-source:view-source-bom.html view-source-bom-ref.html +skip-if(Android) == bug1749522-1.txt bug1749522-1-ref.txt # Skipped on Android due to suspicion of harness bug diff --git a/parser/htmlparser/tests/reftest/view-source-bom-ref.html b/parser/htmlparser/tests/reftest/view-source-bom-ref.html new file mode 100644 index 0000000000..0ed26be850 --- /dev/null +++ b/parser/htmlparser/tests/reftest/view-source-bom-ref.html @@ -0,0 +1,10 @@ +view-source-bom.html
<!DOCTYPE html>
+<html>
+<head>
+    <title>UTF-8 file with a BOM</title>
+</head>
+<body>
+<p>UTF-8 file with a BOM. Euro sign: €</p>
+</body>
+</html>
+
diff --git a/parser/htmlparser/tests/reftest/view-source-bom.html b/parser/htmlparser/tests/reftest/view-source-bom.html new file mode 100644 index 0000000000..d10d94fbee --- /dev/null +++ b/parser/htmlparser/tests/reftest/view-source-bom.html @@ -0,0 +1,9 @@ + + + + UTF-8 file with a BOM + + +

UTF-8 file with a BOM. Euro sign: €

+ + diff --git a/parser/htmlparser/tests/reftest/vs-after-head-after-1kb-ref.html b/parser/htmlparser/tests/reftest/vs-after-head-after-1kb-ref.html new file mode 100644 index 0000000000..5a721755b1 --- /dev/null +++ b/parser/htmlparser/tests/reftest/vs-after-head-after-1kb-ref.html @@ -0,0 +1,11 @@ +vs-after-head-after-1kb.html
<!DOCTYPE html>
+<head>
+<link rel="mismatch" href="references/after-head-after-1kb-ref.html">
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           </head>
+<meta charset="windows-1251">
+<body>
+<p>After <code>head</code>, before <code>body</code>, after first kilobyte.</p>
+<p>Test: ж</p>
+<p>If &#x0436;, meta takes effect</p>
+</body>
+
diff --git a/parser/htmlparser/tests/reftest/vs-after-head-after-1kb.html b/parser/htmlparser/tests/reftest/vs-after-head-after-1kb.html new file mode 100644 index 0000000000..6637a2a8c5 --- /dev/null +++ b/parser/htmlparser/tests/reftest/vs-after-head-after-1kb.html @@ -0,0 +1,10 @@ + + + + + + +

After head, before body, after first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/vs-after-head-in-1kb-ref.html b/parser/htmlparser/tests/reftest/vs-after-head-in-1kb-ref.html new file mode 100644 index 0000000000..706c20da6e --- /dev/null +++ b/parser/htmlparser/tests/reftest/vs-after-head-in-1kb-ref.html @@ -0,0 +1,12 @@ +vs-after-head-in-1kb.html
<!DOCTYPE html>
+<head>
+<link rel="match" href="references/after-head-in-1kb-ref.html">
+</head>
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
+<meta charset="windows-1251">
+<body>
+<p>After <code>head</code>, before <code>body</code>, within first kilobyte.</p>
+<p>Test: ж</p>
+<p>If &#x0436;, meta takes effect</p>
+</body>
+
diff --git a/parser/htmlparser/tests/reftest/vs-after-head-in-1kb.html b/parser/htmlparser/tests/reftest/vs-after-head-in-1kb.html new file mode 100644 index 0000000000..af63f06acb --- /dev/null +++ b/parser/htmlparser/tests/reftest/vs-after-head-in-1kb.html @@ -0,0 +1,11 @@ + + + + + + + +

After head, before body, within first kilobyte.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before-ref.html b/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before-ref.html new file mode 100644 index 0000000000..66f0338658 --- /dev/null +++ b/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before-ref.html @@ -0,0 +1,12 @@ +vs-non-ascii-in-comment-before.html
<!DOCTYPE html>
+<head>
+<link rel="match" href="references/non-ascii-in-comment-before-ref.html">
+<!-- ж -->
+<meta charset="windows-1251">
+</head>
+<body>
+<p>Normal meta. Non-ASCII in comment before.</p>
+<p>Test: ж</p>
+<p>If &#x0436;, meta takes effect</p>
+</body>
+
diff --git a/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.html b/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.html new file mode 100644 index 0000000000..148c6544a3 --- /dev/null +++ b/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.html @@ -0,0 +1,11 @@ + + + + + + + +

Normal meta. Non-ASCII in comment before.

+

Test:

+

If ж, meta takes effect

+ diff --git a/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.sjs b/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.sjs new file mode 100644 index 0000000000..12b1919ff8 --- /dev/null +++ b/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before.sjs @@ -0,0 +1,16 @@ +var timer; // Place timer in global scope to avoid it getting GC'ed prematurely + +function handleRequest(request, response) +{ + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "text/html", false); + response.write('\n\n\n\n'); + response.bodyOutputStream.flush(); + response.processAsync(); + timer = Components.classes["@mozilla.org/timer;1"] + .createInstance(Components.interfaces.nsITimer); + timer.initWithCallback(function() { + response.write('\n\n\n

Normal meta. Non-ASCII in comment before.

\n

Test: \u00E6

\n

If ж, meta takes effect

\n\n'); + response.finish(); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); +} diff --git a/parser/htmlparser/tests/reftest/xml-1.xml b/parser/htmlparser/tests/reftest/xml-1.xml new file mode 100644 index 0000000000..a6ac350ad3 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-1.xml @@ -0,0 +1 @@ + diff --git a/parser/htmlparser/tests/reftest/xml-ref.html b/parser/htmlparser/tests/reftest/xml-ref.html new file mode 100644 index 0000000000..3bf58fb763 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-ref.html @@ -0,0 +1,2 @@ +
<?xml version='1.0' encoding='windows-1251'?><root>ж</root>
+
diff --git a/parser/htmlparser/tests/reftest/xml-trickle-1.sjs b/parser/htmlparser/tests/reftest/xml-trickle-1.sjs new file mode 100644 index 0000000000..eaec0e37fc --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-trickle-1.sjs @@ -0,0 +1,17 @@ +var timer; // Place timer in global scope to avoid it getting GC'ed prematurely + +function handleRequest(request, response) +{ + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "application/xml", false); + response.write("<"); + response.bodyOutputStream.flush(); + response.processAsync(); + timer = Components.classes["@mozilla.org/timer;1"] + .createInstance(Components.interfaces.nsITimer); + timer.initWithCallback(function() { + response.write("?xml version='1.0' encoding='windows-1251'?>\u00E6\n"); + response.finish(); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); +} + diff --git a/parser/htmlparser/tests/reftest/xml-trickle-2.sjs b/parser/htmlparser/tests/reftest/xml-trickle-2.sjs new file mode 100644 index 0000000000..04c1354fa3 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-trickle-2.sjs @@ -0,0 +1,17 @@ +var timer; // Place timer in global scope to avoid it getting GC'ed prematurely + +function handleRequest(request, response) +{ + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "application/xml", false); + response.write("\u00E6\n"); + response.finish(); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); +} + diff --git a/parser/htmlparser/tests/reftest/xml-trickle-3.sjs b/parser/htmlparser/tests/reftest/xml-trickle-3.sjs new file mode 100644 index 0000000000..e601f69038 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-trickle-3.sjs @@ -0,0 +1,21 @@ +var timer; // Place timer in global scope to avoid it getting GC'ed prematurely + +function handleRequest(request, response) +{ + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "application/xml", false); + response.write("\u00E6\n"); + response.finish(); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); +} + diff --git a/parser/htmlparser/tests/reftest/xml-trickle-4.sjs b/parser/htmlparser/tests/reftest/xml-trickle-4.sjs new file mode 100644 index 0000000000..0ac01d84da --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-trickle-4.sjs @@ -0,0 +1,17 @@ +var timer; // Place timer in global scope to avoid it getting GC'ed prematurely + +function handleRequest(request, response) +{ + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "application/xml", false); + response.write("<"); + response.bodyOutputStream.flush(); + response.processAsync(); + timer = Components.classes["@mozilla.org/timer;1"] + .createInstance(Components.interfaces.nsITimer); + timer.initWithCallback(function() { + response.write("?xml version='1.0'?>\u00D0\u00B6\n"); + response.finish(); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); +} + diff --git a/parser/htmlparser/tests/reftest/xml-trickle-5.sjs b/parser/htmlparser/tests/reftest/xml-trickle-5.sjs new file mode 100644 index 0000000000..815295ac30 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-trickle-5.sjs @@ -0,0 +1,17 @@ +var timer; // Place timer in global scope to avoid it getting GC'ed prematurely + +function handleRequest(request, response) +{ + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "application/xml", false); + response.write("\u00D0\u00B6\n"); + response.finish(); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); +} + diff --git a/parser/htmlparser/tests/reftest/xml-trickle-6.sjs b/parser/htmlparser/tests/reftest/xml-trickle-6.sjs new file mode 100644 index 0000000000..9e96687d19 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-trickle-6.sjs @@ -0,0 +1,21 @@ +var timer; // Place timer in global scope to avoid it getting GC'ed prematurely + +function handleRequest(request, response) +{ + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "application/xml", false); + response.write("\u00D0\u00B6\n"); + response.finish(); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); + }, 10, Components.interfaces.nsITimer.TYPE_ONE_SHOT); +} + diff --git a/parser/htmlparser/tests/reftest/xml-utf-ref.html b/parser/htmlparser/tests/reftest/xml-utf-ref.html new file mode 100644 index 0000000000..98a3100b24 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-utf-ref.html @@ -0,0 +1,2 @@ +
<?xml version='1.0'?><root>ж</root>
+
diff --git a/parser/htmlparser/tests/reftest/xml-without-tags-ref.html b/parser/htmlparser/tests/reftest/xml-without-tags-ref.html new file mode 100644 index 0000000000..d853e67634 --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-without-tags-ref.html @@ -0,0 +1,2 @@ +xml-without-tags.xml
ill-formed
+
diff --git a/parser/htmlparser/tests/reftest/xml-without-tags.xml b/parser/htmlparser/tests/reftest/xml-without-tags.xml new file mode 100644 index 0000000000..ddc2f2135d --- /dev/null +++ b/parser/htmlparser/tests/reftest/xml-without-tags.xml @@ -0,0 +1 @@ +ill-formed -- cgit v1.2.3