@webref/idl 3.41.2 → 3.42.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 CHANGED
@@ -18,11 +18,20 @@ partial interface Navigator {
18
18
  [SecureContext] readonly attribute NavigatorLogin login;
19
19
  };
20
20
 
21
+ dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
22
+ required USVString accountHint;
23
+ };
24
+
21
25
  [Exposed=Window, SecureContext]
22
26
  interface IdentityCredential : Credential {
27
+ static Promise<undefined> disconnect(optional IdentityCredentialDisconnectOptions options = {});
23
28
  readonly attribute USVString? token;
24
29
  };
25
30
 
31
+ dictionary DisconnectedAccount {
32
+ required USVString account_id;
33
+ };
34
+
26
35
  partial dictionary CredentialRequestOptions {
27
36
  IdentityCredentialRequestOptions identity;
28
37
  };
@@ -35,13 +44,16 @@ enum IdentityCredentialRequestOptionsContext {
35
44
  };
36
45
 
37
46
  dictionary IdentityCredentialRequestOptions {
38
- required sequence<IdentityProviderConfig> providers;
47
+ required sequence<IdentityProviderRequestOptions> providers;
39
48
  IdentityCredentialRequestOptionsContext context = "signin";
40
49
  };
41
50
 
42
51
  dictionary IdentityProviderConfig {
43
52
  required USVString configURL;
44
53
  required USVString clientId;
54
+ };
55
+
56
+ dictionary IdentityProviderRequestOptions : IdentityProviderConfig {
45
57
  USVString nonce;
46
58
  DOMString loginHint;
47
59
  };
@@ -67,6 +79,7 @@ dictionary IdentityProviderAPIConfig {
67
79
  required USVString client_metadata_endpoint;
68
80
  required USVString id_assertion_endpoint;
69
81
  required USVString login_url;
82
+ USVString disconnect_endpoint;
70
83
  IdentityProviderBranding branding;
71
84
  };
72
85
 
@@ -0,0 +1,12 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Iframe credentialless (https://wicg.github.io/anonymous-iframe/)
5
+
6
+ partial interface HTMLIFrameElement {
7
+ attribute boolean credentialless;
8
+ };
9
+
10
+ partial interface Window {
11
+ readonly attribute boolean credentialless;
12
+ };
package/html.idl CHANGED
@@ -2249,11 +2249,11 @@ enum DOMParserSupportedType {
2249
2249
  };
2250
2250
 
2251
2251
  partial interface Element {
2252
- undefined setHTMLUnsafe(DOMString html);
2252
+ [CEReactions] undefined setHTMLUnsafe(DOMString html);
2253
2253
  };
2254
2254
 
2255
2255
  partial interface ShadowRoot {
2256
- undefined setHTMLUnsafe(DOMString html);
2256
+ [CEReactions] undefined setHTMLUnsafe(DOMString html);
2257
2257
  };
2258
2258
 
2259
2259
  [Exposed=Window]
@@ -15,7 +15,7 @@ interface DeviceOrientationEvent : Event {
15
15
  readonly attribute double? gamma;
16
16
  readonly attribute boolean absolute;
17
17
 
18
- static Promise<PermissionState> requestPermission();
18
+ static Promise<PermissionState> requestPermission(optional boolean absolute = false);
19
19
  };
20
20
 
21
21
  dictionary DeviceOrientationEventInit : EventInit {
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.41.2",
4
+ "version": "3.42.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/uievents.idl CHANGED
@@ -101,7 +101,7 @@ dictionary WheelEventInit : MouseEventInit {
101
101
  [Exposed=Window]
102
102
  interface InputEvent : UIEvent {
103
103
  constructor(DOMString type, optional InputEventInit eventInitDict = {});
104
- readonly attribute DOMString? data;
104
+ readonly attribute USVString? data;
105
105
  readonly attribute boolean isComposing;
106
106
  readonly attribute DOMString inputType;
107
107
  };
@@ -147,7 +147,7 @@ dictionary KeyboardEventInit : EventModifierInit {
147
147
  [Exposed=Window]
148
148
  interface CompositionEvent : UIEvent {
149
149
  constructor(DOMString type, optional CompositionEventInit eventInitDict = {});
150
- readonly attribute DOMString data;
150
+ readonly attribute USVString data;
151
151
  };
152
152
 
153
153
  dictionary CompositionEventInit : UIEventInit {
package/urlpattern.idl CHANGED
@@ -22,6 +22,8 @@ interface URLPattern {
22
22
  readonly attribute USVString pathname;
23
23
  readonly attribute USVString search;
24
24
  readonly attribute USVString hash;
25
+
26
+ readonly attribute boolean hasRegExpGroups;
25
27
  };
26
28
 
27
29
  dictionary URLPatternInit {
@@ -57,3 +59,5 @@ dictionary URLPatternComponentResult {
57
59
  USVString input;
58
60
  record<USVString, (USVString or undefined)> groups;
59
61
  };
62
+
63
+ typedef (USVString or URLPatternInit or URLPattern) URLPatternCompatible;
package/webtransport.idl CHANGED
@@ -39,6 +39,8 @@ interface WebTransport {
39
39
  /* a ReadableStream of WebTransportReceiveStream objects */
40
40
  readonly attribute ReadableStream incomingUnidirectionalStreams;
41
41
  WebTransportSendGroup createSendGroup();
42
+
43
+ static readonly attribute boolean supportsReliableOnly;
42
44
  };
43
45
 
44
46
  enum WebTransportReliabilityMode {