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

Method clone

github-actions/browserstack/set-browserstack-env.js:13555–13578  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13553 }
13554 // Returns the credentials mode associated with request,
13555 // which is a string indicating whether credentials will be sent with the
13556 // request always, never, or only when sent to a same-origin URL.
13557 get credentials() {
13558 return this[kState].credentials;
13559 }
13560 // Returns the cache mode associated with request,
13561 // which is a string indicating how the request will
13562 // interact with the browser’s cache when fetching.
13563 get cache() {
13564 webidl.brandCheck(this, _Request);
13565 return this[kState].cache;
13566 }
13567 // Returns the redirect mode associated with request,
13568 // which is a string indicating how redirects for the
13569 // request will be handled during fetching. A request
13570 // will follow redirects by default.
13571 get redirect() {
13572 webidl.brandCheck(this, _Request);
13573 return this[kState].redirect;
13574 }
13575 // Returns request’s subresource integrity metadata, which is a
13576 // cryptographic hash of the resource being fetched. Its value
13577 // consists of multiple hashes separated by whitespace. [SRI]
13578 get integrity() {
13579 webidl.brandCheck(this, _Request);
13580 return this[kState].integrity;
13581 }

Callers 1

""Function · 0.45

Calls 8

bodyUnusableFunction · 0.70
cloneRequestFunction · 0.70
buildAbortFunction · 0.70
fromInnerRequestFunction · 0.70
abortMethod · 0.45
getMethod · 0.45
setMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected