test262
test262 copied to clipboard
Some test still use arguments.callee.caller
From what I read #797
They use it not directly on arguments but via arguments.callee, so this might be different?
function test2() {
if(arguments.callee.caller===undefined) {
called=true;
} else {
arguments.callee.caller(true);
}
}
Is this something that an engine should support or are these tests not correct anymore?
This code is present in at least:
test/language/arguments-object/10.6-13-a-2.js
test/language/arguments-object/10.6-13-a-3.js
I found that this is a bit different and maybe a duplicate of https://github.com/tc39/test262/issues/674 ?
This also has the flag [caller], however as our engine does need to support the web we probably have to implement it anyway.