https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 8dd5a4f5f97831059b77c76bb87e906f9eb26d5a authored by Jinho Bang on 05 April 2018, 17:36:25 UTC
WebBluetooth: Use [SecureContext] instead of manual check
Tip revision: 8dd5a4f
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