Index: third_party/WebKit/LayoutTests/imported/wpt/workers/WorkerGlobalScope_importScripts_NetworkErr.htm |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/WorkerGlobalScope_importScripts_NetworkErr.htm b/third_party/WebKit/LayoutTests/imported/wpt/workers/WorkerGlobalScope_importScripts_NetworkErr.htm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..36fe6e0b2d3a5b5c93f9fd2e93a6d4f2601de5fd |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/WorkerGlobalScope_importScripts_NetworkErr.htm |
@@ -0,0 +1,13 @@ |
+<!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> |