Open
Bug 1948583
Opened 28 days ago
Updated 19 days ago
ImageData does not support color space
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
NEW
People
(Reporter: sotaro, Unassigned)
References
(Blocks 2 open bugs)
Details
During running test in Bug 1940072, the following code caused exception.
const srcImgData = new ImageData(2, 2, { colorSpace: srcColorSpace });
convertRGBA8UnormBytesToColorSpace - readbackFromWebGPUCanvas.spec.ts:83:21
TypeError: ImageData constructor: Argument 1 is not an object.
ImageData.webidl does not have color space.
https://html.spec.whatwg.org/multipage/canvas.html#imagedata
Comment 1•28 days ago
|
||
This was added in https://github.com/whatwg/html/pull/6562 (which points to bug 1703654 as our implementation bug, but that was only used to implement support in the WebGL canvas).
Severity: -- → S3
Comment 2•27 days ago
|
||
This is more gfx issue, I think. Sure, there is some minor webidl bindings changes needed too.
Severity: S3 → --
Component: DOM: Core & HTML → Graphics
You need to log in
before you can comment on or make changes to this bug.
Description
•