Re: Geolocation API

On Thu, Jun 12, 2008 at 9:57 PM, Alec Berntson
<alecb@windows.microsoft.com> wrote:
> [AlecB] I am assuming that lastPosition cannot be accessed, or will be null
> until the user gives permission to this page, right? What if the user
> revokes permission after giving permissions – will lastPosition be nulled
> out at that point?
>

Sure, all properties and methods of the API can only be accessed if
the user granted the appropriate permission. Not sure yet what the
exact behavior would be if an app tries to access them without having
acquired the right permissions first. In Gears we currently throw an
exception.

Andrei

Received on Thursday, 12 June 2008 21:03:11 UTC