Re: web workers postMessage

On Wed, 13 Jul 2011, Elisabeth Robson wrote:
>
> I am trying to figure out Web Workers, and am having a terrible time 
> understanding what values are allowed to be sent and received by 
> postMessage. It doesn't seem like the spec spells that out anywhere. 

I've added some example prose in various places in the spec explicitly 
saying that structured data can be sent.

The precise rules are those given by the "structured clone" algorithm 
referenced in the definition of the postMessage() methods.

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

Received on Wednesday, 18 January 2012 22:57:15 UTC