Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 19, 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 e8801f2.

🧐 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.60.0. Merging this pull request will release v3.60.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/html.idl packages/idl/html.idl
--- webref/node_modules/@webref/idl/html.idl
+++ packages/idl/html.idl
@@ -957,6 +957,8 @@
 interface HTMLButtonElement : HTMLElement {
   [HTMLConstructor] constructor();
 
+  [CEReactions] attribute DOMString command;
+  [CEReactions] attribute Element? commandForElement;
   [CEReactions] attribute boolean disabled;
   readonly attribute HTMLFormElement? form;
   [CEReactions] attribute USVString formAction;
@@ -1450,10 +1452,10 @@
 interface mixin CanvasImageData {
   // pixel manipulation
   ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
-  ImageData createImageData(ImageData imagedata);
+  ImageData createImageData(ImageData imageData);
   ImageData getImageData([EnforceRange] long sx, [EnforceRange] long sy, [EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
-  undefined putImageData(ImageData imagedata, [EnforceRange] long dx, [EnforceRange] long dy);
-  undefined putImageData(ImageData imagedata, [EnforceRange] long dx, [EnforceRange] long dy, [EnforceRange] long dirtyX, [EnforceRange] long dirtyY, [EnforceRange] long dirtyWidth, [EnforceRange] long dirtyHeight);
+  undefined putImageData(ImageData imageData, [EnforceRange] long dx, [EnforceRange] long dy);
+  undefined putImageData(ImageData imageData, [EnforceRange] long dx, [EnforceRange] long dy, [EnforceRange] long dirtyX, [EnforceRange] long dirtyY, [EnforceRange] long dirtyWidth, [EnforceRange] long dirtyHeight);
 };
 
 enum CanvasLineCap { "butt", "round", "square" };
@@ -1710,6 +1712,18 @@
   DOMString newState = "";
 };
 
+[Exposed=Window]
+interface CommandEvent : Event {
+  constructor(DOMString type, optional CommandEventInit eventInitDict = {});
+  readonly attribute Element? source;
+  readonly attribute DOMString command;
+};
+
+dictionary CommandEventInit : EventInit {
+  Element? source = null;
+  DOMString command = "";
+};
+
 dictionary FocusOptions {
   boolean preventScroll = false;
   boolean focusVisible;
@@ -2195,6 +2209,7 @@
   attribute EventHandler onchange;
   attribute EventHandler onclick;
   attribute EventHandler onclose;
+  attribute EventHandler oncommand;
   attribute EventHandler oncontextlost;
   attribute EventHandler oncontextmenu;
   attribute EventHandler oncontextrestored;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/ppa.idl packages/idl/ppa.idl
--- webref/node_modules/@webref/idl/ppa.idl
+++ packages/idl/ppa.idl
@@ -26,7 +26,7 @@
 
 dictionary PrivateAttributionImpressionOptions {
   required unsigned long histogramIndex;
-  required unsigned long filterData;
+  unsigned long filterData = 0;
   required DOMString conversionSite;
   unsigned long lifetimeDays = 30;
 };

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
@@ -11,7 +11,7 @@
   (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
 };
 
-[Exposed=(Window,Worker)]
+[Exposed=Window]
 interface Sanitizer {
   constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default");

@github-actions github-actions bot force-pushed the release-idl-20250219184429727 branch from 416fad9 to afcbe84 Compare February 20, 2025 00:59
@github-actions github-actions bot force-pushed the release-idl-20250219184429727 branch 6 times, most recently from efe34ed to 2b6ae85 Compare February 21, 2025 09:09
@github-actions github-actions bot force-pushed the release-idl-20250219184429727 branch from 2b6ae85 to f968d80 Compare February 21, 2025 12:51
@tidoust tidoust merged commit 6120dbb into main Feb 21, 2025
@tidoust tidoust deleted the release-idl-20250219184429727 branch February 21, 2025 14:49
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