deno
deno copied to clipboard
fix(node): seperate worker module cache
Construct a new module graph container for workers instead of sharing it with the main worker.
Fixes #17248 Fixes #23461
Looks like some wpt tests are failing now.
Looks like some wpt tests are failing now.
It's a new test thats passing now.
"/html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url-workers.window.html - A revoked blob URL will not resolve in a worker even if it's in the window's module graph"
Other issues that might potentially get fixed by this one:
- https://github.com/denoland/deno/issues/21035
- https://github.com/denoland/deno/issues/18414
- https://github.com/denoland/deno/issues/20104