fix Headers.name and FormData.name (#5994)

This commit is contained in:
Marcos Casagrande 2020-05-31 22:07:24 +02:00 committed by GitHub
parent 0ce6394aca
commit ecb94c06e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 1 deletions

View file

@ -137,3 +137,8 @@ export class FormDataImpl extends DomIterableMixin<
FormDataEntryValue,
typeof FormDataBase
>(FormDataBase, dataSymbol) {}
Object.defineProperty(FormDataImpl, "name", {
value: "FormData",
configurable: true,
});

View file

@ -256,3 +256,8 @@ export class HeadersImpl extends DomIterableMixin<
string,
typeof HeadersBase
>(HeadersBase, headersData) {}
Object.defineProperty(HeadersImpl, "name", {
value: "Headers",
configurable: true,
});