* @param {HeadersInit|Symbol} [init] * @returns
(init = void 0)
| 11799 | * @returns |
| 11800 | */ |
| 11801 | constructor(init = void 0) { |
| 11802 | webidl.util.markAsUncloneable(this); |
| 11803 | if (init === kConstruct) { |
| 11804 | return; |
| 11805 | } |
| 11806 | this.#headersList = new HeadersList(); |
| 11807 | this.#guard = "none"; |
| 11808 | if (init !== void 0) { |
| 11809 | init = webidl.converters.HeadersInit(init, "Headers constructor", "init"); |
| 11810 | fill(this, init); |
| 11811 | } |
| 11812 | } |
| 11813 | // https://fetch.spec.whatwg.org/#dom-headers-append |
| 11814 | append(name, value) { |
| 11815 | webidl.brandCheck(this, _Headers); |
nothing calls this directly
no test coverage detected