summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarcos Casagrande <marcoscvp90@gmail.com>2023-08-15 09:21:02 +0200
committerGitHub <noreply@github.com>2023-08-15 09:21:02 +0200
commit0fc31d9d657b4ccf24099803d5321182f08f710c (patch)
treeebe525efbe1d33b6daa3a9e8be95ebb53600a4a1 /tools
parent119526a7a5fef24783e5a7a5f4fb05038b410c88 (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 'tools')
-rw-r--r--tools/wpt/expectation.json32
1 files changed, 2 insertions, 30 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 289698c1e..861530841 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -4382,36 +4382,8 @@
"response-from-stream.any.worker.html": true,
"response-cancel-stream.any.html": true,
"response-cancel-stream.any.worker.html": true,
- "response-clone.any.html": [
- "Check response clone use structureClone for teed ReadableStreams (Int8Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Int16Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Int32Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (ArrayBufferchunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint8Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint8ClampedArraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint16Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint32Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (BigInt64Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (BigUint64Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Float32Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Float64Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (DataViewchunk)"
- ],
- "response-clone.any.worker.html": [
- "Check response clone use structureClone for teed ReadableStreams (Int8Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Int16Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Int32Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (ArrayBufferchunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint8Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint8ClampedArraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint16Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Uint32Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (BigInt64Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (BigUint64Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Float32Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (Float64Arraychunk)",
- "Check response clone use structureClone for teed ReadableStreams (DataViewchunk)"
- ],
+ "response-clone.any.html": true,
+ "response-clone.any.worker.html": true,
"response-consume-empty.any.html": [
"Consume empty FormData response body as text"
],