summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/bom-in-content.html
blob: c30a914130efc6aa65ecf2feef63491bd26cd88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>