import "nsIOfflineCacheUpdate.idl";
Public Member Functions | |
| nsIOfflineCacheUpdate | getUpdate (in unsigned long index) |
| nsIOfflineCacheUpdate | scheduleUpdate (in nsIURI aManifestURI, in nsIURI aDocumentURI) |
| Schedule a cache update for a given offline manifest. | |
| void | scheduleOnDocumentStop (in nsIURI aManifestURI, in nsIURI aDocumentURI, in nsIDOMDocument aDocument) |
| Schedule a cache update for a manifest when the document finishes loading. | |
Public Attributes | |
| const unsigned long | ALLOW_NO_WARN = 3 |
| Constants for the offline-app permission. | |
| readonly attribute unsigned long | numUpdates |
| Access to the list of cache updates that have been scheduled. | |
| nsIOfflineCacheUpdate nsIOfflineCacheUpdateService::getUpdate | ( | in unsigned long | index | ) |
| nsIOfflineCacheUpdate nsIOfflineCacheUpdateService::scheduleUpdate | ( | in nsIURI | aManifestURI, | |
| in nsIURI | aDocumentURI | |||
| ) |
If an existing update is scheduled or running, that update will be returned. Otherwise a new update will be scheduled.
| void nsIOfflineCacheUpdateService::scheduleOnDocumentStop | ( | in nsIURI | aManifestURI, | |
| in nsIURI | aDocumentURI, | |||
| in nsIDOMDocument | aDocument | |||
| ) |
| const unsigned long nsIOfflineCacheUpdateService::ALLOW_NO_WARN = 3 |
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.
| readonly attribute unsigned long nsIOfflineCacheUpdateService::numUpdates |
1.5.6