diff options
author | Marcos Casagrande <marcoscvp90@gmail.com> | 2023-08-15 09:21:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 09:21:02 +0200 |
commit | 0fc31d9d657b4ccf24099803d5321182f08f710c (patch) | |
tree | ebe525efbe1d33b6daa3a9e8be95ebb53600a4a1 /runtime/js/99_main.js | |
parent | 119526a7a5fef24783e5a7a5f4fb05038b410c88 (diff) |
fix(ext/fetch): clone second branch chunks in Body.clone() (#20057)
This PR makes `Body.clone()` spec compliant:
https://fetch.spec.whatwg.org/#concept-body-clone
> 1, Let « out1, out2 » be the result of
[teeing](https://streams.spec.whatwg.org/#readablestream-tee) body’s
[stream](https://fetch.spec.whatwg.org/#concept-body-stream).
> ...
> To tee a
[ReadableStream](https://streams.spec.whatwg.org/#readablestream)
stream, return ?
[ReadableStreamTee](https://streams.spec.whatwg.org/#readable-stream-tee)(stream,
true).
---
Closes #10994
Diffstat (limited to 'runtime/js/99_main.js')
0 files changed, 0 insertions, 0 deletions