blob: 64e67af87c3ac3c8bfd09075f482bc839d59927c [file] [log] [blame]
<html>
<head>
<foo<meta charset=windows-1255>
</head>
<body>
<pre id="log"></pre>
<script>
function log(message)
{
document.getElementById("log").innerText += message + "\n";
}
if (window.testRunner)
testRunner.dumpAsText();
if (document.inputEncoding == "windows-1255")
log("FAIL: " + document.inputEncoding);
else
log("PASS: " + document.inputEncoding);
</script>
<p>This test baselines charset sniffer behavior where the opening bracket inside a tag is consumed as part of the tag data, causing the meta tag to be missed.
</body>
</html>