wintercg / proposal-common-minimum-api

https://common-min-api.proposal.wintercg.org/
Other
221 stars 15 forks source link

Add Blob and File #19

Closed jasnell closed 1 year ago

jasnell commented 2 years ago

Closes: https://github.com/wintercg/proposal-common-minimum-api/issues/17

andreubotella commented 1 year ago

The File API spec hasn't been well maintained for some time, and there are a couple long-standing issues where it's known to be broken (such as w3c/FileAPI#43). However, since FormData requires Blob and File, and there's no other way to have files in multipart/form-data (short of actually implementing the serialization or parsing manually), I guess adding them is better than not.