()
| 12224 | }; |
| 12225 | |
| 12226 | var requestError = function() { |
| 12227 | // The response is always empty |
| 12228 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 12229 | completeRequest(callback, -1, null, null, ''); |
| 12230 | }; |
| 12231 | |
| 12232 | xhr.onerror = requestError; |
| 12233 | xhr.onabort = requestError; |
nothing calls this directly
no test coverage detected