Re: [FileAPI] File.slice spec bug

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 UTC