Correctly handle strict mode in case of Proxy.[[Set]] (#4180)

JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com
This commit is contained in:
Péter Gál
2020-09-08 10:03:27 +02:00
committed by GitHub
parent 861bb82749
commit 6f29e48fc6
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -1147,7 +1147,7 @@ ecma_op_object_put_with_receiver (ecma_object_t *object_p, /**< the object */
#if ENABLED (JERRY_BUILTIN_PROXY)
if (ECMA_OBJECT_IS_PROXY (object_p))
{
return ecma_proxy_object_set (object_p, property_name_p, value, receiver);
return ecma_proxy_object_set (object_p, property_name_p, value, receiver, is_throw);
}
#endif /* ENABLED (JERRY_BUILTIN_PROXY) */