mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 00:19:18 +00:00
According to the spec, `ResizeObserver` needs to live for as long as it's referenced from script or has observation targets. With this change we make sure that `ResizeObserver` is unregistered from the `Document` when it has no target. Fixes GC leak that caused us to keep all resize observers alive until document they belong to is destroyed. |
||
|---|---|---|
| .. | ||
| ResizeObservation.cpp | ||
| ResizeObservation.h | ||
| ResizeObserver.cpp | ||
| ResizeObserver.h | ||
| ResizeObserver.idl | ||
| ResizeObserverEntry.cpp | ||
| ResizeObserverEntry.h | ||
| ResizeObserverEntry.idl | ||
| ResizeObserverSize.cpp | ||
| ResizeObserverSize.h | ||
| ResizeObserverSize.idl | ||