nsIOfflineCacheUpdateService
| IID: | 3abee04b-5bbb-4405-b659-35f780e38da0 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Constants
| Allow the domain to use offline APIs, and don't warn about excessive usage. | ||
| PRUint32 | ALLOW_NO_WARN | = 3 |
Properties
readonly PRUint32 numUpdates
Access to the list of cache updates that have been scheduled.
Methods
nsIOfflineCacheUpdate getUpdate ( PRUint32 index )
void scheduleOnDocumentStop ( nsIURI manifestURI , nsIURI documentURI , nsIDOMDocument document )
nsIOfflineCacheUpdate scheduleUpdate ( nsIURI manifestURI , nsIURI documentURI )
nsIOfflineCacheUpdate getUpdate ( PRUint32 index )
- Arguments:
- index
void scheduleOnDocumentStop ( nsIURI manifestURI , nsIURI documentURI , nsIDOMDocument document )
Schedule a cache update for a manifest when the document finishes loading.
- Arguments:
- manifestURI
- documentURI
- document
nsIOfflineCacheUpdate scheduleUpdate ( nsIURI manifestURI , nsIURI documentURI )
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.
- Arguments:
- manifestURI
- documentURI
Reference documentation is generated from Mozilla's source.
