зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1837665: Clear CacheAPI PBM data when purging private origins on session end.r=dom-storage-reviewers,janv.
Depends on D180297 Differential Revision: https://phabricator.services.mozilla.com/D180904
This commit is contained in:
Родитель
a68c2ad072
Коммит
85f083d221
|
@ -374,7 +374,13 @@ void CacheQuotaClient::OnRepositoryClearCompleted(
|
|||
PersistenceType aPersistenceType) {
|
||||
AssertIsOnIOThread();
|
||||
|
||||
// Nothing to do here.
|
||||
if (aPersistenceType == quota::PERSISTENCE_TYPE_PRIVATE) {
|
||||
for (const auto& cipherKeyManager : mCipherKeyManagers.Values()) {
|
||||
cipherKeyManager->Invalidate();
|
||||
}
|
||||
|
||||
mCipherKeyManagers.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
void CacheQuotaClient::ReleaseIOThreadObjects() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче