IE kept throwing "Unexpected call to method or property access" for no apparent reason.
Debbuging via console I've found out that it happens exactly after it reaches XDomainRequest.onload method, I have no idea what could be causing it, here's the code:
var Xdr = new XDomainRequest(),
_url = someurl;
Xdr.open("get", _url);
Xdr.onload = function () {
var x = Xdr.responseText;
};
Xdr.onprogress = function(){ };
Xdr.ontimeout = function(){ };
Xdr.onerror = function () { };
setTimeout(function(){
Xdr.send();
}, 0);
Any insights? It's just plain weird.