Bug 1735858 [wpt PR 31247] - App history: make it mostly nonfunctional for opaque...
[gecko.git] / testing / web-platform / tests / encoding / sniffing.html
blob480be55515e8c7aeacff11ab8423348bdbf65bad
1 <!doctype html>
2 <script src=/resources/testharness.js></script>
3 <script src=/resources/testharnessreport.js></script>
4 <title>No (UTF-8) sniffing allowed</title>
5 <div id=log></div>
6 <div id=content>€€ Hello World! €€</div>
7 <script>
8 test(() => {
9 assert_equals(document.getElementById("content").textContent, "\u00C2\u20AC\u00C2\u20AC Hello World! \u00C2\u20AC\u00C2\u20AC");
10 assert_equals(document.characterSet, "windows-1252");
11 });
12 </script>