|
@@ -160,7 +160,7 @@ bool is_compatible_property_descriptor(bool extensible, PropertyDescriptor const
|
|
return validate_and_apply_property_descriptor(nullptr, {}, extensible, descriptor, current);
|
|
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)
|
|
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.
|
|
// 1. Assert: If O is not undefined, then IsPropertyKey(P) is true.
|