更新 framework coco2dx 3.15 中 cc.loader getXMLHttpRequest方法 : 假如注釋:
==============================
// xhr.timeout = 10000;
// if (xhr.ontimeout === undefined) {
// xhr._timeoutId = -1;
// }
IE11 以上 才能正常运行!!!!! 请问这是bug吗?
getXMLHttpRequest: function () {
var xhr = window.XMLHttpRequest ? new window.XMLHttpRequest() : new ActiveXObject(“MSXML2.XMLHTTP”);
// xhr.timeout = 10000;
// if (xhr.ontimeout === undefined) {
// xhr._timeoutId = -1;
// }
return xhr;
},