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

fix($httpBackend): Ignore multiple calls to onreadystatechange with read... #5603

Merged
merged 1 commit into from
Jan 2, 2014

Conversation

tbosch
Copy link
Contributor

@tbosch tbosch commented Jan 2, 2014

...yState=4

On mobile webkit onreadystatechange might by called multiple times
with readyState===4 caused by xhrs that are resolved while the app is
in the background.

Fixes #5426.

…eadyState=4

On mobile webkit `onreadystatechange` might by called multiple times
with `readyState===4`  caused by xhrs that are resolved while the app is
in the background.

 Fixes angular#5426.
@IgorMinar
Copy link
Contributor

LGTM

@tbosch tbosch merged commit 4f57236 into angular:master Jan 2, 2014
@tbosch tbosch deleted the xhr-multi-ready branch January 2, 2014 22:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error thrown in xhr.onreadystatechange when javascript execution is suspended/resumed on iOS
2 participants