Implemented by
[scriptable, uuid(3abee04b-5bbb-4405-b659-35f780e38da0)]
interface nsIOfflineCacheUpdateService : nsISupports
Constants
Constants for the offline-app permission. XXX: This isn't a great place for this, but it's really the only private offline-app-related interface Allow the domain to use offline APIs, and don't warn about excessive usage.
const
unsigned long
ALLOW_NO_WARN = 3
Attributes
Access to the list of cache updates that have been scheduled.
readonly attribute
unsigned long
numUpdates
Methods
nsIOfflineCacheUpdate
getUpdate(in unsigned long index)
Schedule a cache update for a manifest when the document finishes loading.
void
scheduleOnDocumentStop(in nsIURI aManifestURI, in nsIURI aDocumentURI, in nsIDOMDocument aDocument)
Schedule a cache update for a given offline manifest. If an existing update is scheduled or running, that update will be returned. Otherwise a new update will be scheduled.
nsIOfflineCacheUpdate
scheduleUpdate(in nsIURI aManifestURI, in nsIURI aDocumentURI)
Compare to: