LibWeb: Add FIXME comments to ImageData.idl

Add FIXME comments for ImageData's missing constructor and attribute
colorSpace.
This commit is contained in:
Kenneth Myhra 2024-03-23 21:56:03 +01:00 committed by Andreas Kling
commit 8a1e88677f
Notes: sideshowbarker 2024-07-17 06:51:40 +09:00

View file

@ -9,8 +9,9 @@ dictionary ImageDataSettings {
[Exposed=(Window,Worker), Serializable] [Exposed=(Window,Worker), Serializable]
interface ImageData { interface ImageData {
constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {}); constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
// FIXME: constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
readonly attribute unsigned long width; readonly attribute unsigned long width;
readonly attribute unsigned long height; readonly attribute unsigned long height;
readonly attribute Uint8ClampedArray data; readonly attribute Uint8ClampedArray data;
// FIXME: readonly attribute PredefinedColorSpace colorSpace;
}; };