After updating Chrome to 68.0.3440.106 I'm experiencing an issue with notifications in my chrome browser
I'm creating some content to put inside the notification note, and it shows when I recieve a phone call through my browser (part of my companys software)
The issue is that when the notification is clicked, Chrome does not automatically take me to the tab where my phone call is recieved. It simply closes down the notification, and that is that.
I've been debugging the code mixed with the native note javascript, and I am able to now consistently make the notification behave as expected, by simply stepping through the code function by function.
It seems that the latest version made this issue, and is only fixed by giving the script that runs, a tiny "pause" or "break", since stepping through the script with a breakpoint seems to fix it.
NOTE: If the call is missed/ignored etc I get a second notification, saying that a given number has called. This second notification works as expected, and after clicking it, I am properly taken to my voicemail page, no matter what page I am currently on.
If anyone know any similar issues regarding notifications not running properly, I would be pleased to know about this. Even if it has nothing to do with a browser based phonecall.
Oh and the object created consists of a body, icon and a tag. These are the data that are put into the notification. The first and second notification contains the same type of data, only difference is that the text shown in the strings varies, based on what notification you get (e.g. first note: some number is calling. Second note: some number called).
Let me know if anymore information is required to properly help out.
Thanks!
//Villads Hammershoei