Bug 1735858 [wpt PR 31247] - App history: make it mostly nonfunctional for opaque...
[gecko.git] / testing / web-platform / tests / encoding / bom-handling.html
blobea70d362546ed0d75129ffa1aed67493cf5ae89e
1 <!-- starts with a UTF-8 BOM -->
2 <!doctype html>
3 <meta charset="windows-1252">
4 <script src=/resources/testharness.js></script>
5 <script src=/resources/testharnessreport.js></script>
6 <title>BOM handling</title>
7 <div id=log></div>
8 <script>
10 test(
11 () => {
12 assert_equals(document.characterSet.toLowerCase(), "utf-8");
14 "document.characterSet should match the BOM"
17 </script>