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/idl@3.53.0 #1318

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 20, 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 14b938c.

🧐 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.52.2. Merging this pull request will release v3.53.0. 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.

New repo files that are not yet in the released package:
+ css-viewport.idl

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/css-view-transitions-2.idl packages/idl/css-view-transitions-2.idl
--- webref/node_modules/@webref/idl/css-view-transitions-2.idl
+++ packages/idl/css-view-transitions-2.idl
@@ -3,11 +3,9 @@
 // (https://github.com/w3c/webref)
 // Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
 
-enum ViewTransitionNavigation { "auto", "none" };
-
 [Exposed=Window]
 interface CSSViewTransitionRule : CSSRule {
-  readonly attribute ViewTransitionNavigation navigation;
+  readonly attribute CSSOMString navigation;
   [SameObject] readonly attribute FrozenArray<CSSOMString> types;
 };
 
@@ -22,11 +20,10 @@
 };
 
 dictionary StartViewTransitionOptions {
-  UpdateCallback? update = null;
+  ViewTransitionUpdateCallback? update = null;
   sequence<DOMString>? types = null;
 };
 
 partial interface Document {
-
-  ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
+  ViewTransition startViewTransition(optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {});
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/css-view-transitions.idl packages/idl/css-view-transitions.idl
--- webref/node_modules/@webref/idl/css-view-transitions.idl
+++ packages/idl/css-view-transitions.idl
@@ -3,7 +3,7 @@
 // (https://github.com/w3c/webref)
 // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
 
-callback UpdateCallback = Promise<any> ();
+callback ViewTransitionUpdateCallback = Promise<any> ();
 
 [Exposed=Window]
 interface ViewTransition {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/digital-identities.idl packages/idl/digital-identities.idl
--- webref/node_modules/@webref/idl/digital-identities.idl
+++ packages/idl/digital-identities.idl
@@ -12,10 +12,10 @@
 };
 
 dictionary DigitalCredentialRequestOptions {
-  sequence<IdentityRequestProvider> providers;
+  sequence<DigitalCredentialsProvider> providers;
 };
 
-dictionary IdentityRequestProvider {
+dictionary DigitalCredentialsProvider {
   required DOMString protocol;
   required object request;
 };
@@ -23,5 +23,5 @@
 [Exposed=Window, SecureContext]
 interface DigitalCredential : Credential {
   readonly attribute DOMString protocol;
-  readonly attribute any data;
+  readonly attribute object data;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/document-picture-in-picture.idl packages/idl/document-picture-in-picture.idl
--- webref/node_modules/@webref/idl/document-picture-in-picture.idl
+++ packages/idl/document-picture-in-picture.idl
@@ -21,6 +21,7 @@
   [EnforceRange] unsigned long long width = 0;
   [EnforceRange] unsigned long long height = 0;
   boolean disallowReturnToOpener = false;
+  boolean preferInitialWindowPlacement = false;
 };
 
 [Exposed=Window, SecureContext]

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
@@ -10,6 +10,7 @@
   [CEReactions] attribute FencedFrameConfig? config;
   [CEReactions] attribute DOMString width;
   [CEReactions] attribute DOMString height;
+  [SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
   [CEReactions] attribute DOMString allow;
 };
 

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
@@ -125,6 +125,7 @@
   [CEReactions] attribute boolean spellcheck;
   [CEReactions] attribute DOMString writingSuggestions;
   [CEReactions] attribute DOMString autocapitalize;
+  [CEReactions] attribute boolean autocorrect;
 
   [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerText;
   [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerText;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/ink-enhancement.idl packages/idl/ink-enhancement.idl
--- webref/node_modules/@webref/idl/ink-enhancement.idl
+++ packages/idl/ink-enhancement.idl
@@ -16,7 +16,6 @@
 [Exposed=Window]
 interface InkPresenter {
     readonly attribute Element? presentationArea;
-    readonly attribute unsigned long expectedImprovement;
 
     undefined updateInkTrailStartPoint(PointerEvent event, InkTrailStyle style);
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/shared-storage.idl packages/idl/shared-storage.idl
--- webref/node_modules/@webref/idl/shared-storage.idl
+++ packages/idl/shared-storage.idl
@@ -23,7 +23,7 @@
   undefined register(DOMString name,
                      Function operationCtor);
 
-  readonly attribute WorkletSharedStorage sharedStorage;
+  readonly attribute SharedStorage sharedStorage;
 };
 
 dictionary SharedStorageUrlWithMetadata {
@@ -31,6 +31,10 @@
   object reportingMetadata;
 };
 
+partial interface Window {
+  [SecureContext] readonly attribute SharedStorage? sharedStorage;
+};
+
 [Exposed=(Window,SharedStorageWorklet)]
 interface SharedStorage {
   Promise<any> set(DOMString key,
@@ -40,23 +44,37 @@
                       DOMString value);
   Promise<any> delete(DOMString key);
   Promise<any> clear();
-};
-
-dictionary SharedStorageSetMethodOptions {
-  boolean ignoreIfPresent = false;
-};
 
-[Exposed=(Window)]
-interface WindowSharedStorage : SharedStorage {
+  [Exposed=Window]
   Promise<SharedStorageResponse> selectURL(DOMString name,
                                sequence<SharedStorageUrlWithMetadata> urls,
                                optional SharedStorageRunOperationMethodOptions options = {});
+
+  [Exposed=Window]
   Promise<any> run(DOMString name,
                    optional SharedStorageRunOperationMethodOptions options = {});
 
+  [Exposed=Window]
   Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional SharedStorageWorkletOptions options = {});
 
+  [Exposed=Window]
   readonly attribute SharedStorageWorklet worklet;
+
+  [Exposed=SharedStorageWorklet]
+  Promise<DOMString> get(DOMString key);
+
+  [Exposed=SharedStorageWorklet]
+  Promise<unsigned long> length();
+
+  [Exposed=SharedStorageWorklet]
+  Promise<double> remainingBudget();
+
+  [Exposed=SharedStorageWorklet]
+  async iterable<DOMString, DOMString>;
+};
+
+dictionary SharedStorageSetMethodOptions {
+  boolean ignoreIfPresent = false;
 };
 
 dictionary SharedStorageRunOperationMethodOptions {
@@ -69,19 +87,6 @@
   SharedStorageDataOrigin dataOrigin = "context-origin";
 };
 
-partial interface Window {
-  [SecureContext] readonly attribute WindowSharedStorage? sharedStorage;
-};
-
-[Exposed=(SharedStorageWorklet)]
-interface WorkletSharedStorage : SharedStorage {
-  Promise<DOMString> get(DOMString key);
-  Promise<unsigned long> length();
-  Promise<double> remainingBudget();
-
-  async iterable<DOMString, DOMString>;
-};
-
 interface mixin HTMLSharedStorageWritableElementUtils {
   [CEReactions, SecureContext] attribute boolean sharedStorageWritable;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/turtledove.idl packages/idl/turtledove.idl
--- webref/node_modules/@webref/idl/turtledove.idl
+++ packages/idl/turtledove.idl
@@ -10,6 +10,7 @@
 
 dictionary AuctionAd {
   required USVString renderURL;
+  USVString sizeGroup;
   any metadata;
 
   USVString buyerReportingId;
@@ -17,6 +18,11 @@
   sequence<USVString> allowedReportingOrigins;
 };
 
+dictionary AuctionAdInterestGroupSize {
+  required USVString width;
+  required USVString height;
+};
+
 dictionary GenerateBidInterestGroup {
   required USVString owner;
   required USVString name;
@@ -36,6 +42,8 @@
   any userBiddingSignals;
   sequence<AuctionAd> ads;
   sequence<AuctionAd> adComponents;
+  record<DOMString, AuctionAdInterestGroupSize> adSizes;
+  record<DOMString, sequence<DOMString>> sizeGroups;
 };
 
 dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
@@ -104,6 +112,9 @@
   sequence<AuctionAdConfig> componentAuctions = [];
   AbortSignal? signal;
   Promise<boolean> resolveToConfig;
+
+  Promise<Uint8Array> serverResponse;
+  USVString requestId;
 };
 
 [SecureContext]
@@ -112,6 +123,21 @@
 };
 
 [SecureContext]
+partial interface Navigator {
+  Promise<AdAuctionData> getInterestGroupAdAuctionData(AdAuctionDataConfig config);
+};
+
+dictionary AdAuctionDataConfig {
+  required USVString seller;
+  required USVString coordinatorOrigin;
+};
+
+dictionary AdAuctionData {
+  required Uint8Array request;
+  required USVString requestId;
+};
+
+[SecureContext]
 partial interface Navigator {
   Promise<DOMString> createAuctionNonce();
 };

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
@@ -128,6 +128,30 @@
     AuthenticationExtensionsClientInputsJSON                extensions;
 };
 
+partial interface PublicKeyCredential {
+    static Promise<undefined> signalUnknownCredential(UnknownCredentialOptions options);
+    static Promise<undefined> signalAllAcceptedCredentials(AllAcceptedCredentialsOptions options);
+    static Promise<undefined> signalCurrentUserDetails(CurrentUserDetailsOptions options);
+};
+
+dictionary UnknownCredentialOptions {
+    required DOMString                     rpId;
+    required Base64URLString               credentialId;
+};
+
+dictionary AllAcceptedCredentialsOptions {
+    required DOMString                     rpId;
+    required Base64URLString               userId;
+    required sequence<Base64URLString>     allAcceptedCredentialIds;
+};
+
+dictionary CurrentUserDetailsOptions {
+    required DOMString                     rpId;
+    required Base64URLString               userId;
+    required DOMString                     name;
+    required DOMString                     displayName;
+};
+
 [SecureContext, Exposed=Window]
 interface AuthenticatorResponse {
     [SameObject] readonly attribute ArrayBuffer      clientDataJSON;
@@ -272,7 +296,10 @@
     "hybridTransport",
     "passkeyPlatformAuthenticator",
     "userVerifyingPlatformAuthenticator",
-    "relatedOrigins"
+    "relatedOrigins",
+    "signalAllAcceptedCredentials",
+    "signalCurrentUserDetails",
+    "signalUnknownCredential"
 };
 
 enum PublicKeyCredentialHints {
@@ -303,7 +330,7 @@
 
 dictionary CredentialPropertiesOutput {
     boolean rk;
-    USVString authenticatorDisplayName;
+    DOMString authenticatorDisplayName;
 };
 
 partial dictionary AuthenticationExtensionsClientOutputs {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webgpu.idl packages/idl/webgpu.idl
--- webref/node_modules/@webref/idl/webgpu.idl
+++ packages/idl/webgpu.idl
@@ -35,7 +35,6 @@
     readonly attribute unsigned long long maxBufferSize;
     readonly attribute unsigned long maxVertexAttributes;
     readonly attribute unsigned long maxVertexBufferArrayStride;
-    readonly attribute unsigned long maxInterStageShaderComponents;
     readonly attribute unsigned long maxInterStageShaderVariables;
     readonly attribute unsigned long maxColorAttachments;
     readonly attribute unsigned long maxColorAttachmentBytesPerSample;
@@ -101,7 +100,7 @@
 dictionary GPUDeviceDescriptor
          : GPUObjectDescriptorBase {
     sequence<GPUFeatureName> requiredFeatures = [];
-    record<DOMString, GPUSize64> requiredLimits = {};
+    record<DOMString, (GPUSize64 or undefined)> requiredLimits = {};
     GPUQueueDescriptor defaultQueue = {};
 };
 
@@ -579,7 +578,6 @@
 dictionary GPUShaderModuleDescriptor
          : GPUObjectDescriptorBase {
     required USVString code;
-    object sourceMap;
     sequence<GPUShaderModuleCompilationHint> compilationHints = [];
 };
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webrtc.idl packages/idl/webrtc.idl
--- webref/node_modules/@webref/idl/webrtc.idl
+++ packages/idl/webrtc.idl
@@ -317,6 +317,7 @@
 
 dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
   boolean active = true;
+  RTCRtpCodec codec;
   unsigned long maxBitrate;
   double maxFramerate;
   double scaleResolutionDownBy;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webxr.idl packages/idl/webxr.idl
--- webref/node_modules/@webref/idl/webxr.idl
+++ packages/idl/webxr.idl
@@ -178,7 +178,7 @@
   [SameObject] readonly attribute XRSpace targetRaySpace;
   [SameObject] readonly attribute XRSpace? gripSpace;
   [SameObject] readonly attribute FrozenArray<DOMString> profiles;
-  [SameObject] readonly attribute boolean skipRendering;
+  readonly attribute boolean skipRendering;
 };
 
 [SecureContext, Exposed=Window]

@github-actions github-actions bot force-pushed the release-idl-20240820064333712 branch 5 times, most recently from 96f1b85 to 6503606 Compare August 22, 2024 01:00
@github-actions github-actions bot force-pushed the release-idl-20240820064333712 branch 16 times, most recently from 3b27d0e to a17999a Compare August 29, 2024 06:44
@github-actions github-actions bot force-pushed the release-idl-20240820064333712 branch 3 times, most recently from ab710c3 to bec916a Compare August 30, 2024 00:59
@github-actions github-actions bot force-pushed the release-idl-20240820064333712 branch from bec916a to 8c7bf18 Compare August 30, 2024 06:43
@tidoust tidoust merged commit 52072b7 into main Aug 30, 2024
@tidoust tidoust deleted the release-idl-20240820064333712 branch August 30, 2024 07:17
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.

2 participants