Handle revoked Proxy during [[Get]] operation (#4349)

The handling of Proxy.[[Get]] was not fully correctly in the case when the
Proxy was revoked during the execution of the handler.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com
This commit is contained in:
Péter Gál
2020-12-04 10:49:40 +01:00
committed by GitHub
parent de37e1e049
commit 89ff0fcf1f
5 changed files with 45 additions and 7 deletions
@@ -88,6 +88,12 @@ ecma_value_t ecma_op_ordinary_object_set_prototype_of (ecma_object_t *base_p, ec
bool JERRY_ATTR_PURE ecma_op_ordinary_object_is_extensible (ecma_object_t *object_p);
void ecma_op_ordinary_object_prevent_extensions (ecma_object_t *object_p);
#if ENABLED (JERRY_BUILTIN_PROXY)
ecma_value_t ecma_op_get_own_property_descriptor (ecma_value_t target,
ecma_string_t *property_name_p,
ecma_property_descriptor_t *prop_desc_p);
#endif /* ENABLED (JERRY_BUILTIN_PROXY) */
/**
* @}
* @}