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