https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 18fb4e01f0093e384c9c10fdd54a0f75f242b204 authored by Greg Whitworth on 28 June 2017, 01:37:45 UTC
Made changes based on analysis of tests that were <= 5 tests to a given url hash in flex
Tip revision: 18fb4e0
MessagePort_onmessage_start.htm
<!DOCTYPE html>
<title>MessageChannel: port.onmessage enables message queue</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.onmessage = t.step_func_done();
  channel.port1.postMessage("ping");
  setTimeout(t.unreached_func(), 100);
});
</script>
back to top