Re: Should ByteString be a serializable type?

Boris Zbarsky wrote:
> To be fair, XMLHttpRequest's definition predates the existence of
> serializable bits in WebIDL. I agree that it probably _shouldn't_ be
> serializable (though likely is in WebKit/Blink because of how they
> implement attributes), so the issue is somewhat unimportant at the
> moment, but figured I would check in case someone defines an interface
> which uses ByteString but does want to be serializable (e.g. an object
> representing a subset of HTTP response headers or something).

It's simple to add support for ByteString to be serializable to the 
spec, so I've just done that.

https://github.com/heycam/webidl/commit/59191592431ebf7496b720ca7756f88ef4b24d33

Received on Monday, 27 January 2014 21:27:35 UTC