https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a33361b185e82897498c7385c332ca82320f1283 authored by Luke Bjerring on 28 March 2018, 20:13:26 UTC
Surface correct type for partial dictionary error
Tip revision: a33361b
012.html
<!doctype html>
<title>loop in array in structured clone</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
  var x = [];
  x[0] = x;
  postMessage(x, '*', []);
  onmessage = this.step_func(function(e) {
    assert_equals(e.data, e.data[0]);
    this.done();
  });
});
</script>
back to top