Skip to content

Commit 7ffcd14

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 7ffcd14

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

features/fetch-request-streams.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
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 `ReadableStream` can be used as the body of a `Request` object.
33
spec: https://fetch.spec.whatwg.org/#concept-body-stream
44
compat_features:
55
- api.Request.body
6+
- api.Request.Request.request_body_readablestream

features/fetch-request-streams.yml.dist

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,20 @@ status:
77
chrome: "105"
88
chrome_android: "105"
99
edge: "105"
10-
safari: "11.1"
11-
safari_ios: "11.3"
1210
compat_features:
11+
# baseline: false
12+
# support:
13+
# chrome: "105"
14+
# chrome_android: "105"
15+
# edge: "105"
16+
# safari: "11.1"
17+
# safari_ios: "11.3"
1318
- api.Request.body
19+
20+
# ⬇️ Same status as overall feature ⬇️
21+
# baseline: false
22+
# support:
23+
# chrome: "105"
24+
# chrome_android: "105"
25+
# edge: "105"
26+
- api.Request.Request.request_body_readablestream

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)