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

Method constructor

github-actions/browserstack/set-browserstack-env.js:12443–12456  ·  view source on GitHub ↗
(init = void 0)

Source from the content-addressed store, hash-verified

12441 return this[kHeadersMap].values();
12442 }
12443 get entriesList() {
12444 const headers = [];
12445 if (this[kHeadersMap].size !== 0) {
12446 for (const { 0: lowerName, 1: { name, value } } of this[kHeadersMap]) {
12447 if (lowerName === "set-cookie") {
12448 for (const cookie of this.cookies) {
12449 headers.push([name, cookie]);
12450 }
12451 } else {
12452 headers.push([name, value]);
12453 }
12454 }
12455 }
12456 return headers;
12457 }
12458 // https://fetch.spec.whatwg.org/#convert-header-names-to-a-sorted-lowercase-set
12459 toSortedArray() {

Callers

nothing calls this directly

Calls 3

__privateAddFunction · 0.70
__privateSetFunction · 0.70
fillFunction · 0.70

Tested by

no test coverage detected