When viewing my application in any Microsoft IE browser version greater than 10, I get the following strange error on the console:

I tried to cancel the console by adding the following JavaScript code to the AngularJS lib version:
console.log = function(){}; window.console = {log: function(){}};
It didn’t matter. The same error in IE 10 looks like:
SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.
Maybe I'm trying to get "/ me" from the API to check if the user or guest is authenticated.
Basically. fixing these annoying console errors every time the server gives a response other than 2XX or 3XX will be wonderful!
UPDATE: it seems that this is due to access to the API through another subdomain (CORS);
angularjs internet-explorer cors
Oleg Belousov Sep 09 '13 at 20:09 on 2013-09-09 20:09
source share