4 <meta charset=windows-1255>
11 document.getElementById("log").innerText += message + "\n";
14 if (window.layoutTestController)
15 layoutTestController.dumpAsText();
17 if (document.inputEncoding == "windows-1255")
18 log("PASS: " + document.inputEncoding);
20 log("FAIL: " + document.inputEncoding);
22 <p>This test checks that charset sniffer does not get confused by the extraneous end script tag and ignore the meta tag, thinking it is inside a script.</p>