MCPcopy Create free account
hub / github.com/angular/dev-infra / processResponse

Function processResponse

github-actions/saucelabs/set-saucelabs-env.js:13930–13945  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

13928 }
13929 this.state = "aborted";
13930 if (!error) {
13931 error = new DOMException("The operation was aborted.", "AbortError");
13932 }
13933 this.serializedAbortReason = error;
13934 (_a = this.connection) == null ? void 0 : _a.destroy(error);
13935 this.emit("terminated", error);
13936 }
13937 };
13938 function handleFetchDone(response) {
13939 finalizeAndReportTiming(response, "fetch");
13940 }
13941 function fetch(input, init = void 0) {
13942 var _a;
13943 webidl.argumentLengthCheck(arguments, 1, "globalThis.fetch");
13944 let p = createDeferredPromise();
13945 let requestObject;
13946 try {
13947 requestObject = new Request(input, init);
13948 } catch (e) {

Callers

nothing calls this directly

Calls 10

updateMethod · 0.80
abortFetchFunction · 0.70
fromInnerResponseFunction · 0.70
failWebsocketConnectionFunction · 0.70
parseExtensionsFunction · 0.70
getDecodeSplitFunction · 0.70
derefMethod · 0.45
getMethod · 0.45
hasMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected