()
| 10482 | }; |
| 10483 | |
| 10484 | var requestError = function() { |
| 10485 | // The response is always empty |
| 10486 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 10487 | completeRequest(callback, -1, null, null, ''); |
| 10488 | }; |
| 10489 | |
| 10490 | xhr.onerror = requestError; |
| 10491 | xhr.onabort = requestError; |
nothing calls this directly
no test coverage detected