W3C home > Mailing lists > Public > public-web-notification@w3.org > October 2010

Re: Some comments on the API

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 16 Oct 2010 22:40:54 +0200
To: "Doug Turner" <dougt@dougt.org>
Cc: "James Graham" <jgraham@opera.com>, "Web Notification WG" <public-web-notification@w3.org>
Message-ID: <op.vkorqfqn64w2qv@anne-van-kesterens-macbook-pro.local>
On Sat, 16 Oct 2010 18:20:27 +0200, Doug Turner <dougt@dougt.org> wrote:
> On Oct 16, 2010, at 3:28 AM, Anne van Kesteren wrote:
>
>> On Fri, 15 Oct 2010 21:56:38 +0200, Doug Turner <dougt@dougt.org> wrote:
>>> Isn't there a potential namespace problem?  Notification is going to  
>>> be in the global namespace, right?
>>
>> With the current draft it is too (the interface object is exposed as  
>> window.Notification).
>
> Yeah, I think it should be off navigator for this very reason.

How does that change anything? You mean we should call the interface  
NavigatorNotification instead of Notification? Or that we should not  
expose the interface on the global object, like other such interfaces are?


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Saturday, 16 October 2010 20:41:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 14:48:27 GMT