Bug 464942 - |failed in test_removeDataFromDomain.js on (NS_ERROR_FILE_NOT_FOUND) [nsICacheService.evictEntries] nsPrivateBrowsingService.js :: PBS_removeDataFromDomain :: line 296|; r=mconnor

This commit is contained in:
Ehsan Akhgari 2009-03-12 12:28:01 +03:30
parent f6cd477e73
commit 9118c704f2

View File

@ -369,7 +369,12 @@ PrivateBrowsingService.prototype = {
getService(Ci.nsICacheService)) {
// NOTE: there is no way to clear just that domain, so we clear out
// everything)
cs.evictEntries(Ci.nsICache.STORE_ANYWHERE);
try {
cs.evictEntries(Ci.nsICache.STORE_ANYWHERE);
} catch (ex) {
Cu.reportError("Exception thrown while clearing the cache: " +
ex.toString());
}
}
// Cookies