Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions features/fetch-request-streams.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Fetch upload streams
description: A `fetch()` request uploads a stream of data to the server when a request's `body` property is a `ReadableStream` object.
name: Request body property
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing I'm not 100% sure about is the name. Isn't it a problem that we're loosing the "stream" part of it?
According to MDN, the body part of a request can either be null or a stream.
So, really, it's only used for streaming requests to a server, right?

What other things can it be used for?

description: A `ReadableStream` can be used as the body of a `Request` object.
spec: https://fetch.spec.whatwg.org/#concept-body-stream
compat_features:
- api.Request.body
- api.Request.Request.request_body_readablestream
17 changes: 15 additions & 2 deletions features/fetch-request-streams.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ status:
chrome: "105"
chrome_android: "105"
edge: "105"
safari: "11.1"
safari_ios: "11.3"
compat_features:
# baseline: false
# support:
# chrome: "105"
# chrome_android: "105"
# edge: "105"
# safari: "11.1"
# safari_ios: "11.3"
- api.Request.body

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "105"
# chrome_android: "105"
# edge: "105"
- api.Request.Request.request_body_readablestream
1 change: 0 additions & 1 deletion features/fetch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ compat_features:
- api.Request.Request.cross_origin_stripped
- api.Request.Request.init_keepalive_parameter
- api.Request.Request.init_referrer_parameter
- api.Request.Request.request_body_readablestream
- api.Request.Request.response_body_readablestream
- api.Request.arrayBuffer
- api.Request.blob
Expand Down
7 changes: 0 additions & 7 deletions features/fetch.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -442,13 +442,6 @@ compat_features:
# edge: "79"
- api.Request.isHistoryNavigation

# baseline: false
# support:
# chrome: "105"
# chrome_android: "105"
# edge: "105"
- api.Request.Request.request_body_readablestream

# baseline: false
# support:
# chrome: "131"
Expand Down