mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02:00
We weren't doing this before either, but through a slightly sneaky mechanism: we had overridden Cell::initialize() in ShadowRealmGlobalScope as a no-op. Instead of that, do the same thing Window and Worker globals do and make all of the globals that inherit UniversalGlobalScopeMixin opt out of WEB_SET_PROTOTYPE_FOR_INTERFACE in EventTarget::initialize().
1.1 KiB
1.1 KiB