Bug 113015 -- page info sometimes says "not cached" for cached

content. r=db48x, sr=darin
This commit is contained in:
bzbarsky%mit.edu 2006-09-14 06:05:31 +00:00
Родитель 92f099c8dd
Коммит a905b551ba
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -62,7 +62,9 @@ const COPYCOL_IMAGE_ADDRESS = 1;
const nsICacheService = Components.interfaces.nsICacheService; const nsICacheService = Components.interfaces.nsICacheService;
const cacheService = Components.classes["@mozilla.org/network/cache-service;1"].getService(nsICacheService); const cacheService = Components.classes["@mozilla.org/network/cache-service;1"].getService(nsICacheService);
var httpCacheSession = cacheService.createSession("HTTP", 0, true); var httpCacheSession = cacheService.createSession("HTTP", 0, true);
httpCacheSession.doomEntriesIfExpired = false;
var ftpCacheSession = cacheService.createSession("FTP", 0, true); var ftpCacheSession = cacheService.createSession("FTP", 0, true);
ftpCacheSession.doomEntriesIfExpired = false;
// scriptable date formater, for pretty printing dates // scriptable date formater, for pretty printing dates
const nsIScriptableDateFormat = Components.interfaces.nsIScriptableDateFormat; const nsIScriptableDateFormat = Components.interfaces.nsIScriptableDateFormat;