https://github.com/web-platform-tests/wpt
Raw File
Tip revision: b6d437037393dc8b289bfb3504fc21a808760be3 authored by Michael[tm] Smith on 23 March 2018, 10:42:57 UTC
cc Update messages.json
Tip revision: b6d4370
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