W3C home > Mailing lists > Public > public-geolocation@w3.org > March 2012

Re: Geolocation API: Update IDL

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 08 Mar 2012 09:17:54 +0100
To: public-geolocation@w3.org, "Cameron McCormack" <cam@mcc.id.au>
Message-ID: <op.wauen4ci64w2qv@annevk-macbookpro.local>
On Thu, 08 Mar 2012 09:06:17 +0100, Anne van Kesteren <annevk@opera.com>  
wrote:
> dictionary PositionOptions {
>    boolean enableHighAccuracy = false;
>    double timeout = Infinity;
>    long maximumAge = 0;
> };
>
> (I believe "long" cannot have the Infinity value so that would be a bug  
> in the current draft.)

Oh, a recent change makes that it should be "unrestricted double" I think.  
Cameron, why is "Infinity" not explicitly listed as value somewhere? Can  
you not set it to that by default?


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 8 March 2012 08:18:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 March 2012 18:13:56 GMT