do_check_eq(Components.lastResult, Cr.NS_ERROR_FAILURE); 
do_check_eq(Components.lastResult, Cr.NS_ERROR_NOT_AVAILABLE); 
function test_get_download_empty_queue(){  print("*** DOWNLOAD MANAGER TEST - test_get_download_empty_queue");  try {    dm.getDownload(0);    do_throw("Hey!  We expect to get an excpetion with this!");  } catch(e) {    do_check_eq(Components.lastResult, Cr.NS_ERROR_FAILURE);  }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/8926ad5b9a0c83f5b9f1d34890da6e87ccc29fe2/test_download_manager.js/buggy/toolkit/components/downloads/test/unit/test_download_manager.js