W3C home > Mailing lists > Public > public-geolocation@w3.org > July 2011

Re: Spec update: deviceorientation event should fire when listener is first registered

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 12 Jul 2011 13:16:53 +0200
To: "Doug Turner" <doug.turner@gmail.com>, "Steve Block" <steveblock@google.com>
Cc: public-geolocation <public-geolocation@w3.org>
Message-ID: <op.vyh6yfbp64w2qv@annevk-macbookpro.local>
On Tue, 12 Jul 2011 13:07:52 +0200, Steve Block <steveblock@google.com>  
> Done with  
> http://dev.w3.org/cvsweb/geo/api/spec-source-orientation.html.diff?r1=1.37;r2=1.38;f=h

I'm not sure this makes sense. The model is that events fire whenever  
specified and that listeners can be used to catch them. That  
implementations optimize this by not actually firing events when there are  
no listeners is not something that should be exposed in specifications.

Anne van Kesteren
Received on Tuesday, 12 July 2011 11:17:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:02 UTC