-
Notifications
You must be signed in to change notification settings - Fork 386
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 missing checks to Promise.resolve and Promise.reject. #379
Conversation
Ah, thanks - could we add test coverage for these to this repo also? |
… a primitive. Related to #379.
These checks are already covered by Can you share the test262 test conditions that cause a failure without this PR's changes? |
It's the |
…omise receiver. Per #379 (comment)
The only difference I see in the test262 tests is that they're voiding the I definitely see the test failing in #381 but I'm mystified as to why. |
aha, although |
@cscott Why does resolve have that check but not reject? |
I'm pursuing that question with the committee members, but in the meantime, if you could freshly rebase this on top of latest master I'd love to merge it ASAP. Thanks! |
These checks were overlooked when @@species was resolved from these methods. Discovered by running the ES2015 test262 test suite against es6-shim.
0ad0347
to
c8a69f9
Compare
Rebased. |
[Fix] Add missing checks to `Promise.resolve` and `Promise.reject`
Thanks! |
These checks were overlooked when @@species was resolved from these methods.
Discovered by running the ES2015 test262 test suite against es6-shim.