Fix inherited property type check in ordinary object.[[Set]] (#4425)
This patch fixes #4405. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
This commit is contained in:
1 parent
2ac3c08c14
commit
cab266f21d
2 files changed
+28
-1
No files matched your search
@@ -1509,7 +1509,8 @@ ecma_op_object_put_with_receiver (ecma_object_t *object_p, /**< the object */
|
||||
&property_ref,
|
||||
ECMA_PROPERTY_GET_NO_OPTIONS);
|
||||
|
||||
if (inherited_property != ECMA_PROPERTY_TYPE_NOT_FOUND)
|
||||
if (inherited_property != ECMA_PROPERTY_TYPE_NOT_FOUND
|
||||
&& inherited_property != ECMA_PROPERTY_TYPE_NOT_FOUND_AND_STOP)
|
||||
{
|
||||
if (ECMA_PROPERTY_GET_TYPE (inherited_property) == ECMA_PROPERTY_TYPE_NAMEDACCESSOR)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user