summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/nosniff/importscripts.html
blob: 920b6bdd40910ee678b8428116a3f22a2b2dfc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
 async_test(function(t) {
   var w = new Worker("importscripts.js")
   w.onmessage = t.step_func(function(e) {
     if(e.data == "END")
       t.done()
     else
       assert_equals(e.data, "PASS")
   })
 }, "Test importScripts()")
</script>