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

Method origin

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

Source from the content-addressed store, hash-verified

16926 }
16927 const attributeNameLowercase = attributeName.toLowerCase();
16928 if (attributeNameLowercase === "expires") {
16929 const expiryTime = new Date(attributeValue);
16930 cookieAttributeList.expires = expiryTime;
16931 } else if (attributeNameLowercase === "max-age") {
16932 const charCode = attributeValue.charCodeAt(0);
16933 if ((charCode < 48 || charCode > 57) && attributeValue[0] !== "-") {
16934 return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList);

Callers

nothing calls this directly

Calls 1

__privateGetFunction · 0.70

Tested by

no test coverage detected