Open
Bug 1942181
Opened 1 month ago
Updated 26 days ago
WebGPU CTS' `webgpu:web_platform,canvas,readbackFromWebGPUCanvas:drawTo2DCanvas:*` fails many cases due to unsupported `ImageDataSettings` arg. in `ImageData` constructor
Categories
(Core :: Graphics: WebGPU, defect)
Core
Graphics: WebGPU
Tracking
()
NEW
People
(Reporter: ErichDonGubler, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
STR
- Open
webgpu:web_platform,canvas,readbackFromWebGPUCanvas:drawTo2DCanvas:format="bgra8unorm";alphaMode="opaque";colorSpace="srgb";webgpuCanvasType="offscreen";canvas2DType="offscreen"
, and run tests. Observe the error messageEXCEPTION: TypeError: ImageData constructor: Argument 1 is not an object.
in the test run.
NOTE: One can reproduce this same error (and confirm that the diagnostic is, indeed, talking about the third argument, not the first or second) by running new ImageData(2, 2, { colorSpace: "srgb" })
in the web developer console, and comparing with the success returned by new ImageData(2, 2)
.
Reporter | ||
Updated•26 days ago
|
Summary: WebGPU CTS' `webgpu:web_platform,canvas,readbackFromWebGPUCanvas:drawTo2DCanvas:*` fails many cases due to missing `ImageDataSettings` arg. in `ImageData` constructor → WebGPU CTS' `webgpu:web_platform,canvas,readbackFromWebGPUCanvas:drawTo2DCanvas:*` fails many cases due to unsupported `ImageDataSettings` arg. in `ImageData` constructor
You need to log in
before you can comment on or make changes to this bug.
Description
•