mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
imagebitmap: Make ImageBitmap serializable and transferable (#37101)
According to specification ImageBitmap objects are serializable objects and transferable objects. https://html.spec.whatwg.org/multipage/#the-imagebitmap-interface:imagebitmap-11 Testing: - html/canvas/element/manual/imagebitmap/* - html/infrastructure/safe-passing-of-structured-data/* - html/webappapis/structured-clone/* - workers/semantics/structured-clone/* Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
This commit is contained in:
parent
cd36c35cf2
commit
1f5087d773
19 changed files with 215 additions and 103 deletions
|
@ -29,24 +29,6 @@
|
|||
[Object ImageData object, ImageData 1x1 non-transparent non-black]
|
||||
expected: FAIL
|
||||
|
||||
[ImageBitmap 1x1 transparent black]
|
||||
expected: FAIL
|
||||
|
||||
[ImageBitmap 1x1 non-transparent non-black]
|
||||
expected: FAIL
|
||||
|
||||
[Array ImageBitmap object, ImageBitmap 1x1 transparent black]
|
||||
expected: FAIL
|
||||
|
||||
[Array ImageBitmap object, ImageBitmap 1x1 transparent non-black]
|
||||
expected: FAIL
|
||||
|
||||
[Object ImageBitmap object, ImageBitmap 1x1 transparent black]
|
||||
expected: FAIL
|
||||
|
||||
[Object ImageBitmap object, ImageBitmap 1x1 transparent non-black]
|
||||
expected: FAIL
|
||||
|
||||
[A subclass instance will deserialize as its closest serializable superclass]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue