On 8/3/15 8:15 PM, Glen Huang wrote:
Ideally, if the same resolve & reject callback combination is passed more than once, the same promise is always returned
That's a backwards-incompatible change from what browsers are shipping, right?
(I can't think of a use case where promises could stop to work, if promises were specced with this additional rule, but maybe I overlooked)
As long as no one uses the promise as a key in a Map or anything else that relies on its object identity...
Do you have a use case where the same callback will be passed to the same promise more than once?
Not offhand, but I would be shocked if no one is doing it. -Boris _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

