Revision 4502480240801eb26c1834728471d939e61c385b authored by Luke Bjerring on 05 April 2018, 15:35:55 UTC, committed by Luke Bjerring on 05 April 2018, 15:35:55 UTC
1 parent 08906cb
postMessage_clone_port_error.htm
<!DOCTYPE html>
<title> postMessage(): cloning source port </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
test(function() {
var channel = new MessageChannel();
channel.port1.start();
assert_throws("DataCloneError", function() {
channel.port1.postMessage("ports", [channel.port1]);
});
});
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...