- From: Peter Beverloo <beverloo@google.com>
- Date: Wed, 23 Apr 2014 14:35:18 +0100
- To: Aurelio De Rosa <aurelioderosa@gmail.com>
- Cc: public-web-notification@w3.org
- Message-ID: <CALt3x6mb9_CwUa3-OhfGEsR0aZ_bkg0iXqeHPtZEFfFmMKPsqw@mail.gmail.com>
Hi Aurelio, Out of interest, which platform were you testing on? I notice some recent changes in behavior when using Chrome on Ubuntu, most notably that clicking on a notification now closes it without firing the close() event. This may apply to other platforms as well. I created the following test-case to try and reproduce your problem: http://jsbin.com/notification-tag/1 First click on the Permission button to grant permission, if required, then display a few notifications. You should see the existing notification being replaced. Click on the displayed notification, which now makes it disappear. I notice that (a) Chrome is not firing the appropriate close() events, and (b) clicking on the Display button doesn't do anything anymore, until you click on the Close button. I filed the following bugs against our implementation, and will look into getting them fixed soon! https://code.google.com/p/chromium/issues/detail?id=366098 (not firing the close() event) https://code.google.com/p/chromium/issues/detail?id=366100 (not showing replaceable notifications after clicking on one) https://code.google.com/p/chromium/issues/detail?id=366102 (clicking on a notification now closes it) https://code.google.com/p/chromium/issues/detail?id=366104 (notifications stay open after navigating away) Arguably these bugs would be a more appropriate forum for discussing browser-specific issues than this mailing list, but since you were in doubt this is fine. Thank you very much for reaching out :-)! Thanks, Peter On Wed, Apr 23, 2014 at 12:30 PM, Aurelio De Rosa <aurelioderosa@gmail.com>wrote: > Hello. > > In writing an article on the Web Notifications API ( > http://www.sitepoint.com/introduction-web-notifications-api/), I noticed > a different behavior in Chrome and Firefox. An user who read the same > article, has noticed it too. The difference is that once a user clicks on a > notification with a set tag, while Chrome don't show any new notification > with the same tag, Firefox does. > > Based on my understanding of the specifications, they don't define what to > do in this case (but I may be wrong). Therefore, I'm not sure if this is an > issue of a specific browser (Chrome or Firefox) or a hole in the > specifications (maybe intentional?). > > Anyway, I thought it'd be nice to report it here. > > Cheers > > -- > Aurelio De Rosa > email: aurelioderosa@gmail.com > email: a.derosa@audero.it > website: www.audero.it > skype: AurelioDeRosa >
Received on Wednesday, 23 April 2014 13:35:46 UTC