mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 796045 - Prepopulate apps cache for specific mozbrowser frames. r=fabrice
This commit is contained in:
parent
7bd581fd2e
commit
8ca4290433
@ -874,7 +874,7 @@ this.DOMApplicationRegistry = {
|
||||
.getService(Ci.nsIOfflineCacheUpdateService);
|
||||
let docURI = Services.io.newURI(aManifest.fullLaunchPath(), null, null);
|
||||
let cacheUpdate = aProfileDir ? updateService.scheduleCustomProfileUpdate(appcacheURI, docURI, aProfileDir)
|
||||
: updateService.scheduleUpdate(appcacheURI, docURI, null);
|
||||
: updateService.scheduleAppUpdate(appcacheURI, docURI, aApp.localId, false);
|
||||
cacheUpdate.addObserver(new AppcacheObserver(aApp), false);
|
||||
if (aOfflineCacheObserver) {
|
||||
cacheUpdate.addObserver(aOfflineCacheObserver, false);
|
||||
|
Loading…
Reference in New Issue
Block a user