W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: FormData and BlobBuilder - duplication of functionality?

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 13 Apr 2010 18:03:41 -0700
Message-ID: <y2h63df84f1004131803o838ba5b7y5e2e8fe4f7f945c3@mail.gmail.com>
To: Michael Nordman <michaeln@google.com>
Cc: Dmitry Titov <dimich@google.com>, Web Applications Working Group WG <public-webapps@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT