LibWeb: Remove redundant DedicatedWorkerGlobalScope prototype setting

Now that the global object correctly sets the property, we don't need
to do it here.
This commit is contained in:
sin-ack 2024-10-12 13:56:38 +00:00 committed by Andreas Kling
parent d5948709cd
commit 711faa8280
Notes: github-actions[bot] 2024-10-12 17:22:52 +00:00

View file

@ -29,8 +29,6 @@ void DedicatedWorkerGlobalScope::initialize_web_interfaces_impl()
auto& realm = this->realm();
add_dedicated_worker_exposed_interfaces(*this);
WEB_SET_PROTOTYPE_FOR_INTERFACE(DedicatedWorkerGlobalScope);
DedicatedWorkerGlobalScopeGlobalMixin::initialize(realm, *this);
Base::initialize_web_interfaces_impl();