Re: geolocation.clearWatchAll()

On Oct 3, 2008, at 10:26 AM, Aaron Boodman wrote:

> On Fri, Oct 3, 2008 at 10:20 AM, Andrei Popescu <andreip@google.com>  
> wrote:
>> On Fri, Oct 3, 2008 at 6:19 PM, Aaron Boodman <aa@google.com> wrote:
>>> Part of the reason for the singleton structure of the Geolocation  
>>> API
>>> is compatibility with
>>
>> With? :)
>
> Sorry... computers suck.
>
> A design goal for the Geolocation was to support pages that have
> decoupled scripts running on them, such as widgets or third-party
> libraries like Prototype. It would be unfortunate for one such script
> to be able to affect another by using this API.


clearWatchAll() should be scoped by the js context it is called in.

Received on Friday, 3 October 2008 17:39:24 UTC