tor-browser

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

iso-8859-3.html (802B)


      1 <html>
      2 <head>
      3    <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'nonce-abc' 'sha256-hbNM6T3uO5pu4o5YfNnUmwtq5VHHMr7V5ospXtx9bqU=';">
      4    <script src='/resources/testharness.js'></script>
      5    <script src='/resources/testharnessreport.js'></script>
      6 </head>
      7 <body>
      8    <script nonce="abc">
      9      var t3 = async_test("Should convert the script contents to UTF-8 before hashing");
     10      window.addEventListener("securitypolicyviolation", t3.unreached_func("Should not have fired a spv"));
     11    </script>
     12 
     13    <!-- � (latin capital letter g with breve) has the value of 0xAB in latin-3 and of 0xC49E in utf-8 but the hash value should be the same as the utf-8 computed one -->
     14    <script>
     15      // � - latin capital letter g with breve
     16      t3.done();
     17    </script>
     18 </body>
     19 </html>