blob: ea70d362546ed0d75129ffa1aed67493cf5ae89e [file] [log] [blame]
Andreu Botella7d9b5a52020-03-19 11:24:231<!-- 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>
9
10test(
11 () => {
12 assert_equals(document.characterSet.toLowerCase(), "utf-8");
13 },
14 "document.characterSet should match the BOM"
15);
16
17</script>