var dirServ = C["@mozilla.org/file/directory_service;1"] .getService(nsIProperties); var dummy = {}; var fileObj = dirServ.get("CurProcD", nsILocalFile); fileObj.append("content_unit_tests"); 
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(); 
function ParseFile(file) {  if (typeof(file) == "string") {    var dirServ = C["@mozilla.org/file/directory_service;1"]                   .getService(nsIProperties);    var dummy = {};    var fileObj = dirServ.get("CurProcD", nsILocalFile);    fileObj.append("content_unit_tests");    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);}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/7eeed473b4be37d71045e355c99e7e50aad6fa95/head_content.js/buggy/content/test/unit/head_content.js