<head>
<meta charset="utf-8">
</head>
<body>
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=18681">bug 18681</a>:
BOM characters should not be removed from input stream.<p>
<div id=BOMs></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.write(document.getElementById("BOMs").innerHTML.length == 1 ? "PASS" : "FAIL");
</script>
</body>