Bug 966438 - Use nsICacheStorageService.clear() instead of nsICacheStorage.asyncEvictStorage() to clear the cache, r=honzab

This commit is contained in:
Michal Novotny 2014-03-11 13:50:04 +01:00
parent 548170c5b3
commit 60b29c62b7

View File

@ -59,7 +59,7 @@ function nextTest() {
// We really want each test to be self-contained. Make sure cache is
// cleared and also let all operations finish before starting a new test
syncWithCacheIOThread(function() {
evict_cache_entries();
get_cache_service().clear();
syncWithCacheIOThread(runNextTest);
});
}