Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($q): pass promise-aplus-tests v2.0.3 WIP #5536

Closed
wants to merge 1 commit into from

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Dec 25, 2013

This is still a work in progress, but this implementation is now passing the
full promises-aplus-tests v2.0.3.

It is still necessary to shrink this down and hopefully provide a better
flyweight/prototype-based implementation.

Fixes #5223

BREAKING CHANGES

In compliance with the promise spec, fulfilling or rejecting a promise with
itself will throw a TypeError (2.3.1. http://promisesaplus.com/#point-57)
@caitp
Copy link
Contributor Author

caitp commented Dec 25, 2013

Clearly a lot of the tests have broken with this change, whether it's related entirely to ngMocks, or something else, I'm not sure. I'll figure that out over the next week or so

@ghost ghost assigned tbosch Dec 27, 2013
@caitp
Copy link
Contributor Author

caitp commented Jan 6, 2014

@wizardwerdna any comments on this yet? I'll take another look tomorrow but I expect you'll have some insight on ways to improve this.

@caitp
Copy link
Contributor Author

caitp commented Feb 12, 2014

Closing in favour of #5976 --- Will come back to this to try and improve performance down the line

@caitp caitp closed this Feb 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$q is probably due for a rewrite
2 participants