()
| 12796 | }; |
| 12797 | |
| 12798 | var requestTimeout = function() { |
| 12799 | // The response is always empty |
| 12800 | // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error |
| 12801 | completeRequest(callback, -1, null, null, '', 'timeout'); |
| 12802 | }; |
| 12803 | |
| 12804 | xhr.onerror = requestError; |
| 12805 | xhr.onabort = requestAborted; |
nothing calls this directly
no test coverage detected