From e8034cb4766b26406e5a24761b1dd44c8bbe3587 Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Fri, 7 Jun 2024 15:38:02 -0700 Subject: [PATCH] LibWeb: Only read enumerable keyframe properties (cherry picked from commit c85f00e373405623ecd255c36ba63c907b44de86) --- Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp b/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp index 6b32141a22..240a995f0f 100644 --- a/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp +++ b/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp @@ -142,7 +142,7 @@ static WebIDL::ExceptionOr> process_a_keyframe_like_object(JS:: // 4. Make up a new list animation properties that consists of all of the properties that are in both input // properties and animatable properties, or which are in input properties and conform to the // production. - auto input_properties = TRY(keyframe_object.internal_own_property_keys()); + auto input_properties = TRY(keyframe_object.enumerable_own_property_names(JS::Object::PropertyKind::Key)); Vector animation_properties; Optional all_value;