Revision d22eb57f5195adfdff0ce3e4509845c0856a1eeb authored by Mantaroh Yoshinaga on 08 April 2016, 10:15:50 UTC, committed by James Graham on 08 April 2016, 11:00:29 UTC
Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1259344
1 parent cfcaa6f
Raw File
WorkerGlobalScope_importScripts.htm
<!DOCTYPE html>
<title> WorkerGlobalScope API: importScripts() </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/ImportScripts.js");
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(e.data, "Pass");
  });
  worker.postMessage("ping");
});
</script>
back to top