Skip to content
Snippets Groups Projects
Commit e2b6cb71 authored by Ehsan Akhgari's avatar Ehsan Akhgari
Browse files

Bug 463885 - Entering the Private Browsing mode may not always empty the...

Bug 463885 - Entering the Private Browsing mode may not always empty the download manager list; r=sdwilsh, a=blocking1.9.1+
parent 917479f3
No related branches found
No related tags found
No related merge requests found
......@@ -504,8 +504,14 @@ let gDownloadObserver = {
break;
case "private-browsing":
if (aData == "enter" || aData == "exit") {
initStatement();
buildDownloadList(true);
// We might get this notification before the download manager
// service, so the new database connection might not be ready
// yet. Defer this until all private-browsing notifications
// have been processed.
setTimeout(function() {
initStatement();
buildDownloadList(true);
}, 0);
}
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment