I ran into a problem while using this API with IE10. The API was throwing invalid state error in IE 10 while trying to fetch statements from SCORM CLOUD. All works well in IE 11 and other browsers.
Debugging further I realized that the issue was actually with the xhr.withCredentials in the ADL.XHR_request function. Moving it after xhr.open fixed the issue. Is it possible to raise a pull request to include it in the code?
or
if(typeof(withCredentials) != "undefined") // if Boolean is not passed for withCredentials
xhr.withCredentials = withCredentials;
xhr.open(method, url, callback != null);
Hi
I ran into a problem while using this API with IE10. The API was throwing invalid state error in IE 10 while trying to fetch statements from SCORM CLOUD. All works well in IE 11 and other browsers.
Debugging further I realized that the issue was actually with the xhr.withCredentials in the ADL.XHR_request function. Moving it after xhr.open fixed the issue. Is it possible to raise a pull request to include it in the code?
xhr.open(method, url, callback != null); xhr.withCredentials = withCredentials;
or if(typeof(withCredentials) != "undefined") // if Boolean is not passed for withCredentials xhr.withCredentials = withCredentials; xhr.open(method, url, callback != null);