1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/ext/fetch
Andreu Botella 5edd277161
feat: Show the URL of streaming WASM modules in stack traces (#12268)
WebAssembly modules compiled through `WebAssembly.compile()` and similar
non-streaming APIs don't have a URL associated to them, because they
have been compiled from a buffer source. In stack traces, V8 will use
a URL such as `wasm://wasm/d1c677ea`, with a hash of the module.

However, wasm modules compiled through streaming APIs, like
`WebAssembly.compileStreaming()`, do have a known URL, which can be
obtained from the `Response` object passed into the streaming APIs. And
as per the developer-facing display conventions in the WebAssembly
Web API spec, this URL should be used in stack traces. This change
implements that.
2021-10-10 16:03:23 +02:00
..
01_fetch_util.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
20_headers.js perf(fetch): optimize fillHeaders() key iteration (#12287) 2021-10-01 12:17:16 +02:00
21_formdata.js fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
22_body.js perf(fetch): fast path Uint8Array in extractBody() (#12351) 2021-10-07 22:57:17 +02:00
22_http_client.js feat(tls): custom in memory CA certificates (#12219) 2021-09-30 09:26:15 +02:00
23_request.js perf(fetch): optimize newInnerRequest blob url check (#12245) 2021-09-27 13:19:24 +02:00
23_response.js perf(fetch/Response): avoid class fields (#12237) 2021-09-27 10:51:32 +02:00
26_fetch.js feat: Show the URL of streaming WASM modules in stack traces (#12268) 2021-10-10 16:03:23 +02:00
Cargo.toml chore: merge v1.14.3 into main (#12327) 2021-10-05 21:40:39 +02:00
internal.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.deno_fetch.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.rs chore: various op cleanup (#12329) 2021-10-05 22:38:27 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_fetch

This crate implements the Fetch API.

Spec: https://fetch.spec.whatwg.org/