MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / requestTimeout

Function requestTimeout

lib/test/angular/1.6.7/angular.js:12798–12802  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

completeRequestFunction · 0.70

Tested by

no test coverage detected