I\'m getting an unexpected result when using $.when()
when one of the deferred operations does not succeed.
Take this JavaScript, which created 2 deferr
Internally, the "reject" and "fail" paths are handled by two totally separate queues, so it just doesn't work the way you expect.
In order to know which original Deferred failed from the "when()" group, you could have them pass themselves along with the ".reject()" call as part of an object literal or something.