Skip to content

Commit b500ca9

Browse files
committed
[deno] Correct error type when a requested limit is too high
1 parent 5762102 commit b500ca9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cts_runner/test.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ webgpu:api,operation,render_pass,storeOp:render_pass_store_op,color_attachment_w
1919
webgpu:api,operation,render_pass,storeOp:render_pass_store_op,color_attachment_only:*
2020
webgpu:api,operation,render_pass,storeOp:render_pass_store_op,multiple_color_attachments:*
2121
webgpu:api,operation,render_pass,storeOp:render_pass_store_op,depth_stencil_attachment_only:*
22+
webgpu:api,validation,capability_checks,limits,maxBindGroups:setBindGroup,at_over:limitTest="overMaximum";*
2223
webgpu:api,validation,createBindGroup:buffer,effective_buffer_binding_size:*
2324
webgpu:api,validation,encoding,beginComputePass:*
2425
webgpu:api,validation,encoding,beginRenderPass:*

deno_webgpu/adapter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub enum CreateDeviceError {
196196
#[class(inherit)]
197197
#[error(transparent)]
198198
Serde(#[from] serde_json::Error),
199-
#[class(type)]
199+
#[class("DOMExceptionOperationError")]
200200
#[error(transparent)]
201201
Device(#[from] wgpu_core::instance::RequestDeviceError),
202202
}

0 commit comments

Comments
 (0)