http://jsfiddle.net/sp6a117y/
Analogous to#1894 in bothcause and solution. The new promise never sees progress at all because.done
is called on it before.progress
:
jQuery.Deferred().resolve().pipe(function(){vardfd=jQuery.Deferred().notify("a");dfd.notify("b").resolve(1);returndfd;}).progress(expectsInvocationWithB);