Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ“¦ Release @webref/[email protected] #1122

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 11, 2024

⚠ NEVER add commits to this pull request.

πŸ€– This pull request was automatically created to facilitate human review of @webref/idl changes triggered by curated data at 4914c4c.

🧐 Please review the diff below and version numbers. If all looks good, merge this pull request to release the changes to npm.

πŸ“¦ Latest released @webref/idl package was v3.42.4. Merging this pull request will release v3.42.5. Make sure that the bump is the right one for the changes.

✍ If any change needs to be made before release, do not add a commit to this pull request. Changes should rather be handled in a separate pull request and pushed to the main branch. You may leave this pull request open in the meantime, or close it. The pre-release job will automatically update this pull request or create a new one once the updates have made their way to the main branch.

πŸ›ˆ The actual change introduced by this pull request is a version bump in packages/idl/package.json. You do not need to review that change. The bumped version is not the version that will be released when this pull request is merged, but rather the version that will be released next time.

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/fenced-frame.idl packages/idl/fenced-frame.idl
--- webref/node_modules/@webref/idl/fenced-frame.idl
+++ packages/idl/fenced-frame.idl
@@ -52,7 +52,11 @@
   DOMString eventType;
   DOMString eventData;
   sequence<FenceReportingDestination> destination;
+
+  // When setting event data to be used later in an automatic beacon, the
+  // following properties are used:
   boolean once = false;
+  boolean crossOriginExposed = false;
 
   // When reporting to a custom destination URL (with substitution of macros defined by
   // the Protected Audience buyer), the following property is used:

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/html.idl packages/idl/html.idl
--- webref/node_modules/@webref/idl/html.idl
+++ packages/idl/html.idl
@@ -2472,6 +2472,7 @@
   // event handlers
   attribute EventHandler onmessage;
   attribute EventHandler onmessageerror;
+  attribute EventHandler onclose;
 };
 
 dictionary StructuredSerializeOptions {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/longtasks.idl packages/idl/longtasks.idl
--- webref/node_modules/@webref/idl/longtasks.idl
+++ packages/idl/longtasks.idl
@@ -46,7 +46,7 @@
     [Default] object toJSON();
 };
 
-enum ScriptTimingType {
+enum ScriptInvokerType {
     "classic-script",
     "module-script",
     "event-listener",
@@ -55,6 +55,10 @@
     "reject-promise"
 };
 
+enum ScriptWindowAttribution {
+    "self", "descendant", "ancestor", "same-page", "other"
+};
+
 [Exposed=Window]
 interface PerformanceScriptTiming : PerformanceEntry {
     /* Overloading PerformanceEntry */
@@ -63,8 +67,13 @@
     readonly attribute DOMString name;
     readonly attribute DOMString entryType;
 
-    readonly attribute ScriptTimingType type;
+    readonly attribute ScriptInvokerType invokerType;
+    readonly attribute DOMString invoker;
     readonly attribute DOMHighResTimeStamp executionStart;
     readonly attribute DOMString sourceLocation;
+    readonly attribute DOMHighResTimeStamp pauseDuration;
+    readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration;
+    readonly attribute Window? window;
+    readonly attribute ScriptWindowAttribution windowAttribution;
     [Default] object toJSON();
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/paint-timing.idl packages/idl/paint-timing.idl
--- webref/node_modules/@webref/idl/paint-timing.idl
+++ packages/idl/paint-timing.idl
@@ -1,7 +1,7 @@
 // GENERATED CONTENT - DO NOT EDIT
 // Content was automatically extracted by Reffy into webref
 // (https://github.com/w3c/webref)
-// Source: Paint Timing 1 (https://w3c.github.io/paint-timing/)
+// Source: Paint Timing (https://w3c.github.io/paint-timing/)
 
 [Exposed=Window]
 interface PerformancePaintTiming : PerformanceEntry {};

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/trust-token-api.idl packages/idl/trust-token-api.idl
--- webref/node_modules/@webref/idl/trust-token-api.idl
+++ packages/idl/trust-token-api.idl
@@ -29,6 +29,6 @@
 };
 
 partial interface Document {
-  Promise<boolean> hasPrivateTokens(USVString issuer);
+  Promise<boolean> hasPrivateToken(USVString issuer);
   Promise<boolean> hasRedemptionRecord(USVString issuer);
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/trusted-types.idl packages/idl/trusted-types.idl
--- webref/node_modules/@webref/idl/trusted-types.idl
+++ packages/idl/trusted-types.idl
@@ -53,13 +53,13 @@
 };
 
 dictionary TrustedTypePolicyOptions {
-   CreateHTMLCallback? createHTML;
-   CreateScriptCallback? createScript;
-   CreateScriptURLCallback? createScriptURL;
+   CreateHTMLCallback createHTML;
+   CreateScriptCallback createScript;
+   CreateScriptURLCallback createScriptURL;
 };
-callback CreateHTMLCallback = DOMString (DOMString input, any... arguments);
-callback CreateScriptCallback = DOMString (DOMString input, any... arguments);
-callback CreateScriptURLCallback = USVString (DOMString input, any... arguments);
+callback CreateHTMLCallback = DOMString? (DOMString input, any... arguments);
+callback CreateScriptCallback = DOMString? (DOMString input, any... arguments);
+callback CreateScriptURLCallback = USVString? (DOMString input, any... arguments);
 
 typedef [StringContext=TrustedHTML] DOMString HTMLString;
 typedef [StringContext=TrustedScript] DOMString ScriptString;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webauthn.idl packages/idl/webauthn.idl
--- webref/node_modules/@webref/idl/webauthn.idl
+++ packages/idl/webauthn.idl
@@ -58,7 +58,6 @@
     required Base64URLString authenticatorData;
     required Base64URLString signature;
     Base64URLString userHandle;
-    Base64URLString attestationObject;
 };
 
 dictionary AuthenticationExtensionsClientOutputsJSON {
@@ -77,9 +76,11 @@
 };
 
 partial interface PublicKeyCredential {
-    static Promise<boolean> isPasskeyPlatformAuthenticatorAvailable();
+    static Promise<PublicKeyCredentialClientCapabilities> getClientCapabilities();
 };
 
+typedef record<DOMString, boolean> PublicKeyCredentialClientCapabilities;
+
 partial interface PublicKeyCredential {
     static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
 };
@@ -124,8 +125,6 @@
     sequence<PublicKeyCredentialDescriptorJSON>             allowCredentials = [];
     DOMString                                               userVerification = "preferred";
     sequence<DOMString>                                     hints = [];
-    DOMString                                               attestation = "none";
-    sequence<DOMString>                                     attestationFormats = [];
     AuthenticationExtensionsClientInputsJSON                extensions;
 };
 
@@ -148,7 +147,6 @@
     [SameObject] readonly attribute ArrayBuffer      authenticatorData;
     [SameObject] readonly attribute ArrayBuffer      signature;
     [SameObject] readonly attribute ArrayBuffer?     userHandle;
-    [SameObject] readonly attribute ArrayBuffer?     attestationObject;
 };
 
 dictionary PublicKeyCredentialParameters {
@@ -217,8 +215,6 @@
     sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
     DOMString                            userVerification = "preferred";
     sequence<DOMString>                  hints = [];
-    DOMString                            attestation = "none";
-    sequence<DOMString>                  attestationFormats = [];
     AuthenticationExtensionsClientInputs extensions;
 };
 
@@ -270,6 +266,14 @@
     "discouraged"
 };
 
+enum ClientCapability {
+    "conditionalCreate",
+    "conditionalMediation",
+    "hybridTransport",
+    "passkeyPlatformAuthenticator",
+    "userVerifyingPlatformAuthenticator",
+};
+
 enum PublicKeyCredentialHints {
     "security-key",
     "client-device",
@@ -375,7 +379,7 @@
 };
 
 dictionary AuthenticationExtensionsSupplementalPubKeysOutputs {
-    sequence<ArrayBuffer> signatures;
+    required sequence<ArrayBuffer> signatures;
 };
 
 partial dictionary AuthenticationExtensionsClientOutputs {

@github-actions github-actions bot force-pushed the release-idl-20240111005246455 branch 16 times, most recently from fea49d0 to 6860757 Compare January 18, 2024 00:50
@github-actions github-actions bot force-pushed the release-idl-20240111005246455 branch from 6860757 to 4b5cb97 Compare January 18, 2024 06:38
@tidoust tidoust merged commit 86ec2d2 into main Jan 18, 2024
@tidoust tidoust deleted the release-idl-20240111005246455 branch January 18, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant