Reviewed by Eric Seidel.
[WebKit-https.git] / LayoutTests / fast / encoding / bom-in-content.html
1 <head>
2 <meta charset="utf-8">
3 </head>
4 <body>
5 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=18681">bug 18681</a>:
6 BOM characters should not be removed from input stream.<p>
7 <div id=BOMs></div>
8 <script>
9 if (window.layoutTestController)
10     layoutTestController.dumpAsText();
11
12 document.write(document.getElementById("BOMs").innerHTML.length == 1 ? "PASS" : "FAIL");
13 </script>
14 </body>