You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be due to a change in the algorithm used for determining the toString of an Object. See step 16 of 19.1.3.6 Object.prototype.toString ( )
constform=newFormData();assert(form.toString()=="[object FormData]","toString() results in [object FormData]")assert(Object.prototype.toString.call(form)=="[object FormData]","Object.prototype.toString.call(form) results in [object FormData]")
In version 2.3.2 of FormData, the second assertion will fail as Object.prototype.toString.call(form) returns [object Object]
The fix for this is to add support for the toStringTag symbol, like the following: