mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
This fixes two assertions observed in Servo using debug mozjs builds: * `Assertion failure: !IsInsideNursery(obj)` for every promise object reflected into Rust code * `Missing calls to JS::RemoveAssociatedMemory` when shutting down the browser Testing: Verified locally that WPT tests can run to completion in debug mozjs builds, but we don't run those on CI. Fixes: #43486 Signed-off-by: Josh Matthews <josh@joshmatthews.net>