W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Is BlobBuilder needed?

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 27 Oct 2011 10:37:40 -0700
Message-ID: <CA+c2ei-mENCG3hCRgDwf67ttzfPFtbiax_nY5-zx+sw=nmRC+A@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Ojan Vafai <ojan@chromium.org>, Michael Nordman <michaeln@google.com>, Erik Arvidsson <arv@chromium.org>, Eric U <ericu@google.com>, Webapps WG <public-webapps@w3.org>
On Wednesday, October 26, 2011, Anne van Kesteren <annevk@opera.com> wrote:
> On Thu, 27 Oct 2011 08:14:39 +0900, Jonas Sicking <jonas@sicking.cc>
>> b = new Blob([foo, bar], { contentType: "text/plain" });
>> isn't too bad. The other properties that I could think of that we'd
>> want to add sometime in the future would be encoding for strings,
>> including endianness for utf16 strings.
> Lets call it "type" if it is not actually a Content-Type header value but
a MIME type.

The prime use of this value is actually to act like a content type header
when a URL created through createObjectURL(blob) is loaded.

/ Jonas
Received on Thursday, 27 October 2011 17:38:09 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC