W3C home > Mailing lists > Public > public-geolocation@w3.org > June 2008

Re: DOM based API

From: Maciej Stachowiak <mjs@apple.com>
Date: Sat, 07 Jun 2008 20:33:34 -0700
To: Doug Turner <doug.turner@gmail.com>
Cc: Doug Schepers <schepers@w3.org>, "public-geolocation@w3.org" <public-geolocation@w3.org>
Message-id: <2907C29F-4692-49E7-9F3D-78CE9567C195@apple.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 March 2012 18:13:39 GMT