onStatusChange: function(a, b, c, d, e) { }, onLocationChange: function(a, b, c, d) { }, 
function getDownloadListener(){  return {    onDownloadStateChange: function(aState, aDownload)    {      if (aDownload.state == Ci.nsIDownloadManager.DOWNLOAD_FINISHED)        gDownloadCount--;      if (aDownload.state == Ci.nsIDownloadManager.DOWNLOAD_CANCELED ||          aDownload.state == Ci.nsIDownloadManager.DOWNLOAD_FAILED) {          gDownloadCount--;      }            if (gDownloadCount == 0)        httpserv.stop();    },    onStateChange: function(a, b, c, d, e) { },    onProgressChange: function(a, b, c, d, e, f, g) { },    onStatusChange: function(a, b, c, d, e) { },    onLocationChange: function(a, b, c, d) { },    onSecurityChange: function(a, b, c, d) { }  };}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/83ad46db2c5e5c573e41a141bdfd04f66cde4aa4/head_download_manager.js/clean/toolkit/components/downloads/test/unit/head_download_manager.js