Implement Proxy object [[OwnPropertyKeys]] internal method (#3639)

The algorithm is based on ECMA-262 v6, 9.5.12

JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
Szilagyi Adam
2020-04-14 16:57:47 +02:00
committed by GitHub
parent 60db840cf4
commit 4342c9ea6f
7 changed files with 413 additions and 19 deletions
@@ -37,14 +37,6 @@ try {
assert(e instanceof TypeError);
}
try {
// 19.1.2.1.5.b.iii
Object.assign({}, proxy)
assert(false);
} catch (e) {
assert(e instanceof TypeError);
}
try {
// 19.1.2.6.5
Object.getOwnPropertyDescriptor(proxy)