blob: c30a914130efc6aa65ecf2feef63491bd26cd88c [file] [log] [blame]
<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.layoutTestController)
layoutTestController.dumpAsText();
document.write(document.getElementById("BOMs").innerHTML.length == 1 ? "PASS" : "FAIL");
</script>
</body>