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

Test closing async-from-sync iterator when resolving result promise abrupt completes. #3977

Conversation

ioannad
Copy link
Contributor

@ioannad ioannad commented Dec 29, 2023

These test new steps 6-6.a of AsyncFromSyncIteratorContinuation as per normative changes of ecma626 PR 2600
tc39/ecma262#2600

2nd of 3 patches to fix #3387

All these tests are based on @jridgewell 's comment

@ioannad ioannad requested a review from a team as a code owner December 29, 2023 16:54
Copy link
Contributor

@bakkot bakkot left a comment

Choose a reason for hiding this comment

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

LGTM other than whitespace.

Copy link
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

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

👍 when @nicolo-ribaudo's comment has been addressed. (Just as in part 1, you might consider using the async helpers to simplify the tests, but that's optional.)

@ioannad
Copy link
Contributor Author

ioannad commented Jan 16, 2024

@ptomato refactored tests as in part 1.

Copy link
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

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

👍

ioannad and others added 4 commits January 23, 2024 13:18
…brupt completes.

These test new steps 6-6.a of AsyncFromSyncIteratorContinuation
as per normative changes of ecma626 PR 2600
tc39/ecma262#2600
@ptomato ptomato force-pushed the async-from-sync-iterator-close-tests-abrupt-valueWrapper branch from 167163e to 92d20c8 Compare January 23, 2024 21:18
@ptomato ptomato merged commit 1f380f3 into tc39:main Jan 23, 2024
9 checks passed
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.

Tests for Async-from-Sync Iterator changes
4 participants