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

Add tests for Proxy semantics change #2143

Merged
merged 13 commits into from
May 3, 2019

Conversation

shvaikalesh
Copy link
Member

@shvaikalesh shvaikalesh commented Apr 30, 2019

Spec PR: tc39/ecma262#666.
Closes #2142.

@littledan
Copy link
Member

cc @erights @tvcutsem @claudepache

@shvaikalesh shvaikalesh marked this pull request as ready for review April 30, 2019 16:39
leobalter
leobalter previously approved these changes May 1, 2019
Copy link
Member

@leobalter leobalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is good, I just left a few comments with minor things that can be addressed here and there.

@shvaikalesh
Copy link
Member Author

shvaikalesh commented May 1, 2019

Thanks for detailed feedback, @leobalter.

Instead of duplicating tests, I've moved property definitions to traps just like we have in some other tests. Except for asserting that target.[[GetOwnProperty]](P) gets called after the trap, is there particular reason to define properties in traps?

Copy link
Member

@leobalter leobalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are looking great, I left 2 comments that should be easy to address. Thanks for the hard work here!

@leobalter
Copy link
Member

These tests are great! Thanks!

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

Successfully merging this pull request may close these issues.

Test coverage for Proxy semantics change ecma262#666
3 participants