Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny
This commit is contained in:
@@ -177,8 +177,9 @@ OfflineCacheUpdateChild::AssociateDocument(nsIDOMDocument *aDocument,
|
||||
|
||||
NS_IMETHODIMP
|
||||
OfflineCacheUpdateChild::Init(nsIURI *aManifestURI,
|
||||
nsIURI *aDocumentURI,
|
||||
nsIDOMDocument *aDocument)
|
||||
nsIURI *aDocumentURI,
|
||||
nsIDOMDocument *aDocument,
|
||||
nsILocalFile *aCustomProfileDir)
|
||||
{
|
||||
nsresult rv;
|
||||
|
||||
@@ -188,6 +189,11 @@ OfflineCacheUpdateChild::Init(nsIURI *aManifestURI,
|
||||
if (!service)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
if (aCustomProfileDir) {
|
||||
NS_ERROR("Custom Offline Cache Update not supported on child process");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
LOG(("OfflineCacheUpdateChild::Init [%p]", this));
|
||||
|
||||
// Only http and https applications are supported.
|
||||
|
||||
Reference in New Issue
Block a user