Skip to content
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
71 changes: 71 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14762,6 +14762,76 @@ declare var GPUCommandBuffer: {
new(): GPUCommandBuffer;
};

/**
* The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
*/
interface GPUCompilationInfo {
/**
* The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
*/
readonly messages: ReadonlyArray<GPUCompilationMessage>;
}

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

/**
* The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
*/
interface GPUCompilationMessage {
/**
* The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
*/
readonly length: number;
/**
* The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
*/
readonly lineNum: number;
/**
* The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
*/
readonly linePos: number;
/**
* The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
*/
readonly message: string;
/**
* The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
*/
readonly offset: number;
/**
* The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
*/
readonly type: GPUCompilationMessageType;
}

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

/**
* The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
* Available only in secure contexts.
Expand Down Expand Up @@ -43015,6 +43085,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type FullscreenNavigationUI = "auto" | "hide" | "show";
type GPUCompilationMessageType = "error" | "info" | "warning";
type GPUDeviceLostReason = "destroyed" | "unknown";
type GPUPipelineErrorReason = "internal" | "validation";
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
Expand Down
71 changes: 71 additions & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4239,6 +4239,76 @@ declare var GPUCommandBuffer: {
new(): GPUCommandBuffer;
};

/**
* The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
*/
interface GPUCompilationInfo {
/**
* The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
*/
readonly messages: ReadonlyArray<GPUCompilationMessage>;
}

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

/**
* The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
*/
interface GPUCompilationMessage {
/**
* The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
*/
readonly length: number;
/**
* The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
*/
readonly lineNum: number;
/**
* The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
*/
readonly linePos: number;
/**
* The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
*/
readonly message: string;
/**
* The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
*/
readonly offset: number;
/**
* The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
*/
readonly type: GPUCompilationMessageType;
}

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

/**
* The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
* Available only in secure contexts.
Expand Down Expand Up @@ -12249,6 +12319,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 GPUCompilationMessageType = "error" | "info" | "warning";
type GPUDeviceLostReason = "destroyed" | "unknown";
type GPUPipelineErrorReason = "internal" | "validation";
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
Expand Down
71 changes: 71 additions & 0 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3922,6 +3922,76 @@ declare var GPUCommandBuffer: {
new(): GPUCommandBuffer;
};

/**
* The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
*/
interface GPUCompilationInfo {
/**
* The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
*/
readonly messages: ReadonlyArray<GPUCompilationMessage>;
}

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

/**
* The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
*/
interface GPUCompilationMessage {
/**
* The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
*/
readonly length: number;
/**
* The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
*/
readonly lineNum: number;
/**
* The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
*/
readonly linePos: number;
/**
* The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
*/
readonly message: string;
/**
* The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
*/
readonly offset: number;
/**
* The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
*/
readonly type: GPUCompilationMessageType;
}

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

/**
* The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
* Available only in secure contexts.
Expand Down Expand Up @@ -11928,6 +11998,7 @@ type FileSystemHandleKind = "directory" | "file";
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type GPUCompilationMessageType = "error" | "info" | "warning";
type GPUDeviceLostReason = "destroyed" | "unknown";
type GPUPipelineErrorReason = "internal" | "validation";
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
Expand Down
71 changes: 71 additions & 0 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14748,6 +14748,76 @@ declare var GPUCommandBuffer: {
new(): GPUCommandBuffer;
};

/**
* The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
*/
interface GPUCompilationInfo {
/**
* The **`messages`** read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages)
*/
readonly messages: ReadonlyArray<GPUCompilationMessage>;
}

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

/**
* The **`GPUCompilationMessage`** interface of the WebGPU API represents a single informational, warning, or error message generated by the GPU shader module compiler.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
*/
interface GPUCompilationMessage {
/**
* The **`length`** read-only property of the GPUCompilationMessage interface is a number representing the length of the substring that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length)
*/
readonly length: number;
/**
* The **`lineNum`** read-only property of the GPUCompilationMessage interface is a number representing the line number in the shader code that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum)
*/
readonly lineNum: number;
/**
* The **`linePos`** read-only property of the GPUCompilationMessage interface is a number representing the position in the code line that the message corresponds to. This could be an exact point, or the start of the relevant substring.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos)
*/
readonly linePos: number;
/**
* The **`message`** read-only property of the GPUCompilationMessage interface is a string representing human-readable message text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message)
*/
readonly message: string;
/**
* The **`offset`** read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset)
*/
readonly offset: number;
/**
* The **`type`** read-only property of the GPUCompilationMessage interface is an enumerated value representing the type of the message. Each type represents a different severity level.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type)
*/
readonly type: GPUCompilationMessageType;
}

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

/**
* The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder.
* Available only in secure contexts.
Expand Down Expand Up @@ -42989,6 +43059,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
type FontFaceSetLoadStatus = "loaded" | "loading";
type FullscreenNavigationUI = "auto" | "hide" | "show";
type GPUCompilationMessageType = "error" | "info" | "warning";
type GPUDeviceLostReason = "destroyed" | "unknown";
type GPUPipelineErrorReason = "internal" | "validation";
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
Expand Down
Loading