mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 06:47:31 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
e075f1b671
21 changed files with 507 additions and 108 deletions
|
|
@ -5897,7 +5897,12 @@ var OfflineApps = {
|
|||
var cacheService = Cc["@mozilla.org/network/application-cache-service;1"]
|
||||
.getService(Ci.nsIApplicationCacheService);
|
||||
if (!groups) {
|
||||
groups = cacheService.getGroups();
|
||||
try {
|
||||
groups = cacheService.getGroups();
|
||||
} catch(ex) {
|
||||
// Cache disabled.
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
var usage = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue