Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/008.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/008.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/008.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..07b800ebb89fd900e67a7bbdf37d615b188b0a50 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/008.html |
@@ -0,0 +1,23 @@ |
+<!-- |
+var log = postMessage; |
+importScripts('data:text/javascript,function run() { log(true) }'); |
+run(); |
+/* |
+--> |
+<!doctype html> |
+<title>variables and functions crossing importScripts boundary</title> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<script> |
+async_test(function() { |
+ var worker = new Worker('#'); |
+ worker.onmessage = this.step_func(function(e) { |
+ assert_true(e.data); |
+ this.done(); |
+ }); |
+}); |
+</script> |
+<!-- |
+*/ |
+//--> |