[websockets] Binary support changes

I'm pleased to see the changes in the WebSockets API for binary message support.
I'm a little confused by this text:

    When a WebSocket object is created, its binaryType IDL attribute must
    be set to the Blob interface object associated with the same global
    object as the WebSocket constructor used to create the WebSocket object.
    On getting, it must return the last value it was set to. On setting, if
    the new value is either the Blob or ArrayBuffer interface object
    associated with the same global object as the WebSocket constructor used
    to create the WebSocket object, then set the IDL attribute to this new
    value. Otherwise, throw a NOT_SUPPORTED_ERR exception.

I don't entirely follow what this is saying but we'd prefer the binaryType to be
a DOMString in the same fashion that the responseType is in XHR2. Is there a reason
for this to be an object? We'd prefer consistency.

Thanks,

Adrian.

Received on Friday, 27 May 2011 22:55:31 UTC