()
| 11410 | }; |
| 11411 | |
| 11412 | var requestError = function() { |
| 11413 | // The response is always empty |
| 11414 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 11415 | completeRequest(callback, -1, null, null, ''); |
| 11416 | }; |
| 11417 | |
| 11418 | xhr.onerror = requestError; |
| 11419 | xhr.onabort = requestError; |
nothing calls this directly
no test coverage detected