Skip to content

Commit 1409491

Browse files
github-actions[bot]pull[bot]
authored andcommitted
Sync interfaces/ with @webref/idl 3.18.0 (#36157)
1 parent 3fd602c commit 1409491

File tree

10 files changed

+75
-20
lines changed

10 files changed

+75
-20
lines changed

interfaces/FedCM.idl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ partial dictionary CredentialRequestOptions {
1313
};
1414

1515
dictionary IdentityCredentialRequestOptions {
16-
sequence<IdentityProvider> providers;
16+
sequence<IdentityProviderConfig> providers;
1717
};
1818

19-
dictionary IdentityProvider {
19+
dictionary IdentityProviderConfig {
2020
required USVString configURL;
2121
required USVString clientId;
2222
USVString nonce;
@@ -31,3 +31,9 @@ dictionary IdentityCredentialLogoutRPsRequest {
3131
partial interface IdentityCredential {
3232
static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRPsRequest> logoutRequests);
3333
};
34+
35+
[Exposed=Window, SecureContext]
36+
interface IdentityProvider {
37+
static undefined login();
38+
static undefined logout();
39+
};

interfaces/css-device-adapt.idl

Lines changed: 0 additions & 13 deletions
This file was deleted.

interfaces/fetch.idl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ interface Request {
5151
readonly attribute boolean isReloadNavigation;
5252
readonly attribute boolean isHistoryNavigation;
5353
readonly attribute AbortSignal signal;
54+
readonly attribute RequestDuplex duplex;
5455

5556
[NewObject] Request clone();
5657
};

interfaces/fido.idl

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
};

interfaces/mediacapture-streams.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ enum MediaDeviceKind {
174174
"videoinput"
175175
};
176176

177-
[Exposed=Window]
177+
[Exposed=Window, SecureContext]
178178
interface InputDeviceInfo : MediaDeviceInfo {
179179
MediaTrackCapabilities getCapabilities();
180180
};

interfaces/trusted-types.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// GENERATED CONTENT - DO NOT EDIT
22
// Content was automatically extracted by Reffy into webref
33
// (https://github.com/w3c/webref)
4-
// Source: Trusted Types (https://w3c.github.io/webappsec-trusted-types/dist/spec/)
4+
// Source: Trusted Types (https://w3c.github.io/trusted-types/dist/spec/)
55

66
[Exposed=(Window,Worker)]
77
interface TrustedHTML {

interfaces/urlpattern.idl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ typedef (USVString or URLPatternInit) URLPatternInput;
77

88
[Exposed=(Window,Worker)]
99
interface URLPattern {
10-
constructor(optional URLPatternInput input = {}, optional USVString baseURL);
10+
constructor(URLPatternInput input, USVString baseURL, optional URLPatternOptions options = {});
11+
constructor(optional URLPatternInput input = {}, optional URLPatternOptions options = {});
1112

1213
boolean test(optional URLPatternInput input = {}, optional USVString baseURL);
1314

@@ -35,6 +36,10 @@ dictionary URLPatternInit {
3536
USVString baseURL;
3637
};
3738

39+
dictionary URLPatternOptions {
40+
boolean ignoreCase = false;
41+
};
42+
3843
dictionary URLPatternResult {
3944
sequence<URLPatternInput> inputs;
4045

interfaces/webrtc-stats.idl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
8686
unsigned long framesReceived;
8787
DOMString decoderImplementation;
8888
DOMString playoutId;
89+
boolean powerEfficientDecoder;
8990
};
9091

9192
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
@@ -128,6 +129,7 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
128129
unsigned long firCount;
129130
unsigned long pliCount;
130131
DOMString encoderImplementation;
132+
boolean powerEfficientEncoder;
131133
boolean active;
132134
};
133135

interfaces/webrtc.idl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ interface RTCIceCandidate {
178178
readonly attribute DOMString? relatedAddress;
179179
readonly attribute unsigned short? relatedPort;
180180
readonly attribute DOMString? usernameFragment;
181+
readonly attribute RTCIceServerTransportProtocol? relayProtocol;
181182
RTCIceCandidateInit toJSON();
182183
};
183184

@@ -206,6 +207,12 @@ enum RTCIceCandidateType {
206207
"relay"
207208
};
208209

210+
enum RTCIceServerTransportProtocol {
211+
"udp",
212+
"tcp",
213+
"tls",
214+
};
215+
209216
[Exposed=Window]
210217
interface RTCPeerConnectionIceEvent : Event {
211218
constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict = {});

interfaces/webusb.idl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dictionary USBDeviceRequestOptions {
1616
required sequence<USBDeviceFilter> filters;
1717
};
1818

19-
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
19+
[Exposed=(Worker,Window), SecureContext]
2020
interface USB : EventTarget {
2121
attribute EventHandler onconnect;
2222
attribute EventHandler ondisconnect;
@@ -29,7 +29,7 @@ partial interface Navigator {
2929
[SameObject] readonly attribute USB usb;
3030
};
3131

32-
[Exposed=(DedicatedWorker,SharedWorker), SecureContext]
32+
[Exposed=Worker, SecureContext]
3333
partial interface WorkerNavigator {
3434
[SameObject] readonly attribute USB usb;
3535
};

0 commit comments

Comments
 (0)