- From: Olli Pettay <Olli.Pettay@helsinki.fi>
- Date: Tue, 12 Jul 2011 15:01:45 +0300
- To: Anne van Kesteren <annevk@opera.com>
- CC: Andrei Popescu <andreip@google.com>, Doug Turner <doug.turner@gmail.com>, Steve Block <steveblock@google.com>, public-geolocation <public-geolocation@w3.org>
On 07/12/2011 02:50 PM, Anne van Kesteren wrote: > On Tue, 12 Jul 2011 13:42:36 +0200, Andrei Popescu <andreip@google.com> > wrote: >> On Tue, Jul 12, 2011 at 12:41 PM, Anne van Kesteren <annevk@opera.com> >> wrote: >>> I think firing when a new listener registers for the event is wrong. >>> Tying that together goes against the event model. addEventListener() >>> has no such side effects. >> >> What exactly is it wrong with it? And what alternative would you >> suggest to solve the given problem? > > You could follow a similar design to http://www.whatwg.org/C#messageport > that does have special handling for onmessage That special handling for onmessage looks like a spec bug to me. -Olli
Received on Tuesday, 12 July 2011 12:02:41 UTC