rem: function do_get_file(path) { 
add: function do_get_file(path, allowInexistent) { 
context: function do_get_file(path) {  var comps = path.split("/");  try {    // The following always succeeds on Windows because we use cygpath with    // the -a (absolute) modifier to generate NATIVE_TOPSRCDIR.    var lf = Components.classes["@mozilla.org/file/local;1"]                       .createInstance(Components.interfaces.nsILocalFile);    lf.initWithPath(environment["NATIVE_TOPSRCDIR"]);  } catch (e) {    // Relative -- and not-Windows per above    lf = Components.classes["@mozilla.org/file/directory_service;1"]                   .getService(Components.interfaces.nsIProperties)                   .get("CurWorkD", Components.interfaces.nsILocalFile);    // We can't use appendRelativePath because it's not supposed to work with    // paths containing "..", and this path might contain "..".    var topsrcdirComps = environment["NATIVE_TOPSRCDIR"].split("/");    Array.prototype.unshift.apply(comps, topsrcdirComps);  }  for (var i = 0, sz = comps.length; i < sz; i++) {    // avoids problems if either path ended with /    if (comps[i].length > 0)      lf.append(comps[i]);  }  do_check_true(lf.exists());  return lf;}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/0dec98a22c231894613c6d01b45be289406b0df7/head.js/clean/tools/test-harness/xpcshell-simple/head.js