tor-browser

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

005.html (560B)


      1 <!doctype html>
      2 <title>base url, dedicated worker</title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <div id=log></div>
      6 <script>
      7 var t = async_test();
      8 var i = 0;
      9 function runtest() {
     10  i++;
     11  if (i != 2)
     12    return;
     13  var worker = new Worker('support/005-1.js');
     14  worker.onmessage = this.step_func(function(e) {
     15    assert_true(e.data);
     16    this.done();
     17  });
     18 }
     19 </script>
     20 <iframe src=001-1.xml onload="t.step(runtest);"></iframe>
     21 <iframe src=support/001-1.xml onload="t.step(runtest);"></iframe>