()
| 343 | } |
| 344 | }; |
| 345 | var onTimeout = function () { |
| 346 | timeout = setTimeout(function () { |
| 347 | onTimeout(); |
| 348 | }, 500); |
| 349 | if (xhr.readyState === 3) { |
| 350 | onProgress(); |
| 351 | } |
| 352 | }; |
| 353 | |
| 354 | // XDomainRequest#abort removes onprogress, onerror, onload |
| 355 | if ("onload" in xhr) { |
no test coverage detected