W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: What changes to Web Messaging spec are proposed? [Was: Re: Using ArrayBuffer as payload for binary data to/from Web Workers]

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 02 Jun 2011 16:13:50 -0400
Message-ID: <4DE7EEFE.4040301@mit.edu>
To: public-webapps@w3.org
On 6/2/11 3:53 PM, David Levin wrote:
> The mechanism:
>     * needs to have an intuitive feel for developers,
>     * must preserve backwards compatibility,
>     * should ideally allow the port to function the same regardless of
>       whether the message was cloned or transferred.

I'm not sure what you mean by that third item...  the obvious meaning, 
which is that clone vs transfer is not black-box observable to the code 
calling postMessage makes no sense.

> There are three ideas for how to accomplish this:

4.  Having separate arguments (in some order) for the ports and the list 
of objects to transfer.

Received on Thursday, 2 June 2011 20:14:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:19 UTC