summaryrefslogtreecommitdiff
path: root/cli/tests/error_worker_dynamic.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/error_worker_dynamic.ts')
-rw-r--r--cli/tests/error_worker_dynamic.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/error_worker_dynamic.ts b/cli/tests/error_worker_dynamic.ts
new file mode 100644
index 000000000..16fadf573
--- /dev/null
+++ b/cli/tests/error_worker_dynamic.ts
@@ -0,0 +1,3 @@
+const b = new Blob(['throw new Error("hello");']);
+const blobURL = URL.createObjectURL(b);
+new Worker(blobURL);