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

XHR request failed, when appcache is used #148

Open
tujlaky opened this issue Nov 20, 2014 · 0 comments
Open

XHR request failed, when appcache is used #148

tujlaky opened this issue Nov 20, 2014 · 0 comments

Comments

@tujlaky
Copy link

tujlaky commented Nov 20, 2014

If you use appcache, and make XHR requests to cached resources while offline, older webkit browsers finish the request with a statusCode of 0.

http://alistapart.com/article/application-cache-is-a-douchebag#section20

If I try to load a sprite's json file, I got error, because only response code 200 is allowed in this line:
https://github.com/cykod/Quintus/blob/master/lib/quintus.js#L1757

I tested it with Android 2.3.7.

@tujlaky tujlaky closed this as completed Jul 20, 2015
@tujlaky tujlaky reopened this Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant