0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests
Andreu Botella d763633781
feat(etc/fetch): Support WebAssembly.instantiateStreaming for file fetches (#12901)
Fetching of local files, added in #12545, returns a response with no
headers, including the `Content-Type` header. This currently makes it
not work with the WebAssembly streaming APIs, which require the response
to have a content type of `application/wasm`.

Since the only way to obtain a `Response` object with a non-empty `url`
field is via `fetch()`, this change changes the content type requirement
to only apply to responses whose url has the `file:` scheme.
2021-11-26 19:52:41 +11:00
..
integration chore: upgrade lspower to 1.4.0 (#12894) 2021-11-25 12:10:12 +11:00
testdata fix(cli): fix slow test, unbreak ci (#12897) 2021-11-25 14:25:22 +01:00
unit feat(etc/fetch): Support WebAssembly.instantiateStreaming for file fetches (#12901) 2021-11-26 19:52:41 +11:00
integration_tests.rs chore: split up integration_tests.rs into separate files (#11131) 2021-06-27 13:27:36 -04:00