(name)
| 6201 | this.#state = this.#state.filter((entry) => entry.name !== name); |
| 6202 | } |
| 6203 | get(name) { |
| 6204 | webidl.brandCheck(this, _FormData); |
| 6205 | const prefix = "FormData.get"; |
| 6206 | webidl.argumentLengthCheck(arguments, 1, prefix); |
| 6207 | name = webidl.converters.USVString(name); |
| 6208 | const idx = this.#state.findIndex((entry) => entry.name === name); |
| 6209 | if (idx === -1) { |
| 6210 | return null; |
| 6211 | } |
| 6212 | return this.#state[idx].value; |
| 6213 | } |
| 6214 | getAll(name) { |
| 6215 | webidl.brandCheck(this, _FormData); |
| 6216 | const prefix = "FormData.getAll"; |
nothing calls this directly
no test coverage detected