Re: DOM based API

The tradeoff is that Window is also the global namespace, thus any new  
properties may conflict with author-defined JS variables.



On Jun 6, 2008, at 12:51 PM, Doug Turner <doug.turner@gmail.com> wrote:

>
>>
>> The navigator object has traditionally been the place to hang  
>> information and APIs that are not specific to a particular frame or  
>> document (like UA version info, available plugins, online/offline  
>> status, etc). But I could see doing it either way.
>
>
> Permissions are going to be based on which document the geolocation  
> request is from.  This does make me lean toward putting the  
> geolocation object on window.
>
> Doug Turner
> Mozilla Corp.
>
>

Received on Sunday, 8 June 2008 03:35:16 UTC