Fixing [[DefineOwnProperty]] routine of general object.

This commit is contained in:
Ruben Ayrapetyan
2014-09-02 22:34:50 +04:00
parent d45748a001
commit b275218e63
+1 -1
View File
@@ -715,7 +715,7 @@ ecma_op_general_object_define_own_property (ecma_object_t *obj_p, /**< the objec
}
// 7.
if (current_p->u.named_accessor_property.configurable == ECMA_PROPERTY_NOT_CONFIGURABLE)
if (current_configurable == ECMA_PROPERTY_NOT_CONFIGURABLE)
{
if (property_desc.configurable == ECMA_PROPERTY_CONFIGURABLE
|| (property_desc.is_enumerable_defined