Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 28, 2024

⚠ 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 2d4e776.

🧐 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.56.2. Merging this pull request will release v3.57.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:
+ gpc.idl
+ mediacapture-surface-control.idl

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
@@ -9,9 +9,22 @@
 
 [Exposed=(Window,Worker)]
 interface Sanitizer {
-  constructor(optional SanitizerConfig config = {});
+  constructor(optional SanitizerConfig configuration = {});
+
+  // Query configuration:
   SanitizerConfig get();
-  SanitizerConfig getUnsafe();
+
+  // 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);
+
+  // Remove markup that executes script. May modify multiple lists:
+  undefined removeUnsafe();
 };
 
 dictionary SanitizerElementNamespace {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/vibration.idl packages/idl/vibration.idl
--- webref/node_modules/@webref/idl/vibration.idl
+++ packages/idl/vibration.idl
@@ -1,7 +1,7 @@
 // GENERATED CONTENT - DO NOT EDIT
 // Content was automatically extracted by Reffy into webref
 // (https://github.com/w3c/webref)
-// Source: Vibration API (Second Edition) (https://w3c.github.io/vibration/)
+// Source: Vibration API (https://w3c.github.io/vibration/)
 
 typedef (unsigned long or sequence<unsigned long>) VibratePattern;
 

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
@@ -32,19 +32,10 @@
   Promise<MLContext> createContext(GPUDevice gpuDevice);
 };
 
-typedef record<USVString, ArrayBufferView> MLNamedArrayBufferViews;
 typedef record<USVString, MLTensor> MLNamedTensors;
 
-dictionary MLComputeResult {
-  MLNamedArrayBufferViews inputs;
-  MLNamedArrayBufferViews outputs;
-};
-
 [SecureContext, Exposed=(Window, DedicatedWorker)]
 interface MLContext {
-  // ISSUE(791): compute() will soon be removed in favor of dispatch().
-  Promise<MLComputeResult> compute(
-      MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
   undefined dispatch(MLGraph graph, MLNamedTensors inputs, MLNamedTensors outputs);
 
   Promise<MLTensor> createTensor(MLTensorDescriptor descriptor);
@@ -141,7 +132,8 @@
   MLOperand input(USVString name, MLOperandDescriptor descriptor);
 
   // Create an operand for a graph constant.
-  MLOperand constant(MLOperandDescriptor descriptor, ArrayBufferView bufferView);
+  MLOperand constant(MLOperandDescriptor descriptor,
+                     AllowSharedBufferSource buffer);
 
   // Create a scalar operand from the specified number of the specified type.
   MLOperand constant(MLOperandDataType type, MLNumber value);

@github-actions github-actions bot force-pushed the release-idl-20241128005853327 branch 7 times, most recently from c2a5b5b to f58f7b2 Compare December 4, 2024 10:46
@github-actions github-actions bot changed the title 📦 Release @webref/[email protected] 📦 Release @webref/[email protected] Dec 4, 2024
@github-actions github-actions bot force-pushed the release-idl-20241128005853327 branch 3 times, most recently from 1f8063a to 1916d38 Compare December 5, 2024 01:00
@github-actions github-actions bot force-pushed the release-idl-20241128005853327 branch from 1916d38 to 18ab90c Compare December 5, 2024 06:47
@tidoust tidoust merged commit 4ff64dc into main Dec 5, 2024
@tidoust tidoust deleted the release-idl-20241128005853327 branch December 5, 2024 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.

1 participant