mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +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.