Skip to content
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

Deferred: Propagate progress correctly from unwrapped promises #3150

Merged
merged 1 commit into from Jun 9, 2016

Conversation

mgol
Copy link
Member

@mgol mgol commented Jun 8, 2016

Summary

Progress parameters are now correctly propagated from a deferred to which
another deferred resolved unwrapping it.

Thanks to @gibson042 for the report and a clear description of the problem
and the needed fix.

Fixes gh-3062

I'd like to get it in 3.0.0 as this bug is really unexpected and we've had a related external report.

Please review @jquery/core.

Checklist

Mark an [x] for completed items, if you're not sure leave them unchecked and we can assist.

Thanks! Bots and humans will be around shortly to check it out.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @gibson042, @markelog and @jaubourg to be potential reviewers

@dmethvin
Copy link
Member

dmethvin commented Jun 8, 2016

Agreed, the problem description was the key! If this fixes the bug for the external reporters it sounds like this is good.

@mgol
Copy link
Member Author

mgol commented Jun 8, 2016

If this fixes the bug for the external reporters

I haven't got the answer to #3129 (comment) yet.

@mgol
Copy link
Member Author

mgol commented Jun 9, 2016

@jquery/core Can I get some LGTMs? I wanted to land this before 3.0.0.

@dmethvin
Copy link
Member

dmethvin commented Jun 9, 2016

Yep, LGTM.

Progress parameters are now correctly propagated from a deferred to which
another deferred resolved unwrapping it.

Thanks to @gibson042 for the report and a clear description of the problem
and the needed fix.

Fixes jquerygh-3062
Closes jquerygh-3150
@mgol mgol merged commit d5dae25 into jquery:master Jun 9, 2016
@mgol mgol deleted the notifying-thenable branch June 9, 2016 12:58
@mgol mgol removed the Needs review label Sep 25, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

.then improperly propagates progress from locked-in Deferred
4 participants