mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
fix Headers.name and FormData.name (#5994)
This commit is contained in:
parent
0ce6394aca
commit
ecb94c06e9
4 changed files with 15 additions and 1 deletions
|
@ -137,3 +137,8 @@ export class FormDataImpl extends DomIterableMixin<
|
|||
FormDataEntryValue,
|
||||
typeof FormDataBase
|
||||
>(FormDataBase, dataSymbol) {}
|
||||
|
||||
Object.defineProperty(FormDataImpl, "name", {
|
||||
value: "FormData",
|
||||
configurable: true,
|
||||
});
|
||||
|
|
|
@ -256,3 +256,8 @@ export class HeadersImpl extends DomIterableMixin<
|
|||
string,
|
||||
typeof HeadersBase
|
||||
>(HeadersBase, headersData) {}
|
||||
|
||||
Object.defineProperty(HeadersImpl, "name", {
|
||||
value: "Headers",
|
||||
configurable: true,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue