tor-browser

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

name.html (372B)


      1 <!doctype html>
      2 <title>self.name</title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <script>
      6 async_test(t => {
      7  const worker = new SharedWorker('name.js', 'hello');
      8  worker.port.onmessage = t.step_func_done(e => {
      9    assert_equals(e.data, 'hello');
     10  });
     11 }, 'Test self.name in a shared worker');
     12 </script>