@webref/idl 3.17.2 → 3.18.1

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 CHANGED
@@ -13,10 +13,10 @@ partial dictionary CredentialRequestOptions {
13
13
  };
14
14
 
15
15
  dictionary IdentityCredentialRequestOptions {
16
- sequence<IdentityProvider> providers;
16
+ sequence<IdentityProviderConfig> providers;
17
17
  };
18
18
 
19
- dictionary IdentityProvider {
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/fetch.idl CHANGED
@@ -51,6 +51,7 @@ interface Request {
51
51
  readonly attribute boolean isReloadNavigation;
52
52
  readonly attribute boolean isHistoryNavigation;
53
53
  readonly attribute AbortSignal signal;
54
+ readonly attribute RequestDuplex duplex;
54
55
 
55
56
  [NewObject] Request clone();
56
57
  };
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
+ };
@@ -174,7 +174,7 @@ enum MediaDeviceKind {
174
174
  "videoinput"
175
175
  };
176
176
 
177
- [Exposed=Window]
177
+ [Exposed=Window, SecureContext]
178
178
  interface InputDeviceInfo : MediaDeviceInfo {
179
179
  MediaTrackCapabilities getCapabilities();
180
180
  };
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.17.2",
4
+ "version": "3.18.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
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/webappsec-trusted-types/dist/spec/)
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(optional URLPatternInput input = {}, optional USVString baseURL);
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/webidl.idl CHANGED
@@ -9,7 +9,7 @@ typedef (Int8Array or Int16Array or Int32Array or
9
9
  Float32Array or Float64Array or DataView) ArrayBufferView;
10
10
 
11
11
  typedef (ArrayBufferView or ArrayBuffer) BufferSource;
12
- [Exposed=(Window,Worker),
12
+ [Exposed=*,
13
13
  Serializable]
14
14
  interface DOMException { // but see below note about ECMAScript binding
15
15
  constructor(optional DOMString message = "", optional DOMString name = "Error");
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
 
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=(DedicatedWorker,SharedWorker,Window), SecureContext]
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=(DedicatedWorker,SharedWorker), SecureContext]
32
+ [Exposed=Worker, SecureContext]
33
33
  partial interface WorkerNavigator {
34
34
  [SameObject] readonly attribute USB usb;
35
35
  };
@@ -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
- };