mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-01 13:44:21 +00:00
LibWeb: Only read enumerable keyframe properties
(cherry picked from commit c85f00e373405623ecd255c36ba63c907b44de86)
This commit is contained in:
parent
1d47886430
commit
e8034cb476
|
@ -142,7 +142,7 @@ static WebIDL::ExceptionOr<KeyframeType<AL>> 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
|
||||
// <custom-property-name> 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<String> animation_properties;
|
||||
Optional<JS::Value> all_value;
|
||||
|
|
Loading…
Reference in a new issue