mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1066013 - Initialize appCache path r=fabrice
This commit is contained in:
parent
ac013691ed
commit
085151077e
@ -471,13 +471,16 @@ this.DOMApplicationRegistry = {
|
||||
this._readManifests([{ id: aId }]).then((aResult) => {
|
||||
let manifest =
|
||||
new ManifestHelper(aResult[0].manifest, app.origin, app.manifestURL);
|
||||
OfflineCacheInstaller.installCache({
|
||||
cachePath: app.cachePath,
|
||||
appId: aId,
|
||||
origin: Services.io.newURI(app.origin, null, null),
|
||||
localId: app.localId,
|
||||
appcache_path: manifest.fullAppcachePath()
|
||||
});
|
||||
let fullAppcachePath = manifest.fullAppcachePath();
|
||||
if (fullAppcachePath) {
|
||||
OfflineCacheInstaller.installCache({
|
||||
cachePath: app.cachePath || app.basePath,
|
||||
appId: aId,
|
||||
origin: Services.io.newURI(app.origin, null, null),
|
||||
localId: app.localId,
|
||||
appcache_path: fullAppcachePath
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user