@webref/idl 3.42.3 → 3.42.5

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
@@ -56,6 +56,7 @@ dictionary IdentityProviderConfig {
56
56
  dictionary IdentityProviderRequestOptions : IdentityProviderConfig {
57
57
  USVString nonce;
58
58
  DOMString loginHint;
59
+ DOMString domainHint;
59
60
  };
60
61
 
61
62
  dictionary IdentityProviderWellKnown {
@@ -91,6 +92,7 @@ dictionary IdentityProviderAccount {
91
92
  USVString picture;
92
93
  sequence<USVString> approved_clients;
93
94
  sequence<DOMString> login_hints;
95
+ sequence<DOMString> domain_hints;
94
96
  };
95
97
  dictionary IdentityProviderAccountList {
96
98
  sequence<IdentityProviderAccount> accounts;
package/fenced-frame.idl CHANGED
@@ -52,7 +52,11 @@ dictionary FenceEvent {
52
52
  DOMString eventType;
53
53
  DOMString eventData;
54
54
  sequence<FenceReportingDestination> destination;
55
+
56
+ // When setting event data to be used later in an automatic beacon, the
57
+ // following properties are used:
55
58
  boolean once = false;
59
+ boolean crossOriginExposed = false;
56
60
 
57
61
  // When reporting to a custom destination URL (with substitution of macros defined by
58
62
  // the Protected Audience buyer), the following property is used:
package/html.idl CHANGED
@@ -2472,6 +2472,7 @@ interface MessagePort : EventTarget {
2472
2472
  // event handlers
2473
2473
  attribute EventHandler onmessage;
2474
2474
  attribute EventHandler onmessageerror;
2475
+ attribute EventHandler onclose;
2475
2476
  };
2476
2477
 
2477
2478
  dictionary StructuredSerializeOptions {
package/longtasks.idl CHANGED
@@ -5,12 +5,24 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface PerformanceLongTaskTiming : PerformanceEntry {
8
+ /* Overloading PerformanceEntry */
9
+ readonly attribute DOMHighResTimeStamp startTime;
10
+ readonly attribute DOMHighResTimeStamp duration;
11
+ readonly attribute DOMString name;
12
+ readonly attribute DOMString entryType;
13
+
8
14
  readonly attribute FrozenArray<TaskAttributionTiming> attribution;
9
15
  [Default] object toJSON();
10
16
  };
11
17
 
12
18
  [Exposed=Window]
13
19
  interface TaskAttributionTiming : PerformanceEntry {
20
+ /* Overloading PerformanceEntry */
21
+ readonly attribute DOMHighResTimeStamp startTime;
22
+ readonly attribute DOMHighResTimeStamp duration;
23
+ readonly attribute DOMString name;
24
+ readonly attribute DOMString entryType;
25
+
14
26
  readonly attribute DOMString containerType;
15
27
  readonly attribute DOMString containerSrc;
16
28
  readonly attribute DOMString containerId;
@@ -20,9 +32,48 @@ interface TaskAttributionTiming : PerformanceEntry {
20
32
 
21
33
  [Exposed=Window]
22
34
  interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
35
+ /* Overloading PerformanceEntry */
36
+ readonly attribute DOMHighResTimeStamp startTime;
37
+ readonly attribute DOMHighResTimeStamp duration;
38
+ readonly attribute DOMString name;
39
+ readonly attribute DOMString entryType;
40
+
23
41
  readonly attribute DOMHighResTimeStamp renderStart;
24
42
  readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
25
43
  readonly attribute DOMHighResTimeStamp blockingDuration;
44
+ readonly attribute DOMHighResTimeStamp firstUIEventTimestamp;
45
+ [SameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts;
46
+ [Default] object toJSON();
47
+ };
48
+
49
+ enum ScriptInvokerType {
50
+ "classic-script",
51
+ "module-script",
52
+ "event-listener",
53
+ "user-callback",
54
+ "resolve-promise",
55
+ "reject-promise"
56
+ };
57
+
58
+ enum ScriptWindowAttribution {
59
+ "self", "descendant", "ancestor", "same-page", "other"
60
+ };
61
+
62
+ [Exposed=Window]
63
+ interface PerformanceScriptTiming : PerformanceEntry {
64
+ /* Overloading PerformanceEntry */
65
+ readonly attribute DOMHighResTimeStamp startTime;
66
+ readonly attribute DOMHighResTimeStamp duration;
67
+ readonly attribute DOMString name;
68
+ readonly attribute DOMString entryType;
26
69
 
70
+ readonly attribute ScriptInvokerType invokerType;
71
+ readonly attribute DOMString invoker;
72
+ readonly attribute DOMHighResTimeStamp executionStart;
73
+ readonly attribute DOMString sourceLocation;
74
+ readonly attribute DOMHighResTimeStamp pauseDuration;
75
+ readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration;
76
+ readonly attribute Window? window;
77
+ readonly attribute ScriptWindowAttribution windowAttribution;
27
78
  [Default] object toJSON();
28
79
  };
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.42.3",
4
+ "version": "3.42.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/paint-timing.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: Paint Timing 1 (https://w3c.github.io/paint-timing/)
4
+ // Source: Paint Timing (https://w3c.github.io/paint-timing/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface PerformancePaintTiming : PerformanceEntry {};
@@ -29,6 +29,6 @@ partial interface XMLHttpRequest {
29
29
  };
30
30
 
31
31
  partial interface Document {
32
- Promise<boolean> hasPrivateTokens(USVString issuer);
32
+ Promise<boolean> hasPrivateToken(USVString issuer);
33
33
  Promise<boolean> hasRedemptionRecord(USVString issuer);
34
34
  };
package/trusted-types.idl CHANGED
@@ -53,13 +53,13 @@ interface TrustedTypePolicy {
53
53
  };
54
54
 
55
55
  dictionary TrustedTypePolicyOptions {
56
- CreateHTMLCallback? createHTML;
57
- CreateScriptCallback? createScript;
58
- CreateScriptURLCallback? createScriptURL;
56
+ CreateHTMLCallback createHTML;
57
+ CreateScriptCallback createScript;
58
+ CreateScriptURLCallback createScriptURL;
59
59
  };
60
- callback CreateHTMLCallback = DOMString (DOMString input, any... arguments);
61
- callback CreateScriptCallback = DOMString (DOMString input, any... arguments);
62
- callback CreateScriptURLCallback = USVString (DOMString input, any... arguments);
60
+ callback CreateHTMLCallback = DOMString? (DOMString input, any... arguments);
61
+ callback CreateScriptCallback = DOMString? (DOMString input, any... arguments);
62
+ callback CreateScriptURLCallback = USVString? (DOMString input, any... arguments);
63
63
 
64
64
  typedef [StringContext=TrustedHTML] DOMString HTMLString;
65
65
  typedef [StringContext=TrustedScript] DOMString ScriptString;
package/wai-aria.idl CHANGED
@@ -8,6 +8,8 @@ interface mixin ARIAMixin {
8
8
  [CEReactions] attribute Element? ariaActiveDescendantElement;
9
9
  [CEReactions] attribute DOMString? ariaAtomic;
10
10
  [CEReactions] attribute DOMString? ariaAutoComplete;
11
+ [CEReactions] attribute DOMString? ariaBrailleLabel;
12
+ [CEReactions] attribute DOMString? ariaBrailleRoleDescription;
11
13
  [CEReactions] attribute DOMString? ariaBusy;
12
14
  [CEReactions] attribute DOMString? ariaChecked;
13
15
  [CEReactions] attribute DOMString? ariaColCount;
package/webauthn.idl CHANGED
@@ -58,7 +58,6 @@ dictionary AuthenticatorAssertionResponseJSON {
58
58
  required Base64URLString authenticatorData;
59
59
  required Base64URLString signature;
60
60
  Base64URLString userHandle;
61
- Base64URLString attestationObject;
62
61
  };
63
62
 
64
63
  dictionary AuthenticationExtensionsClientOutputsJSON {
@@ -77,9 +76,11 @@ partial interface PublicKeyCredential {
77
76
  };
78
77
 
79
78
  partial interface PublicKeyCredential {
80
- static Promise<boolean> isPasskeyPlatformAuthenticatorAvailable();
79
+ static Promise<PublicKeyCredentialClientCapabilities> getClientCapabilities();
81
80
  };
82
81
 
82
+ typedef record<DOMString, boolean> PublicKeyCredentialClientCapabilities;
83
+
83
84
  partial interface PublicKeyCredential {
84
85
  static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
85
86
  };
@@ -124,8 +125,6 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
124
125
  sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
125
126
  DOMString userVerification = "preferred";
126
127
  sequence<DOMString> hints = [];
127
- DOMString attestation = "none";
128
- sequence<DOMString> attestationFormats = [];
129
128
  AuthenticationExtensionsClientInputsJSON extensions;
130
129
  };
131
130
 
@@ -148,7 +147,6 @@ interface AuthenticatorAssertionResponse : AuthenticatorResponse {
148
147
  [SameObject] readonly attribute ArrayBuffer authenticatorData;
149
148
  [SameObject] readonly attribute ArrayBuffer signature;
150
149
  [SameObject] readonly attribute ArrayBuffer? userHandle;
151
- [SameObject] readonly attribute ArrayBuffer? attestationObject;
152
150
  };
153
151
 
154
152
  dictionary PublicKeyCredentialParameters {
@@ -217,8 +215,6 @@ dictionary PublicKeyCredentialRequestOptions {
217
215
  sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
218
216
  DOMString userVerification = "preferred";
219
217
  sequence<DOMString> hints = [];
220
- DOMString attestation = "none";
221
- sequence<DOMString> attestationFormats = [];
222
218
  AuthenticationExtensionsClientInputs extensions;
223
219
  };
224
220
 
@@ -270,6 +266,14 @@ enum UserVerificationRequirement {
270
266
  "discouraged"
271
267
  };
272
268
 
269
+ enum ClientCapability {
270
+ "conditionalCreate",
271
+ "conditionalMediation",
272
+ "hybridTransport",
273
+ "passkeyPlatformAuthenticator",
274
+ "userVerifyingPlatformAuthenticator",
275
+ };
276
+
273
277
  enum PublicKeyCredentialHints {
274
278
  "security-key",
275
279
  "client-device",
@@ -375,7 +379,7 @@ partial dictionary AuthenticationExtensionsClientInputs {
375
379
  };
376
380
 
377
381
  dictionary AuthenticationExtensionsSupplementalPubKeysOutputs {
378
- sequence<ArrayBuffer> signatures;
382
+ required sequence<ArrayBuffer> signatures;
379
383
  };
380
384
 
381
385
  partial dictionary AuthenticationExtensionsClientOutputs {
package/webgpu.idl CHANGED
@@ -640,7 +640,7 @@ dictionary GPUProgrammableStage {
640
640
  record<USVString, GPUPipelineConstantValue> constants;
641
641
  };
642
642
 
643
- typedef double GPUPipelineConstantValue; // May represent WGSLs bool, f32, i32, u32, and f16 if enabled.
643
+ typedef double GPUPipelineConstantValue; // May represent WGSL's bool, f32, i32, u32, and f16 if enabled.
644
644
 
645
645
  [Exposed=(Window, DedicatedWorker), SecureContext]
646
646
  interface GPUComputePipeline {
package/webidl.idl CHANGED
@@ -12,7 +12,7 @@ typedef (ArrayBufferView or ArrayBuffer) BufferSource;
12
12
  typedef (ArrayBuffer or SharedArrayBuffer or [AllowShared] ArrayBufferView) AllowSharedBufferSource;
13
13
  [Exposed=*,
14
14
  Serializable]
15
- interface DOMException { // but see below note about ECMAScript binding
15
+ interface DOMException { // but see below note about JavaScript binding
16
16
  constructor(optional DOMString message = "", optional DOMString name = "Error");
17
17
  readonly attribute DOMString name;
18
18
  readonly attribute DOMString message;