Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ“¦ Release @webref/idl@3.56.2 #1396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 21, 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 6cf84d9.

🧐 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.1. Merging this pull request will release v3.56.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/compute-pressure.idl packages/idl/compute-pressure.idl
--- webref/node_modules/@webref/idl/compute-pressure.idl
+++ packages/idl/compute-pressure.idl
@@ -3,7 +3,7 @@
 // (https://github.com/w3c/webref)
 // Source: Compute Pressure Level 1 (https://w3c.github.io/compute-pressure/)
 
-enum PressureSource { "thermals", "cpu" };
+enum PressureSource { "cpu" };
 
 enum PressureState { "nominal", "fair", "serious", "critical" };
 

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
@@ -2520,6 +2520,11 @@
   readonly attribute MessagePort port2;
 };
 
+interface mixin MessageEventTarget {
+  attribute EventHandler onmessage;
+  attribute EventHandler onmessageerror;
+};
+
 [Exposed=(Window,Worker,AudioWorklet), Transferable]
 interface MessagePort : EventTarget {
   undefined postMessage(any message, sequence<object> transfer);
@@ -2528,11 +2533,11 @@
   undefined close();
 
   // event handlers
-  attribute EventHandler onmessage;
-  attribute EventHandler onmessageerror;
   attribute EventHandler onclose;
 };
 
+MessagePort includes MessageEventTarget;
+
 dictionary StructuredSerializeOptions {
   sequence<object> transfer = [];
 };
@@ -2571,11 +2576,10 @@
   undefined postMessage(any message, optional StructuredSerializeOptions options = {});
 
   undefined close();
-
-  attribute EventHandler onmessage;
-  attribute EventHandler onmessageerror;
 };
 
+DedicatedWorkerGlobalScope includes MessageEventTarget;
+
 [Global=(Worker,SharedWorker),Exposed=SharedWorker]
 interface SharedWorkerGlobalScope : WorkerGlobalScope {
   [Replaceable] readonly attribute DOMString name;
@@ -2597,8 +2601,6 @@
 
   undefined postMessage(any message, sequence<object> transfer);
   undefined postMessage(any message, optional StructuredSerializeOptions options = {});
-  attribute EventHandler onmessage;
-  attribute EventHandler onmessageerror;
 };
 
 dictionary WorkerOptions {
@@ -2610,6 +2612,7 @@
 enum WorkerType { "classic", "module" };
 
 Worker includes AbstractWorker;
+Worker includes MessageEventTarget;
 
 [Exposed=Window]
 interface SharedWorker : EventTarget {

@github-actions github-actions bot force-pushed the release-idl-20241121064537096 branch 7 times, most recently from f7446cb to 811f96a Compare November 23, 2024 00:59
@github-actions github-actions bot force-pushed the release-idl-20241121064537096 branch from 811f96a to ebc6dde Compare November 23, 2024 06:44
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.

0 participants