Bug 403412 - Download Manager window title fails to clear/update upon download completion. r=sdwilsh, a1.9=beltzner

git-svn-id: svn://10.0.0.236/trunk@248087 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edward.lee%engineering.uiuc.edu 2008-03-18 17:57:26 +00:00
parent 41eb216ec2
commit 260a9adb31

View File

@ -60,6 +60,9 @@ DownloadProgressListener.prototype = {
onDownloadStateChange: function dlPL_onDownloadStateChange(aState, aDownload)
{
// Update window title in-case we don't get all progress notifications
onUpdateProgress();
let state = aDownload.state;
switch (state) {
case nsIDM.DOWNLOAD_QUEUED: