()
| 12945 | }; |
| 12946 | |
| 12947 | var requestError = function() { |
| 12948 | // The response is always empty |
| 12949 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 12950 | completeRequest(callback, -1, null, null, '', 'error'); |
| 12951 | }; |
| 12952 | |
| 12953 | var requestAborted = function() { |
| 12954 | completeRequest(callback, -1, null, null, '', abortedByTimeout ? 'timeout' : 'abort'); |
nothing calls this directly
no test coverage detected