Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some test still use arguments.callee.caller #3643

Open
davidot opened this issue Aug 19, 2022 · 1 comment
Open

Some test still use arguments.callee.caller #3643

davidot opened this issue Aug 19, 2022 · 1 comment

Comments

@davidot
Copy link

davidot commented Aug 19, 2022

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

@davidot
Copy link
Author

davidot commented Aug 31, 2022

I found that this is a bit different and maybe a duplicate of #674 ?

This also has the flag [caller], however as our engine does need to support the web we probably have to implement it anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant