rem: return environment["NATIVE_TOPSRCDIR"]; 
add: try { var lf = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); lf.initWithPath(environment["NATIVE_TOPSRCDIR"]); } catch (e) {  lf = Components.classes["@mozilla.org/file/directory_service;1"] .getService(Components.interfaces.nsIProperties) .get("CurWorkD", Ci.nsILocalFile); lf.appendRelativePath(environment["NATIVE_TOPSRCDIR"]); } return lf; 
context: function do_get_topsrcdir() {  return environment["NATIVE_TOPSRCDIR"];}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/c0fc6a93d5a6c38a3e11b0a681c184f231f892c2/head.js/clean/tools/test-harness/xpcshell-simple/head.js