tor-browser

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

sharedarraybuffer.https.html (362B)


      1 <!DOCTYPE html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script>
      5 
      6 test(() => {
      7  const decoder = new TextDecoder('utf-8');
      8  const buffer = new SharedArrayBuffer(4);
      9  assert_equals(decoder.decode(new Uint8Array(buffer)), "\u0000\u0000\u0000\u0000");
     10 }, 'decoding SharedArrayBuffer');
     11 
     12 </script>