- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Sat, 20 Jul 2013 08:31:29 -0700
- To: WHATWG <whatwg@whatwg.org>
On Tue, Jul 9, 2013 at 8:32 AM, Anne van Kesteren <annevk@annevk.nl> 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/
Received on Saturday, 20 July 2013 15:31:55 UTC