rem: file.copyTo(newFile, "downloads.rdf"); 
add: if (/\.rdf$/i.test(aFName)) file.copyTo(newFile, "downloads.rdf"); else if (/\.sqlite$/i.test(aFName)) file.copyTo(newFile, "downloads.sqlite"); else do_throw("Unexpected filename!"); 
context: function importDownloadsFile(aFName){  var file = do_get_file("toolkit/components/downloads/test/unit/" + aFName);  var newFile = dirSvc.get("ProfD", Ci.nsIFile);  file.copyTo(newFile, "downloads.rdf");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/a4b10289ddf3742cbdbf63c620cfcaf4c7e2af8f/head_download_manager.js/clean/toolkit/components/downloads/test/unit/head_download_manager.js