@webref/idl 3.69.0 → 3.69.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.69.0",
4
+ "version": "3.69.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -59,7 +59,7 @@ dictionary EncapsulatedBits {
59
59
  };
60
60
 
61
61
  partial dictionary JsonWebKey {
62
- // The following fields are defined in draft-ietf-cose-dilithium-07
62
+ // The following fields are defined in draft-ietf-cose-dilithium-08
63
63
  DOMString pub;
64
64
  DOMString priv;
65
65
  };
package/webtransport.idl CHANGED
@@ -62,14 +62,14 @@ enum WebTransportReliabilityMode {
62
62
  };
63
63
 
64
64
  dictionary WebTransportHash {
65
- DOMString algorithm;
66
- BufferSource value;
65
+ required DOMString algorithm;
66
+ required BufferSource value;
67
67
  };
68
68
 
69
69
  dictionary WebTransportOptions {
70
70
  boolean allowPooling = false;
71
71
  boolean requireUnreliable = false;
72
- sequence<WebTransportHash> serverCertificateHashes;
72
+ sequence<WebTransportHash> serverCertificateHashes = [];
73
73
  WebTransportCongestionControl congestionControl = "default";
74
74
  [EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
75
75
  [EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null;
@@ -100,25 +100,25 @@ dictionary WebTransportSendStreamOptions : WebTransportSendOptions {
100
100
  };
101
101
 
102
102
  dictionary WebTransportConnectionStats {
103
- unsigned long long bytesSent = 0;
104
- unsigned long long packetsSent = 0;
105
- unsigned long long bytesLost = 0;
106
- unsigned long long packetsLost = 0;
107
- unsigned long long bytesReceived = 0;
108
- unsigned long long packetsReceived = 0;
109
- required DOMHighResTimeStamp smoothedRtt;
110
- required DOMHighResTimeStamp rttVariation;
111
- required DOMHighResTimeStamp minRtt;
103
+ unsigned long long bytesSent;
104
+ unsigned long long packetsSent;
105
+ unsigned long long bytesLost;
106
+ unsigned long long packetsLost;
107
+ unsigned long long bytesReceived;
108
+ unsigned long long packetsReceived;
109
+ DOMHighResTimeStamp smoothedRtt;
110
+ DOMHighResTimeStamp rttVariation;
111
+ DOMHighResTimeStamp minRtt;
112
112
  required WebTransportDatagramStats datagrams;
113
113
  unsigned long long? estimatedSendRate = null;
114
114
  boolean atSendCapacity = false;
115
115
  };
116
116
 
117
117
  dictionary WebTransportDatagramStats {
118
- unsigned long long droppedIncoming = 0;
119
- unsigned long long expiredIncoming = 0;
120
- unsigned long long expiredOutgoing = 0;
121
- unsigned long long lostOutgoing = 0;
118
+ unsigned long long droppedIncoming;
119
+ unsigned long long expiredIncoming;
120
+ unsigned long long expiredOutgoing;
121
+ unsigned long long lostOutgoing;
122
122
  };
123
123
 
124
124
  [Exposed=(Window,Worker), SecureContext, Transferable]
@@ -130,9 +130,9 @@ interface WebTransportSendStream : WritableStream {
130
130
  };
131
131
 
132
132
  dictionary WebTransportSendStreamStats {
133
- unsigned long long bytesWritten = 0;
134
- unsigned long long bytesSent = 0;
135
- unsigned long long bytesAcknowledged = 0;
133
+ unsigned long long bytesWritten;
134
+ unsigned long long bytesSent;
135
+ unsigned long long bytesAcknowledged;
136
136
  };
137
137
 
138
138
  [Exposed=(Window,Worker), SecureContext]
@@ -146,8 +146,8 @@ interface WebTransportReceiveStream : ReadableStream {
146
146
  };
147
147
 
148
148
  dictionary WebTransportReceiveStreamStats {
149
- unsigned long long bytesReceived = 0;
150
- unsigned long long bytesRead = 0;
149
+ unsigned long long bytesReceived;
150
+ unsigned long long bytesRead;
151
151
  };
152
152
 
153
153
  [Exposed=(Window,Worker), SecureContext]