mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Add stack overflow check in ProxyObject::ownPropertyKeys
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
80b9bc2e9b
commit
82b52c7143
1 changed files with 2 additions and 0 deletions
|
|
@ -472,6 +472,8 @@ ObjectHasPropertyResult ProxyObject::hasProperty(ExecutionState& state, const Ob
|
|||
|
||||
Object::OwnPropertyKeyVector ProxyObject::ownPropertyKeys(ExecutionState& state)
|
||||
{
|
||||
CHECK_STACK_OVERFLOW(state);
|
||||
|
||||
// https://www.ecma-international.org/ecma-262/6.0/#sec-proxy-object-internal-methods-and-internal-slots-ownpropertykeys
|
||||
auto strings = &state.context()->staticStrings();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue