mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Reject Promise in createImageBitmap for Not Implemented Types
If we don't reject the Promise, it lasts forever, so rejecting non implemented Promises is essential, to not timeout in e.g. WPT tests
This commit is contained in:
parent
a8788e5abb
commit
aab5a9e944
Notes:
github-actions[bot]
2024-10-09 16:47:24 +00:00
Author: https://github.com/Totto16
Commit: aab5a9e944
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1700
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 57 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
Blob [Success]: [object ImageBitmap]
|
||||
ImageData [ Error ]: Error: Not Implemented: createImageBitmap() for non-blob types
|
||||
HTMLImageElement [ Error ]: TypeError: No union types matched
|
||||
SVGImageElement [ Error ]: TypeError: No union types matched
|
||||
HTMLCanvasElement [ Error ]: TypeError: No union types matched
|
||||
ImageBitmap [ Error ]: TypeError: No union types matched
|
||||
HTMLVideoElement [ Error ]: TypeError: No union types matched
|
Loading…
Add table
Add a link
Reference in a new issue