tor-browser

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

012.html (390B)


      1 <!doctype html>
      2 <title>loop in array in structured clone</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  var x = [];
      9  x[0] = x;
     10  postMessage(x, '*');
     11  onmessage = this.step_func(function(e) {
     12    assert_equals(e.data, e.data[0]);
     13    this.done();
     14  });
     15 });
     16 </script>