mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
This replaces uses of our custom RootedVec type that were storing JS GC values with stack rooting that is better integrated with the engine. This ensures that storing nursery-allocated objects in these vectors is handled correctly during GC, unlike our RootedVec implementation which trips an assertion in debug mozjs builds. Testing: No observable difference in non-mozjs builds. Fixes: part of #40141 --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
376 KiB
376 KiB