diff options
author | Zoltan Herczeg <zherczeg.u-szeged@partner.samsung.com> | 2021-03-03 17:12:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 17:12:36 +0100 |
commit | a95e3e37e1f7df431f6f34c4686199778ca89eb5 (patch) | |
tree | 04c04ba21f60ad319a5a45e4f7776e53f559075c /jerry-core/ecma/base/ecma-globals.h | |
parent | 129ca4946c981cc6349fae2eb875c5b34ef77049 (diff) |
Add more skip check options for Proxy objects (#4614)
Reorganize the flags to follow the list in ES2020 section 9.5
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-core/ecma/base/ecma-globals.h')
-rw-r--r-- | jerry-core/ecma/base/ecma-globals.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/jerry-core/ecma/base/ecma-globals.h b/jerry-core/ecma/base/ecma-globals.h index 97d904fc..dfe047f5 100644 --- a/jerry-core/ecma/base/ecma-globals.h +++ b/jerry-core/ecma/base/ecma-globals.h @@ -2189,10 +2189,13 @@ do \ */ typedef enum { - ECMA_PROXY_SKIP_GET_CHECKS = (1u << 0), /**< skip [[Get]] result checks */ - ECMA_PROXY_SKIP_GET_OWN_PROPERTY_CHECKS = (1u << 1), /**< skip [[GetOwnProperty]] result checks */ - ECMA_PROXY_IS_CALLABLE = (1u << 2), /**< proxy is callable */ - ECMA_PROXY_IS_CONSTRUCTABLE = (1u << 3), /**< proxy is constructable */ + ECMA_PROXY_SKIP_RESULT_VALIDATION = (1u << 0), /**< skip result validation for [[GetPrototypeOf]], + * [[SetPrototypeOf]], [[IsExtensible]], + * [[PreventExtensions]], [[GetOwnProperty]], + * [[DefineOwnProperty]], [[HasProperty]], [[Get]], + * [[Set]], [[Delete]] and [[OwnPropertyKeys]] */ + ECMA_PROXY_IS_CALLABLE = (1u << 1), /**< proxy is callable */ + ECMA_PROXY_IS_CONSTRUCTABLE = (1u << 2), /**< proxy is constructable */ } ecma_proxy_flag_types_t; /** |