https://github.com/web-platform-tests/wpt
Raw File
Tip revision: b06fee616a2c20710cbfe8a031f2c4523870ec17 authored by Yoshifumi Inoue on 22 March 2018, 04:00:01 UTC
Make Range::intersectsNode() to follow the spec
Tip revision: b06fee6
002.html
<!doctype html>
<title>without start()</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.port1.postMessage(1);
  var i = 0;
  channel.port2.addEventListener('message', function() { i++; }, false);
  setTimeout(t.step_func(function() { assert_equals(i, 0); t.done();}), 50);
});
</script>
back to top