tor-browser

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

second-argument-undefined.html (424B)


      1 <!doctype html>
      2 <title>Using undefined in postMessage's second argument</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()).step(function() {
      8  var worker = new Worker('second-argument-undefined.js');
      9  worker.onmessage = this.step_func(function(e) {
     10    assert_equals(e.data, 1);
     11    this.done();
     12  });
     13 });
     14 </script>