mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
LibWeb: Port Intrinsics from DeprecatedString
This commit is contained in:
parent
9cd36839d2
commit
96af80acd1
279 changed files with 305 additions and 304 deletions
|
@ -59,7 +59,7 @@ void EventTarget::initialize(JS::Realm& realm)
|
|||
// FIXME: We can't do this for HTML::Window or HTML::WorkerGlobalScope, as this will run when creating the initial global object.
|
||||
// During this time, the ESO is not setup, so it will cause a nullptr dereference in host_defined_intrinsics.
|
||||
if (!is<HTML::WindowOrWorkerGlobalScopeMixin>(this))
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::EventTargetPrototype>(realm, "EventTarget"));
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::EventTargetPrototype>(realm, "EventTarget"_fly_string));
|
||||
}
|
||||
|
||||
void EventTarget::visit_edges(Cell::Visitor& visitor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue