W3C home > Mailing lists > Public > public-html-comments@w3.org > January 2012

Re: web workers postMessage

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 18 Jan 2012 22:56:50 +0000 (UTC)
To: Elisabeth Robson <bethrobson@gmail.com>
cc: public-html-comments@w3.org
Message-ID: <Pine.LNX.4.64.1201182246520.14913@ps20323.dreamhostps.com>
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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:28 UTC