Skip to content

📦 Release @webref/idl@3.85.2 - #2086

Merged
tidoust merged 1 commit into
mainfrom
release-idl-20261007130334767
Oct 14, 2026
Merged

tidoust merged 1 commit into
mainfrom
release-idl-20261007130334767

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

⚠ 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 fe954a9.

🧐 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.85.1. Merging this pull request will release v3.85.2. 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/SVG.idl packages/idl/SVG.idl
--- webref/node_modules/@webref/idl/SVG.idl
+++ packages/idl/SVG.idl
@@ -529,9 +529,15 @@
   const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
   const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
 
+  // textPath Side Types
+  const unsigned short TEXTPATH_SIDETYPE_UNKNOWN = 0;
+  const unsigned short TEXTPATH_SIDETYPE_LEFT = 1;
+  const unsigned short TEXTPATH_SIDETYPE_RIGHT = 2;
+
   [SameObject] readonly attribute SVGAnimatedLength startOffset;
   [SameObject] readonly attribute SVGAnimatedEnumeration method;
   [SameObject] readonly attribute SVGAnimatedEnumeration spacing;
+  [SameObject] readonly attribute SVGAnimatedEnumeration side;
 };
 
 SVGTextPathElement includes SVGURIReference;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/container-timing.idl packages/idl/container-timing.idl
--- webref/node_modules/@webref/idl/container-timing.idl
+++ packages/idl/container-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: Container Timing API (https://wicg.github.io/container-timing/)
+// Source: Container Timing API (https://w3c.github.io/container-timing/)
 
 [Exposed=Window]
 interface PerformanceContainerTiming : PerformanceEntry {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/cross-origin-storage.idl packages/idl/cross-origin-storage.idl
--- webref/node_modules/@webref/idl/cross-origin-storage.idl
+++ packages/idl/cross-origin-storage.idl
@@ -5,17 +5,17 @@
 
 [Exposed=(Window,Worker), SecureContext]
 interface CrossOriginStorageManager {
-  Promise<FileSystemFileHandle> requestFileHandle(
-      CrossOriginStorageRequestFileHandleHash hash,
-      optional CrossOriginStorageRequestFileHandleOptions options = {});
+  Promise<FileSystemFileHandle> getFileHandle(
+      CrossOriginStorageGetFileHandleHash hash,
+      optional CrossOriginStorageGetFileHandleOptions options = {});
 };
 
-dictionary CrossOriginStorageRequestFileHandleHash {
+dictionary CrossOriginStorageGetFileHandleHash {
   required DOMString value;
   required DOMString algorithm;
 };
 
-dictionary CrossOriginStorageRequestFileHandleOptions {
+dictionary CrossOriginStorageGetFileHandleOptions {
   boolean create = false;
   (DOMString or sequence<DOMString>) origins;
 };

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
@@ -13,6 +13,10 @@
     unrestricted double top;
 };
 
+dictionary ScrollResult {
+    required boolean interrupted;
+};
+
 partial interface Window {
     [NewObject] MediaQueryList matchMedia(CSSOMString query);
     [SameObject, Replaceable] readonly attribute Screen screen;
@@ -33,12 +37,12 @@
     [Replaceable] readonly attribute double pageXOffset;
     [Replaceable] readonly attribute double scrollY;
     [Replaceable] readonly attribute double pageYOffset;
-    Promise<undefined> scroll(optional ScrollToOptions options = {});
-    Promise<undefined> scroll(unrestricted double x, unrestricted double y);
-    Promise<undefined> scrollTo(optional ScrollToOptions options = {});
-    Promise<undefined> scrollTo(unrestricted double x, unrestricted double y);
-    Promise<undefined> scrollBy(optional ScrollToOptions options = {});
-    Promise<undefined> scrollBy(unrestricted double x, unrestricted double y);
+    Promise<ScrollResult> scroll(optional ScrollToOptions options = {});
+    Promise<ScrollResult> scroll(unrestricted double x, unrestricted double y);
+    Promise<ScrollResult> scrollTo(optional ScrollToOptions options = {});
+    Promise<ScrollResult> scrollTo(unrestricted double x, unrestricted double y);
+    Promise<ScrollResult> scrollBy(optional ScrollToOptions options = {});
+    Promise<ScrollResult> scrollBy(unrestricted double x, unrestricted double y);
 
     // client
     [Replaceable] readonly attribute long screenX;
@@ -122,13 +126,13 @@
 
   boolean checkVisibility(optional CheckVisibilityOptions options = {});
 
-  Promise<undefined> scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
-  Promise<undefined> scroll(optional ScrollToOptions options = {});
-  Promise<undefined> scroll(unrestricted double x, unrestricted double y);
-  Promise<undefined> scrollTo(optional ScrollToOptions options = {});
-  Promise<undefined> scrollTo(unrestricted double x, unrestricted double y);
-  Promise<undefined> scrollBy(optional ScrollToOptions options = {});
-  Promise<undefined> scrollBy(unrestricted double x, unrestricted double y);
+  Promise<ScrollResult> scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
+  Promise<ScrollResult> scroll(optional ScrollToOptions options = {});
+  Promise<ScrollResult> scroll(unrestricted double x, unrestricted double y);
+  Promise<ScrollResult> scrollTo(optional ScrollToOptions options = {});
+  Promise<ScrollResult> scrollTo(unrestricted double x, unrestricted double y);
+  Promise<ScrollResult> scrollBy(optional ScrollToOptions options = {});
+  Promise<ScrollResult> scrollBy(unrestricted double x, unrestricted double y);
   attribute unrestricted double scrollTop;
   attribute unrestricted double scrollLeft;
   readonly attribute long scrollWidth;

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
@@ -48,7 +48,7 @@
 
 [LegacyOverrideBuiltIns]
 partial interface Document {
-  static Document parseHTMLUnsafe((TrustedHTML or DOMString) html, optional ParseHTMLUnsafeOptions options = {});
+  static Document parseHTMLUnsafe((TrustedHTML or DOMString) html, optional (ParseHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
   static Document parseHTML(DOMString html, optional SetHTMLOptions options = {});
 
   // resource metadata management
@@ -1253,7 +1253,7 @@
   [HTMLConstructor] constructor();
 
   [CEReactions, Reflect] attribute DOMString type;
-  [CEReactions, ReflectURL] attribute USVString src;
+  [CEReactions] attribute (TrustedScriptURL or USVString) src;
   [CEReactions, Reflect] attribute boolean noModule;
   [CEReactions] attribute boolean async;
   [CEReactions, Reflect] attribute boolean defer;
@@ -1263,7 +1263,10 @@
   [CEReactions, Reflect] attribute DOMString integrity;
   [CEReactions] attribute DOMString fetchPriority;
 
-  [CEReactions] attribute DOMString text;
+  // innerText and textContent shadow HTMLElement's and Node's, to add Trusted Types checks
+  [CEReactions] attribute (TrustedScript or [LegacyNullToEmptyString] DOMString) innerText;
+  [CEReactions] attribute (TrustedScript or DOMString)? textContent;
+  [CEReactions] attribute (TrustedScript or DOMString) text;
 
   static boolean supports(DOMString type);
 
@@ -2364,7 +2367,11 @@
 
 partial interface Element {
   [CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {});
-  [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLUnsafeOptions options = {});
+  [CEReactions] undefined appendHTML(DOMString html, optional SetHTMLOptions options = {});
+  [CEReactions] undefined prependHTML(DOMString html, optional SetHTMLOptions options = {});
+  [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
+  [CEReactions] undefined appendHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
+  [CEReactions] undefined prependHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
   DOMString getHTML(optional GetHTMLOptions options = {});
 
   [CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
@@ -2374,22 +2381,35 @@
 
 partial interface ShadowRoot {
   [CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {});
-  [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLUnsafeOptions options = {});
+  [CEReactions] undefined appendHTML(DOMString html, optional SetHTMLOptions options = {});
+  [CEReactions] undefined prependHTML(DOMString html, optional SetHTMLOptions options = {});
+  [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
+  [CEReactions] undefined appendHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
+  [CEReactions] undefined prependHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
   DOMString getHTML(optional GetHTMLOptions options = {});
 
   [CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
 };
 
+partial interface mixin NonDocumentTypeChildNode {
+  [CEReactions] undefined beforeHTML(DOMString html, optional SetHTMLOptions options = {});
+  [CEReactions] undefined afterHTML(DOMString html, optional SetHTMLOptions options = {});
+  [CEReactions] undefined replaceWithHTML(DOMString html, optional SetHTMLOptions options = {});
+  [CEReactions] undefined beforeHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
+  [CEReactions] undefined afterHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
+  [CEReactions] undefined replaceWithHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
+};
+
 enum SanitizerPresets { "default" };
 dictionary SetHTMLOptions {
   (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = "default";
 };
 dictionary SetHTMLUnsafeOptions {
-  (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
+  (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer;
   boolean runScripts = false;
 };
 dictionary ParseHTMLUnsafeOptions {
-  (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
+  (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer;
 };
 
 dictionary GetHTMLOptions {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/install-element.idl packages/idl/install-element.idl
--- webref/node_modules/@webref/idl/install-element.idl
+++ packages/idl/install-element.idl
@@ -19,8 +19,11 @@
 interface HTMLInstallElement : HTMLElement {
   [HTMLConstructor] constructor();
 
-  [CEReactions] attribute USVString? manifest;
-  [CEReactions] attribute USVString? manifestId;
+  [CEReactions, ReflectURL] attribute USVString manifest;
+  [CEReactions, ReflectURL] attribute USVString manifestId;
+};
+
+partial interface mixin GlobalEventHandlers {
   attribute EventHandler oninstallresult;
 };
 
@@ -29,7 +32,7 @@
 enum InstallResult {
   "success",
   "aborted",
-  "invalid_data"
+  "invalid-data"
 };
 
 [Exposed=Window]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediacapture-extensions.idl packages/idl/mediacapture-extensions.idl
--- webref/node_modules/@webref/idl/mediacapture-extensions.idl
+++ packages/idl/mediacapture-extensions.idl
@@ -20,6 +20,10 @@
 partial interface MediaStreamTrack {
 };
 
+[Exposed=(Window,DedicatedWorker)]
+partial interface OverconstrainedError {
+};
+
 partial interface MediaStreamTrack {
   [SameObject] readonly attribute
       (MediaStreamTrackAudioStats or MediaStreamTrackVideoStats)? stats;
@@ -192,6 +196,10 @@
 partial interface MediaStream {
 };
 
+[Exposed=(Window,DedicatedWorker)]
+partial interface MediaStreamTrackEvent {
+};
+
 partial dictionary MediaTrackSupportedConstraints {
   boolean backgroundSegmentationMask = true;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/model-element.idl packages/idl/model-element.idl
--- webref/node_modules/@webref/idl/model-element.idl
+++ packages/idl/model-element.idl
@@ -5,7 +5,6 @@
 
 [Exposed=Window]
 interface HTMLModelElement : HTMLElement {
-
   readonly attribute Promise<HTMLModelElement> ready;
   readonly attribute DOMPointReadOnly boundingBoxCenter;
   readonly attribute DOMPointReadOnly boundingBoxExtents;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/serial.idl packages/idl/serial.idl
--- webref/node_modules/@webref/idl/serial.idl
+++ packages/idl/serial.idl
@@ -1,7 +1,7 @@
 // GENERATED CONTENT - DO NOT EDIT
 // Content was automatically extracted by Reffy into webref
 // (https://github.com/w3c/webref)
-// Source: Web Serial API (https://serial.spec.whatwg.org/)
+// Source: WebSerial Standard (https://serial.spec.whatwg.org/)
 
 [Exposed=Window, SecureContext]
 partial interface Navigator {
@@ -56,7 +56,7 @@
 };
 
 dictionary SerialOptions {
-  [EnforceRange] required unsigned long baudRate;
+  required [EnforceRange] unsigned long baudRate;
   [EnforceRange] octet dataBits = 8;
   [EnforceRange] octet stopBits = 1;
   ParityType parity = "none";

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
@@ -21,6 +21,10 @@
   USVString toJSON();
 };
 
+[Exposed=Window]
+interface TrustedHTMLParserOptions {
+};
+
 [Exposed=(Window,Worker)] interface TrustedTypePolicyFactory {
     TrustedTypePolicy createPolicy(
         DOMString policyName, optional TrustedTypePolicyOptions policyOptions = {});
@@ -47,16 +51,19 @@
   TrustedHTML createHTML(DOMString input, any... arguments);
   TrustedScript createScript(DOMString input, any... arguments);
   TrustedScriptURL createScriptURL(DOMString input, any... arguments);
+  [Exposed=Window] TrustedHTMLParserOptions createParserOptions(optional SetHTMLUnsafeOptions options = {}, any... arguments);
 };
 
 dictionary TrustedTypePolicyOptions {
    CreateHTMLCallback createHTML;
    CreateScriptCallback createScript;
    CreateScriptURLCallback createScriptURL;
+   CreateParserOptionsCallback createParserOptions;
 };
 callback CreateHTMLCallback = DOMString? (DOMString input, any... arguments);
 callback CreateScriptCallback = DOMString? (DOMString input, any... arguments);
 callback CreateScriptURLCallback = USVString? (DOMString input, any... arguments);
+callback CreateParserOptionsCallback = SetHTMLUnsafeOptions? (SetHTMLUnsafeOptions options, any... arguments);
 
 typedef (TrustedHTML or TrustedScript or TrustedScriptURL) TrustedType;
 

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
@@ -9,8 +9,8 @@
 };
 
 dictionary WebAssemblyCompileOptions {
-    USVString? importedStringConstants;
-    sequence<USVString> builtins;
+    USVString? importedStringConstants = null;
+    sequence<USVString> builtins = [];
 };
 
 [Exposed=*]

@github-actions
github-actions Bot force-pushed the release-idl-20261007130334767 branch 21 times, most recently from 517ca74 to c2d6d88 Compare October 13, 2026 13:04
@github-actions
github-actions Bot force-pushed the release-idl-20261007130334767 branch 2 times, most recently from e23ee92 to c2a162d Compare October 14, 2026 01:16
@github-actions
github-actions Bot force-pushed the release-idl-20261007130334767 branch from c2a162d to a69430c Compare October 14, 2026 07:06
@tidoust
tidoust merged commit 06cded0 into main Oct 14, 2026
@tidoust
tidoust deleted the release-idl-20261007130334767 branch October 14, 2026 10:01
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