tor-browser

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

worker-import.tentative.html (395B)


      1 <!DOCTYPE html>
      2 <title>Testing import of WebAssembly from JavaScript worker</title>
      3 
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <script type=module>
      7 setup({ single_test: true });
      8 const worker = new Worker("resources/worker.js", { type: "module" });
      9 worker.onmessage = (msg) => {
     10  assert_equals(msg.data, 42);
     11  done();
     12 }
     13 </script>