Open Bug 1206800 Opened 9 years ago Updated 21 days ago

clicking on web notification when spawning parent tab is closed fails to launch URL

Categories

(Core :: DOM: Core & HTML, defect)

43 Branch
defect

Tracking

()

People

(Reporter: edwong, Unassigned)

Details

0. open a tab to any URL
1. open another tab to: https://people.mozilla.org/~ewong2/push-notification-test/
2. click 'pop notification' button
3. click allow for session in permission door hanger
3b. OS level notification should have popped up and displayed
4. close this tab with: https://people.mozilla.org/~ewong2/push-notification-test/
5. click on the notification

actual: nothing happens

expected: mozilla.org should have opened in a new tab.
We should check what the spec says about this.
Component: Notifications and Alerts → DOM
Product: Toolkit → Core
Summary: clicking on notifications when spawning parent tab is closed fails to launch URL → clicking on web notification when spawning parent tab is closed fails to launch URL
It's possible that Catalin's patch for openWindow() in a SW will fix this.
Maybe not for notifications created outside of service workers though. There are 3 contexts in the DOM code that can create notifications: regular page context, web workers, and service workers.
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.