(name, value, filename = void 0)
| 6178 | } |
| 6179 | } |
| 6180 | append(name, value, filename = void 0) { |
| 6181 | webidl.brandCheck(this, _FormData); |
| 6182 | const prefix = "FormData.append"; |
| 6183 | webidl.argumentLengthCheck(arguments, 2, prefix); |
| 6184 | name = webidl.converters.USVString(name); |
| 6185 | if (arguments.length === 3 || webidl.is.Blob(value)) { |
| 6186 | value = webidl.converters.Blob(value, prefix, "value"); |
| 6187 | if (filename !== void 0) { |
| 6188 | filename = webidl.converters.USVString(filename); |
| 6189 | } |
| 6190 | } else { |
| 6191 | value = webidl.converters.USVString(value); |
| 6192 | } |
| 6193 | const entry = makeEntry(name, value, filename); |
| 6194 | this.#state.push(entry); |
| 6195 | } |
| 6196 | delete(name) { |
| 6197 | webidl.brandCheck(this, _FormData); |
| 6198 | const prefix = "FormData.delete"; |
nothing calls this directly
no test coverage detected