mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibJS: Add missing CommonPropertyNamess and StringMayBeNumber::Nos
This commit is contained in:
committed by
Andreas Kling
parent
cfb00ba494
commit
58631e9eef
@@ -573,6 +573,7 @@ bool is_animatable_property(PropertyID property_id)
|
||||
|
||||
properties.for_each_member([&](auto& name, auto& value) {
|
||||
VERIFY(value.is_object());
|
||||
VERIFY(!name.is_empty() && !is_ascii_digit(name[0])); // Ensure `PropertyKey`s are not Numbers.
|
||||
if (is_legacy_alias(value.as_object()))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user