Re: aborting getCurrentPosition()?

On Wed, 06 May 2009 14:52:02 +0200, Max Froumentin <maxfro@opera.com> wrote:
> With an abort mechanism the callback would never be called after you've  
> cancelled, whereas with the solution you suggest it could happen a while  
> later, and could possibly interfere with subsequent calls to  
> getCurrentPosition. And also, interrupting the GPS would save CPU cycles  
> that would be wasted otherwise

It seems that if the concern is wasting CPU cycles it should be up to the user and user agent (and probably the OS) to safe them rather than the page author otherwise we end up with the situation where some pages allow this and others do not.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 6 May 2009 14:52:48 UTC