From cc25df002be6c5f2bc4c21f724ea6b910301fac2 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 3 Jul 2025 11:23:06 +0300 Subject: [PATCH] Bump @webref/idl from 3.65.0 to 3.65.2 --- baselines/dom.generated.d.ts | 157 +++---------------- baselines/serviceworker.generated.d.ts | 60 ++----- baselines/sharedworker.generated.d.ts | 60 ++----- baselines/ts5.5/dom.generated.d.ts | 157 +++---------------- baselines/ts5.5/serviceworker.generated.d.ts | 60 ++----- baselines/ts5.5/sharedworker.generated.d.ts | 60 ++----- baselines/ts5.5/webworker.generated.d.ts | 60 ++----- baselines/ts5.6/dom.generated.d.ts | 157 +++---------------- baselines/ts5.6/serviceworker.generated.d.ts | 60 ++----- baselines/ts5.6/sharedworker.generated.d.ts | 60 ++----- baselines/ts5.6/webworker.generated.d.ts | 60 ++----- baselines/webworker.generated.d.ts | 60 ++----- package-lock.json | 8 +- package.json | 2 +- 14 files changed, 140 insertions(+), 881 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 44e0bc024..661bcee0c 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -376,6 +376,11 @@ interface ConstantSourceOptions { offset?: number; } +interface ConstrainBooleanOrDOMStringParameters { + exact?: boolean | string; + ideal?: boolean | string; +} + interface ConstrainBooleanParameters { exact?: boolean; ideal?: boolean; @@ -1113,7 +1118,7 @@ interface MediaTrackCapabilities { channelCount?: ULongRange; deviceId?: string; displaySurface?: string; - echoCancellation?: boolean[]; + echoCancellation?: (boolean | string)[]; facingMode?: string[]; frameRate?: DoubleRange; groupId?: string; @@ -1131,7 +1136,7 @@ interface MediaTrackConstraintSet { channelCount?: ConstrainULong; deviceId?: ConstrainDOMString; displaySurface?: ConstrainDOMString; - echoCancellation?: ConstrainBoolean; + echoCancellation?: ConstrainBooleanOrDOMString; facingMode?: ConstrainDOMString; frameRate?: ConstrainDouble; groupId?: ConstrainDOMString; @@ -1153,7 +1158,7 @@ interface MediaTrackSettings { channelCount?: number; deviceId?: string; displaySurface?: string; - echoCancellation?: boolean; + echoCancellation?: boolean | string; facingMode?: string; frameRate?: number; groupId?: string; @@ -2013,6 +2018,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -4543,91 +4557,6 @@ declare var CDATASection: { new(): CDATASection; }; -/** - * The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody) - */ -interface CSPViolationReportBody extends ReportBody { - /** - * The **`blockedURL`** read-only property of the CSPViolationReportBody interface is a string value that represents the resource that was blocked because it violates a Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL) - */ - readonly blockedURL: string | null; - /** - * The **`columnNumber`** read-only property of the CSPViolationReportBody interface indicates the column number in the source file that triggered the Content Security Policy (CSP) violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber) - */ - readonly columnNumber: number | null; - /** - * The **`disposition`** read-only property of the CSPViolationReportBody interface indicates whether the user agent is configured to enforce Content Security Policy (CSP) violations or only report them. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition) - */ - readonly disposition: SecurityPolicyViolationEventDisposition; - /** - * The **`documentURL`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the document or worker that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL) - */ - readonly documentURL: string; - /** - * The **`effectiveDirective`** read-only property of the CSPViolationReportBody interface is a string that represents the effective Content Security Policy (CSP) directive that was violated. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective) - */ - readonly effectiveDirective: string; - /** - * The **`lineNumber`** read-only property of the CSPViolationReportBody interface indicates the line number in the source file that triggered the Content Security Policy (CSP) violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber) - */ - readonly lineNumber: number | null; - /** - * The **`originalPolicy`** read-only property of the CSPViolationReportBody interface is a string that represents the Content Security Policy (CSP) whose enforcement uncovered the violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy) - */ - readonly originalPolicy: string; - /** - * The **`referrer`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the referring page of the resource who's Content Security Policy (CSP) was violated. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer) - */ - readonly referrer: string | null; - /** - * The **`sample`** read-only property of the CSPViolationReportBody interface is a string that contains a part of the resource that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample) - */ - readonly sample: string | null; - /** - * The **`sourceFile`** read-only property of the CSPViolationReportBody interface indicates the URL of the source file that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile) - */ - readonly sourceFile: string | null; - /** - * The **`statusCode`** read-only property of the CSPViolationReportBody interface is a number representing the HTTP status code of the response to the request that triggered a Content Security Policy (CSP) violation (when loading a window or worker). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode) - */ - readonly statusCode: number; - /** - * The **`toJSON()`** method of the CSPViolationReportBody interface is a _serializer_, which returns a JSON representation of the `CSPViolationReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON) - */ - toJSON(): any; -} - -declare var CSPViolationReportBody: { - prototype: CSPViolationReportBody; - new(): CSPViolationReportBody; -}; - /** * The **`CSSAnimation`** interface of the Web Animations API represents an Animation object. * @@ -26273,57 +26202,6 @@ declare var RemotePlayback: { new(): RemotePlayback; }; -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * @@ -39418,6 +39296,7 @@ type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasEl type ClipboardItemData = Promise; type ClipboardItems = ClipboardItem[]; type ConstrainBoolean = boolean | ConstrainBooleanParameters; +type ConstrainBooleanOrDOMString = boolean | string | ConstrainBooleanOrDOMStringParameters; type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters; type ConstrainDouble = number | ConstrainDoubleRange; type ConstrainULong = number | ConstrainULongRange; diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index 177c63bee..3f1ceb470 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -570,6 +570,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -6517,57 +6526,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index 3950687c9..5ea209f90 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -500,6 +500,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -6100,57 +6109,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 243f49514..91534d830 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -376,6 +376,11 @@ interface ConstantSourceOptions { offset?: number; } +interface ConstrainBooleanOrDOMStringParameters { + exact?: boolean | string; + ideal?: boolean | string; +} + interface ConstrainBooleanParameters { exact?: boolean; ideal?: boolean; @@ -1113,7 +1118,7 @@ interface MediaTrackCapabilities { channelCount?: ULongRange; deviceId?: string; displaySurface?: string; - echoCancellation?: boolean[]; + echoCancellation?: (boolean | string)[]; facingMode?: string[]; frameRate?: DoubleRange; groupId?: string; @@ -1131,7 +1136,7 @@ interface MediaTrackConstraintSet { channelCount?: ConstrainULong; deviceId?: ConstrainDOMString; displaySurface?: ConstrainDOMString; - echoCancellation?: ConstrainBoolean; + echoCancellation?: ConstrainBooleanOrDOMString; facingMode?: ConstrainDOMString; frameRate?: ConstrainDouble; groupId?: ConstrainDOMString; @@ -1153,7 +1158,7 @@ interface MediaTrackSettings { channelCount?: number; deviceId?: string; displaySurface?: string; - echoCancellation?: boolean; + echoCancellation?: boolean | string; facingMode?: string; frameRate?: number; groupId?: string; @@ -2013,6 +2018,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -4543,91 +4557,6 @@ declare var CDATASection: { new(): CDATASection; }; -/** - * The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody) - */ -interface CSPViolationReportBody extends ReportBody { - /** - * The **`blockedURL`** read-only property of the CSPViolationReportBody interface is a string value that represents the resource that was blocked because it violates a Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL) - */ - readonly blockedURL: string | null; - /** - * The **`columnNumber`** read-only property of the CSPViolationReportBody interface indicates the column number in the source file that triggered the Content Security Policy (CSP) violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber) - */ - readonly columnNumber: number | null; - /** - * The **`disposition`** read-only property of the CSPViolationReportBody interface indicates whether the user agent is configured to enforce Content Security Policy (CSP) violations or only report them. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition) - */ - readonly disposition: SecurityPolicyViolationEventDisposition; - /** - * The **`documentURL`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the document or worker that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL) - */ - readonly documentURL: string; - /** - * The **`effectiveDirective`** read-only property of the CSPViolationReportBody interface is a string that represents the effective Content Security Policy (CSP) directive that was violated. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective) - */ - readonly effectiveDirective: string; - /** - * The **`lineNumber`** read-only property of the CSPViolationReportBody interface indicates the line number in the source file that triggered the Content Security Policy (CSP) violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber) - */ - readonly lineNumber: number | null; - /** - * The **`originalPolicy`** read-only property of the CSPViolationReportBody interface is a string that represents the Content Security Policy (CSP) whose enforcement uncovered the violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy) - */ - readonly originalPolicy: string; - /** - * The **`referrer`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the referring page of the resource who's Content Security Policy (CSP) was violated. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer) - */ - readonly referrer: string | null; - /** - * The **`sample`** read-only property of the CSPViolationReportBody interface is a string that contains a part of the resource that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample) - */ - readonly sample: string | null; - /** - * The **`sourceFile`** read-only property of the CSPViolationReportBody interface indicates the URL of the source file that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile) - */ - readonly sourceFile: string | null; - /** - * The **`statusCode`** read-only property of the CSPViolationReportBody interface is a number representing the HTTP status code of the response to the request that triggered a Content Security Policy (CSP) violation (when loading a window or worker). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode) - */ - readonly statusCode: number; - /** - * The **`toJSON()`** method of the CSPViolationReportBody interface is a _serializer_, which returns a JSON representation of the `CSPViolationReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON) - */ - toJSON(): any; -} - -declare var CSPViolationReportBody: { - prototype: CSPViolationReportBody; - new(): CSPViolationReportBody; -}; - /** * The **`CSSAnimation`** interface of the Web Animations API represents an Animation object. * @@ -26252,57 +26181,6 @@ declare var RemotePlayback: { new(): RemotePlayback; }; -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * @@ -39395,6 +39273,7 @@ type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasEl type ClipboardItemData = Promise; type ClipboardItems = ClipboardItem[]; type ConstrainBoolean = boolean | ConstrainBooleanParameters; +type ConstrainBooleanOrDOMString = boolean | string | ConstrainBooleanOrDOMStringParameters; type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters; type ConstrainDouble = number | ConstrainDoubleRange; type ConstrainULong = number | ConstrainULongRange; diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index ef7957e7f..895a075d4 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -570,6 +570,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -6517,57 +6526,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index f74aa3347..c9f41b503 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -500,6 +500,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -6100,57 +6109,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 19ddf7021..efa90e6b7 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -714,6 +714,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -7619,57 +7628,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index dd1abcfff..8d1a84b0d 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -376,6 +376,11 @@ interface ConstantSourceOptions { offset?: number; } +interface ConstrainBooleanOrDOMStringParameters { + exact?: boolean | string; + ideal?: boolean | string; +} + interface ConstrainBooleanParameters { exact?: boolean; ideal?: boolean; @@ -1113,7 +1118,7 @@ interface MediaTrackCapabilities { channelCount?: ULongRange; deviceId?: string; displaySurface?: string; - echoCancellation?: boolean[]; + echoCancellation?: (boolean | string)[]; facingMode?: string[]; frameRate?: DoubleRange; groupId?: string; @@ -1131,7 +1136,7 @@ interface MediaTrackConstraintSet { channelCount?: ConstrainULong; deviceId?: ConstrainDOMString; displaySurface?: ConstrainDOMString; - echoCancellation?: ConstrainBoolean; + echoCancellation?: ConstrainBooleanOrDOMString; facingMode?: ConstrainDOMString; frameRate?: ConstrainDouble; groupId?: ConstrainDOMString; @@ -1153,7 +1158,7 @@ interface MediaTrackSettings { channelCount?: number; deviceId?: string; displaySurface?: string; - echoCancellation?: boolean; + echoCancellation?: boolean | string; facingMode?: string; frameRate?: number; groupId?: string; @@ -2013,6 +2018,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -4543,91 +4557,6 @@ declare var CDATASection: { new(): CDATASection; }; -/** - * The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody) - */ -interface CSPViolationReportBody extends ReportBody { - /** - * The **`blockedURL`** read-only property of the CSPViolationReportBody interface is a string value that represents the resource that was blocked because it violates a Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL) - */ - readonly blockedURL: string | null; - /** - * The **`columnNumber`** read-only property of the CSPViolationReportBody interface indicates the column number in the source file that triggered the Content Security Policy (CSP) violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber) - */ - readonly columnNumber: number | null; - /** - * The **`disposition`** read-only property of the CSPViolationReportBody interface indicates whether the user agent is configured to enforce Content Security Policy (CSP) violations or only report them. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition) - */ - readonly disposition: SecurityPolicyViolationEventDisposition; - /** - * The **`documentURL`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the document or worker that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL) - */ - readonly documentURL: string; - /** - * The **`effectiveDirective`** read-only property of the CSPViolationReportBody interface is a string that represents the effective Content Security Policy (CSP) directive that was violated. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective) - */ - readonly effectiveDirective: string; - /** - * The **`lineNumber`** read-only property of the CSPViolationReportBody interface indicates the line number in the source file that triggered the Content Security Policy (CSP) violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber) - */ - readonly lineNumber: number | null; - /** - * The **`originalPolicy`** read-only property of the CSPViolationReportBody interface is a string that represents the Content Security Policy (CSP) whose enforcement uncovered the violation. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy) - */ - readonly originalPolicy: string; - /** - * The **`referrer`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the referring page of the resource who's Content Security Policy (CSP) was violated. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer) - */ - readonly referrer: string | null; - /** - * The **`sample`** read-only property of the CSPViolationReportBody interface is a string that contains a part of the resource that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample) - */ - readonly sample: string | null; - /** - * The **`sourceFile`** read-only property of the CSPViolationReportBody interface indicates the URL of the source file that violated the Content Security Policy (CSP). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile) - */ - readonly sourceFile: string | null; - /** - * The **`statusCode`** read-only property of the CSPViolationReportBody interface is a number representing the HTTP status code of the response to the request that triggered a Content Security Policy (CSP) violation (when loading a window or worker). - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode) - */ - readonly statusCode: number; - /** - * The **`toJSON()`** method of the CSPViolationReportBody interface is a _serializer_, which returns a JSON representation of the `CSPViolationReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON) - */ - toJSON(): any; -} - -declare var CSPViolationReportBody: { - prototype: CSPViolationReportBody; - new(): CSPViolationReportBody; -}; - /** * The **`CSSAnimation`** interface of the Web Animations API represents an Animation object. * @@ -26273,57 +26202,6 @@ declare var RemotePlayback: { new(): RemotePlayback; }; -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * @@ -39418,6 +39296,7 @@ type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasEl type ClipboardItemData = Promise; type ClipboardItems = ClipboardItem[]; type ConstrainBoolean = boolean | ConstrainBooleanParameters; +type ConstrainBooleanOrDOMString = boolean | string | ConstrainBooleanOrDOMStringParameters; type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters; type ConstrainDouble = number | ConstrainDoubleRange; type ConstrainULong = number | ConstrainULongRange; diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index ef7957e7f..895a075d4 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -570,6 +570,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -6517,57 +6526,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index f74aa3347..c9f41b503 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -500,6 +500,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -6100,57 +6109,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 19ddf7021..efa90e6b7 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -714,6 +714,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -7619,57 +7628,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 7302f0074..78bd2c234 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -714,6 +714,15 @@ interface RegistrationOptions { updateViaCache?: ServiceWorkerUpdateViaCache; } +interface Report { + body?: ReportBody | null; + type?: string; + url?: string; +} + +interface ReportBody { +} + interface ReportingObserverOptions { buffered?: boolean; types?: string[]; @@ -7619,57 +7628,6 @@ interface ReadableStreamGenericReader { cancel(reason?: any): Promise; } -/** - * The `Report` interface of the Reporting API represents a single report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report) - */ -interface Report { - /** - * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) - */ - readonly body: ReportBody | null; - /** - * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type) - */ - readonly type: string; - /** - * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url) - */ - readonly url: string; - toJSON(): any; -} - -declare var Report: { - prototype: Report; - new(): Report; -}; - -/** - * The **`ReportBody`** interface of the Reporting API represents the body of a report. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) - */ -interface ReportBody { - /** - * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) - */ - toJSON(): any; -} - -declare var ReportBody: { - prototype: ReportBody; - new(): ReportBody; -}; - /** * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports. * diff --git a/package-lock.json b/package-lock.json index 1df705e51..5da2ebede 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@webref/css": "^6.12.7", "@webref/elements": "^2.3.0", "@webref/events": "^1.11.3", - "@webref/idl": "^3.46.1", + "@webref/idl": "^3.65.2", "bcd-idl-mapper": "^3.0.0", "cpx2": "^8.0.0", "danger": "^13.0.4", @@ -1001,9 +1001,9 @@ "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.65.0", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.65.0.tgz", - "integrity": "sha512-TW2xliNxoHIwnZ4KNBoTnff1kQETI2KPbCYj2nyslE9bfwZdkh1gLuzYmSlYyjt5KIhpE6Wf3M4EwbGviyMUEA==", + "version": "3.65.2", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.65.2.tgz", + "integrity": "sha512-ITPtn5GqoAyuYy3EFSHFIWYQUIl7Py94ivLjzXhfmw8wjKSR8rCBj3XfszXGN9BfI4w9M2cyHRi5O8SfkiwRCg==", "dev": true, "license": "MIT", "peerDependencies": { diff --git a/package.json b/package.json index 80809a5c4..95421a01a 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@webref/css": "^6.12.7", "@webref/elements": "^2.3.0", "@webref/events": "^1.11.3", - "@webref/idl": "^3.46.1", + "@webref/idl": "^3.65.2", "bcd-idl-mapper": "^3.0.0", "cpx2": "^8.0.0", "danger": "^13.0.4",