[scriptable, uuid(6fd2030f-7b00-4102-a0e3-d73078821eb1)]
Constants
Attributes
Methods
Checks whether a principal should have access to the offline
cache.
@param aPrincipal
The principal to check.
@param aPrefBranch
The pref branch to use to check the
offline-apps.allow_by_default pref. If not specified,
the pref service will be used.
Checks whether a document at the given URI should have access
to the offline cache.
@param aURI
The URI to check
@param aPrefBranch
The pref branch to use to check the
offline-apps.allow_by_default pref. If not specified,
the pref service will be used.
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.
Compare to: