Closed Bug 1172006 Opened 9 years ago Closed 7 years ago

[Messages][NG] Use Notification ServiceWorker API

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: azasypkin, Unassigned)

References

Details

We should start using Notification ServiceWorker API once Gecko implements it [1], that we'll eventually help us to get rid of dependency to "notification" system message.

See more about new API at [2] and [3].

[1] bug 1114554
[2] https://notifications.spec.whatwg.org/#service-worker-api
[3] https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API
Adding dependency on  Service Worker "Clients.openWindow()" [1], since we'll likely need it to run application from Service Worker when user clicks on notification and there is no active Messages app instance [2], [3].

[1] bug 1130687
[2] http://www.w3.org/TR/service-workers/#clients-openwindow
[3] https://developer.mozilla.org/en-US/docs/Web/API/Clients/openWindow
Depends on: 1130687
Depends on: 1172871
No longer depends on: 1130687
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Mass closing of Gaia::SMS bugs. End of an era :(
You need to log in before you can comment on or make changes to this bug.