W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] ArrayBuffer and the structured clone algorithm

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 31 Jan 2011 23:10:18 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1101312309210.26730@ps20323.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 31 January 2011 15:10:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:30 UTC