Re: FormData and BlobBuilder - duplication of functionality?

On Tue, Apr 13, 2010 at 5:53 PM, Michael Nordman <michaeln@google.com> wrote:
>
>
> On Tue, Apr 13, 2010 at 5:39 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>>
>> On Tue, Apr 13, 2010 at 5:34 PM, Michael Nordman <michaeln@google.com>
>> wrote:
>> > Hmmm... maybe FormData could have a toBlob() method, and an inverse
>> > means of
>> > initializing a FormData object with a properly encoded Blob.
>>
>> What's the use case? ;)
>
> Persisting FormData and reconstituting it at a later time. For example when
> offline then back online.

Why would you need to recode into a FormData object though? You can
submit a Blob using XHR the same way you can submit a FormData.

/ Jonas

Received on Wednesday, 14 April 2010 01:04:33 UTC