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

Function getSetCookies

github-actions/saucelabs/set-saucelabs-env.js:16802–16810  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

16800 }
16801 if (cookie.httpOnly) {
16802 out.push("HttpOnly");
16803 }
16804 if (typeof cookie.maxAge === "number") {
16805 validateCookieMaxAge(cookie.maxAge);
16806 out.push(`Max-Age=${cookie.maxAge}`);
16807 }
16808 if (cookie.domain) {
16809 validateCookieDomain(cookie.domain);
16810 out.push(`Domain=${cookie.domain}`);
16811 }
16812 if (cookie.path) {
16813 validateCookiePath(cookie.path);

Callers

nothing calls this directly

Calls 2

parseSetCookieFunction · 0.70
getSetCookieMethod · 0.45

Tested by

no test coverage detected