rem: __testsDirectory = C["@mozilla.org/file/local;1"] .createInstance(I.nsILocalFile); __testsDirectory.initWithPath(do_get_topsrcdir()); 
add: __testsDirectory = do_get_topsrcdir(); 
context: function ParseFile(file) {  if (typeof(file) == "string") {    if (!__testsDirectory) {      __testsDirectory = C["@mozilla.org/file/local;1"]                          .createInstance(I.nsILocalFile);      __testsDirectory.initWithPath(do_get_topsrcdir());      __testsDirectory.append("content");      __testsDirectory.append("test");      __testsDirectory.append("unit");    }    var fileObj = __testsDirectory.clone();    fileObj.append(file);    file = fileObj;  }  do_check_eq(file instanceof nsILocalFile, true);  fileStr = C["@mozilla.org/network/file-input-stream;1"]             .createInstance(nsIFileInputStream);  // Init for readonly reading  fileStr.init(file,  0x01, 0400, nsIFileInputStream.CLOSE_ON_EOF);  return ParseXML(fileStr);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/c0fc6a93d5a6c38a3e11b0a681c184f231f892c2/head_content.js/clean/content/test/unit/head_content.js