Skip to content

Commit cff430e

Browse files
committed
Add note about departure from caniuse
1 parent 94e0810 commit cff430e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

feature-group-definitions/streams.dist.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ status:
1616
firefox_android: "102"
1717
safari: "16.4"
1818
safari_ios: "16.4"
19+
# TODO: Represent partial support with BYOB (Safari 14.1+).
20+
# This set of compat features omits `ReadableStreamBYOBReader` and
21+
# `ReadableStreamBYOBRequest`, since this API is usable for some applications
22+
# without BYOB. This differs from caniuse, which says that this feature is only
23+
# partially supported. Until we can represent partial support in our data, or
24+
# consult with caniuse on splitting this into BYOB and non-BYOB streams
25+
# features, we think this more accurately characterizes the state of this API.
1926
compat_features:
2027
- api.ByteLengthQueuingStrategy
2128
- api.ByteLengthQueuingStrategy.ByteLengthQueuingStrategy
@@ -51,7 +58,6 @@ compat_features:
5158
- api.ReadableStream.pipeThrough
5259
- api.ReadableStream.pipeTo
5360
- api.ReadableStream.tee
54-
# TODO: consider whether breaking this out into a separate feature (and asking caniuse to do the same)
5561
# - api.ReadableStreamBYOBReader
5662
# - api.ReadableStreamBYOBReader.ReadableStreamBYOBReader
5763
# - api.ReadableStreamBYOBReader.cancel

feature-group-definitions/streams.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: Streams
22
description: The streams API creates, composes, and consumes continuously generated data.
33
spec: https://streams.spec.whatwg.org/
44
caniuse: streams
5+
# TODO: Represent partial support with BYOB (Safari 14.1+).
6+
# This set of compat features omits `ReadableStreamBYOBReader` and
7+
# `ReadableStreamBYOBRequest`, since this API is usable for some applications
8+
# without BYOB. This differs from caniuse, which says that this feature is only
9+
# partially supported. Until we can represent partial support in our data, or
10+
# consult with caniuse on splitting this into BYOB and non-BYOB streams
11+
# features, we think this more accurately characterizes the state of this API.
512
compat_features:
613
- api.ByteLengthQueuingStrategy
714
- api.ByteLengthQueuingStrategy.ByteLengthQueuingStrategy
@@ -37,7 +44,6 @@ compat_features:
3744
- api.ReadableStream.pipeThrough
3845
- api.ReadableStream.pipeTo
3946
- api.ReadableStream.tee
40-
# TODO: consider whether breaking this out into a separate feature (and asking caniuse to do the same)
4147
# - api.ReadableStreamBYOBReader
4248
# - api.ReadableStreamBYOBReader.ReadableStreamBYOBReader
4349
# - api.ReadableStreamBYOBReader.cancel

0 commit comments

Comments
 (0)