Skip to content

Commit 12778fd

Browse files
committed
Disambiguate fetch-request-streams feature
Rewrite the fetch-request-streams feature to make it more clear what precise property it covers, and add a new fetch-body-stream feature to cover the `body` option to the `fetch` function supporting `ReadableStream` objects.
1 parent 02ef990 commit 12778fd

File tree

5 files changed

+18
-10
lines changed

5 files changed

+18
-10
lines changed

features/fetch-body-stream.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: fetch ReadableStream body
2+
description: The `body` option passed to `fetch()` can be a `ReadableStream`.
3+
spec: https://fetch.spec.whatwg.org/#bodyinit
4+
compat_features:
5+
- api.Request.Request.request_body_readablestream
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Generated from: fetch-body-stream.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "105"
8+
chrome_android: "105"
9+
edge: "105"
10+
compat_features:
11+
- api.Request.Request.request_body_readablestream

features/fetch-request-streams.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Fetch upload streams
2-
description: A `fetch()` request uploads a stream of data to the server when a request's `body` property is a `ReadableStream` object.
1+
name: Request body property
2+
description: A `body` property representing a `ReadableStream` is available on `Request` objects returned by `fetch()`.
33
spec: https://fetch.spec.whatwg.org/#concept-body-stream
44
compat_features:
55
- api.Request.body

features/fetch.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ compat_features:
2525
- api.Request.Request.cross_origin_stripped
2626
- api.Request.Request.init_keepalive_parameter
2727
- api.Request.Request.init_referrer_parameter
28-
- api.Request.Request.request_body_readablestream
2928
- api.Request.Request.response_body_readablestream
3029
- api.Request.arrayBuffer
3130
- api.Request.blob

features/fetch.yml.dist

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -442,13 +442,6 @@ compat_features:
442442
# edge: "79"
443443
- api.Request.isHistoryNavigation
444444

445-
# baseline: false
446-
# support:
447-
# chrome: "105"
448-
# chrome_android: "105"
449-
# edge: "105"
450-
- api.Request.Request.request_body_readablestream
451-
452445
# baseline: false
453446
# support:
454447
# chrome: "131"

0 commit comments

Comments
 (0)