rem: if (aDownload.state == Ci.nsIDownloadManager.DOWNLOAD_FINISHED) gDownloadCount--;  if (aDownload.state == Ci.nsIDownloadManager.DOWNLOAD_CANCELED || aDownload.state == Ci.nsIDownloadManager.DOWNLOAD_FAILED) { gDownloadCount--; }  
context:     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--;      }            do_check_eq(gDownloadCount, dm.activeDownloadCount);          if (gDownloadCount == 0)        httpserv.stop();    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/d13f6121d99057fa2d859167c84f30c00f619921/test_download_manager.js/buggy/toolkit/components/downloads/test/unit/test_download_manager.js