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 13:50:05 -0700
Message-ID: <CA+c2ei8P82pyvzh2fgQOpp3K2Reg9j8LJasu5nkecCgrOibSSw@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 Thu, Oct 27, 2011 at 1:36 PM, Anne van Kesteren <annevk@opera.com> wrote:
> On Thu, 27 Oct 2011 20:12:31 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>> The prime use of this value is actually to act like a content type header
>> when a URL created through createObjectURL(blob) is loaded.
> Doesn't it set Blob.type?

It does. But that property is what determines the content-type when
using createObjectURL. I suspect the property will be used a lot more
that way than people actually manually inspecting blob.type and doing
something with it.

I'm ok with calling the options object property "type" though. It's
nice that it's shorter and like you say, we're mapping it to the .type
property anyway.

/ Jonas
Received on Thursday, 27 October 2011 20:51:04 UTC

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