-
Notifications
You must be signed in to change notification settings - Fork 467
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 coverage for Promise.allSettled proposal #2112
Comments
@domenic previously posted when reviewing the spec:
|
@anba wrote some tests while working on his SpiderMonkey implementation: https://phabricator.services.mozilla.com/D25209#change-qATBO8Ktuxxu |
I got myself up and running with one test: astlaurent1@ade44b4. I had copied over a test from the Promise.all directory that I thought would behave the same, but I found slightly different behavior Note: I'm running against a webpack'd version of the shim: astlaurent1/Promise.allSettled@631acd6 (use the file in Oh and |
@astlaurent1 I'm porting the tests from Promise.all, I had my commits online but didn't open a PR while it's still a WIP. Now you can see it here: #2124 One thing to consider is that a test should not be adapted to a shim, and maybe the shim might need a fix as well. |
Also, the plan is to review and port tests from SpiderMonkey to Test262, I just need to finish one thing to start another. |
@leobalter Very cool! Thank you for commenting. My efforts were still a good learning exercise (and uncovered a recent bug in test262-harness), so no wasted time there Is there a communication channel where people discuss what they're working on? I'd like to contribute in general, and would prefer to know that I'm not duplicating efforts when I pick something up
Oh, absolutely! I highlighted the behavior difference with this in mind, but did not communicate that explicitly. |
Coverage is done.
@astlaurent1 Not much other than flagging on the issues/PRs here. There is a #test262 channel on Mozilla IRC but it's not very active. |
This issue is to track the progress of the test262 coverage of the stage 3 Promise.allSettled proposal. https://github.com/tc39/proposal-promise-allSettled
Suggestions for tests welcome, and I will update this text. The tests for Promise.all are a good place to start.
@mathiasbynens @jasonwilliams
The text was updated successfully, but these errors were encountered: