diff options
author | Marcos Casagrande <marcoscvp90@gmail.com> | 2020-05-31 22:07:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-31 16:07:24 -0400 |
commit | ecb94c06e94c97ba07b804771f66c5e52c3d83ac (patch) | |
tree | 0646f0c3b94f073f8a4c3a91c2f3d93101a7d9b7 /cli/js/web/form_data.ts | |
parent | 0ce6394acabdf75bc1d80a399be7ec8e1e08bd49 (diff) |
fix Headers.name and FormData.name (#5994)
Diffstat (limited to 'cli/js/web/form_data.ts')
-rw-r--r-- | cli/js/web/form_data.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/js/web/form_data.ts b/cli/js/web/form_data.ts index 055694517..155f40771 100644 --- a/cli/js/web/form_data.ts +++ b/cli/js/web/form_data.ts @@ -137,3 +137,8 @@ export class FormDataImpl extends DomIterableMixin< FormDataEntryValue, typeof FormDataBase >(FormDataBase, dataSymbol) {} + +Object.defineProperty(FormDataImpl, "name", { + value: "FormData", + configurable: true, +}); |