@webref/idl 3.17.1 → 3.18.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/FedCM.idl +8 -2
- package/compute-pressure.idl +1 -1
- package/fetch.idl +1 -0
- package/fido.idl +47 -0
- package/media-source.idl +4 -1
- package/mediacapture-streams.idl +1 -1
- package/package.json +1 -1
- package/trusted-types.idl +1 -1
- package/urlpattern.idl +6 -1
- package/video-rvfc.idl +2 -2
- package/webrtc-stats.idl +8 -4
- package/webrtc.idl +7 -0
- package/webusb.idl +2 -2
- package/webxrlayers.idl +1 -0
- package/css-device-adapt.idl +0 -13
package/FedCM.idl
CHANGED
|
@@ -13,10 +13,10 @@ partial dictionary CredentialRequestOptions {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
dictionary IdentityCredentialRequestOptions {
|
|
16
|
-
sequence<
|
|
16
|
+
sequence<IdentityProviderConfig> providers;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
dictionary
|
|
19
|
+
dictionary IdentityProviderConfig {
|
|
20
20
|
required USVString configURL;
|
|
21
21
|
required USVString clientId;
|
|
22
22
|
USVString nonce;
|
|
@@ -31,3 +31,9 @@ dictionary IdentityCredentialLogoutRPsRequest {
|
|
|
31
31
|
partial interface IdentityCredential {
|
|
32
32
|
static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRPsRequest> logoutRequests);
|
|
33
33
|
};
|
|
34
|
+
|
|
35
|
+
[Exposed=Window, SecureContext]
|
|
36
|
+
interface IdentityProvider {
|
|
37
|
+
static undefined login();
|
|
38
|
+
static undefined logout();
|
|
39
|
+
};
|
package/compute-pressure.idl
CHANGED
package/fetch.idl
CHANGED
package/fido.idl
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Client to Authenticator Protocol (CTAP) (https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html)
|
|
5
|
+
|
|
6
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
7
|
+
USVString credentialProtectionPolicy;
|
|
8
|
+
boolean enforceCredentialProtectionPolicy = false;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
12
|
+
ArrayBuffer credBlob;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
16
|
+
boolean getCredBlob;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
20
|
+
boolean minPinLength;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
24
|
+
boolean hmacCreateSecret;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
dictionary HMACGetSecretInput {
|
|
28
|
+
required ArrayBuffer salt1; // 32-byte random data
|
|
29
|
+
ArrayBuffer salt2; // Optional additional 32-byte random data
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
33
|
+
HMACGetSecretInput hmacGetSecret;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
37
|
+
boolean hmacCreateSecret;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
dictionary HMACGetSecretOutput {
|
|
41
|
+
required ArrayBuffer output1;
|
|
42
|
+
ArrayBuffer output2;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
46
|
+
HMACGetSecretOutput hmacGetSecret;
|
|
47
|
+
};
|
package/media-source.idl
CHANGED
|
@@ -17,7 +17,10 @@ enum EndOfStreamError {
|
|
|
17
17
|
[Exposed=(Window,DedicatedWorker)]
|
|
18
18
|
interface MediaSource : EventTarget {
|
|
19
19
|
constructor();
|
|
20
|
-
|
|
20
|
+
|
|
21
|
+
[ SameObject, Exposed=DedicatedWorker ]
|
|
22
|
+
readonly attribute MediaSourceHandle handle;
|
|
23
|
+
|
|
21
24
|
readonly attribute SourceBufferList sourceBuffers;
|
|
22
25
|
readonly attribute SourceBufferList activeSourceBuffers;
|
|
23
26
|
readonly attribute ReadyState readyState;
|
package/mediacapture-streams.idl
CHANGED
package/package.json
CHANGED
package/trusted-types.idl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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: Trusted Types (https://w3c.github.io/
|
|
4
|
+
// Source: Trusted Types (https://w3c.github.io/trusted-types/dist/spec/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker)]
|
|
7
7
|
interface TrustedHTML {
|
package/urlpattern.idl
CHANGED
|
@@ -7,7 +7,8 @@ typedef (USVString or URLPatternInit) URLPatternInput;
|
|
|
7
7
|
|
|
8
8
|
[Exposed=(Window,Worker)]
|
|
9
9
|
interface URLPattern {
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(URLPatternInput input, USVString baseURL, optional URLPatternOptions options = {});
|
|
11
|
+
constructor(optional URLPatternInput input = {}, optional URLPatternOptions options = {});
|
|
11
12
|
|
|
12
13
|
boolean test(optional URLPatternInput input = {}, optional USVString baseURL);
|
|
13
14
|
|
|
@@ -35,6 +36,10 @@ dictionary URLPatternInit {
|
|
|
35
36
|
USVString baseURL;
|
|
36
37
|
};
|
|
37
38
|
|
|
39
|
+
dictionary URLPatternOptions {
|
|
40
|
+
boolean ignoreCase = false;
|
|
41
|
+
};
|
|
42
|
+
|
|
38
43
|
dictionary URLPatternResult {
|
|
39
44
|
sequence<URLPatternInput> inputs;
|
|
40
45
|
|
package/video-rvfc.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: HTMLVideoElement.requestVideoFrameCallback() (https://wicg.github.io/video-rvfc/)
|
|
5
5
|
|
|
6
|
-
dictionary
|
|
6
|
+
dictionary VideoFrameCallbackMetadata {
|
|
7
7
|
required DOMHighResTimeStamp presentationTime;
|
|
8
8
|
required DOMHighResTimeStamp expectedDisplayTime;
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ dictionary VideoFrameMetadata {
|
|
|
19
19
|
unsigned long rtpTimestamp;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
callback VideoFrameRequestCallback = undefined(DOMHighResTimeStamp now,
|
|
22
|
+
callback VideoFrameRequestCallback = undefined(DOMHighResTimeStamp now, VideoFrameCallbackMetadata metadata);
|
|
23
23
|
|
|
24
24
|
partial interface HTMLVideoElement {
|
|
25
25
|
unsigned long requestVideoFrameCallback(VideoFrameRequestCallback callback);
|
package/webrtc-stats.idl
CHANGED
|
@@ -86,6 +86,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
86
86
|
unsigned long framesReceived;
|
|
87
87
|
DOMString decoderImplementation;
|
|
88
88
|
DOMString playoutId;
|
|
89
|
+
boolean powerEfficientDecoder;
|
|
89
90
|
};
|
|
90
91
|
|
|
91
92
|
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
@@ -128,6 +129,7 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
|
128
129
|
unsigned long firCount;
|
|
129
130
|
unsigned long pliCount;
|
|
130
131
|
DOMString encoderImplementation;
|
|
132
|
+
boolean powerEfficientEncoder;
|
|
131
133
|
boolean active;
|
|
132
134
|
};
|
|
133
135
|
|
|
@@ -159,6 +161,7 @@ dictionary RTCAudioSourceStats : RTCMediaSourceStats {
|
|
|
159
161
|
double echoReturnLoss;
|
|
160
162
|
double echoReturnLossEnhancement;
|
|
161
163
|
double droppedSamplesDuration;
|
|
164
|
+
unsigned long droppedSamplesEvents;
|
|
162
165
|
double totalCaptureDelay;
|
|
163
166
|
unsigned long long totalSamplesCaptured;
|
|
164
167
|
};
|
|
@@ -171,10 +174,11 @@ dictionary RTCVideoSourceStats : RTCMediaSourceStats {
|
|
|
171
174
|
};
|
|
172
175
|
|
|
173
176
|
dictionary RTCAudioPlayoutStats : RTCStats {
|
|
174
|
-
double
|
|
175
|
-
|
|
176
|
-
double
|
|
177
|
-
double
|
|
177
|
+
double synthesizedSamplesDuration;
|
|
178
|
+
unsigned long synthesizedSamplesEvents;
|
|
179
|
+
double totalSamplesDuration;
|
|
180
|
+
double totalPlayoutDelay;
|
|
181
|
+
double totalSamplesCount;
|
|
178
182
|
};
|
|
179
183
|
|
|
180
184
|
dictionary RTCPeerConnectionStats : RTCStats {
|
package/webrtc.idl
CHANGED
|
@@ -178,6 +178,7 @@ interface RTCIceCandidate {
|
|
|
178
178
|
readonly attribute DOMString? relatedAddress;
|
|
179
179
|
readonly attribute unsigned short? relatedPort;
|
|
180
180
|
readonly attribute DOMString? usernameFragment;
|
|
181
|
+
readonly attribute RTCIceServerTransportProtocol? relayProtocol;
|
|
181
182
|
RTCIceCandidateInit toJSON();
|
|
182
183
|
};
|
|
183
184
|
|
|
@@ -206,6 +207,12 @@ enum RTCIceCandidateType {
|
|
|
206
207
|
"relay"
|
|
207
208
|
};
|
|
208
209
|
|
|
210
|
+
enum RTCIceServerTransportProtocol {
|
|
211
|
+
"udp",
|
|
212
|
+
"tcp",
|
|
213
|
+
"tls",
|
|
214
|
+
};
|
|
215
|
+
|
|
209
216
|
[Exposed=Window]
|
|
210
217
|
interface RTCPeerConnectionIceEvent : Event {
|
|
211
218
|
constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict = {});
|
package/webusb.idl
CHANGED
|
@@ -16,7 +16,7 @@ dictionary USBDeviceRequestOptions {
|
|
|
16
16
|
required sequence<USBDeviceFilter> filters;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
[Exposed=(
|
|
19
|
+
[Exposed=(Worker,Window), SecureContext]
|
|
20
20
|
interface USB : EventTarget {
|
|
21
21
|
attribute EventHandler onconnect;
|
|
22
22
|
attribute EventHandler ondisconnect;
|
|
@@ -29,7 +29,7 @@ partial interface Navigator {
|
|
|
29
29
|
[SameObject] readonly attribute USB usb;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
[Exposed=
|
|
32
|
+
[Exposed=Worker, SecureContext]
|
|
33
33
|
partial interface WorkerNavigator {
|
|
34
34
|
[SameObject] readonly attribute USB usb;
|
|
35
35
|
};
|
package/webxrlayers.idl
CHANGED
package/css-device-adapt.idl
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: CSS Device Adaptation Module Level 1 (https://drafts.csswg.org/css-device-adapt-1/)
|
|
5
|
-
|
|
6
|
-
partial interface CSSRule {
|
|
7
|
-
const unsigned short VIEWPORT_RULE = 15;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
[Exposed=Window]
|
|
11
|
-
interface CSSViewportRule : CSSRule {
|
|
12
|
-
readonly attribute CSSStyleDeclaration style;
|
|
13
|
-
};
|