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

Re: [FileAPI] File.slice spec bug

From: Arun Ranganathan <arun@mozilla.com>
Date: Tue, 12 Apr 2011 18:18:49 -0400
Message-ID: <4DA4CFC9.2070207@mozilla.com>
To: Dmitry Titov <dimich@chromium.org>, Glenn Maynard <glenn@zewt.org>
CC: Jonas Sicking <jonas@sicking.cc>, Webapps WG <public-webapps@w3.org>
On 4/12/11 6:04 PM, Dmitry Titov wrote:
> I think Glenn was asking how would the developers detect the new 
> behavior of slice() if we decide to change it and there will be 2 
> versions of behavior around with the same method name...

You're right -- silly me!  Glenn's usefully trying to detect one slice 
over the other (and there isn't a way to get a Blob that isn't a file 
currently).
>
> One tricky thing about the behavior change is that it won't 
> necessarily crash or spew some console output etc - it can just 
> silently serve a wrong chunk of the file/blob and it can be tricky to 
> even figure out what went wrong and where.

*sigh right again.  Maybe the name change option is a compromise after all.

--A*
Received on Tuesday, 12 April 2011 22:41:18 GMT

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