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

Temporal: Audit of user code calls, part 4 (& last) #3939

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

ptomato
Copy link
Contributor

@ptomato ptomato commented Oct 4, 2023

Next part following on from #3923. These tests should provide coverage for tc39/proposal-temporal#2519. Two commits, best reviewed separately.

Unlike the other parts of the user code calls audit, this part didn't add any new fast paths; all it does is ensure that a TimeZone or Calendar method is only looked up once during the course of any Temporal method call. Therefore, no new tests are added (except for a few methods which were missing an order-of-operations.js entirely). This PR only adjusts the expectations of existing tests.

Copy link
Contributor

@cjtenny cjtenny left a comment

Choose a reason for hiding this comment

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

I promise I reviewed this thoroughly despite having no comments - all my comments in reviewing this came with thoroughly reviewing the normative changes accompanying it, and the tests do a great job covering that. Looks great to me :)

@ptomato
Copy link
Contributor Author

ptomato commented Nov 6, 2023

Thanks for the review!

@ptomato ptomato merged commit 2a804d6 into tc39:main Nov 6, 2023
9 checks passed
@ptomato ptomato deleted the user-code-calls branch November 6, 2023 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants