From 7da124f303fe1c5d3a087a7b93c6624e56f4deba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Mon, 3 Jun 2024 17:46:03 +0200 Subject: [PATCH] Add webtransport.dist.yml (#1094) --- features/webtransport.dist.yml | 59 ++++++++++++++++++++++++++++++++++ features/webtransport.yml | 53 ++++++++---------------------- 2 files changed, 73 insertions(+), 39 deletions(-) create mode 100644 features/webtransport.dist.yml diff --git a/features/webtransport.dist.yml b/features/webtransport.dist.yml new file mode 100644 index 0000000000..56c4055f85 --- /dev/null +++ b/features/webtransport.dist.yml @@ -0,0 +1,59 @@ +# Generated from: webtransport.yml +# Do not edit this file by hand. Edit the source file instead! + +name: WebTransport +description: The `WebTransport` API transmits data between a client and a server, by using the HTTP/3 protocol. +spec: https://w3c.github.io/webtransport/ +caniuse: webtransport +usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3472 +# Status override because createUnidirectionalStream() is marked as partial +# implementation in Firefox in BCD. +status: + baseline: false + support: + chrome: "97" + chrome_android: "97" + edge: "97" + firefox: "114" + firefox_android: "114" +compat_features: + - api.WebTransport + - api.WebTransport.WebTransport + - api.WebTransport.close + - api.WebTransport.closed + - api.WebTransport.createBidirectionalStream + - api.WebTransport.createUnidirectionalStream + - api.WebTransport.datagrams + - api.WebTransport.incomingBidirectionalStreams + - api.WebTransport.incomingUnidirectionalStreams + - api.WebTransport.ready + - api.WebTransportBidirectionalStream + - api.WebTransportBidirectionalStream.readable + - api.WebTransportBidirectionalStream.writable + - api.WebTransportDatagramDuplexStream + - api.WebTransportDatagramDuplexStream.incomingHighWaterMark + - api.WebTransportDatagramDuplexStream.incomingMaxAge + - api.WebTransportDatagramDuplexStream.maxDatagramSize + - api.WebTransportDatagramDuplexStream.outgoingHighWaterMark + - api.WebTransportDatagramDuplexStream.outgoingMaxAge + - api.WebTransportDatagramDuplexStream.readable + - api.WebTransportDatagramDuplexStream.writable + - api.WebTransportError + - api.WebTransportError.WebTransportError + - api.WebTransportError.source + - api.WebTransportError.streamErrorCode + +# BYOB reader support arrived later than the rest +# - api.WebTransport.byob_readers +# - api.WebTransport.createUnidirectionalStream.byob_readers +# - api.WebTransportDatagramDuplexStream.byob_readers + +# As of 2023-08-10, the spec calls these "feature at risk" +# - api.WebTransport.WebTransport.options_congestionControl_parameter +# - api.WebTransport.congestionControl + +# TODO: figure out what the story is with WebTransportReceiveStream +# This feature has a different compatibility story than closely-related +# interfaces (i.e., WebTransportBidirectionalStream) +# - api.WebTransportReceiveStream +# - api.WebTransportReceiveStream.getStats diff --git a/features/webtransport.yml b/features/webtransport.yml index 7682e89f0a..00b6f77cf5 100644 --- a/features/webtransport.yml +++ b/features/webtransport.yml @@ -3,6 +3,8 @@ description: The `WebTransport` API transmits data between a client and a server spec: https://w3c.github.io/webtransport/ caniuse: webtransport usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3472 +# Status override because createUnidirectionalStream() is marked as partial +# implementation in Firefox in BCD. status: baseline: false support: @@ -11,44 +13,17 @@ status: edge: "97" firefox: "114" firefox_android: "114" -compat_features: - - api.WebTransport - - api.WebTransport.WebTransport - - api.WebTransport.close - - api.WebTransport.closed - - api.WebTransport.createBidirectionalStream - - api.WebTransport.createUnidirectionalStream - - api.WebTransport.datagrams - - api.WebTransport.incomingBidirectionalStreams - - api.WebTransport.incomingUnidirectionalStreams - - api.WebTransport.ready - - api.WebTransportBidirectionalStream - - api.WebTransportBidirectionalStream.readable - - api.WebTransportBidirectionalStream.writable - - api.WebTransportDatagramDuplexStream - - api.WebTransportDatagramDuplexStream.incomingHighWaterMark - - api.WebTransportDatagramDuplexStream.incomingMaxAge - - api.WebTransportDatagramDuplexStream.maxDatagramSize - - api.WebTransportDatagramDuplexStream.outgoingHighWaterMark - - api.WebTransportDatagramDuplexStream.outgoingMaxAge - - api.WebTransportDatagramDuplexStream.readable - - api.WebTransportDatagramDuplexStream.writable - - api.WebTransportError - - api.WebTransportError.WebTransportError - - api.WebTransportError.source - - api.WebTransportError.streamErrorCode +# BYOB reader support arrived later than the rest +# - api.WebTransport.byob_readers +# - api.WebTransport.createUnidirectionalStream.byob_readers +# - api.WebTransportDatagramDuplexStream.byob_readers - # BYOB reader support arrived later than the rest - # - api.WebTransport.byob_readers - # - api.WebTransport.createUnidirectionalStream.byob_readers - # - api.WebTransportDatagramDuplexStream.byob_readers +# As of 2023-08-10, the spec calls these "feature at risk" +# - api.WebTransport.WebTransport.options_congestionControl_parameter +# - api.WebTransport.congestionControl - # As of 2023-08-10, the spec calls these "feature at risk" - # - api.WebTransport.WebTransport.options_congestionControl_parameter - # - api.WebTransport.congestionControl - - # TODO: figure out what the story is with WebTransportReceiveStream - # This feature has a different compatibility story than closely-related - # interfaces (i.e., WebTransportBidirectionalStream) - # - api.WebTransportReceiveStream - # - api.WebTransportReceiveStream.getStats +# TODO: figure out what the story is with WebTransportReceiveStream +# This feature has a different compatibility story than closely-related +# interfaces (i.e., WebTransportBidirectionalStream) +# - api.WebTransportReceiveStream +# - api.WebTransportReceiveStream.getStats