- From: Anne van Kesteren <annevk@opera.com>
- Date: Sun, 17 Oct 2010 09:44:27 +0200
- To: "Doug Turner" <dougt@dougt.org>
- Cc: "James Graham" <jgraham@opera.com>, "Web Notification WG" <public-web-notification@w3.org>
On Sun, 17 Oct 2010 08:07:32 +0200, Doug Turner <dougt@dougt.org> wrote: > anne, sorry for being brief. > > > Here is what I did: > > var notification = navigator.mozNotification.createNotification(...); Yes, sure, I get that. What I am saying is that the interface of the object the notification variable in your example holds is also exposed in the global scope. Per the current specification it would be at window.Notification, to be exact. So given that, we could make that into a constructor as well (allowing for x = new Notification) and remove the need for extending navigator. -- Anne van Kesteren http://annevankesteren.nl/
Received on Sunday, 17 October 2010 07:45:07 UTC