Open Bug 1864904 Opened 8 months ago Updated 4 months ago

Validation errors in CanvasContext::Configure should throw TypeError

Categories

(Core :: Graphics: WebGPU, defect, P3)

defect

Tracking

()

People

(Reporter: bradwerth, Unassigned)

References

(Blocks 1 open bug)

Details

WebGPU spec https://gpuweb.github.io/gpuweb/#dom-gpucanvascontext-configure in Step 2 says to "Validate texture format required features of configuration.format with device" and if this fails, to throw a TypeError. CanvasContext::Configure is the Firefox implementation of this and throws no errors. The test test_context_configure.html has a todo_is to check for this.

You need to log in before you can comment on or make changes to this bug.