tor-browser

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

013.html (396B)


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