Revision 4ed222f683a26ea90dcb5eef36cf3ea9c8ef65a0 authored by Josh Matthews on 12 September 2018, 16:20:36 UTC, committed by GitHub on 12 September 2018, 16:20:36 UTC
1 parent af3dc21
Raw File
WorkerLocation_hostname.htm
<!DOCTYPE html>
<title> WorkerLocation URL decomposition IDL attribute: hostname </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.hostname, location.hostname);
  });
});
</script>
back to top