@webref/idl 3.18.2 → 3.19.0

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.
@@ -28,11 +28,12 @@ interface PressureObserver {
28
28
  [Exposed=Window] static Promise<PermissionState> requestPermission();
29
29
  };
30
30
 
31
- dictionary PressureRecord {
32
- PressureSource source;
33
- PressureState state;
34
- sequence<PressureFactor> factors;
35
- DOMHighResTimeStamp time;
31
+ [Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
32
+ interface PressureRecord {
33
+ readonly attribute PressureSource source;
34
+ readonly attribute PressureState state;
35
+ readonly attribute FrozenArray<PressureFactor> factors;
36
+ readonly attribute DOMHighResTimeStamp time;
36
37
  };
37
38
 
38
39
  dictionary PressureObserverOptions {
@@ -1,20 +1,20 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Shared Element Transitions Module Level 1 (https://drafts.csswg.org/css-shared-element-transitions-1/)
4
+ // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
5
5
 
6
6
  partial interface Document {
7
- DOMTransition createTransition(DOMTransitionInit init);
7
+ ViewTransition createTransition(ViewTransitionInit init);
8
8
  };
9
9
 
10
- dictionary DOMTransitionInit {
10
+ dictionary ViewTransitionInit {
11
11
  required UpdateDOMCallback updateDOM;
12
12
  };
13
13
 
14
14
  callback UpdateDOMCallback = Promise<any> ();
15
15
 
16
16
  [Exposed=Window]
17
- interface DOMTransition {
17
+ interface ViewTransition {
18
18
  undefined skipTransition();
19
19
  readonly attribute Promise<undefined> finished;
20
20
  readonly attribute Promise<undefined> ready;
package/fs.idl CHANGED
@@ -75,7 +75,7 @@ interface FileSystemWritableFileStream : WritableStream {
75
75
  };
76
76
 
77
77
  dictionary FileSystemReadWriteOptions {
78
- [EnforceRange] required unsigned long long at;
78
+ [EnforceRange] unsigned long long at = 0;
79
79
  };
80
80
 
81
81
  [Exposed=DedicatedWorker, SecureContext]
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.18.2",
4
+ "version": "3.19.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -31,7 +31,7 @@ enum SurfaceSwitchingPreferenceEnum {
31
31
  dictionary DisplayMediaStreamOptions {
32
32
  (boolean or MediaTrackConstraints) video = true;
33
33
  (boolean or MediaTrackConstraints) audio = false;
34
- CaptureController controller = null;
34
+ CaptureController controller;
35
35
  SelfCapturePreferenceEnum selfBrowserSurface;
36
36
  SystemAudioPreferenceEnum systemAudio;
37
37
  SurfaceSwitchingPreferenceEnum surfaceSwitching;
package/webauthn.idl CHANGED
@@ -125,6 +125,7 @@ interface AuthenticatorAssertionResponse : AuthenticatorResponse {
125
125
  [SameObject] readonly attribute ArrayBuffer authenticatorData;
126
126
  [SameObject] readonly attribute ArrayBuffer signature;
127
127
  [SameObject] readonly attribute ArrayBuffer? userHandle;
128
+ [SameObject] readonly attribute ArrayBuffer? attestationObject;
128
129
  };
129
130
 
130
131
  dictionary PublicKeyCredentialParameters {
@@ -143,6 +144,7 @@ dictionary PublicKeyCredentialCreationOptions {
143
144
  sequence<PublicKeyCredentialDescriptor> excludeCredentials = [];
144
145
  AuthenticatorSelectionCriteria authenticatorSelection;
145
146
  DOMString attestation = "none";
147
+ sequence<DOMString> attestationFormats = [];
146
148
  AuthenticationExtensionsClientInputs extensions;
147
149
  };
148
150
 
@@ -190,6 +192,8 @@ dictionary PublicKeyCredentialRequestOptions {
190
192
  USVString rpId;
191
193
  sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
192
194
  DOMString userVerification = "preferred";
195
+ DOMString attestation = "none";
196
+ sequence<DOMString> attestationFormats = [];
193
197
  AuthenticationExtensionsClientInputs extensions;
194
198
  };
195
199
 
@@ -325,3 +329,21 @@ typedef sequence<UvmEntry> UvmEntries;
325
329
  partial dictionary AuthenticationExtensionsClientOutputs {
326
330
  UvmEntries uvm;
327
331
  };
332
+
333
+ dictionary AuthenticationExtensionsDevicePublicKeyInputs {
334
+ DOMString attestation = "none";
335
+ sequence<DOMString> attestationFormats = [];
336
+ };
337
+
338
+ partial dictionary AuthenticationExtensionsClientInputs {
339
+ AuthenticationExtensionsDevicePublicKeyInputs devicePubKey;
340
+ };
341
+
342
+ dictionary AuthenticationExtensionsDevicePublicKeyOutputs {
343
+ ArrayBuffer authenticatorOutput;
344
+ ArrayBuffer signature;
345
+ };
346
+
347
+ partial dictionary AuthenticationExtensionsClientOutputs {
348
+ AuthenticationExtensionsDevicePublicKeyOutputs devicePubKey;
349
+ };
package/webcodecs.idl CHANGED
@@ -206,7 +206,7 @@ enum CodecState {
206
206
 
207
207
  callback WebCodecsErrorCallback = undefined(DOMException error);
208
208
 
209
- [Exposed=(Window,DedicatedWorker)]
209
+ [Exposed=(Window,DedicatedWorker), Serializable]
210
210
  interface EncodedAudioChunk {
211
211
  constructor(EncodedAudioChunkInit init);
212
212
  readonly attribute EncodedAudioChunkType type;
@@ -229,7 +229,7 @@ enum EncodedAudioChunkType {
229
229
  "delta",
230
230
  };
231
231
 
232
- [Exposed=(Window,DedicatedWorker)]
232
+ [Exposed=(Window,DedicatedWorker), Serializable]
233
233
  interface EncodedVideoChunk {
234
234
  constructor(EncodedVideoChunkInit init);
235
235
  readonly attribute EncodedVideoChunkType type;
@@ -244,7 +244,7 @@ dictionary EncodedVideoChunkInit {
244
244
  required EncodedVideoChunkType type;
245
245
  [EnforceRange] required long long timestamp; // microseconds
246
246
  [EnforceRange] unsigned long long duration; // microseconds
247
- required BufferSource data;
247
+ required [AllowShared] BufferSource data;
248
248
  };
249
249
 
250
250
  enum EncodedVideoChunkType {
package/webrtc-stats.idl CHANGED
@@ -42,7 +42,6 @@ dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
42
42
  unsigned long long packetsReceived;
43
43
  long long packetsLost;
44
44
  double jitter;
45
- unsigned long framesDropped;
46
45
  };
47
46
 
48
47
  dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
@@ -52,6 +51,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
52
51
  DOMString remoteId;
53
52
  unsigned long framesDecoded;
54
53
  unsigned long keyFramesDecoded;
54
+ unsigned long framesDropped;
55
55
  unsigned long frameWidth;
56
56
  unsigned long frameHeight;
57
57
  double framesPerSecond;
@@ -59,6 +59,10 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
59
59
  double totalDecodeTime;
60
60
  double totalInterFrameDelay;
61
61
  double totalSquaredInterFrameDelay;
62
+ unsigned long pauseCount;
63
+ double totalPausesDuration;
64
+ unsigned long freezeCount;
65
+ double totalFreezesDuration;
62
66
  DOMHighResTimeStamp lastPacketReceivedTimestamp;
63
67
  unsigned long long headerBytesReceived;
64
68
  unsigned long long packetsDiscarded;
@@ -87,6 +91,8 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
87
91
  DOMString decoderImplementation;
88
92
  DOMString playoutId;
89
93
  boolean powerEfficientDecoder;
94
+ unsigned long framesAssembledFromMultiplePackets;
95
+ double totalAssemblyTime;
90
96
  };
91
97
 
92
98
  dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
@@ -231,6 +237,11 @@ dictionary RTCIceCandidateStats : RTCStats {
231
237
  long priority;
232
238
  DOMString url;
233
239
  RTCIceServerTransportProtocol relayProtocol;
240
+ DOMString foundation;
241
+ DOMString relatedAddress;
242
+ long relatedPort;
243
+ DOMString usernameFragment;
244
+ RTCIceTcpCandidateType tcpType;
234
245
  };
235
246
 
236
247
  dictionary RTCIceCandidatePairStats : RTCStats {
package/webtransport.idl CHANGED
@@ -113,8 +113,8 @@ dictionary WebTransportReceiveStreamStats {
113
113
 
114
114
  [Exposed=(Window,Worker), SecureContext]
115
115
  interface WebTransportBidirectionalStream {
116
- readonly attribute ReadableStream readable;
117
- readonly attribute WritableStream writable;
116
+ readonly attribute WebTransportReceiveStream readable;
117
+ readonly attribute WebTransportSendStream writable;
118
118
  };
119
119
 
120
120
  [Exposed=(Window,Worker), SecureContext]