Revision e01a49c08af9328337c80b5d946d24b5274bc400 authored by Brad Werth on 26 April 2018, 08:13:36 UTC, committed by moz-wptsync-bot on 26 April 2018, 08:42:17 UTC
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265342 gecko-commit: 3032f8adbcf177c75cb7ddacaade47e23e1ed88f gecko-integration-branch: central gecko-reviewers: dholbert
1 parent c09df8b
WorkerLocation_host.htm
<!DOCTYPE html>
<title> WorkerLocation URL decomposition IDL attribute: host </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.host, location.host);
});
});
</script>
Computing file changes ...