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: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 3 Jun 2011 16:00:15 -0700
Message-ID: <BANLkTikfATL-Nv0-Hp6_TNPTw91PtP-ytA@mail.gmail.com>
To: Glenn Maynard <glenn@zewt.org>
Cc: Andrew Wilson <atwilson@google.com>, Kenneth Russell <kbr@google.com>, Dmitry Lomov <dslomov@google.com>, David Levin <levin@chromium.org>, ben turner <bent.mozilla@gmail.com>, "public-webapps@w3.org" <public-webapps@w3.org>, Ian Hickson <ian@hixie.ch>, Travis Leithead <Travis.Leithead@microsoft.com>
> On Fri, Jun 3, 2011 at 6:02 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>> e) Keep "MessagePort[] ports" the way it is but deprecate it.
> For anyone not looking closely at the IDL while reading this, this
> means deprecating (for whatever value "deprecate" has on the web) the
> ports array in MessageEvent--not the ports parameter to postMessage
> (that's a sequence).
> I agree that it'd be great to be able to pass MessagePorts around like
> other objects.  I havn't had to use them with any complexity yet, but
> the current mechanism seems cumbersome for moving more than one port
> around at a time.

In this case, deprecating would mean that browsers that hasn't
implemented the property yet wouldn't do so. And if they wanted to,
browsers that do implement it could add a warning in the developer
console any time the property is used and eventually remove the
property once it seems likely that people have stopped using it.

/ Jonas
Received on Friday, 3 June 2011 23:01:13 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:32 UTC