diff options
Diffstat (limited to 'src/bun.js')
-rw-r--r-- | src/bun.js/bindings/webcore/JSDOMFormData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/webcore/JSDOMFormData.cpp b/src/bun.js/bindings/webcore/JSDOMFormData.cpp index cdbe5c56e..e221288c1 100644 --- a/src/bun.js/bindings/webcore/JSDOMFormData.cpp +++ b/src/bun.js/bindings/webcore/JSDOMFormData.cpp @@ -504,7 +504,7 @@ static inline JSC::EncodedJSValue jsDOMFormDataPrototypeFunction_toJSONBody(JSC: obj = constructEmptyObject(lexicalGlobalObject); } - obj->putDirect(vm, vm.propertyNames->toStringTagSymbol, jsString(vm, "FormData"_s), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); + obj->putDirect(vm, vm.propertyNames->toStringTagSymbol, jsString(vm, String("FormData"_s)), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); auto iter = impl.items(); WTF::HashSet<String> seenKeys; |