()
| 9750 | }; |
| 9751 | |
| 9752 | var requestError = function() { |
| 9753 | // The response is always empty |
| 9754 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 9755 | completeRequest(callback, -1, null, null, ''); |
| 9756 | }; |
| 9757 | |
| 9758 | xhr.onerror = requestError; |
| 9759 | xhr.onabort = requestError; |
nothing calls this directly
no test coverage detected