try { f = f.parent } catch (e) {  f = null; } 
f = f.parent; 
function run_test() {  var f =      Cc["@mozilla.org/file/directory_service;1"].      getService(Ci.nsIProperties).get("CurProcD", Ci.nsIFile);  var terminated = false;  for (var i = 0; i < 100; i++) {    if (f == null) {      terminated = true;      break;    }    try {      f = f.parent    }    catch (e) {      // Exception means we reached the top of a volume, terminate      f = null;    }  }  do_check_true(terminated);}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/477cf561bf1938cd64926a5c6f35e1d38800831e/test_bug332389.js/buggy/xpcom/tests/unit/test_bug332389.js