Andreas Kling
72c9f56c66
LibJS: Make Heap::allocate<T>() infallible
...
Stop worrying about tiny OOMs. Work towards #20449 .
While going through these, I also changed the function signature in many
places where returning ThrowCompletionOr<T> is no longer necessary.
2023-08-13 15:38:42 +02:00
Andreas Kling
18c54d8d40
LibJS: Make Cell::initialize() return void
...
Stop worrying about tiny OOMs.
Work towards #20405
2023-08-08 07:39:11 +02:00
Nico Weber
2abe62adfa
LibWeb: Don't divide by 0 in DOMMatrix::invert_self()
...
We'd only check is_invertible() after calling inverse(), which would
do a divide-by-0 for non-invertible matrices.
Less ambitious version of #18593 .
2023-05-04 15:39:34 +02:00
Linus Groh
11b40dbcf5
LibWeb/WebIDL: Store SimpleException message as a String{,View} variant
2023-03-03 19:50:36 +00:00
Luke Wilde
a90667e79c
LibWeb: Add initial implementation of DOMMatrix(ReadOnly)
...
This is currently missing a lot of functions and initialisation from a
<transform-list> string, but is enough for Ruffle.
2023-02-27 20:55:09 +01:00