[whatwg] ArrayBuffer and the structured clone algorithm

Ian Hickson ian at hixie.ch
Mon Jan 31 15:10:18 PST 2011


On Fri, 7 Jan 2011, David Flanagan wrote:
>
> The structured clone algorithm currently allows ImageData and Blob 
> objects to be cloned but doesn't mention ArrayBuffer.  Is this 
> intentional?  I assume there are no security issues involved, since one 
> could copy the bytes of an ArrayBuffer into either a Blob or an 
> ImageData object in order to clone them.

It's intentional in that I'm waiting for ArrayBuffer to be more stable 
before I add it throughout the spec. (Same with CORS and the various 
places that might support cross-origin communication, e.g. Web Workers, 
Server-Sent Events, <img>+<canvas>, etc.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list