- From: Greg Bolsinga <bolsinga@apple.com>
- Date: Wed, 19 Nov 2008 10:06:52 -0800
- To: Andrei Popescu <andreip@google.com>
- Cc: Doug Turner <doug.turner@gmail.com>, Aaron Boodman <aa@google.com>, public-geolocation <public-geolocation@w3.org>, Richard Barnes <rbarnes@bbn.com>, Martin Thomson <Martin.Thomson@andrew.com>
+1, very nice and clear. -- Greg
On Nov 19, 2008, at 10:03 AM, Andrei Popescu wrote:
> Ok, so for the following call
>
> geolocation.getCurrentPermission(successCallback, errorCallback,
> {modifiedSince:600, timeout:0});
>
> the new behavior is the following:
>
> - if the page has no permission, errorCallback is invoked with
> PERMISSION_DENIED.
> - else
> * if it doesn't have any cached position, errorCallback is invoked
> with POSITION_UNAVAILABLE.
> * else
> ** if the cached position is older than 10 mins, errorCallback is
> invoked with POSITION_UNAVAILABLE
> ** else successCallback is immediately invoked with the cached
> position
Received on Wednesday, 19 November 2008 18:07:32 UTC