Re: Lifetime of Blob URL

On Mon, Aug 30, 2010 at 9:59 AM, Arun Ranganathan <arun@mozilla.com> wrote:
>> In addition, BlobError and BlobException sound better because these names
>> are consistent with current "Blob" naming scheme in File API. So we're also
>> going to adopt these new names in the WebKit implementation when we rename
>> FileReader to BlobReader per the spec.
>
> *sigh.  Naming continues to be hard.  Not everyone's thrilled with the
> proliferation of Blob in the API [1] including other major implementors (my
> co-editor included ;-))  but I changed it mainly due to Darin/Jian/other
> objections.  I suppose you folks are pretty adamant on the Blob* name?

I feel pretty strongly that we should name this back to FileReader,
for several reasons:

1. Most people that I talk to dislike the name Blob, much less having
it spread to things like BlobReader.
2. My understanding is that the writer counterpart is going to be
called FileWriter (is this correct?)
3. While it's certainly possible to read Blobs with this, it seems to
me like the far most common case will be to read a "real" file, or
part of a file (i.e. the result from myfile.slice()).
4. There is one shipping implementation of FileReader

/ Jonas

Received on Monday, 30 August 2010 20:09:37 UTC