Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / encoding / bandai-co-jp-releases.html
1 <div class="moz-text-flowed" style="font-family: -moz-fixed">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 </head>
6
7 <body>
8 <p>Test a particular example of broken markup that was making us ignore a charset declaration.</p>
9 <script>
10   if (window.testRunner)
11     testRunner.dumpAsText();
12
13   var charset = document.characterSet;
14   if (!charset)
15     charset = document.charset;
16   if (!charset)
17     charset = document.inputEncoding;
18   document.write("Encoding: " + charset + " (should be Shift_JIS)");
19 </script>
20 </body>
21 </html>