зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1289164 - Make about:cache not modify cache entry state on display. r=michal
--HG-- extra : rebase_source : b64fbced196064b78e8f6e1be6e566fe5233c8ab
This commit is contained in:
Родитель
fe911e63d8
Коммит
425509d685
|
@ -464,7 +464,7 @@ private:
|
|||
if (NS_FAILED(rv))
|
||||
break; // done (or error?)
|
||||
|
||||
// This synchronously invokes onCacheEntryInfo on this class where we
|
||||
// This synchronously invokes OnEntryInfo on this class where we
|
||||
// redispatch to the main thread for the consumer callback.
|
||||
CacheFileIOManager::GetEntryInfo(&hash, this);
|
||||
}
|
||||
|
|
|
@ -208,7 +208,9 @@ nsAboutCacheEntry::Channel::OpenCacheEntry()
|
|||
|
||||
// Invokes OnCacheEntryAvailable()
|
||||
rv = storage->AsyncOpenURI(mCacheURI, mEnhanceId,
|
||||
nsICacheStorage::OPEN_READONLY, this);
|
||||
nsICacheStorage::OPEN_READONLY |
|
||||
nsICacheStorage::OPEN_SECRETLY,
|
||||
this);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче