Re: skeleton Geolocation API

On Thu, Jun 26, 2008 at 2:44 PM, Doug Turner <doug.turner@gmail.com> wrote:
> On the lastPosition attribute, I have gotten some feedback from UX people
> that dialog a modal permission dialog for this synchronous API is not ideal.
>  I hate to do this, but could we work through the use case for this again.
>  Is it simply to avoid the cost of an asynchronous callback?

Yes, it is to be able to show something immediately in the case where
you have an old value from a previous call to the API.

Perhaps the implementation could just return null in the case where
permission has not been granted to that origin yet?

- a

Received on Thursday, 26 June 2008 21:48:51 UTC