tor-browser

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

002.html (458B)


      1 <!doctype html>
      2 <title>sync XMLHttpRequest in 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 function runtest() {
      9  var worker = new Worker('002.js');
     10  worker.onmessage = this.step_func(function(e) {
     11    assert_equals(e.data, '');
     12    this.done();
     13  });
     14 }
     15 </script>
     16 <iframe src=001-1.xml onload="t.step(runtest);"></iframe>