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

Function requestTimeout

lib/test/angular/1.8.0/angular.js:13591–13595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13589 };
13590
13591 var requestTimeout = function() {
13592 // The response is always empty
13593 // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error
13594 completeRequest(callback, -1, null, null, '', 'timeout');
13595 };
13596
13597 xhr.onerror = requestError;
13598 xhr.ontimeout = requestTimeout;

Callers

nothing calls this directly

Calls 1

completeRequestFunction · 0.70

Tested by

no test coverage detected