зеркало из https://github.com/mozilla/pjs.git
Bug 311169 - typo in sanitize.js pref call (nsIBranch instead of nsIPrefBranch from bug 284086). r=mconnnor
This commit is contained in:
Родитель
bf007a531f
Коммит
3535769305
|
@ -110,7 +110,7 @@ Sanitizer.prototype = {
|
|||
// for details on how we guess the cache directory
|
||||
try {
|
||||
cacheDir = cc["@mozilla.org/preferences-service;1"]
|
||||
.getService(ci.nsIBranch)
|
||||
.getService(ci.nsIPrefBranch)
|
||||
.getComplexValue("browser.cache.disk.parent_directory",
|
||||
ci.nsILocalFile);
|
||||
} catch(er) {
|
||||
|
@ -137,8 +137,10 @@ Sanitizer.prototype = {
|
|||
} catch(er) {}
|
||||
}
|
||||
|
||||
// The "nice" way
|
||||
cacheService.evictEntries(ci.nsICache.STORE_ANYWHERE);
|
||||
try {
|
||||
// The "nice" way
|
||||
cacheService.evictEntries(ci.nsICache.STORE_ANYWHERE);
|
||||
} catch(er) {}
|
||||
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче