W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] Define MessagePort.isConnected or MessagePort.ondisconnect

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 2 Nov 2012 22:32:08 +0000 (UTC)
To: ATSUSHI TAKAYAMA <taka.atsushi@googlemail.com>
Message-ID: <Pine.LNX.4.64.1211022216510.2478@ps20323.dreamhostps.com>
Cc: WHATWG <whatwg@whatwg.org>
On Mon, 15 Mar 2010, ATSUSHI TAKAYAMA wrote:
> I think, as Hixie suggested, an array like object to track references of 
> all connected ports would be nice *for SharedWorkers*. For ports created 
> dynamically by new MessageChannel, it doesn't seem to work well.

Why wouldn't it work well for MessageChannel ports?

I've specced something concrete so we have something to discuss here:


Hopefully this will give authors a way to do the broadcasting without the 
memory leak you currently have to put up with.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 2 November 2012 22:32:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:48 UTC