summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Geometry/DOMRect.cpp
AgeCommit message (Collapse)Author
2023-02-22LibWeb: Make factory methods of Geometry::DOMRect fallibleKenneth Myhra
2023-01-29LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocateTimothy Flynn
Callers that are already in a fallible context will now TRY to allocate cells. Callers in infallible contexts get a FIXME.
2023-01-29LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errorsTimothy Flynn
Note that as of this commit, there aren't any such throwers, and the call site in Heap::allocate will drop exceptions on the floor. This commit only serves to change the declaration of the overrides, make sure they return an empty value, and to propagate OOM errors frm their base initialize invocations.
2023-01-10LibWeb: Move setting of Web object prototypes to initialize()Timothy Flynn
This needs to happen before prototype/constructor intitialization can be made lazy. Otherwise, GC could run during the C++ constructor and try to collect the object currently being created.
2022-12-15LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtrLinus Groh
2022-10-01LibWeb: Remove unecessary dependence on Window from Geometry classesAndrew Kaster
These classes only needed Window to get at its realm. Pass a realm directly to construct Geometry classes.
2022-09-06LibWeb: Make DOMRect, DOMRectReadOnly and DOMRectList GC-allocatedAndreas Kling