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

On Wed, Jun 8, 2011 at 9:14 PM, Jonas Sicking <> wrote:
> This all sounds great to me, but I think we should additionally make
> the 'ports' attribute on the MessageEvent interface deprecated.
> The only use case for it is to support existing code which doesn't
> pass ports in the object graph but rather only in the array in the
> second argument (i.e. the formerly "ports" argument).
> By deprecating it, I mean either:
> 1. Mark it, using prose, as deprecated in the specification.
> 2. Remove it from the specification but allow existing implementations
> of it to keep it as long as they feel needed to retain compatibility
> with existing code.

MessageEvent is also used by the onconnect event.

Glenn Maynard

Received on Thursday, 9 June 2011 01:27:19 UTC