Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented May 26, 2025

⚠ 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 40c4be5.

🧐 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.64.0. Merging this pull request will release v3.64.1. 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/cssom-view.idl packages/idl/cssom-view.idl
--- webref/node_modules/@webref/idl/cssom-view.idl
+++ packages/idl/cssom-view.idl
@@ -141,6 +141,7 @@
 };
 
 partial interface HTMLElement {
+  readonly attribute Element? scrollParent;
   readonly attribute Element? offsetParent;
   readonly attribute long offsetTop;
   readonly attribute long offsetLeft;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/screen-capture.idl packages/idl/screen-capture.idl
--- webref/node_modules/@webref/idl/screen-capture.idl
+++ packages/idl/screen-capture.idl
@@ -29,6 +29,12 @@
   "exclude"
 };
 
+enum WindowAudioPreferenceEnum {
+  "system",
+  "window",
+  "exclude"
+};
+
 enum SurfaceSwitchingPreferenceEnum {
   "include",
   "exclude"
@@ -45,6 +51,7 @@
   CaptureController controller;
   SelfCapturePreferenceEnum selfBrowserSurface;
   SystemAudioPreferenceEnum systemAudio;
+  WindowAudioPreferenceEnum windowAudio;
   SurfaceSwitchingPreferenceEnum surfaceSwitching;
   MonitorTypeSurfacesEnum monitorTypeSurfaces;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/secure-payment-confirmation.idl packages/idl/secure-payment-confirmation.idl
--- webref/node_modules/@webref/idl/secure-payment-confirmation.idl
+++ packages/idl/secure-payment-confirmation.idl
@@ -11,6 +11,7 @@
     unsigned long timeout;
     USVString payeeName;
     USVString payeeOrigin;
+    sequence<PaymentEntityLogo> paymentEntitiesLogos;
     AuthenticationExtensionsClientInputs extensions;
     sequence<USVString> locale;
     boolean showOptOut;
@@ -40,6 +41,7 @@
   USVString topOrigin;
   USVString payeeName;
   USVString payeeOrigin;
+  sequence<PaymentEntityLogo> paymentEntitiesLogos;
   PaymentCurrencyAmount total;
   PaymentCredentialInstrument instrument;
 };
@@ -53,6 +55,7 @@
     required USVString topOrigin;
     USVString payeeName;
     USVString payeeOrigin;
+    sequence<PaymentEntityLogo> paymentEntitiesLogos;
     required PaymentCurrencyAmount total;
     required PaymentCredentialInstrument instrument;
 };
@@ -62,3 +65,8 @@
     required USVString icon;
     boolean iconMustBeShown = true;
 };
+
+dictionary PaymentEntityLogo {
+    required USVString url;
+    required USVString label;
+};

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/speech-api.idl packages/idl/speech-api.idl
--- webref/node_modules/@webref/idl/speech-api.idl
+++ packages/idl/speech-api.idl
@@ -12,7 +12,7 @@
     attribute boolean continuous;
     attribute boolean interimResults;
     attribute unsigned long maxAlternatives;
-    attribute SpeechRecognitionMode mode;
+    attribute boolean processLocally;
     attribute SpeechRecognitionPhraseList phrases;
 
     // methods to drive the speech interaction
@@ -20,8 +20,8 @@
     undefined start(MediaStreamTrack audioTrack);
     undefined stop();
     undefined abort();
-    static Promise<AvailabilityStatus> availableOnDevice(DOMString lang);
-    static Promise<boolean> installOnDevice(DOMString lang);
+    static Promise<AvailabilityStatus> available(SpeechRecognitionOptions options);
+    static Promise<boolean> install(SpeechRecognitionOptions options);
 
     // event methods
     attribute EventHandler onaudiostart;
@@ -37,6 +37,11 @@
     attribute EventHandler onend;
 };
 
+dictionary SpeechRecognitionOptions {
+  required sequence<DOMString> langs;
+  boolean processLocally = false;
+};
+
 enum SpeechRecognitionErrorCode {
     "no-speech",
     "aborted",
@@ -48,12 +53,6 @@
     "phrases-not-supported"
 };
 
-enum SpeechRecognitionMode {
-    "ondevice-preferred", // On-device speech recognition if available, otherwise use Cloud speech recognition as a fallback.
-    "ondevice-only", // On-device speech recognition only. Returns an error if on-device speech recognition is not available.
-    "cloud-only", // Cloud speech recognition only.
-};
-
 enum AvailabilityStatus {
     "unavailable",
     "downloadable",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/web-animations-2.idl packages/idl/web-animations-2.idl
--- webref/node_modules/@webref/idl/web-animations-2.idl
+++ packages/idl/web-animations-2.idl
@@ -118,7 +118,7 @@
 interface AnimationTrigger {
   constructor(optional AnimationTriggerOptions options = {});
   attribute AnimationTimeline timeline;
-  attribute AnimationTriggerType type;
+  attribute AnimationTriggerBehavior behavior;
   attribute any rangeStart;
   attribute any rangeEnd;
   attribute any exitRangeStart;
@@ -127,11 +127,11 @@
 
 dictionary AnimationTriggerOptions {
   AnimationTimeline? timeline;
-  AnimationTriggerType? type = "once";
+  AnimationTriggerBehavior? behavior = "once";
   (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
   (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
   (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeStart = "auto";
   (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeEnd = "auto";
 };
 
-enum AnimationTriggerType { "once", "repeat", "alternate", "state" };
+enum AnimationTriggerBehavior { "once", "repeat", "alternate", "state" };

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
@@ -127,6 +127,7 @@
     "clip-distances",
     "dual-source-blending",
     "subgroups",
+    "texture-formats-tier1",
 };
 
 [Exposed=(Window, Worker), SecureContext]
@@ -295,6 +296,8 @@
     "r8sint",
 
     // 16-bit formats
+    "r16unorm",
+    "r16snorm",
     "r16uint",
     "r16sint",
     "r16float",
@@ -307,6 +310,8 @@
     "r32uint",
     "r32sint",
     "r32float",
+    "rg16unorm",
+    "rg16snorm",
     "rg16uint",
     "rg16sint",
     "rg16float",
@@ -327,6 +332,8 @@
     "rg32uint",
     "rg32sint",
     "rg32float",
+    "rgba16unorm",
+    "rgba16snorm",
     "rgba16uint",
     "rgba16sint",
     "rgba16float",
@@ -556,7 +563,11 @@
     required sequence<GPUBindGroupEntry> entries;
 };
 
-typedef (GPUSampler or GPUTextureView or GPUBufferBinding or GPUExternalTexture) GPUBindingResource;
+typedef (GPUSampler or
+         GPUTextureView or
+         GPUBuffer or
+         GPUBufferBinding or
+         GPUExternalTexture) GPUBindingResource;
 
 dictionary GPUBindGroupEntry {
     required GPUIndex32 binding;
@@ -990,7 +1001,7 @@
         optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
 
     undefined setBindGroup(GPUIndex32 index, GPUBindGroup? bindGroup,
-        Uint32Array dynamicOffsetsData,
+        [AllowShared] Uint32Array dynamicOffsetsData,
         GPUSize64 dynamicOffsetsDataStart,
         GPUSize32 dynamicOffsetsDataLength);
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/writing-assistance-apis.idl packages/idl/writing-assistance-apis.idl
--- webref/node_modules/@webref/idl/writing-assistance-apis.idl
+++ packages/idl/writing-assistance-apis.idl
@@ -56,7 +56,7 @@
   DOMString context;
 };
 
-enum SummarizerType { "tl;dr", "teaser", "key-points", "headline" };
+enum SummarizerType { "tldr", "teaser", "key-points", "headline" };
 enum SummarizerFormat { "plain-text", "markdown" };
 enum SummarizerLength { "short", "medium", "long" };

@github-actions github-actions bot force-pushed the release-idl-20250526130221672 branch 6 times, most recently from 215adbb to 2e2031c Compare May 28, 2025 01:01
@github-actions github-actions bot force-pushed the release-idl-20250526130221672 branch from 2e2031c to e83147d Compare May 28, 2025 06:48
@tidoust tidoust merged commit 8ccb64f into main May 28, 2025
@tidoust tidoust deleted the release-idl-20250526130221672 branch May 28, 2025 07:50
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