https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 190c3feba3a42cbc4c32facd7994c190589d889e authored by Liam R. E. Quin on 26 March 2018, 01:04:45 UTC
[svg 2 text] test for length and indexed access
Tip revision: 190c3fe
WorkerLocation_hash.htm
<!DOCTYPE html>
<title> WorkerLocation URL decomposition IDL attribute: hash </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#HashString");
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(e.data.hash, "#HashString");
  });
});
</script>
back to top