rem: onStatusChange: function(a, b, c, d, e) { }, onLocationChange: function(a, b, c, d) { }, 
context: 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) { }  };}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/83ad46db2c5e5c573e41a141bdfd04f66cde4aa4/head_download_manager.js/buggy/toolkit/components/downloads/test/unit/head_download_manager.js