mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibJS: Add missing spec link to ValidateAndApplyPropertyDescriptor
This commit is contained in:
committed by
Linus Groh
parent
99328e1038
commit
fff112c8a3
Notes:
sideshowbarker
2024-07-18 10:15:18 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/fff112c8a34 Pull-request: https://github.com/SerenityOS/serenity/pull/8517 Reviewed-by: https://github.com/linusg ✅
@@ -160,7 +160,7 @@ bool is_compatible_property_descriptor(bool extensible, PropertyDescriptor const
|
||||
return validate_and_apply_property_descriptor(nullptr, {}, extensible, descriptor, current);
|
||||
}
|
||||
|
||||
// 10.1.6.3 ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current ),
|
||||
// 10.1.6.3 ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current ), https://tc39.es/ecma262/#sec-validateandapplypropertydescriptor
|
||||
bool validate_and_apply_property_descriptor(Object* object, PropertyName const& property_name, bool extensible, PropertyDescriptor const& descriptor, Optional<PropertyDescriptor> const& current)
|
||||
{
|
||||
// 1. Assert: If O is not undefined, then IsPropertyKey(P) is true.
|
||||
|
||||
Reference in New Issue
Block a user