Closed Bug 1281940 Opened 8 years ago Closed 8 years ago

Notification click events are not delivered to the SW when fennec is not already running

Categories

(Firefox for Android Graveyard :: General, defect)

48 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: catalinb, Unassigned)

References

Details

If you the user clicks a notification while fennec is not running, fennec will start but no notification click event will be sent to the service worker. Steps to reproduce: 1. register for push notifications on https://people.mozilla.org/~ewong2/push-notification-test/ 2. close fennec 3. send a push message via curl 4. click the notification Fennec will start and display the new tab page (or a previously opened web page). The service worker associated with the notification click doesn't start and no notification click event is dispatched.
Blocks: 1262251
Actually, step 2 should be taken after step 3. So: 1. register for push notifications on https://people.mozilla.org/~ewong2/push-notification-test/ 2. send a push message via curl 3. close fennec 4. click the notification
I've tested this again adding some debugging statements and I see the SW getting notification click events. Sorry for the noise.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.