On Tue, Jul 9, 2013 at 8:32 AM, Anne van Kesteren <[email protected]> wrote: > A requires being able to get the notifications associated with a > certain site. That can also be useful in case multiple windows are > open of the same site and can help workers and pages coordinate once > we enable notifications in workers. > > The idea to address A is: > > Notification.get({tag}) > > which returns a Promise which is fulfilled with an array of > Notification objects for which tag is tag or all Notification objects > if no tag is defined. The objects are origin-scoped. The reason a > promise is used is because getting notifications may be a > cross-process operation.
I've added this. The idea for notifying other globals that you created a notification is to let developers communicate that themselves via this proposed API: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22628 -- http://annevankesteren.nl/
