diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /testing/web-platform/tests/interfaces/webtransport.idl | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/interfaces/webtransport.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/webtransport.idl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/testing/web-platform/tests/interfaces/webtransport.idl b/testing/web-platform/tests/interfaces/webtransport.idl index 281c096d21..e598059c93 100644 --- a/testing/web-platform/tests/interfaces/webtransport.idl +++ b/testing/web-platform/tests/interfaces/webtransport.idl @@ -23,6 +23,9 @@ interface WebTransport { readonly attribute Promise<undefined> ready; readonly attribute WebTransportReliabilityMode reliability; readonly attribute WebTransportCongestionControl congestionControl; + [EnforceRange] attribute unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams; + [EnforceRange] attribute unsigned short? anticipatedConcurrentIncomingBidirectionalStreams; + readonly attribute Promise<WebTransportCloseInfo> closed; readonly attribute Promise<undefined> draining; undefined close(optional WebTransportCloseInfo closeInfo = {}); @@ -59,6 +62,8 @@ dictionary WebTransportOptions { boolean requireUnreliable = false; sequence<WebTransportHash> serverCertificateHashes; WebTransportCongestionControl congestionControl = "default"; + [EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null; + [EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null; }; enum WebTransportCongestionControl { @@ -93,8 +98,9 @@ dictionary WebTransportConnectionStats { }; dictionary WebTransportDatagramStats { - unsigned long long expiredOutgoing; unsigned long long droppedIncoming; + unsigned long long expiredIncoming; + unsigned long long expiredOutgoing; unsigned long long lostOutgoing; }; @@ -103,6 +109,7 @@ interface WebTransportSendStream : WritableStream { attribute WebTransportSendGroup? sendGroup; attribute long long sendOrder; Promise<WebTransportSendStreamStats> getStats(); + WebTransportWriter getWriter(); }; dictionary WebTransportSendStreamStats { @@ -132,6 +139,11 @@ interface WebTransportBidirectionalStream { readonly attribute WebTransportSendStream writable; }; +[Exposed=*, SecureContext] +interface WebTransportWriter : WritableStreamDefaultWriter { + Promise<undefined> atomicWrite(optional any chunk); +}; + [Exposed=(Window,Worker), Serializable, SecureContext] interface WebTransportError : DOMException { constructor(optional DOMString message = "", optional WebTransportErrorOptions options = {}); |