Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About-to-be-revoked blob URLs in workers and in dynamic import #12247

Open
andreubotella opened this issue Sep 27, 2021 · 0 comments
Open

About-to-be-revoked blob URLs in workers and in dynamic import #12247

andreubotella opened this issue Sep 27, 2021 · 0 comments
Labels
bug Something isn't working correctly web related to Web APIs

Comments

@andreubotella
Copy link
Contributor

Issue #11817 dealt with the case where a Request constructed from a blob URL which was subsequently revoked was supposed to fetch successfully – because URL records in the spec have a "blob URL entry" field that gets populated with the corresponding blob when the URL is parsed, and that blob is used when fetching.

As I pointed out in #11817 (comment), Deno still has this problem for blob URLs when creating workers and in dynamic imports – in the spec, the URL parsing happens synchronously when new Worker(blobUrl) or import(blobUrl) is called, and the blob URL entry gets used during fetching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly web related to Web APIs
Projects
None yet
Development

No branches or pull requests

2 participants