Fix 'arguments' and 'caller' properties lazy listing in ES2015 profile (#3539)
This patch fixes #3536. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -35,7 +35,7 @@ var prototype_obj = { dummy:1, length:1, caller:null,
|
||||
var func = function() {};
|
||||
|
||||
Object.setPrototypeOf(func, prototype_obj);
|
||||
assert(getProperties(func) == "dummy caller arguments");
|
||||
assert(getProperties(func) == "dummy");
|
||||
|
||||
var bound_func = (function() {}).bind(null);
|
||||
Object.setPrototypeOf(bound_func, prototype_obj);
|
||||
|
||||
Reference in New Issue
Block a user