tor-browser

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

undefined-transferable.html (375B)


      1 <!doctype html>
      2 <title>undefined as transferable</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() {
      8  postMessage('', {transfer: undefined});
      9  onmessage = this.step_func(function(e) {
     10    assert_array_equals(e.ports, []);
     11    this.done();
     12  });
     13 });
     14 </script>