Revision 31c11a7a91486a50fceaa68f3773a5b915e8824d authored by Luke Bjerring on 20 March 2018, 13:10:20 UTC, committed by Philip Jägenstedt on 20 March 2018, 13:10:20 UTC
1 parent f2ae764
Raw File
MessagePort_initial_disabled.htm
<!DOCTYPE html>
<title>MessageChannel: port message queue is initially disabled</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
  var channel = new MessageChannel();
  channel.port2.addEventListener("message", t.unreached_func(), true);
  channel.port1.postMessage("ping");
  setTimeout(t.step_func_done(), 100);
});
</script>
back to top