Bug 530235 - Don't add downloaded documents to the list of recent documents on Widnows inside the private browsing mode; r=gavin ui-r=faaborg
This commit is contained in:
Родитель
2bf75186f2
Коммит
594a89aa91
|
@ -2210,7 +2210,8 @@ nsDownload::SetState(DownloadState aState)
|
|||
if (pref)
|
||||
pref->GetBoolPref(PREF_BDM_ADDTORECENTDOCS, &addToRecentDocs);
|
||||
|
||||
if (addToRecentDocs)
|
||||
if (addToRecentDocs &&
|
||||
!nsDownloadManager::gDownloadManagerService->mInPrivateBrowsing)
|
||||
::SHAddToRecentDocs(SHARD_PATHW, path.get());
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче