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
My reading is that per the spec this should append a new entry whose name is "somename" and whose value is a Blob to the form data. Then, entries().next().value should return the Blob right back.
However, apparently in Chrome and Firefox it does not do that. Instead it converts it to a File (not a Blob) with, at least in Chrome, name "blob".
The text was updated successfully, but these errors were encountered:
https://xhr.spec.whatwg.org/#interface-formdata
See discussion in jsdom/jsdom#1533
Given this code:
My reading is that per the spec this should append a new entry whose name is "somename" and whose value is a Blob to the form data. Then, entries().next().value should return the Blob right back.
However, apparently in Chrome and Firefox it does not do that. Instead it converts it to a
File
(not aBlob
) with, at least in Chrome, name "blob".The text was updated successfully, but these errors were encountered: