Skip to content

Bump @webref/idl from 3.65.0 to 3.65.2 #2063

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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 18 additions & 139 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,11 @@ interface ConstantSourceOptions {
offset?: number;
}

interface ConstrainBooleanOrDOMStringParameters {
exact?: boolean | string;
ideal?: boolean | string;
}

interface ConstrainBooleanParameters {
exact?: boolean;
ideal?: boolean;
Expand Down Expand Up @@ -1113,7 +1118,7 @@ interface MediaTrackCapabilities {
channelCount?: ULongRange;
deviceId?: string;
displaySurface?: string;
echoCancellation?: boolean[];
echoCancellation?: (boolean | string)[];
facingMode?: string[];
frameRate?: DoubleRange;
groupId?: string;
Expand All @@ -1131,7 +1136,7 @@ interface MediaTrackConstraintSet {
channelCount?: ConstrainULong;
deviceId?: ConstrainDOMString;
displaySurface?: ConstrainDOMString;
echoCancellation?: ConstrainBoolean;
echoCancellation?: ConstrainBooleanOrDOMString;
facingMode?: ConstrainDOMString;
frameRate?: ConstrainDouble;
groupId?: ConstrainDOMString;
Expand All @@ -1153,7 +1158,7 @@ interface MediaTrackSettings {
channelCount?: number;
deviceId?: string;
displaySurface?: string;
echoCancellation?: boolean;
echoCancellation?: boolean | string;
facingMode?: string;
frameRate?: number;
groupId?: string;
Expand Down Expand Up @@ -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[];
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -39418,6 +39296,7 @@ type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasEl
type ClipboardItemData = Promise<string | Blob>;
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;
Expand Down
60 changes: 9 additions & 51 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down Expand Up @@ -6517,57 +6526,6 @@ interface ReadableStreamGenericReader {
cancel(reason?: any): Promise<void>;
}

/**
* 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.
*
Expand Down
60 changes: 9 additions & 51 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down Expand Up @@ -6100,57 +6109,6 @@ interface ReadableStreamGenericReader {
cancel(reason?: any): Promise<void>;
}

/**
* 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.
*
Expand Down
Loading