From 8da6c01d8f7b24d63431ceef1db62c2e2cdcc2bd Mon Sep 17 00:00:00 2001 From: davidot Date: Fri, 4 Feb 2022 16:12:39 +0100 Subject: LibJS: Remove the JS_TRACK_ZOMBIE_CELLS option This feature had bitrotted somewhat and would trigger errors because PrimitiveStrings were "destroyed" but because of this mode they were not removed from the string cache. Even fixing that case running test-js with the options still failed in more places. --- Userland/Libraries/LibWeb/Bindings/Wrapper.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Userland/Libraries/LibWeb/Bindings') diff --git a/Userland/Libraries/LibWeb/Bindings/Wrapper.h b/Userland/Libraries/LibWeb/Bindings/Wrapper.h index 11da182ea6..2ac7c4851c 100644 --- a/Userland/Libraries/LibWeb/Bindings/Wrapper.h +++ b/Userland/Libraries/LibWeb/Bindings/Wrapper.h @@ -24,13 +24,6 @@ protected: : Object(prototype) { } - -#ifdef JS_TRACK_ZOMBIE_CELLS - virtual void did_become_zombie() override - { - revoke_weak_ptrs(); - } -#endif }; } -- cgit v1.2.3