https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6b4d9e77890ee0ab0b24e4ee023b14dd92daaaf4 authored by Ben Kelly on 28 March 2018, 19:46:15 UTC
P2 Add a WPT test verifying synthetic responses work when a request fragment is present.
Tip revision: 6b4d9e7
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