Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 10, 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 7d6c5a4.

🧐 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.67.1. Merging this pull request will release v3.68.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:
+ body-tracking.idl

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/SVG.idl packages/idl/SVG.idl
--- webref/node_modules/@webref/idl/SVG.idl
+++ packages/idl/SVG.idl
@@ -179,7 +179,7 @@
 
 [Exposed=Window]
 interface SVGAnimatedString {
-           attribute DOMString baseVal;
+           attribute (DOMString or TrustedScriptURL) baseVal;
   readonly attribute DOMString animVal;
 };
 
@@ -245,16 +245,16 @@
 
   undefined deselectAll();
 
-  SVGNumber createSVGNumber();
-  SVGLength createSVGLength();
-  SVGAngle createSVGAngle();
-  DOMPoint createSVGPoint();
-  DOMMatrix createSVGMatrix();
-  DOMRect createSVGRect();
-  SVGTransform createSVGTransform();
-  SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
+  [NewObject] SVGNumber createSVGNumber();
+  [NewObject] SVGLength createSVGLength();
+  [NewObject] SVGAngle createSVGAngle();
+  [NewObject] DOMPoint createSVGPoint();
+  [NewObject] DOMMatrix createSVGMatrix();
+  [NewObject] DOMRect createSVGRect();
+  [NewObject] SVGTransform createSVGTransform();
+  [NewObject] SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
 
-  Element getElementById(DOMString elementId);
+  Element? getElementById(DOMString elementId);
 
   // Deprecated methods that have no effect when called,
   // but which are kept for compatibility reasons.
@@ -333,6 +333,7 @@
   attribute DOMString type;
   attribute DOMString media;
   attribute DOMString title;
+  attribute boolean disabled;
 };
 
 SVGStyleElement includes LinkStyle;
@@ -575,6 +576,7 @@
   const unsigned short SVG_MARKER_ORIENT_UNKNOWN = 0;
   const unsigned short SVG_MARKER_ORIENT_AUTO = 1;
   const unsigned short SVG_MARKER_ORIENT_ANGLE = 2;
+  const unsigned short SVG_MARKER_ORIENT_AUTO_START_REVERSE = 3;
 
   [SameObject] readonly attribute SVGAnimatedLength refX;
   [SameObject] readonly attribute SVGAnimatedLength refY;
@@ -662,8 +664,6 @@
   attribute DOMString hreflang;
   attribute DOMString type;
 
-  attribute DOMString text;
-
   attribute DOMString referrerPolicy;
 };
 

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
@@ -137,6 +137,9 @@
   undefined hidePopover();
   boolean togglePopover(optional (TogglePopoverOptions or boolean) options = {});
   [CEReactions] attribute DOMString? popover;
+
+  [CEReactions, Reflect, ReflectRange=(0, 8)] attribute unsigned long headingOffset;
+  [CEReactions, Reflect] attribute boolean headingReset;
 };
 
 dictionary ShowPopoverOptions {
@@ -1312,8 +1315,6 @@
          OffscreenCanvas or
          VideoFrame) CanvasImageSource;
 
-enum PredefinedColorSpace { "srgb", "display-p3" };
-
 enum CanvasColorType { "unorm8", "float16" };
 
 enum CanvasFillRule { "nonzero", "evenodd" };
@@ -1612,6 +1613,8 @@
 OffscreenCanvasRenderingContext2D includes CanvasTextDrawingStyles;
 OffscreenCanvasRenderingContext2D includes CanvasPath;
 
+enum PredefinedColorSpace { "srgb", "display-p3" };
+
 [Exposed=Window]
 interface CustomElementRegistry {
   constructor();

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediasession.idl packages/idl/mediasession.idl
--- webref/node_modules/@webref/idl/mediasession.idl
+++ packages/idl/mediasession.idl
@@ -34,6 +34,12 @@
   "voiceactivity"
 };
 
+enum MediaSessionEnterPictureInPictureReason {
+  "other",
+  "useraction",
+  "contentoccluded"
+};
+
 callback MediaSessionActionHandler = undefined(MediaSessionActionDetails details);
 
 [Exposed=Window]
@@ -102,4 +108,5 @@
   double seekTime;
   boolean fastSeek;
   boolean isActivating;
+  MediaSessionEnterPictureInPictureReason enterPictureInPictureReason;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mst-content-hint.idl packages/idl/mst-content-hint.idl
--- webref/node_modules/@webref/idl/mst-content-hint.idl
+++ packages/idl/mst-content-hint.idl
@@ -10,7 +10,8 @@
 enum RTCDegradationPreference {
   "maintain-framerate",
   "maintain-resolution",
-  "balanced"
+  "balanced",
+  "maintain-framerate-and-resolution"
 };
 
 partial dictionary RTCRtpSendParameters {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/privacy-preserving-attribution.idl packages/idl/privacy-preserving-attribution.idl
--- webref/node_modules/@webref/idl/privacy-preserving-attribution.idl
+++ packages/idl/privacy-preserving-attribution.idl
@@ -51,20 +51,11 @@
   sequence<USVString> impressionSites = [];
   sequence<USVString> impressionCallers = [];
 
-  AttributionLogic logic = "last-n-touch";
-  AttributionLogicOptions logicOptions;
+  sequence<double> credit;
   unsigned long value = 1;
   unsigned long maxValue = 1;
 };
 
-enum AttributionLogic {
-  "last-n-touch",
-};
-
-dictionary AttributionLogicOptions {
-  sequence<double> credit;
-};
-
 dictionary AttributionConversionResult {
   required Uint8Array report;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/push-api.idl packages/idl/push-api.idl
--- webref/node_modules/@webref/idl/push-api.idl
+++ packages/idl/push-api.idl
@@ -8,9 +8,11 @@
 };
 
 [SecureContext]
-partial interface ServiceWorkerRegistration {
+interface mixin PushManagerAttribute {
   readonly attribute PushManager pushManager;
 };
+Window includes PushManagerAttribute;
+ServiceWorkerRegistration includes PushManagerAttribute;
 
 [Exposed=(Window,Worker), SecureContext]
 interface PushManager {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/sanitizer-api.idl packages/idl/sanitizer-api.idl
--- webref/node_modules/@webref/idl/sanitizer-api.idl
+++ packages/idl/sanitizer-api.idl
@@ -19,16 +19,16 @@
   SanitizerConfig get();
 
   // Modify a Sanitizer’s lists and fields:
-  undefined allowElement(SanitizerElementWithAttributes element);
-  undefined removeElement(SanitizerElement element);
-  undefined replaceElementWithChildren(SanitizerElement element);
-  undefined allowAttribute(SanitizerAttribute attribute);
-  undefined removeAttribute(SanitizerAttribute attribute);
-  undefined setComments(boolean allow);
-  undefined setDataAttributes(boolean allow);
+  boolean allowElement(SanitizerElementWithAttributes element);
+  boolean removeElement(SanitizerElement element);
+  boolean replaceElementWithChildren(SanitizerElement element);
+  boolean allowAttribute(SanitizerAttribute attribute);
+  boolean removeAttribute(SanitizerAttribute attribute);
+  boolean setComments(boolean allow);
+  boolean setDataAttributes(boolean allow);
 
-  // Remove markup that executes script. May modify multiple lists:
-  undefined removeUnsafe();
+  // Remove markup that executes script.
+  boolean removeUnsafe();
 };
 
 dictionary SanitizerElementNamespace {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/svg-animations.idl packages/idl/svg-animations.idl
--- webref/node_modules/@webref/idl/svg-animations.idl
+++ packages/idl/svg-animations.idl
@@ -9,7 +9,7 @@
   readonly attribute WindowProxy? view;
   readonly attribute long detail;
 
-  undefined initTimeEvent(DOMString typeArg, Window? viewArg, long detailArg);
+  undefined initTimeEvent(DOMString typeArg, optional Window? viewArg = null, optional long detailArg = 0);
 };
 
 [Exposed=Window]
@@ -55,10 +55,6 @@
 interface SVGAnimateTransformElement : SVGAnimationElement {
 };
 
-[Exposed=Window]
-interface SVGDiscardElement : SVGAnimationElement {
-};
-
 partial interface SVGSVGElement {
   undefined pauseAnimations();
   undefined unpauseAnimations();

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/wasm-js-api.idl packages/idl/wasm-js-api.idl
--- webref/node_modules/@webref/idl/wasm-js-api.idl
+++ packages/idl/wasm-js-api.idl
@@ -8,25 +8,40 @@
     required Instance instance;
 };
 
+dictionary WebAssemblyCompileOptions {
+    USVString? importedStringConstants;
+    sequence<USVString> builtins;
+};
+
 [Exposed=*]
 namespace WebAssembly {
-    boolean validate(BufferSource bytes);
-    Promise<Module> compile(BufferSource bytes);
+    boolean validate(BufferSource bytes, optional WebAssemblyCompileOptions options = {});
+    Promise<Module> compile(BufferSource bytes, optional WebAssemblyCompileOptions options = {});
 
     Promise<WebAssemblyInstantiatedSource> instantiate(
-        BufferSource bytes, optional object importObject);
+        BufferSource bytes, optional object importObject, optional WebAssemblyCompileOptions options = {});
 
     Promise<Instance> instantiate(
         Module moduleObject, optional object importObject);
+
+    readonly attribute Tag JSTag;
 };
 
 enum ImportExportKind {
   "function",
   "table",
   "memory",
-  "global"
+  "global",
+  "tag"
+};
+
+enum AddressType {
+  "i32",
+  "i64",
 };
 
+typedef any AddressValue;
+
 dictionary ModuleExportDescriptor {
   required USVString name;
   required ImportExportKind kind;
@@ -41,7 +56,7 @@
 
 [LegacyNamespace=WebAssembly, Exposed=*]
 interface Module {
-  constructor(BufferSource bytes);
+  constructor(BufferSource bytes, optional WebAssemblyCompileOptions options = {});
   static sequence<ModuleExportDescriptor> exports(Module moduleObject);
   static sequence<ModuleImportDescriptor> imports(Module moduleObject);
   static sequence<ArrayBuffer> customSections(Module moduleObject, DOMString sectionName);
@@ -54,14 +69,15 @@
 };
 
 dictionary MemoryDescriptor {
-  required [EnforceRange] unsigned long initial;
-  [EnforceRange] unsigned long maximum;
+  required AddressValue initial;
+  AddressValue maximum;
+  AddressType address;
 };
 
 [LegacyNamespace=WebAssembly, Exposed=*]
 interface Memory {
   constructor(MemoryDescriptor descriptor);
-  unsigned long grow([EnforceRange] unsigned long delta);
+  AddressValue grow(AddressValue delta);
   ArrayBuffer toFixedLengthBuffer();
   ArrayBuffer toResizableBuffer();
   readonly attribute ArrayBuffer buffer;
@@ -76,17 +92,18 @@
 
 dictionary TableDescriptor {
   required TableKind element;
-  required [EnforceRange] unsigned long initial;
-  [EnforceRange] unsigned long maximum;
+  required AddressValue initial;
+  AddressValue maximum;
+  AddressType address;
 };
 
 [LegacyNamespace=WebAssembly, Exposed=*]
 interface Table {
   constructor(TableDescriptor descriptor, optional any value);
-  unsigned long grow([EnforceRange] unsigned long delta, optional any value);
-  any get([EnforceRange] unsigned long index);
-  undefined set([EnforceRange] unsigned long index, optional any value);
-  readonly attribute unsigned long length;
+  AddressValue grow(AddressValue delta, optional any value);
+  any get(AddressValue index);
+  undefined set(AddressValue index, optional any value);
+  readonly attribute AddressValue length;
 };
 
 enum ValueType {
@@ -110,3 +127,24 @@
   any valueOf();
   attribute any value;
 };
+
+dictionary TagType {
+  required sequence<ValueType> parameters;
+};
+
+[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
+interface Tag {
+  constructor(TagType type);
+};
+
+dictionary ExceptionOptions {
+  boolean traceStack = false;
+};
+
+[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
+interface Exception {
+  constructor(Tag exceptionTag, sequence<any> payload, optional ExceptionOptions options = {});
+  any getArg([EnforceRange] unsigned long index);
+  boolean is(Tag exceptionTag);
+  readonly attribute (DOMString or undefined) stack;
+};

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/wasm-web-api.idl packages/idl/wasm-web-api.idl
--- webref/node_modules/@webref/idl/wasm-web-api.idl
+++ packages/idl/wasm-web-api.idl
@@ -5,7 +5,7 @@
 
 [Exposed=(Window,Worker)]
 partial namespace WebAssembly {
-  Promise<Module> compileStreaming(Promise<Response> source);
+  Promise<Module> compileStreaming(Promise<Response> source, optional WebAssemblyCompileOptions options = {});
   Promise<WebAssemblyInstantiatedSource> instantiateStreaming(
-      Promise<Response> source, optional object importObject);
+      Promise<Response> source, optional object importObject, optional WebAssemblyCompileOptions options = {});
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webnn.idl packages/idl/webnn.idl
--- webref/node_modules/@webref/idl/webnn.idl
+++ packages/idl/webnn.idl
@@ -155,7 +155,7 @@
                      AllowSharedBufferSource buffer);
 
   // Create a scalar operand from the specified number of the specified type.
-  MLOperand constant(MLOperandDataType type, MLNumber value);
+  MLOperand constant(MLOperandDataType dataType, MLNumber value);
 
   // Create an operand from a specified constant tensor.
   MLOperand constant(MLTensor tensor);
@@ -208,7 +208,7 @@
 
 partial interface MLGraphBuilder {
   MLOperand cast(MLOperand input,
-                 MLOperandDataType type,
+                 MLOperandDataType dataType,
                  optional MLOperatorOptions options = {});
 };
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webrtc-encoded-transform.idl packages/idl/webrtc-encoded-transform.idl
--- webref/node_modules/@webref/idl/webrtc-encoded-transform.idl
+++ packages/idl/webrtc-encoded-transform.idl
@@ -156,7 +156,3 @@
   constructor(DOMString type, optional DOMString rid);
   readonly attribute DOMString? rid;
 };
-
-partial interface RTCRtpSender {
-    Promise<undefined> generateKeyFrame(optional sequence <DOMString> rids);
-};

@github-actions github-actions bot force-pushed the release-idl-20250910125735475 branch 2 times, most recently from ed1821e to f8d7a92 Compare September 11, 2025 01:00
@github-actions github-actions bot force-pushed the release-idl-20250910125735475 branch 10 times, most recently from 231ebbc to c02b80b Compare September 13, 2025 13:04
@github-actions github-actions bot changed the title πŸ“¦ Release @webref/[email protected] πŸ“¦ Release @webref/[email protected] Sep 13, 2025
@github-actions github-actions bot force-pushed the release-idl-20250910125735475 branch from c02b80b to 23b6212 Compare September 13, 2025 18:51
@github-actions github-actions bot force-pushed the release-idl-20250910125735475 branch from 23b6212 to 0609541 Compare September 22, 2025 09:57
@tidoust tidoust merged commit d2e4441 into main Sep 22, 2025
@tidoust tidoust deleted the release-idl-20250910125735475 branch September 22, 2025 12:19
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