()
| 13579 | }; |
| 13580 | |
| 13581 | var requestError = function() { |
| 13582 | // The response is always empty |
| 13583 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 13584 | completeRequest(callback, -1, null, null, '', 'error'); |
| 13585 | }; |
| 13586 | |
| 13587 | var requestAborted = function() { |
| 13588 | completeRequest(callback, -1, null, null, '', abortedByTimeout ? 'timeout' : 'abort'); |
nothing calls this directly
no test coverage detected