rem: var dirServ = Cc["@mozilla.org/file/directory_service;1"] .getService(Ci.nsIProperties); serverBasePath = dirServ.get("CurProcD", Ci.nsILocalFile); serverBasePath.append("httpserver_tests"); 
add: serverBasePath = Cc["@mozilla.org/file/local;1"] .createInstance(Ci.nsILocalFile); serverBasePath.initWithPath(do_get_topsrcdir()); serverBasePath.append("netwerk"); serverBasePath.append("test"); serverBasePath.append("httpserver"); serverBasePath.append("test"); serverBasePath.QueryInterface(Ci.nsIFile); 
context: function run_test(){  srv = createServer();  var dirServ = Cc["@mozilla.org/file/directory_service;1"]                  .getService(Ci.nsIProperties);  serverBasePath = dirServ.get("CurProcD", Ci.nsILocalFile);  serverBasePath.append("httpserver_tests");  srv.registerDirectory("/", serverBasePath);  srv.setIndexHandler(myIndexHandler);  srv.start(4444);  performNextTest();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/7eeed473b4be37d71045e355c99e7e50aad6fa95/test_setindexhandler.js/clean/netwerk/test/httpserver/test/test_setindexhandler.js