add: test_dm_getDownload(dl); 
context:     observe: function(aSubject, aTopic, aData) {      var dl = aSubject.QueryInterface(Ci.nsIDownload);      switch (aTopic) {        case "dl-start":          do_check_eq(nsIDownloadManager.DOWNLOAD_DOWNLOADING, dl.state);          do_test_pending();          break;        case "dl-failed":          do_check_eq(nsIDownloadManager.DOWNLOAD_FAILED, dl.state);          do_check_true(dm.canCleanUp);          do_test_finished();          break;        case "dl-cancel":          do_check_eq(nsIDownloadManager.DOWNLOAD_CANCELED, dl.state);          do_check_true(dm.canCleanUp);          do_test_finished();          break;        case "dl-done":          dm.removeDownload(dl.id);          var stmt = dm.DBConnection.createStatement("SELECT COUNT(*) " +                                                     "FROM moz_downloads " +                                                     "WHERE id = ?1");          stmt.bindInt32Parameter(0, dl.id);          stmt.executeStep();          do_check_eq(0, stmt.getInt32(0));          stmt.reset();          do_check_eq(nsIDownloadManager.DOWNLOAD_FINISHED, dl.state);          do_check_true(dm.canCleanUp);          do_test_finished();          break;      };    }
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/bff53e166fe5135bbfc79d99501ab3e37a19f5ae/test_download_manager.js/clean/toolkit/components/downloads/test/unit/test_download_manager.js