PositionOptions.timeout & UserAgent permission

Hello --

I have a implementation detail question about the PositionOptions  
timeout. http://dev.w3.org/geo/api/spec-source.html#timeout

What if the UA has to put up a UI that asks the user to allow  
Geolocation, and then what if the user takes longer to respond than  
the timeout? If the user allows it, and the timeout has expired, which  
wins? Does the page get the position, or the timeout error?

In my implementation, by the time the user is requested for  
permission, a location is extremely likely to be known, so I can stop  
the timeout then, but I just want to be sure.

Thanks,
-- Greg

Received on Sunday, 15 March 2009 02:27:41 UTC