blob: 2b738c4d38587bf1d3adc9aeb1d4bb4fa1ddf580 [file] [log] [blame]
<html>
<head>
</script>
<meta charset=windows-1255>
</head>
<body>
<pre id="log"></pre>
<script>
function log(message)
{
document.getElementById("log").innerText += message + "\n";
}
if (window.layoutTestController)
layoutTestController.dumpAsText();
if (document.inputEncoding == "windows-1255")
log("PASS: " + document.inputEncoding);
else
log("FAIL: " + document.inputEncoding);
</script>
<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>
</body>
</html>