@webref/idl 3.18.1 → 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 +19 -0
- package/package.json +1 -1
- package/screen-capture.idl +7 -0
- package/webauthn.idl +22 -0
- package/webcodecs.idl +4 -4
- package/webgpu.idl +2 -2
- package/webrtc-encoded-transform.idl +4 -10
- package/webrtc-stats.idl +13 -2
- package/webrtc.idl +19 -19
- 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
|
@@ -24,6 +24,8 @@ dictionary FileSystemCreateWritableOptions {
|
|
|
24
24
|
interface FileSystemFileHandle : FileSystemHandle {
|
|
25
25
|
Promise<File> getFile();
|
|
26
26
|
Promise<FileSystemWritableFileStream> createWritable(optional FileSystemCreateWritableOptions options = {});
|
|
27
|
+
[Exposed=DedicatedWorker]
|
|
28
|
+
Promise<FileSystemSyncAccessHandle> createSyncAccessHandle();
|
|
27
29
|
};
|
|
28
30
|
|
|
29
31
|
dictionary FileSystemGetFileOptions {
|
|
@@ -72,6 +74,23 @@ interface FileSystemWritableFileStream : WritableStream {
|
|
|
72
74
|
Promise<undefined> truncate(unsigned long long size);
|
|
73
75
|
};
|
|
74
76
|
|
|
77
|
+
dictionary FileSystemReadWriteOptions {
|
|
78
|
+
[EnforceRange] unsigned long long at = 0;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
[Exposed=DedicatedWorker, SecureContext]
|
|
82
|
+
interface FileSystemSyncAccessHandle {
|
|
83
|
+
unsigned long long read([AllowShared] BufferSource buffer,
|
|
84
|
+
optional FileSystemReadWriteOptions options = {});
|
|
85
|
+
unsigned long long write([AllowShared] BufferSource buffer,
|
|
86
|
+
optional FileSystemReadWriteOptions options = {});
|
|
87
|
+
|
|
88
|
+
Promise<undefined> truncate([EnforceRange] unsigned long long newSize);
|
|
89
|
+
Promise<unsigned long long> getSize();
|
|
90
|
+
Promise<undefined> flush();
|
|
91
|
+
Promise<undefined> close();
|
|
92
|
+
};
|
|
93
|
+
|
|
75
94
|
[SecureContext]
|
|
76
95
|
partial interface StorageManager {
|
|
77
96
|
Promise<FileSystemDirectoryHandle> getDirectory();
|
package/package.json
CHANGED
package/screen-capture.idl
CHANGED
|
@@ -7,6 +7,12 @@ partial interface MediaDevices {
|
|
|
7
7
|
Promise<MediaStream> getDisplayMedia(optional DisplayMediaStreamOptions options = {});
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
+
[Exposed=Window, SecureContext]
|
|
11
|
+
interface CaptureController {
|
|
12
|
+
constructor();
|
|
13
|
+
// TODO: Add setFocusBehavior() in a separate PR.
|
|
14
|
+
};
|
|
15
|
+
|
|
10
16
|
enum SelfCapturePreferenceEnum {
|
|
11
17
|
"include",
|
|
12
18
|
"exclude"
|
|
@@ -25,6 +31,7 @@ enum SurfaceSwitchingPreferenceEnum {
|
|
|
25
31
|
dictionary DisplayMediaStreamOptions {
|
|
26
32
|
(boolean or MediaTrackConstraints) video = true;
|
|
27
33
|
(boolean or MediaTrackConstraints) audio = false;
|
|
34
|
+
CaptureController controller;
|
|
28
35
|
SelfCapturePreferenceEnum selfBrowserSurface;
|
|
29
36
|
SystemAudioPreferenceEnum systemAudio;
|
|
30
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
|
@@ -170,7 +170,7 @@ dictionary VideoEncoderConfig {
|
|
|
170
170
|
[EnforceRange] unsigned long displayWidth;
|
|
171
171
|
[EnforceRange] unsigned long displayHeight;
|
|
172
172
|
[EnforceRange] unsigned long long bitrate;
|
|
173
|
-
|
|
173
|
+
double framerate;
|
|
174
174
|
HardwareAcceleration hardwareAcceleration = "no-preference";
|
|
175
175
|
AlphaOption alpha = "discard";
|
|
176
176
|
DOMString scalabilityMode;
|
|
@@ -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/webgpu.idl
CHANGED
|
@@ -37,7 +37,7 @@ interface GPUSupportedLimits {
|
|
|
37
37
|
readonly attribute unsigned long maxInterStageShaderComponents;
|
|
38
38
|
readonly attribute unsigned long maxInterStageShaderVariables;
|
|
39
39
|
readonly attribute unsigned long maxColorAttachments;
|
|
40
|
-
readonly attribute unsigned long
|
|
40
|
+
readonly attribute unsigned long maxColorAttachmentBytesPerSample;
|
|
41
41
|
readonly attribute unsigned long maxComputeWorkgroupStorageSize;
|
|
42
42
|
readonly attribute unsigned long maxComputeInvocationsPerWorkgroup;
|
|
43
43
|
readonly attribute unsigned long maxComputeWorkgroupSizeX;
|
|
@@ -1028,7 +1028,7 @@ enum GPUStoreOp {
|
|
|
1028
1028
|
"discard"
|
|
1029
1029
|
};
|
|
1030
1030
|
|
|
1031
|
-
dictionary GPURenderPassLayout: GPUObjectDescriptorBase {
|
|
1031
|
+
dictionary GPURenderPassLayout : GPUObjectDescriptorBase {
|
|
1032
1032
|
required sequence<GPUTextureFormat?> colorFormats;
|
|
1033
1033
|
GPUTextureFormat depthStencilFormat;
|
|
1034
1034
|
GPUSize32 sampleCount = 1;
|
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: WebRTC Encoded Transform (https://w3c.github.io/webrtc-encoded-transform/)
|
|
5
5
|
|
|
6
|
-
// New dictionary
|
|
7
|
-
dictionary RTCInsertableStreams {
|
|
8
|
-
ReadableStream readable;
|
|
9
|
-
WritableStream writable;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
6
|
typedef (SFrameTransform or RTCRtpScriptTransform) RTCRtpTransform;
|
|
13
7
|
|
|
14
8
|
// New methods for RTCRtpSender and RTCRtpReceiver
|
|
@@ -76,9 +70,9 @@ dictionary RTCEncodedVideoFrameMetadata {
|
|
|
76
70
|
unsigned short height;
|
|
77
71
|
long spatialIndex;
|
|
78
72
|
long temporalIndex;
|
|
79
|
-
long synchronizationSource;
|
|
73
|
+
unsigned long synchronizationSource;
|
|
80
74
|
octet payloadType;
|
|
81
|
-
sequence<long> contributingSources;
|
|
75
|
+
sequence<unsigned long> contributingSources;
|
|
82
76
|
};
|
|
83
77
|
|
|
84
78
|
// New interfaces to define encoded video and audio frames. Will eventually
|
|
@@ -92,9 +86,9 @@ interface RTCEncodedVideoFrame {
|
|
|
92
86
|
};
|
|
93
87
|
|
|
94
88
|
dictionary RTCEncodedAudioFrameMetadata {
|
|
95
|
-
long synchronizationSource;
|
|
89
|
+
unsigned long synchronizationSource;
|
|
96
90
|
octet payloadType;
|
|
97
|
-
sequence<long> contributingSources;
|
|
91
|
+
sequence<unsigned long> contributingSources;
|
|
98
92
|
};
|
|
99
93
|
|
|
100
94
|
[Exposed=(Window,DedicatedWorker)]
|
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 {
|
|
@@ -230,7 +236,12 @@ dictionary RTCIceCandidateStats : RTCStats {
|
|
|
230
236
|
required RTCIceCandidateType candidateType;
|
|
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/webrtc.idl
CHANGED
|
@@ -51,29 +51,29 @@ enum RTCSignalingState {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
enum RTCIceGatheringState {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
54
|
+
"new",
|
|
55
|
+
"gathering",
|
|
56
|
+
"complete"
|
|
57
|
+
};
|
|
58
58
|
|
|
59
59
|
enum RTCPeerConnectionState {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
};
|
|
60
|
+
"closed",
|
|
61
|
+
"failed",
|
|
62
|
+
"disconnected",
|
|
63
|
+
"new",
|
|
64
|
+
"connecting",
|
|
65
|
+
"connected"
|
|
66
|
+
};
|
|
67
67
|
|
|
68
68
|
enum RTCIceConnectionState {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
};
|
|
69
|
+
"closed",
|
|
70
|
+
"failed",
|
|
71
|
+
"disconnected",
|
|
72
|
+
"new",
|
|
73
|
+
"checking",
|
|
74
|
+
"completed",
|
|
75
|
+
"connected"
|
|
76
|
+
};
|
|
77
77
|
|
|
78
78
|
[Exposed=Window]
|
|
79
79
|
interface RTCPeerConnection : EventTarget {
|
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]
|