Issue metadata
Sign in to add a comment
|
push-up notification does not go to the tab when I clicked
Reported by
k.svis...@yandex.ru,
Oct 2 2016
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 Steps to reproduce the problem: 1.I see push-up notification 2.I clicked in notification 3. Nothing happens What is the expected behavior? Transition to a tab What went wrong? Hasn't gone to a tab Did this work before? No Chrome version: 53.0.2785.143 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 23.0 r0 https://www.youtube.com/watch?v=WUTca0DTa1s&feature=youtu.be Firefox work normal like this
,
Oct 3 2016
,
Oct 4 2016
Thank you for the video! You're relying on the default behaviour for non-persistent notifications, which we don't implement correctly. That's tracked in Issue 442141, so I'm marking this as a duplicate against that one. Instead of just throwing away the object created by calling "new Notification" (your code doesn't do anything with it), consider attaching an `onclick` event listener that focuses the window, like so: var notification = new Notification(...); notification.onclick = function() { window.focus(); }; That'll work around the issue until we fix it. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by brajkumar@chromium.org
, Oct 3 2016Labels: Needs-Feedback
4.9 MB
4.9 MB View Download