services/notifications/README
author Justin Lebar <justin.lebar@gmail.com>
Mon, 17 Sep 2012 21:53:37 -0400
changeset 107330 62a48b2712fb04037d2992910af484c48d047296
parent 97743 c53f474c502b0b4d9e8bb46b11da6961520ac829
permissions -rw-r--r--
Bug 744309 - Don't kick off a new decode from RasterImage::ShutdownDecoder. r=joedrew

Here lies most of the moving parts for push notifcations in the browser. DOM
and UI bindings will live elsewhere; these files deal with talking to the API,
storing messages, and creating persistent connections to the notification
server.

Structure:

services.js::Service
  This is a singleton that manages API calls and message storage. It's an
  instance of the NotificationSvc class. Messages and state are persisted to a
  JSON file on disk.