W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

Re: [whatwg] onclose events for MessagePort

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 1 Oct 2013 18:11:43 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Message-ID: <alpine.DEB.2.00.1310011801330.20189@ps20323.dreamhostps.com>
Cc: whatwg@lists.whatwg.org
On Tue, 1 Oct 2013, Boris Zbarsky wrote:
> On 10/1/13 1:45 PM, Ian Hickson wrote:
> > Crashing is non-conforming.
> 
> That's not useful.

Hence the smiley.


> > How often are we really expecting one tab to be talking to another 
> > tab, and then that tab crashes, and the author was able to prepare 
> > code to handle that gracefully, in a production environment?
> 
> On phones?  We should be expecting the former (tab gets killed) pretty 
> often. How often the latter will happen depends on how much we give 
> authors in the way of tools to handle it.

How often do we expect two tabs to be talking to each other though? Is 
that even possible on phone browsers?

Anyway, I'm happy to support this in principle.

I should correct something I said earlier in this thread. I said 
MessagePorts don't have owners. This is incorrect. My apologies.

We could indeed have some message that is sent when the owner goes away.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 1 October 2013 18:12:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:11 UTC