mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibJS: Add missing CommonPropertyNamess and StringMayBeNumber::Nos
This commit is contained in:
committed by
Andreas Kling
parent
cfb00ba494
commit
58631e9eef
Notes:
github-actions[bot]
2024-12-01 09:43:42 +00:00
Author: https://github.com/yyny Commit: https://github.com/LadybirdBrowser/ladybird/commit/58631e9eefb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2670
@@ -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