module: support `import()`-ing `blob:` urls
Fixes #47573
Notable Change
The import()
function can now receive blob:
protocol URLs as an input. These blobs must be one of the following types:
-
text/javascript
for ES modules -
application/json
for JSON -
application/wasm
for Wasm
Blob URLs are registered within the current thread. Loaders will not be able to handle resolve Blob's from the main thread.