Skip to content

Restore GPU*Error from BCD 6.0.24 #2076

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

Merged
merged 1 commit into from
Jul 21, 2025
Merged
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
30 changes: 30 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,10 @@ interface FullscreenOptions {
navigationUI?: FullscreenNavigationUI;
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GainOptions extends AudioNodeOptions {
gain?: number;
}
Expand Down Expand Up @@ -12559,6 +12563,31 @@ interface GPUError {
readonly message: string;
}

declare var GPUError: {
prototype: GPUError;
new(): GPUError;
};

/**
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
*/
interface GPUPipelineError extends DOMException {
/**
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
*/
readonly reason: GPUPipelineErrorReason;
}

declare var GPUPipelineError: {
prototype: GPUPipelineError;
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
};

/**
* The `GainNode` interface represents a change in volume.
*
Expand Down Expand Up @@ -39802,6 +39831,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type FullscreenNavigationUI = "auto" | "hide" | "show";
type GPUPipelineErrorReason = "internal" | "validation";
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
type GamepadHapticsResult = "complete" | "preempted";
type GamepadMappingType = "" | "standard" | "xr-standard";
Expand Down
30 changes: 30 additions & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
fontfaces?: FontFace[];
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GetNotificationOptions {
tag?: string;
}
Expand Down Expand Up @@ -4110,6 +4114,31 @@ interface GPUError {
readonly message: string;
}

declare var GPUError: {
prototype: GPUError;
new(): GPUError;
};

/**
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
*/
interface GPUPipelineError extends DOMException {
/**
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
*/
readonly reason: GPUPipelineErrorReason;
}

declare var GPUPipelineError: {
prototype: GPUPipelineError;
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
};

interface GenericTransformStream {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
readonly readable: ReadableStream;
Expand Down Expand Up @@ -11537,6 +11566,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
type GPUPipelineErrorReason = "internal" | "validation";
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
Expand Down
30 changes: 30 additions & 0 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
fontfaces?: FontFace[];
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GetNotificationOptions {
tag?: string;
}
Expand Down Expand Up @@ -3793,6 +3797,31 @@ interface GPUError {
readonly message: string;
}

declare var GPUError: {
prototype: GPUError;
new(): GPUError;
};

/**
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
*/
interface GPUPipelineError extends DOMException {
/**
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
*/
readonly reason: GPUPipelineErrorReason;
}

declare var GPUPipelineError: {
prototype: GPUPipelineError;
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
};

interface GenericTransformStream {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
readonly readable: ReadableStream;
Expand Down Expand Up @@ -11222,6 +11251,7 @@ type FileSystemHandleKind = "directory" | "file";
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type GPUPipelineErrorReason = "internal" | "validation";
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
Expand Down
30 changes: 30 additions & 0 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,10 @@ interface FullscreenOptions {
navigationUI?: FullscreenNavigationUI;
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GainOptions extends AudioNodeOptions {
gain?: number;
}
Expand Down Expand Up @@ -12548,6 +12552,31 @@ interface GPUError {
readonly message: string;
}

declare var GPUError: {
prototype: GPUError;
new(): GPUError;
};

/**
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
*/
interface GPUPipelineError extends DOMException {
/**
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
*/
readonly reason: GPUPipelineErrorReason;
}

declare var GPUPipelineError: {
prototype: GPUPipelineError;
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
};

/**
* The `GainNode` interface represents a change in volume.
*
Expand Down Expand Up @@ -39779,6 +39808,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type FullscreenNavigationUI = "auto" | "hide" | "show";
type GPUPipelineErrorReason = "internal" | "validation";
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
type GamepadHapticsResult = "complete" | "preempted";
type GamepadMappingType = "" | "standard" | "xr-standard";
Expand Down
30 changes: 30 additions & 0 deletions baselines/ts5.5/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
fontfaces?: FontFace[];
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GetNotificationOptions {
tag?: string;
}
Expand Down Expand Up @@ -4110,6 +4114,31 @@ interface GPUError {
readonly message: string;
}

declare var GPUError: {
prototype: GPUError;
new(): GPUError;
};

/**
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
*/
interface GPUPipelineError extends DOMException {
/**
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
*/
readonly reason: GPUPipelineErrorReason;
}

declare var GPUPipelineError: {
prototype: GPUPipelineError;
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
};

interface GenericTransformStream {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
readonly readable: ReadableStream;
Expand Down Expand Up @@ -11537,6 +11566,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
type GPUPipelineErrorReason = "internal" | "validation";
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
Expand Down
30 changes: 30 additions & 0 deletions baselines/ts5.5/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
fontfaces?: FontFace[];
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GetNotificationOptions {
tag?: string;
}
Expand Down Expand Up @@ -3793,6 +3797,31 @@ interface GPUError {
readonly message: string;
}

declare var GPUError: {
prototype: GPUError;
new(): GPUError;
};

/**
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
*/
interface GPUPipelineError extends DOMException {
/**
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
*/
readonly reason: GPUPipelineErrorReason;
}

declare var GPUPipelineError: {
prototype: GPUPipelineError;
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
};

interface GenericTransformStream {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
readonly readable: ReadableStream;
Expand Down Expand Up @@ -11222,6 +11251,7 @@ type FileSystemHandleKind = "directory" | "file";
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type GPUPipelineErrorReason = "internal" | "validation";
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
Expand Down
30 changes: 30 additions & 0 deletions baselines/ts5.5/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
fontfaces?: FontFace[];
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GetNotificationOptions {
tag?: string;
}
Expand Down Expand Up @@ -4802,6 +4806,31 @@ interface GPUError {
readonly message: string;
}

declare var GPUError: {
prototype: GPUError;
new(): GPUError;
};

/**
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
*/
interface GPUPipelineError extends DOMException {
/**
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
*/
readonly reason: GPUPipelineErrorReason;
}

declare var GPUPipelineError: {
prototype: GPUPipelineError;
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
};

interface GenericTransformStream {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
readonly readable: ReadableStream;
Expand Down Expand Up @@ -13202,6 +13231,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
type GPUPipelineErrorReason = "internal" | "validation";
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
Expand Down
Loading