Bug 1228974 - correct the group ID in Offline Cache Installer, r=fabrice

This commit is contained in:
Fischer Liu 2015-12-10 10:33:00 +01:00
parent 9cd2561681
commit e93aed4f22

View File

@ -255,7 +255,7 @@ function installCache(app) {
// The group ID contains application id and 'f' for not being hosted in
// a browser element, but a mozbrowser iframe.
// See netwerk/cache/nsDiskCacheDeviceSQL.cpp: AppendJARIdentifier
let groupID = appcacheURL + '#' + app.localId+ '+f';
let groupID = appcacheURL + '#^appId=' + app.localId;
let applicationCache = applicationCacheService.createApplicationCache(groupID);
applicationCache.activate();