https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 34b90dfea76b0d36ae3b4bb7cf7fe7a3824bd8b9 authored by Ms2ger on 15 January 2015, 09:47:51 UTC
Follow current guidelines for manual tests.
Tip revision: 34b90df
WorkerGlobalScope_importScripts_NetworkErr.htm
<!DOCTYPE html>
<title> importScripts() with non-existent script file </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/ImportScriptsNetworkErr.js");
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(e.data, "Pass");
  });
});
</script>
back to top