()
| 9861 | }; |
| 9862 | |
| 9863 | var requestError = function() { |
| 9864 | // The response is always empty |
| 9865 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 9866 | completeRequest(callback, -1, null, null, ''); |
| 9867 | }; |
| 9868 | |
| 9869 | xhr.onerror = requestError; |
| 9870 | xhr.onabort = requestError; |
nothing calls this directly
no test coverage detected