summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/parser-tests-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/parser-tests-expected.txt')
-rw-r--r--LayoutTests/fast/encoding/parser-tests-expected.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/parser-tests-expected.txt b/LayoutTests/fast/encoding/parser-tests-expected.txt
new file mode 100644
index 0000000..fb15ae2
--- /dev/null
+++ b/LayoutTests/fast/encoding/parser-tests-expected.txt
@@ -0,0 +1,39 @@
+This test suite was converted from http://www.hixie.ch/tests/adhoc/html/parsing/encoding/all.html
+
+Expected failures:
+56, 57, 58, 59 - we do not run scripts during encoding detection phase and parser treats meta inside a script as text, not a tag.
+60 - parser treats meta inside style as text, not a tag.
+97, 99, 102 - we do not run scripts during encoding detection.
+Status: Tests ran.
+
+Serious failures:
+
+test 056: expected Windows-1254; used Windows-1252
+<!DOCTYPE HTML>
+<script>document.write('<meta charset="ISO-8859-' + '9">')</script>
+test 057: expected Windows-1254; used Windows-1252
+<!DOCTYPE HTML>
+<script>var s = '9">'; document.write('<meta charset="ISO-8859-' + s)</script>
+test 058: expected Windows-1254; used Windows-1252
+<!DOCTYPE HTML>
+<script>document.write('<meta charset="ISO-8859-9">')</script>
+test 059: expected Windows-1254; used Windows-1252
+<!DOCTYPE HTML>
+<script type="text/plain"><meta charset="ISO-8859-9"></script>
+test 060: expected Windows-1254; used Windows-1252
+<!DOCTYPE HTML>
+<style type="text/plain"><meta charset="ISO-8859-9"></style>
+test 097: expected Windows-1254; used Windows-1252
+<!DOCTYPE HTML>
+<script>document.write(atob('PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7Y2hhcnNldD1JU08tODg1OS05Ij4='))</script>
+test 099: expected Windows-1252; used Windows-1254
+<!DOCTYPE HTML>
+<script>document.write(atob('PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7Y2hhcnNldD1JU08tODg1OS0xIj4='))</script>
+<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-9">
+test 102: expected Windows-1254; used Windows-1252
+<!DOCTYPE HTML>
+<script>document.write(atob('PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7Y2hhcnNldD1JU08tODg1OS05Ij4='))</script>
+<script>document.write(atob('PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7Y2hhcnNldD1JU08tODg1OS0xIj4='))</script>
+(Tests are considered to pass even if they treat Win1254 and ISO-8859-4 as separate.)
+
+