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

fix($http): properly synchronize $browser outstandingRequestCount #13861

Conversation

wbyoko
Copy link
Contributor

@wbyoko wbyoko commented Jan 27, 2016

The issue is that using $http doesn't update $browser.outstandingRequestCount synchronously so that $browser.notifyWhenNoOutstandingRequests waits accordingly.
Configuring this synchronization with the promise chain updates the outstandingRequestCount correctly.

Closes #13782

The issue is that using $http doesn't update $browser.outstandingRequestCount synchronously so that $browser.notifyWhenNoOutstandingRequests waits accordingly.
Configuring this synchronization with the promise chain updates the outstandingRequestCount correctly.

Closes angular#13782
@gkalpak
Copy link
Member

gkalpak commented Jan 28, 2016

Closing, since this is essentially the same as #13862 (just against a different branch).
Once fixed in master, we can cherry-pick the commit from master into v1.4.x.

Thx @wbyoko !

@gkalpak gkalpak closed this Jan 28, 2016
@wbyoko
Copy link
Contributor Author

wbyoko commented Jan 28, 2016

Sounds Good.

@wbyoko wbyoko deleted the $http-synchronize-$browser-outstandingRequestCount-1.4 branch February 1, 2016 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants