Builtin objects symbol properties should be lazy listed (#4271)

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2020-10-06 14:52:25 +02:00
committed by GitHub
parent 17c8ec57bb
commit 53a085cd28
7 changed files with 63 additions and 22 deletions
+2
View File
@@ -182,3 +182,5 @@ try {
} catch (e) {
assert (e === "abrupt set getter");
}
[Symbol.toStringTag].forEach(e => assert (Reflect.ownKeys(WeakMap.prototype).includes(e)));