LibWeb: Add {,de}serialization steps for ImageData

This commit is contained in:
Kenneth Myhra 2025-05-04 13:45:51 +02:00 committed by Shannon Booth
commit 6941b63890
Notes: github-actions[bot] 2025-05-08 14:13:01 +00:00
7 changed files with 131 additions and 25 deletions

View file

@ -29,3 +29,10 @@ CryptoKey.algorithm: {"name":"PBKDF2"}
CryptoKey.usages: ["deriveKey","deriveBits"]
instanceOf DOMException: true
DOMException: Index out of bounds - IndexSizeError
instanceOf ImageData: true
ImageData.width: 2
ImageData.height: 2
255, 0, 0, 255
0, 255, 0, 255
0, 0, 255, 255
255, 255, 0, 255