https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d76d22c38009cfb499c5b39ff03242a0b3417af0 authored by Darren Shen on 04 April 2018, 10:55:28 UTC
[css-typed-om] Support animation and transition properties.
Tip revision: d76d22c
WorkerLocation_port.htm
<!DOCTYPE html>
<title> WorkerLocation URL decomposition IDL attribute: port </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
  var worker = new Worker('./support/WorkerLocation.js');
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(e.data.port, location.port);
  });
});
</script>
back to top