Firefox/Push Notifications

From MozillaWiki
Jump to navigation Jump to search

Overview

Push notifications is a a collection of features, webAPIs, and servers enabling web applications to efficiently notify client browsers of an event. Ideal use cases are a messaging, email, calendar, and games.

High Level Design

Push Notification contains the following technologies:

Notification API

Landed in Fx22

https://developer.mozilla.org/en-US/docs/Web/API/notification

Service Workers

https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker

Push WebAPI

https://developer.mozilla.org/en-US/docs/Web/API/Push_API

Push Server

https://wiki.mozilla.org/Services/SimplePushServer

http://autopush.readthedocs.org/en/latest/api.html

Milestones

M1: Targeting Fx42

  • Initial implementation of Push WebAPI
  • Currently no changes to the existing Notification UI
    • Fx42 Notification UI uplifts requested for improved user control exposed due to the Push WebAPI
    • bug tree TBA
  • Supports service workers, enabling push events when all tabs are closed.
  • Support for Android or iOS in M2
  • Push event contains no data at this time.

M1.1: Server side policies for large scale usage.

M2: Fx43/44

  • Improved Notification management and user control features.

Future

  • Use HTTP2 to conform to W3C WebPush spec.

Communications

Demos and Testing