tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

sniffing.html (448B)


      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>