@webref/idl 3.42.4 → 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/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
@@ -46,7 +46,7 @@ interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
46
46
  [Default] object toJSON();
47
47
  };
48
48
 
49
- enum ScriptTimingType {
49
+ enum ScriptInvokerType {
50
50
  "classic-script",
51
51
  "module-script",
52
52
  "event-listener",
@@ -55,6 +55,10 @@ enum ScriptTimingType {
55
55
  "reject-promise"
56
56
  };
57
57
 
58
+ enum ScriptWindowAttribution {
59
+ "self", "descendant", "ancestor", "same-page", "other"
60
+ };
61
+
58
62
  [Exposed=Window]
59
63
  interface PerformanceScriptTiming : PerformanceEntry {
60
64
  /* Overloading PerformanceEntry */
@@ -63,8 +67,13 @@ interface PerformanceScriptTiming : PerformanceEntry {
63
67
  readonly attribute DOMString name;
64
68
  readonly attribute DOMString entryType;
65
69
 
66
- readonly attribute ScriptTimingType type;
70
+ readonly attribute ScriptInvokerType invokerType;
71
+ readonly attribute DOMString invoker;
67
72
  readonly attribute DOMHighResTimeStamp executionStart;
68
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;
69
78
  [Default] object toJSON();
70
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.4",
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/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 {