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

Method delete

github-actions/browserstack/set-browserstack-env.js:12342–12350  ·  view source on GitHub ↗

* @see https://fetch.spec.whatwg.org/#concept-header-list-delete * @param {string} name * @param {boolean} isLowerCase

(name, isLowerCase)

Source from the content-addressed store, hash-verified

12340 /** @type {[string, string][]|null} */
12341 __publicField(this, "cookies", null);
12342 if (init instanceof _HeadersList) {
12343 this[kHeadersMap] = new Map(init[kHeadersMap]);
12344 this[kHeadersSortedMap] = init[kHeadersSortedMap];
12345 this.cookies = init.cookies === null ? null : [...init.cookies];
12346 } else {
12347 this[kHeadersMap] = new Map(init);
12348 this[kHeadersSortedMap] = null;
12349 }
12350 }
12351 /**
12352 * @see https://fetch.spec.whatwg.org/#header-list-contains
12353 * @param {string} name

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected