@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.
- package/compute-pressure.idl +6 -5
- package/{css-shared-element-transitions.idl → css-view-transitions.idl} +4 -4
- package/fs.idl +1 -1
- package/package.json +1 -1
- package/screen-capture.idl +1 -1
- package/webauthn.idl +22 -0
- package/webcodecs.idl +3 -3
- package/webrtc-stats.idl +12 -1
- package/webtransport.idl +2 -2
package/compute-pressure.idl
CHANGED
|
@@ -28,11 +28,12 @@ interface PressureObserver {
|
|
|
28
28
|
[Exposed=Window] static Promise<PermissionState> requestPermission();
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
|
4
|
+
// Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
|
|
5
5
|
|
|
6
6
|
partial interface Document {
|
|
7
|
-
|
|
7
|
+
ViewTransition createTransition(ViewTransitionInit init);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
dictionary
|
|
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
|
|
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
package/package.json
CHANGED
package/screen-capture.idl
CHANGED
|
@@ -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
|
|
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
|
|
117
|
-
readonly attribute
|
|
116
|
+
readonly attribute WebTransportReceiveStream readable;
|
|
117
|
+
readonly attribute WebTransportSendStream writable;
|
|
118
118
|
};
|
|
119
119
|
|
|
120
120
|
[Exposed=(Window,Worker), SecureContext]
|