commit b57ca65abfa79bd5cb5dd2c401a42a9e35eeb485
parent 491e352eba1ecaedde20e4c678ac2a0b282204a9
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 4 Dec 2025 16:56:14 +0000
Bug 2003802 [wpt PR 56452] - Sync interfaces/ with @webref/idl 3.69.1, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.69.1 (#56452)
Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--
wpt-commits: 63ffc94525cf3c673fd10c7c4750210ad87ed83e
wpt-pr: 56452
Diffstat:
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/testing/web-platform/tests/interfaces/webcrypto-modern-algos.idl b/testing/web-platform/tests/interfaces/webcrypto-modern-algos.idl
@@ -59,7 +59,7 @@ dictionary EncapsulatedBits {
};
partial dictionary JsonWebKey {
- // The following fields are defined in draft-ietf-cose-dilithium-07
+ // The following fields are defined in draft-ietf-cose-dilithium-08
DOMString pub;
DOMString priv;
};
diff --git a/testing/web-platform/tests/interfaces/webtransport.idl b/testing/web-platform/tests/interfaces/webtransport.idl
@@ -62,14 +62,14 @@ enum WebTransportReliabilityMode {
};
dictionary WebTransportHash {
- DOMString algorithm;
- BufferSource value;
+ required DOMString algorithm;
+ required BufferSource value;
};
dictionary WebTransportOptions {
boolean allowPooling = false;
boolean requireUnreliable = false;
- sequence<WebTransportHash> serverCertificateHashes;
+ sequence<WebTransportHash> serverCertificateHashes = [];
WebTransportCongestionControl congestionControl = "default";
[EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
[EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null;
@@ -100,25 +100,25 @@ dictionary WebTransportSendStreamOptions : WebTransportSendOptions {
};
dictionary WebTransportConnectionStats {
- unsigned long long bytesSent = 0;
- unsigned long long packetsSent = 0;
- unsigned long long bytesLost = 0;
- unsigned long long packetsLost = 0;
- unsigned long long bytesReceived = 0;
- unsigned long long packetsReceived = 0;
- required DOMHighResTimeStamp smoothedRtt;
- required DOMHighResTimeStamp rttVariation;
- required DOMHighResTimeStamp minRtt;
+ unsigned long long bytesSent;
+ unsigned long long packetsSent;
+ unsigned long long bytesLost;
+ unsigned long long packetsLost;
+ unsigned long long bytesReceived;
+ unsigned long long packetsReceived;
+ DOMHighResTimeStamp smoothedRtt;
+ DOMHighResTimeStamp rttVariation;
+ DOMHighResTimeStamp minRtt;
required WebTransportDatagramStats datagrams;
unsigned long long? estimatedSendRate = null;
boolean atSendCapacity = false;
};
dictionary WebTransportDatagramStats {
- unsigned long long droppedIncoming = 0;
- unsigned long long expiredIncoming = 0;
- unsigned long long expiredOutgoing = 0;
- unsigned long long lostOutgoing = 0;
+ unsigned long long droppedIncoming;
+ unsigned long long expiredIncoming;
+ unsigned long long expiredOutgoing;
+ unsigned long long lostOutgoing;
};
[Exposed=(Window,Worker), SecureContext, Transferable]
@@ -130,9 +130,9 @@ interface WebTransportSendStream : WritableStream {
};
dictionary WebTransportSendStreamStats {
- unsigned long long bytesWritten = 0;
- unsigned long long bytesSent = 0;
- unsigned long long bytesAcknowledged = 0;
+ unsigned long long bytesWritten;
+ unsigned long long bytesSent;
+ unsigned long long bytesAcknowledged;
};
[Exposed=(Window,Worker), SecureContext]
@@ -146,8 +146,8 @@ interface WebTransportReceiveStream : ReadableStream {
};
dictionary WebTransportReceiveStreamStats {
- unsigned long long bytesReceived = 0;
- unsigned long long bytesRead = 0;
+ unsigned long long bytesReceived;
+ unsigned long long bytesRead;
};
[Exposed=(Window,Worker), SecureContext]