mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-29 06:22:53 +00:00
The Heap::uproot_cell() API was used to implement markAsGarbage() which was used in 3 tests to forcibly destroy a value, even if it had references on the stack or elsewhere. This patch rewrites the 3 tests that used this mechanism to be structured in a way that allows garbage collection to collect the values as intended without hacks. And now that the uprooting mechanism is no longer needed, it's uprooted as well. This fixes 3 test-js tests in bytecode mode. :^) |
||
---|---|---|
.. | ||
WeakMap.js | ||
WeakMap.prototype.delete.js | ||
WeakMap.prototype.get.js | ||
WeakMap.prototype.has.js | ||
WeakMap.prototype.set.js |