Re: [whatwg] [notifications][editorial] tweaking the "Activating a notification" window.focus() note

2014-04-23 Thread Andrew Wilson
The problem here is that the platform's notification design has no way to understand what the application wants to happen when the user clicks on a notification. As a great example - Gmail uses desktop notifications to notify the user about chat events and new emails. When the user clicks on a cha

Re: [whatwg] [notifications][editorial] tweaking the "Activating a notification" window.focus() note

2014-04-16 Thread Glenn Maynard
On Wed, Apr 16, 2014 at 6:10 PM, Edward O'Connor wrote: > Hi, > > In §4.6 Activating a notification, there's a note that currently reads > > "User agents are strongly encouraged to make window.focus() work > from within the event listener for the event named click as a means > of focu

Re: [whatwg] [notifications][editorial] tweaking the "Activating a notification" window.focus() note

2014-04-16 Thread Anne van Kesteren
On Thu, Apr 17, 2014 at 12:10 AM, Edward O'Connor wrote: > In §4.6 Activating a notification, there's a note that currently reads > > "User agents are strongly encouraged to make window.focus() work > from within the event listener for the event named click as a means > of focusing the

[whatwg] [notifications][editorial] tweaking the "Activating a notification" window.focus() note

2014-04-16 Thread Edward O'Connor
Hi, In §4.6 Activating a notification, there's a note that currently reads "User agents are strongly encouraged to make window.focus() work from within the event listener for the event named click as a means of focusing the browsing context related to the notification." This note ass