Bug 1815753 Comment 17 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I am seeing some cases where activating a notification opens the link in a new tab, but doesn't focus the browser. Steps to reproduce:

1. Open https://bgrins.github.io/devtools-demos/misc/notifications.html
2. Send a notification.
3. Close the tab.
4. Activate the notification.
    - Expected: A new tab should open and the browser should get focus.
    - Actual: The new tab opens, but focus remains in the notification centre. The user has to manually alt+tab to the browser.

This does not occur if you don't close the tab after sending the notification; i.e. if you skip step 3.
I am seeing some cases where activating a notification opens the link in a new tab, but doesn't focus the browser. Steps to reproduce:

1. Open https://bgrins.github.io/devtools-demos/misc/notifications.html
2. Send a notification.
3. Close the tab.
4. Activate the notification.
    - Expected: A new tab should open and the browser should get focus.
    - Actual: The new tab opens, but focus remains in the notification centre. The user has to manually alt+tab to the browser.

This behaves as expected if you don't close the tab after sending the notification; i.e. if you skip step 3.

Back to Bug 1815753 Comment 17