tor-browser

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

WorkerLocation_host.htm (422B)


      1 <!DOCTYPE html>
      2 <title> WorkerLocation URL decomposition IDL attribute: host </title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <div id=log></div>
      6 <script>
      7 async_test(function(t) {
      8  var worker = new Worker('./support/WorkerLocation.js');
      9  worker.onmessage = t.step_func_done(function(e) {
     10    assert_equals(e.data.host, location.host);
     11  });
     12 });
     13 </script>