From 966ce7de8a23f63d0f30b1748fe69ccaf07519e0 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 7 Apr 2021 15:22:14 +0200 Subject: feat: blob URL support (#10045) This commit adds blob URL support. Blob URLs are stored in a process global storage, that can be accessed from all workers, and the module loader. Blob URLs can be created using `URL.createObjectURL` and revoked using `URL.revokeObjectURL`. This commit does not add support for `fetch`ing blob URLs. This will be added in a follow up commit. --- cli/tests/import_blob_url_error_stack.ts.out | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cli/tests/import_blob_url_error_stack.ts.out (limited to 'cli/tests/import_blob_url_error_stack.ts.out') diff --git a/cli/tests/import_blob_url_error_stack.ts.out b/cli/tests/import_blob_url_error_stack.ts.out new file mode 100644 index 000000000..18ca023e3 --- /dev/null +++ b/cli/tests/import_blob_url_error_stack.ts.out @@ -0,0 +1,6 @@ +[WILDCARD]error: Uncaught (in promise) Error: Hello 2 + throw new Error(`Hello ${A.C}`); + ^ + at a (blob:null/[WILDCARD]:8:10) + at file:///[WILDCARD]/cli/tests/import_blob_url_error_stack.ts:13:1 +[WILDCARD] -- cgit v1.2.3