https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 90ceace0e88c4cfcc7eecfef88826fbb6ec76796 authored by Jonathon Kereliuk on 03 April 2018, 17:23:10 UTC
fix test description
Tip revision: 90ceace
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