On Nov 19, 2008, at 9:43 AM, Andrei Popescu wrote: > Hi Doug, > > I like the modifiedSince option, but I do have a question. Right now, > lastPosition allows you to quickly fallback to some default action if > lastPositon is null or too old. > > In the async solution, the only way to achieve the same thing is by > both specifying modifiedSince and setting timeout to 0, right? This > would force the UA to immediately invoke the errorCallback (with error > TIMEOUT or POSITION_UNAVAILABLE?) in case it does not have a fresh > enough cached position. What happens if the page does not have > permission? I think the errorCallback should be immediately invoked > with error PERMISSION_ERR, right? Right, if the document isn't given permission to use navigator.geolocation, then the errorCallback, if set, will be called with the PERMISSION_DENIED error code.Received on Wednesday, 19 November 2008 17:52:59 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 August 2009 20:54:08 GMT