Re: [whatwg] Add a |transient| mechanism to the notifications API

2014-04-16 Thread Vivien Nicolas
On 15/04/2014 19:46, Anne van Kesteren wrote: On Tue, Apr 15, 2014 at 5:12 PM, Domenic Denicola dome...@domenicdenicola.com wrote: From my reading of Windows Phone 8.1 reviews, the way they handle this is by allowing applications to remove notifications themselves. We already have this

[whatwg] Add a |transient| mechanism to the notifications API

2014-04-15 Thread Vivien Nicolas
Hello, Would it be possible to add a |transient| mechanism to the notifications spec ? In the context of FirefosOS, one of the use case is for example an email application. For instance the user can write a message, click the send button, and then leave the application to do something else.

Re: [whatwg] Add a |transient| mechanism to the notifications API

2014-04-15 Thread Domenic Denicola
This seems like a valuable feature. I am hopeful something like it can be added. From my reading of Windows Phone 8.1 reviews, the way they handle this is by allowing applications to remove notifications themselves. This seems like the most flexible approach: applications could automatically

Re: [whatwg] Add a |transient| mechanism to the notifications API

2014-04-15 Thread Anne van Kesteren
On Tue, Apr 15, 2014 at 5:12 PM, Domenic Denicola dome...@domenicdenicola.com wrote: From my reading of Windows Phone 8.1 reviews, the way they handle this is by allowing applications to remove notifications themselves. We already have this actually: var = n = new Notification(...) n.onshow =