-
Notifications
You must be signed in to change notification settings - Fork 472
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
Test closing async-from-sync iterator when resolving result promise abrupt completes. #3977
Conversation
test/built-ins/AsyncFromSyncIteratorPrototype/throw/throw-result-poisoned-wrapper.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
test/built-ins/AsyncFromSyncIteratorPrototype/throw/throw-result-poisoned-wrapper.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.)
@ptomato refactored tests as in part 1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…brupt completes. These test new steps 6-6.a of AsyncFromSyncIteratorContinuation as per normative changes of ecma626 PR 2600 tc39/ecma262#2600
Co-authored-by: Kevin Gibbons <[email protected]>
Co-authored-by: Nicolò Ribaudo <[email protected]>
167163e
to
92d20c8
Compare
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