Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 7, 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 63721c6.

🧐 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.61.0. Merging this pull request will release v3.61.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/css-mixins.idl packages/idl/css-mixins.idl
--- webref/node_modules/@webref/idl/css-mixins.idl
+++ packages/idl/css-mixins.idl
@@ -4,7 +4,17 @@
 // Source: CSS Functions and Mixins Module (https://drafts.csswg.org/css-mixins-1/)
 
 [Exposed=Window]
-interface CSSFunctionRule : CSSGroupingRule { };
+interface CSSFunctionRule : CSSGroupingRule {
+  readonly attribute CSSOMString name;
+  sequence<FunctionParameter> getParameters();
+  readonly attribute CSSOMString returnType;
+};
+
+dictionary FunctionParameter {
+  required CSSOMString name;
+  required CSSOMString type;
+  CSSOMString? defaultValue;
+};
 
 [Exposed=Window]
 interface CSSFunctionDescriptors : CSSStyleDeclaration {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/dom.idl packages/idl/dom.idl
--- webref/node_modules/@webref/idl/dom.idl
+++ packages/idl/dom.idl
@@ -124,6 +124,8 @@
   [CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
   [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
 
+  [CEReactions] undefined moveBefore(Node node, Node? child);
+
   Element? querySelector(DOMString selectors);
   [NewObject] NodeList querySelectorAll(DOMString selectors);
 };

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
@@ -286,6 +286,21 @@
   MLConv2dSupportLimits convTranspose2d;
 };
 
+dictionary MLCumulativeSumOptions : MLOperatorOptions {
+  boolean exclusive = false;
+  boolean reversed = false;
+};
+
+partial interface MLGraphBuilder {
+  MLOperand cumulativeSum(MLOperand input,
+                          unsigned long axis,
+                          optional MLCumulativeSumOptions options = {});
+};
+
+partial dictionary MLOpSupportLimits {
+  MLSingleInputSupportLimits cumulativeSum;
+};
+
 partial interface MLGraphBuilder {
   MLOperand add(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
   MLOperand sub(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
@@ -310,6 +325,9 @@
   MLOperand equal(MLOperand a,
                   MLOperand b,
                   optional MLOperatorOptions options = {});
+  MLOperand notEqual(MLOperand a,
+                     MLOperand b,
+                     optional MLOperatorOptions options = {});
   MLOperand greater(MLOperand a,
                     MLOperand b,
                     optional MLOperatorOptions options = {});
@@ -323,6 +341,15 @@
                           MLOperand b,
                           optional MLOperatorOptions options = {});
   MLOperand logicalNot(MLOperand a, optional MLOperatorOptions options = {});
+  MLOperand logicalAnd(MLOperand a,
+                       MLOperand b,
+                       optional MLOperatorOptions options = {});
+  MLOperand logicalOr(MLOperand a,
+                      MLOperand b,
+                      optional MLOperatorOptions options = {});
+  MLOperand logicalXor(MLOperand a,
+                       MLOperand b,
+                       optional MLOperatorOptions options = {});
 };
 
 dictionary MLLogicalNotSupportLimits {
@@ -332,11 +359,15 @@
 
 partial dictionary MLOpSupportLimits {
   MLBinarySupportLimits equal;
+  MLBinarySupportLimits notEqual;
   MLBinarySupportLimits greater;
   MLBinarySupportLimits greaterOrEqual;
   MLBinarySupportLimits lesser;
   MLBinarySupportLimits lesserOrEqual;
   MLLogicalNotSupportLimits logicalNot;
+  MLBinarySupportLimits logicalAnd;
+  MLBinarySupportLimits logicalOr;
+  MLBinarySupportLimits logicalXor;
 };
 
 partial interface MLGraphBuilder {
@@ -351,6 +382,7 @@
   MLOperand neg(MLOperand input, optional MLOperatorOptions options = {});
   MLOperand reciprocal(MLOperand input, optional MLOperatorOptions options = {});
   MLOperand sin(MLOperand input, optional MLOperatorOptions options = {});
+  MLOperand sign(MLOperand input, optional MLOperatorOptions options = {});
   MLOperand sqrt(MLOperand input, optional MLOperatorOptions options = {});
   MLOperand tan(MLOperand input, optional MLOperatorOptions options = {});
 };
@@ -367,10 +399,40 @@
   MLSingleInputSupportLimits neg;
   MLSingleInputSupportLimits reciprocal;
   MLSingleInputSupportLimits sin;
+  MLSingleInputSupportLimits sign;
   MLSingleInputSupportLimits sqrt;
   MLSingleInputSupportLimits tan;
 };
 
+partial interface MLGraphBuilder {
+  MLOperand dequantizeLinear(MLOperand input,
+                             MLOperand scale,
+                             MLOperand zeroPoint,
+                             optional MLOperatorOptions options = {});
+};
+
+dictionary MLQuantizationSupportLimits {
+  MLSupportLimits input;
+  MLSupportLimits scale;
+  MLSupportLimits zeroPoint;
+  MLSupportLimits output;
+};
+
+partial dictionary MLOpSupportLimits {
+  MLQuantizationSupportLimits dequantizeLinear;
+};
+
+partial interface MLGraphBuilder {
+  MLOperand quantizeLinear(MLOperand input,
+                           MLOperand scale,
+                           MLOperand zeroPoint,
+                           optional MLOperatorOptions options = {});
+};
+
+partial dictionary MLOpSupportLimits {
+  MLQuantizationSupportLimits quantizeLinear;
+};
+
 dictionary MLEluOptions : MLOperatorOptions {
   double alpha = 1;
 };
@@ -414,6 +476,26 @@
 };
 
 partial interface MLGraphBuilder {
+  MLOperand gatherElements(MLOperand input,
+                           MLOperand indices,
+                           optional MLGatherOptions options = {});
+};
+
+partial dictionary MLOpSupportLimits {
+  MLGatherSupportLimits gatherElements;
+};
+
+partial interface MLGraphBuilder {
+  MLOperand gatherND(MLOperand input,
+                     MLOperand indices,
+                     optional MLOperatorOptions options = {});
+};
+
+partial dictionary MLOpSupportLimits {
+  MLGatherSupportLimits gatherND;
+};
+
+partial interface MLGraphBuilder {
   MLOperand gelu(MLOperand input, optional MLOperatorOptions options = {});
 };
 
@@ -830,6 +912,51 @@
   MLSingleInputSupportLimits reshape;
 };
 
+dictionary MLReverseOptions : MLOperatorOptions {
+  sequence<[EnforceRange] unsigned long> axes;
+};
+
+partial interface MLGraphBuilder {
+  MLOperand reverse(MLOperand input, optional MLReverseOptions options = {});
+};
+
+partial dictionary MLOpSupportLimits {
+  MLSingleInputSupportLimits reverse;
+};
+
+dictionary MLScatterOptions : MLOperatorOptions {
+  [EnforceRange] unsigned long axis = 0;
+};
+
+partial interface MLGraphBuilder {
+  MLOperand scatterElements(MLOperand input,
+                            MLOperand indices,
+                            MLOperand updates,
+                            optional MLScatterOptions options = {});
+};
+
+dictionary MLScatterSupportLimits {
+  MLSupportLimits input;
+  MLSupportLimits indices;
+  MLSupportLimits updates;
+  MLSupportLimits output;
+};
+
+partial dictionary MLOpSupportLimits {
+  MLScatterSupportLimits scatterElements;
+};
+
+partial interface MLGraphBuilder {
+  MLOperand scatterND(MLOperand input,
+                      MLOperand indices,
+                      MLOperand updates,
+                      optional MLOperatorOptions options = {});
+};
+
+partial dictionary MLOpSupportLimits {
+  MLScatterSupportLimits scatterND;
+};
+
 partial interface MLGraphBuilder {
   MLOperand sigmoid(MLOperand input, optional MLOperatorOptions options = {});
 };
@@ -838,14 +965,18 @@
   MLSingleInputSupportLimits sigmoid;
 };
 
+dictionary MLSliceOptions : MLOperatorOptions {
+  sequence<[EnforceRange] unsigned long> strides;
+};
+
 partial interface MLGraphBuilder {
   MLOperand slice(MLOperand input,
                   sequence<[EnforceRange] unsigned long> starts,
                   sequence<[EnforceRange] unsigned long> sizes,
-                  optional MLOperatorOptions options = {});
+                  optional MLSliceOptions options = {});
 };
 
-partial  dictionary MLOpSupportLimits {
+partial dictionary MLOpSupportLimits {
   MLSingleInputSupportLimits slice;
 };
 
@@ -903,6 +1034,16 @@
   MLSingleInputSupportLimits tanh;
 };
 
+partial interface MLGraphBuilder {
+  MLOperand tile(MLOperand input,
+                 sequence<unsigned long> repetitions,
+                 optional MLOperatorOptions options = {});
+};
+
+partial dictionary MLOpSupportLimits {
+  MLSingleInputSupportLimits tile;
+};
+
 dictionary MLTransposeOptions : MLOperatorOptions {
   sequence<[EnforceRange] unsigned long> permutation;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webtransport.idl packages/idl/webtransport.idl
--- webref/node_modules/@webref/idl/webtransport.idl
+++ packages/idl/webtransport.idl
@@ -3,10 +3,18 @@
 // (https://github.com/w3c/webref)
 // Source: WebTransport (https://w3c.github.io/webtransport/)
 
+[Exposed=(Window,Worker), SecureContext, Transferable]
+interface WebTransportDatagramsWritable : WritableStream {
+  attribute WebTransportSendGroup? sendGroup;
+  attribute long long sendOrder;
+};
+
 [Exposed=(Window,Worker), SecureContext]
 interface WebTransportDatagramDuplexStream {
+  WebTransportDatagramsWritable createWritable(
+      optional WebTransportSendOptions options = {});
   readonly attribute ReadableStream readable;
-  readonly attribute WritableStream writable;
+  readonly attribute WebTransportDatagramsWritable writable;
 
   readonly attribute unsigned long maxDatagramSize;
   attribute unrestricted double? incomingMaxAge;
@@ -79,9 +87,12 @@
   USVString reason = "";
 };
 
-dictionary WebTransportSendStreamOptions {
+dictionary WebTransportSendOptions {
   WebTransportSendGroup? sendGroup = null;
   long long sendOrder = 0;
+};
+
+dictionary WebTransportSendStreamOptions : WebTransportSendOptions {
   boolean waitUntilAvailable = false;
 };
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/xhr.idl packages/idl/xhr.idl
--- webref/node_modules/@webref/idl/xhr.idl
+++ packages/idl/xhr.idl
@@ -88,12 +88,12 @@
   constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
 
   readonly attribute boolean lengthComputable;
-  readonly attribute unsigned long long loaded;
-  readonly attribute unsigned long long total;
+  readonly attribute double loaded;
+  readonly attribute double total;
 };
 
 dictionary ProgressEventInit : EventInit {
   boolean lengthComputable = false;
-  unsigned long long loaded = 0;
-  unsigned long long total = 0;
+  double loaded = 0;
+  double total = 0;
 };

@github-actions github-actions bot force-pushed the release-idl-20250307184445283 branch 17 times, most recently from b21df2f to 1cac305 Compare March 12, 2025 01:00
@github-actions github-actions bot force-pushed the release-idl-20250307184445283 branch from 1cac305 to 33228a9 Compare March 12, 2025 06:46
@tidoust tidoust merged commit baf52aa into main Mar 12, 2025
@tidoust tidoust deleted the release-idl-20250307184445283 branch March 12, 2025 08: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.

2 participants