servo/tests/wpt/web-platform-tests/fetch/nosniff/importscripts.html
2015-04-09 14:38:04 +02:00

14 lines
373 B
HTML

<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>