• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This test suite was converted from http://www.hixie.ch/tests/adhoc/html/parsing/encoding/all.html
2
3The suite has been broken up to run the tests in smaller batches.
4
5Expected failures:
656, 57, 58, 59 - we do not run scripts during encoding detection phase and parser treats meta inside a script as text, not a tag.
760 - parser treats meta inside style as text, not a tag.
897, 99, 102 - we do not run scripts during encoding detection.
9Status: Tests ran.
10
11Serious failures:
12
13test 056: expected Windows-1254; used Windows-1252
14<!DOCTYPE HTML>
15<script>document.write('<meta charset="ISO-8859-' + '9">')</script>
16test 057: expected Windows-1254; used Windows-1252
17<!DOCTYPE HTML>
18<script>var s = '9">'; document.write('<meta charset="ISO-8859-' + s)</script>
19test 058: expected Windows-1254; used Windows-1252
20<!DOCTYPE HTML>
21<script>document.write('<meta charset="ISO-8859-9">')</script>
22test 059: expected Windows-1254; used Windows-1252
23<!DOCTYPE HTML>
24<script type="text/plain"><meta charset="ISO-8859-9"></script>
25(Tests are considered to pass even if they treat Win1254 and ISO-8859-4 as separate.)
26
27
28