do_check_true(uri_in_db(testURI)); 
function run_test() {  // Test that when we get nsIDownloadHistory that it's the one places  // implements.  var dh = Cc["@mozilla.org/browser/download-history;1"].           getService(Ci.nsIDownloadHistory);  do_check_true(dh instanceof Ci.nsINavHistoryService);  // now to make sure all the functionality works!  const NS_LINK_VISITED_EVENT_TOPIC = "link-visited";  var ios = Cc["@mozilla.org/network/io-service;1"].            getService(Ci.nsIIOService);  var testURI = ios.newURI("http://google.com/", null, null);  do_check_false(uri_in_db(testURI));  var topicReceived = false;  var obs = {    observe: function tlvo_observe(aSubject, aTopic, aData)    {      if (NS_LINK_VISITED_EVENT_TOPIC == aTopic) {        do_check_eq(testURI, aSubject);        topicReceived = true;      }    }  };  var os = Cc["@mozilla.org/observer-service;1"].           getService(Ci.nsIObserverService);  os.addObserver(obs, NS_LINK_VISITED_EVENT_TOPIC, false);  var referrerURI = ios.newURI("http://yahoo.com", null, null);  do_check_false(uri_in_db(referrerURI));  do_check_false(uri_in_db(testURI));  dh.addDownload(testURI, referrerURI, Date.now() * 1000);  do_check_true(topicReceived);  do_check_true(uri_in_db(testURI));  do_check_true(uri_in_db(referrerURI));}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/66b73f92707ac0031fed8ef2a7e3bfad3057a624/test_download_history.js/buggy/toolkit/components/places/tests/unit/test_download_history.js