Skip to content

Commit

Permalink
Add note about departure from caniuse
Browse files Browse the repository at this point in the history
  • Loading branch information
ddbeck committed Apr 29, 2024
1 parent 94e0810 commit cff430e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion feature-group-definitions/streams.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ status:
firefox_android: "102"
safari: "16.4"
safari_ios: "16.4"
# TODO: Represent partial support with BYOB (Safari 14.1+).
# This set of compat features omits `ReadableStreamBYOBReader` and
# `ReadableStreamBYOBRequest`, since this API is usable for some applications
# without BYOB. This differs from caniuse, which says that this feature is only
# partially supported. Until we can represent partial support in our data, or
# consult with caniuse on splitting this into BYOB and non-BYOB streams
# features, we think this more accurately characterizes the state of this API.
compat_features:
- api.ByteLengthQueuingStrategy
- api.ByteLengthQueuingStrategy.ByteLengthQueuingStrategy
Expand Down Expand Up @@ -51,7 +58,6 @@ compat_features:
- api.ReadableStream.pipeThrough
- api.ReadableStream.pipeTo
- api.ReadableStream.tee
# TODO: consider whether breaking this out into a separate feature (and asking caniuse to do the same)
# - api.ReadableStreamBYOBReader
# - api.ReadableStreamBYOBReader.ReadableStreamBYOBReader
# - api.ReadableStreamBYOBReader.cancel
Expand Down
8 changes: 7 additions & 1 deletion feature-group-definitions/streams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: Streams
description: The streams API creates, composes, and consumes continuously generated data.
spec: https://streams.spec.whatwg.org/
caniuse: streams
# TODO: Represent partial support with BYOB (Safari 14.1+).
# This set of compat features omits `ReadableStreamBYOBReader` and
# `ReadableStreamBYOBRequest`, since this API is usable for some applications
# without BYOB. This differs from caniuse, which says that this feature is only
# partially supported. Until we can represent partial support in our data, or
# consult with caniuse on splitting this into BYOB and non-BYOB streams
# features, we think this more accurately characterizes the state of this API.
compat_features:
- api.ByteLengthQueuingStrategy
- api.ByteLengthQueuingStrategy.ByteLengthQueuingStrategy
Expand Down Expand Up @@ -37,7 +44,6 @@ compat_features:
- api.ReadableStream.pipeThrough
- api.ReadableStream.pipeTo
- api.ReadableStream.tee
# TODO: consider whether breaking this out into a separate feature (and asking caniuse to do the same)
# - api.ReadableStreamBYOBReader
# - api.ReadableStreamBYOBReader.ReadableStreamBYOBReader
# - api.ReadableStreamBYOBReader.cancel
Expand Down

0 comments on commit cff430e

Please sign in to comment.