mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Implement {,de}serialization steps for ImageBitmap
To make {,de}serialization of ImageBitmap work we also had to add
support for creating an ImageBitmap from a HTMLCanvasElement in
WindowOrWorkerGlobalScopeMixin::create_image_bitmap_impl().
This commit is contained in:
committed by
Shannon Booth
parent
7b4ee57037
commit
c0976b18e0
Notes:
github-actions[bot]
2025-07-20 00:32:03 +00:00
Author: https://github.com/kennethmyhra Commit: https://github.com/LadybirdBrowser/ladybird/commit/c0976b18e0a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5445 Reviewed-by: https://github.com/shannonbooth
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 150 tests
|
||||
|
||||
141 Pass
|
||||
9 Fail
|
||||
147 Pass
|
||||
3 Fail
|
||||
Pass primitive undefined
|
||||
Pass primitive null
|
||||
Pass primitive true
|
||||
@@ -126,12 +126,12 @@ Pass Object with non-enumerable property
|
||||
Pass Object with non-writable property
|
||||
Pass Object with non-configurable property
|
||||
Pass Object with a getter that throws
|
||||
Fail ImageBitmap 1x1 transparent black
|
||||
Fail ImageBitmap 1x1 non-transparent non-black
|
||||
Fail Array ImageBitmap object, ImageBitmap 1x1 transparent black
|
||||
Fail Array ImageBitmap object, ImageBitmap 1x1 transparent non-black
|
||||
Fail Object ImageBitmap object, ImageBitmap 1x1 transparent black
|
||||
Fail Object ImageBitmap object, ImageBitmap 1x1 transparent non-black
|
||||
Pass ImageBitmap 1x1 transparent black
|
||||
Pass ImageBitmap 1x1 non-transparent non-black
|
||||
Pass Array ImageBitmap object, ImageBitmap 1x1 transparent black
|
||||
Pass Array ImageBitmap object, ImageBitmap 1x1 transparent non-black
|
||||
Pass Object ImageBitmap object, ImageBitmap 1x1 transparent black
|
||||
Pass Object ImageBitmap object, ImageBitmap 1x1 transparent non-black
|
||||
Pass ObjectPrototype must lose its exotic-ness when cloned
|
||||
Pass Serializing a non-serializable platform object fails
|
||||
Pass An object whose interface is deleted from the global must still deserialize
|
||||
|
||||
Reference in New Issue
Block a user