Re: XHR responseArrayBuffer attribute: suggestion to replace "asBlob" with "responseType"

On Wed, Nov 3, 2010 at 5:16 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 11/2/10 11:35 PM, Jonas Sicking wrote:
>>
>> So your concern is that jQuery will update to use the new API before
>> browsers implement it. And then once browsers do implement it and
>> start honoring the .responseType by making various existing properties
>> throw, things will fail?
>
> No, my concern is that browsers will implement this, and then sites that
> haven't updated their jquery, and probably never plan to do it, will start
> using the new stuff browsers have implemented.

But won't that always fail? If the author either sets .responseType
when jquery doesn't expect it, or the author uses .response when
jquery hasn't set .responseType?

Yes, it means that pages that use old code can't use the new features
together with that code, but I don't see that as a big problem in this
case. That's a problem that will go away much faster than problems in
the XHR interface will.

/ Jonas

Received on Wednesday, 3 November 2010 11:07:51 UTC