1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:27:35 +00:00

LibJS+LibWeb: Devirtualize may_interfere_with_indexed_property_access()

This commit is contained in:
iliadsh 2023-11-09 07:29:52 +00:00 committed by Andreas Kling
parent 7f501d4d8a
commit 89da731aa6
29 changed files with 51 additions and 61 deletions

View file

@ -38,8 +38,8 @@
namespace Web::DOM {
EventTarget::EventTarget(JS::Realm& realm)
: PlatformObject(realm)
EventTarget::EventTarget(JS::Realm& realm, MayInterfereWithIndexedPropertyAccess may_interfere_with_indexed_property_access)
: PlatformObject(realm, may_interfere_with_indexed_property_access)
{
}

View file

@ -59,7 +59,7 @@ public:
bool has_event_listeners() const;
protected:
explicit EventTarget(JS::Realm&);
explicit EventTarget(JS::Realm&, MayInterfereWithIndexedPropertyAccess = MayInterfereWithIndexedPropertyAccess::No);
void element_event_handler_attribute_changed(FlyString const& local_name, Optional<String> const& value);