mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
Before this change, every CSS @supports rule would keep the containing JS realm alive via a JS::Handle. This led to a GC reference cycle and the whole realm leaked. Since we only need the realm at construction time, we can take it as a parameter instead, and stop storing it.
3.0 KiB
3.0 KiB