Skip to content

Commit

Permalink
Bug 438998
Browse files Browse the repository at this point in the history
This changes the anonymous functions in DownloadProgressListener.js to named
functions so that tools like dtrace and JS debuggers actually know what is
being called so they can do something useful.
r=Mossop
  • Loading branch information
sdwilsh committed Jun 13, 2008
1 parent 930dd62 commit cbcf292
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions toolkit/mozapps/downloads/content/DownloadProgressListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@ DownloadProgressListener.prototype = {
} catch (e) { }
},

onProgressChange: function(aWebProgress, aRequest, aCurSelfProgress,
aMaxSelfProgress, aCurTotalProgress,
aMaxTotalProgress, aDownload)
onProgressChange: function dlPL_onProgressChange(aWebProgress, aRequest,
aCurSelfProgress,
aMaxSelfProgress,
aCurTotalProgress,
aMaxTotalProgress, aDownload)
{
var download = getDownload(aDownload.id);

Expand Down

0 comments on commit cbcf292

Please sign in to comment.