From fff112c8a34089a96e8c11b35fdbb21ed6d9527f Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Wed, 7 Jul 2021 01:32:11 +0300 Subject: [PATCH] LibJS: Add missing spec link to ValidateAndApplyPropertyDescriptor --- Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp index e5671eadef..fea531feb3 100644 --- a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp +++ b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp @@ -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 const& current) { // 1. Assert: If O is not undefined, then IsPropertyKey(P) is true.