-
Notifications
You must be signed in to change notification settings - Fork 15
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
[IE10] XMLHttpRequest: Network Error #2
Comments
Hi All, Please help how to make it work. |
in IE there is a config for prevent cors request to be done. Maybe this can help |
This is when the request URI doesn't match the data or format (e.x.: query strings in a POST URL) and the browser recognizes that it should not be sent over the network. It will fail, and the response will be an http://stackoverflow.com/questions/16081267/xmlhttprequest-status-0-instead-of-401-in-ie-10 |
Same error with IE10 (CORS request using cutom header), without using Karma: |
When IE10 is launched on Win7, some XHR requests fail. In my test case, I send
GET
,POST
andDELETE
cross-domain requests.GET
andPOST
work every time, butDELETE
fails onThe funny part comes now: When I open the VM and launch IE manually, and then start karma, all the test cases pass.
Then, when I close IE and rerun the tests, the
Network Error
comes back. Also, when I test the whole site in that IE session, it fails onlocalStorage
access (probably the same issue as xdissent/iectrl#2).And again, if I stop karma, open IE manually in the VM, and then launch the tests (and the site), everything works perfectly.
This is kind of a mysterious issue, but is consistent and I suspect some IE launcher settings may be tweaked to resolve it.
The text was updated successfully, but these errors were encountered: