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

Method code

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

Source from the content-addressed store, hash-verified

16990 function getCookies(headers) {
16991 webidl.argumentLengthCheck(arguments, 1, "getCookies");
16992 webidl.brandCheck(headers, Headers2, { strict: false });
16993 const cookie = headers.get("cookie");
16994 const out = {};
16995 if (!cookie) {
16996 return out;
16997 }
16998 for (const piece of cookie.split(";")) {

Callers

nothing calls this directly

Calls 1

__privateGetFunction · 0.70

Tested by

no test coverage detected