mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
![]() It's not safe to allocate from the GC heap while in the constructor of a GC heap cell. (Because if this ends up triggering a collection, we may end up trying to call through an uninitialized vtable). This was already done safely in the initialize() virtual in much of LibJS and LibWeb. This patch moves the logic for prototypes, mixins, and CSSStyleDeclaration as well. Fixes a long-standing GC crash that was pretty easy to reproduce by refreshing https://vercel.com/ |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
IDLGenerators.cpp | ||
main.cpp | ||
Namespaces.h |