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

Function cloneRequest

github-actions/browserstack/set-browserstack-env.js:13649–13655  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

13647 }
13648 if (this[kState].referrer === "client") {
13649 return "about:client";
13650 }
13651 return this[kState].referrer.toString();
13652 }
13653 // Returns the referrer policy associated with request.
13654 // This is used during fetching to compute the value of the request’s
13655 // referrer.
13656 get referrerPolicy() {
13657 webidl.brandCheck(this, _Request);
13658 return this[kState].referrerPolicy;

Callers 2

cloneMethod · 0.70
httpNetworkOrCacheFetchFunction · 0.70

Calls 4

makeRequestFunction · 0.70
__spreadPropsFunction · 0.70
__spreadValuesFunction · 0.70
cloneBodyFunction · 0.70

Tested by

no test coverage detected