W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: [XHR2] Drop ByteArray?

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 06 Oct 2008 11:06:24 -0700
To: Anne van Kesteren <annevk@opera.com>
Cc: WebApps WG <public-webapps@w3.org>
Message-id: <37305E2E-E206-4BD0-9090-095E2C23DCC7@apple.com>


On Oct 6, 2008, at 5:52 AM, Anne van Kesteren wrote:

>
> I'm considering dropping ByteArray support. That is, removing  
> support for it from send() and removing responseBody for now. At  
> this point it's not really clear what the future of ByteArray is and  
> it seems nobody is driving that work or implementing this feature  
> from XMLHttpRequest Level 2.
>
> It would be nice to have access to the raw byte stream, as authors  
> currently use ugly hacks to get to it, but higher level support for  
> byte streams is somewhat of a prerequisite.

I will ask the ECMAScript committee what the plans are. I think we  
could just invent our own ByteArray or BinaryData interface, it would  
work better integrated into the language, but ImageData as a custom  
type works ok in practice.

Regards,
Maciej
Received on Monday, 6 October 2008 18:07:06 GMT

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