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
better cross domain errors #4
Comments
I hit this bug yesterday rewriting the Iris Couch signup. You're on Chrome, right? If you check your console you should see a cross-origin error. And I prefer to get between the programmer and the XHR object as little as possible (basically just enough to follow the request API) but in this case I'd like to make it an error. Maybe it could have a Another thing I need to do is check that jQuery cors flag and see exactly impact that has to the underlying XHR object. The final thing to to to close this bug is identify how the other browsers handle a CORS failure and at least unify that for the browser-request user. |
@maxogden What is the status of this bug? May I close it, or what do you think? Thanks. |
just tested it, got a nice error!
looks good to me |
Given a cross domain request:
e
andb
are nulle
is a JSON parse syntax error andb
is nullWould it be possible to detect and return an error about the single origin policy?
The text was updated successfully, but these errors were encountered: