()
| 10690 | }; |
| 10691 | |
| 10692 | var requestError = function() { |
| 10693 | // The response is always empty |
| 10694 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 10695 | completeRequest(callback, -1, null, null, ''); |
| 10696 | }; |
| 10697 | |
| 10698 | xhr.onerror = requestError; |
| 10699 | xhr.onabort = requestError; |
nothing calls this directly
no test coverage detected