[whatwg] Web Workers and postMessage(): Questions

Anne van Kesteren annevk at opera.com
Mon Aug 3 10:51:05 PDT 2009

On Mon, 03 Aug 2009 19:47:14 +0200, Maciej Stachowiak <mjs at apple.com> wrote:
> I'd prefer to stick with JSONic object graphs for now. Correctly
> cloning more complicated object structures is a fair bit more
> complicated, so I'd like to get solid interop on the basic cases
> first. Also, the idea is that postMessage() should be sending object
> structures that are essentially pure data. JSON seems to capture
> pretty well the idea of a pure data structure in JavaScript.

Well, it doesn't cover e.g. ImageData, which postMessage() allows for, and which seems useful to have. (No informed opinion on allowing cycles.)

Anne van Kesteren

More information about the whatwg mailing list