Skip to content

πŸ“¦ Release @webref/[email protected] #1586

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

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 Jun 16, 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 80893d1.

🧐 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.65.0. Merging this pull request will release v3.65.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/CSP.idl packages/idl/CSP.idl
--- webref/node_modules/@webref/idl/CSP.idl
+++ packages/idl/CSP.idl
@@ -3,20 +3,18 @@
 // (https://github.com/w3c/webref)
 // Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/)
 
-[Exposed=Window]
-interface CSPViolationReportBody : ReportBody {
-  [Default] object toJSON();
-  readonly attribute USVString documentURL;
-  readonly attribute USVString? referrer;
-  readonly attribute USVString? blockedURL;
-  readonly attribute DOMString effectiveDirective;
-  readonly attribute DOMString originalPolicy;
-  readonly attribute USVString? sourceFile;
-  readonly attribute DOMString? sample;
-  readonly attribute SecurityPolicyViolationEventDisposition disposition;
-  readonly attribute unsigned short statusCode;
-  readonly attribute unsigned long? lineNumber;
-  readonly attribute unsigned long? columnNumber;
+dictionary CSPViolationReportBody : ReportBody {
+  USVString documentURL;
+  USVString? referrer;
+  USVString? blockedURL;
+  DOMString effectiveDirective;
+  DOMString originalPolicy;
+  USVString? sourceFile;
+  DOMString? sample;
+  SecurityPolicyViolationEventDisposition disposition;
+  unsigned short statusCode;
+  unsigned long? lineNumber;
+  unsigned long? columnNumber;
 };
 
 enum SecurityPolicyViolationEventDisposition {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/crash-reporting.idl packages/idl/crash-reporting.idl
--- webref/node_modules/@webref/idl/crash-reporting.idl
+++ packages/idl/crash-reporting.idl
@@ -3,11 +3,9 @@
 // (https://github.com/w3c/webref)
 // Source: Crash Reporting (https://wicg.github.io/crash-reporting/)
 
-[Exposed=(Window,Worker)]
-interface CrashReportBody : ReportBody {
-  [Default] object toJSON();
-  readonly attribute DOMString? reason;
-  readonly attribute DOMString? stack;
-  readonly attribute boolean? is_top_level;
-  readonly attribute DocumentVisibilityState? page_visibility;
+dictionary CrashReportBody : ReportBody {
+  DOMString? reason;
+  DOMString? stack;
+  boolean? is_top_level;
+  DocumentVisibilityState? page_visibility;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/csp-next.idl packages/idl/csp-next.idl
--- webref/node_modules/@webref/idl/csp-next.idl
+++ packages/idl/csp-next.idl
@@ -10,12 +10,10 @@
   "eval"
 };
 
-[Exposed=(Window,Worker), SecureContext]
-interface ScriptingPolicyReportBody : ReportBody {
-  [Default] object toJSON();
-  readonly attribute DOMString     violationType;
-  readonly attribute USVString?    violationURL;
-  readonly attribute USVString?    violationSample;
-  readonly attribute unsigned long lineno;
-  readonly attribute unsigned long colno;
+dictionary ScriptingPolicyReportBody : ReportBody {
+  DOMString     violationType;
+  USVString?    violationURL;
+  USVString?    violationSample;
+  unsigned long lineno;
+  unsigned long colno;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/deprecation-reporting.idl packages/idl/deprecation-reporting.idl
--- webref/node_modules/@webref/idl/deprecation-reporting.idl
+++ packages/idl/deprecation-reporting.idl
@@ -3,13 +3,11 @@
 // (https://github.com/w3c/webref)
 // Source: Deprecation Reporting (https://wicg.github.io/deprecation-reporting/)
 
-[Exposed=(Window,Worker)]
-interface DeprecationReportBody : ReportBody {
-  [Default] object toJSON();
-  readonly attribute DOMString id;
-  readonly attribute object? anticipatedRemoval;
-  readonly attribute DOMString message;
-  readonly attribute DOMString? sourceFile;
-  readonly attribute unsigned long? lineNumber;
-  readonly attribute unsigned long? columnNumber;
+dictionary DeprecationReportBody : ReportBody {
+  DOMString id;
+  object? anticipatedRemoval;
+  DOMString message;
+  DOMString? sourceFile;
+  unsigned long? lineNumber;
+  unsigned long? columnNumber;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/intervention-reporting.idl packages/idl/intervention-reporting.idl
--- webref/node_modules/@webref/idl/intervention-reporting.idl
+++ packages/idl/intervention-reporting.idl
@@ -3,12 +3,10 @@
 // (https://github.com/w3c/webref)
 // Source: Intervention Reporting (https://wicg.github.io/intervention-reporting/)
 
-[Exposed=(Window,Worker)]
-interface InterventionReportBody : ReportBody {
-  [Default] object toJSON();
-  readonly attribute DOMString id;
-  readonly attribute DOMString message;
-  readonly attribute DOMString? sourceFile;
-  readonly attribute unsigned long? lineNumber;
-  readonly attribute unsigned long? columnNumber;
+dictionary InterventionReportBody : ReportBody {
+  DOMString id;
+  DOMString message;
+  DOMString? sourceFile;
+  unsigned long? lineNumber;
+  unsigned long? columnNumber;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediacapture-streams.idl packages/idl/mediacapture-streams.idl
--- webref/node_modules/@webref/idl/mediacapture-streams.idl
+++ packages/idl/mediacapture-streams.idl
@@ -73,7 +73,7 @@
   sequence<DOMString> resizeMode;
   ULongRange sampleRate;
   ULongRange sampleSize;
-  sequence<boolean> echoCancellation;
+  sequence<(boolean or DOMString)> echoCancellation;
   sequence<boolean> autoGainControl;
   sequence<boolean> noiseSuppression;
   DoubleRange latency;
@@ -96,7 +96,7 @@
   ConstrainDOMString resizeMode;
   ConstrainULong sampleRate;
   ConstrainULong sampleSize;
-  ConstrainBoolean echoCancellation;
+  ConstrainBooleanOrDOMString echoCancellation;
   ConstrainBoolean autoGainControl;
   ConstrainBoolean noiseSuppression;
   ConstrainDouble latency;
@@ -115,7 +115,7 @@
   DOMString resizeMode;
   unsigned long sampleRate;
   unsigned long sampleSize;
-  boolean echoCancellation;
+  (boolean or DOMString) echoCancellation;
   boolean autoGainControl;
   boolean noiseSuppression;
   double latency;
@@ -137,6 +137,11 @@
   "crop-and-scale"
 };
 
+enum EchoCancellationModeEnum {
+  "all",
+  "remote-only"
+};
+
 [Exposed=Window]
 interface MediaStreamTrackEvent : Event {
   constructor(DOMString type, MediaStreamTrackEventInit eventInitDict);
@@ -234,6 +239,11 @@
   (DOMString or sequence<DOMString>) ideal;
 };
 
+dictionary ConstrainBooleanOrDOMStringParameters {
+  (boolean or DOMString) exact;
+  (boolean or DOMString) ideal;
+};
+
 typedef ([Clamp] unsigned long or ConstrainULongRange) ConstrainULong;
 
 typedef (double or ConstrainDoubleRange) ConstrainDouble;
@@ -244,6 +254,8 @@
 sequence<DOMString> or
 ConstrainDOMStringParameters) ConstrainDOMString;
 
+typedef (boolean or DOMString or ConstrainBooleanOrDOMStringParameters) ConstrainBooleanOrDOMString;
+
 dictionary CameraDevicePermissionDescriptor : PermissionDescriptor {
   boolean panTiltZoom = false;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/permissions-policy.idl packages/idl/permissions-policy.idl
--- webref/node_modules/@webref/idl/permissions-policy.idl
+++ packages/idl/permissions-policy.idl
@@ -19,14 +19,12 @@
     [SameObject] readonly attribute PermissionsPolicy permissionsPolicy;
 };
 
-[Exposed=Window]
-interface PermissionsPolicyViolationReportBody : ReportBody {
-  [Default] object toJSON();
-  readonly attribute DOMString featureId;
-  readonly attribute DOMString? sourceFile;
-  readonly attribute long? lineNumber;
-  readonly attribute long? columnNumber;
-  readonly attribute DOMString disposition;
-  readonly attribute DOMString? allowAttribute;
-  readonly attribute DOMString? srcAttribute;
+dictionary PermissionsPolicyViolationReportBody : ReportBody {
+  DOMString featureId;
+  DOMString? sourceFile;
+  long? lineNumber;
+  long? columnNumber;
+  DOMString disposition;
+  DOMString? allowAttribute;
+  DOMString? srcAttribute;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/reporting.idl packages/idl/reporting.idl
--- webref/node_modules/@webref/idl/reporting.idl
+++ packages/idl/reporting.idl
@@ -3,17 +3,13 @@
 // (https://github.com/w3c/webref)
 // Source: Reporting API (https://w3c.github.io/reporting/)
 
-[Exposed=(Window,Worker)]
-interface ReportBody {
-  [Default] object toJSON();
+dictionary ReportBody {
 };
 
-[Exposed=(Window,Worker)]
-interface Report {
-  [Default] object toJSON();
-  readonly attribute DOMString type;
-  readonly attribute DOMString url;
-  readonly attribute ReportBody? body;
+dictionary Report {
+  DOMString type;
+  DOMString url;
+  ReportBody? body;
 };
 
 [Exposed=(Window,Worker)]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/secure-payment-confirmation.idl packages/idl/secure-payment-confirmation.idl
--- webref/node_modules/@webref/idl/secure-payment-confirmation.idl
+++ packages/idl/secure-payment-confirmation.idl
@@ -83,6 +83,7 @@
     required USVString displayName;
     required USVString icon;
     boolean iconMustBeShown = true;
+    USVString details;
 };
 
 dictionary PaymentEntityLogo {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/speech-api.idl packages/idl/speech-api.idl
--- webref/node_modules/@webref/idl/speech-api.idl
+++ packages/idl/speech-api.idl
@@ -8,6 +8,7 @@
     constructor();
 
     // recognition parameters
+    attribute SpeechGrammarList grammars;
     attribute DOMString lang;
     attribute boolean continuous;
     attribute boolean interimResults;
@@ -107,6 +108,25 @@
     required SpeechRecognitionResultList results;
 };
 
+// The object representing a speech grammar. This interface has been deprecated and exists in this spec for the sole purpose of maintaining backwards compatibility.
+[Exposed=Window]
+interface SpeechGrammar {
+    attribute DOMString src;
+    attribute float weight;
+};
+
+// The object representing a speech grammar collection. This interface has been deprecated and exists in this spec for the sole purpose of maintaining backwards compatibility.
+[Exposed=Window]
+interface SpeechGrammarList {
+    constructor();
+    readonly attribute unsigned long length;
+    getter SpeechGrammar item(unsigned long index);
+    undefined addFromURI(DOMString src,
+                    optional float weight = 1.0);
+    undefined addFromString(DOMString string,
+                    optional float weight = 1.0);
+};
+
 // The object representing a phrase for contextual biasing.
 [SecureContext, Exposed=Window]
 interface SpeechRecognitionPhrase {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/sri.idl packages/idl/sri.idl
--- webref/node_modules/@webref/idl/sri.idl
+++ packages/idl/sri.idl
@@ -3,11 +3,9 @@
 // (https://github.com/w3c/webref)
 // Source: Subresource Integrity (https://w3c.github.io/webappsec-subresource-integrity/)
 
-[Exposed=Window]
-interface IntegrityPolicyViolationReportBody : ReportBody {
-  [Default] object toJSON();
-  readonly attribute USVString documentURL;
-  readonly attribute USVString blockedURL;
-  readonly attribute USVString destination;
-  readonly attribute boolean   reportOnly;
+dictionary IntegrityViolationReportBody : ReportBody {
+  USVString documentURL;
+  USVString blockedURL;
+  USVString destination;
+  boolean   reportOnly;
 };

@github-actions github-actions bot force-pushed the release-idl-20250616121517659 branch from 7d1d124 to 1090c0e Compare June 16, 2025 13:03
@github-actions github-actions bot force-pushed the release-idl-20250616121517659 branch from 1090c0e to 37b6c59 Compare June 16, 2025 18: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.

0 participants