rem: localfile.unicodePath = formElement.value; 
add: localfile.initWithUnicodePath(formElement.value); 
context: function getFormElementValue(formElement) { try {  var type = formElement.localName;  if (type=="checkbox") {    if (formElement.getAttribute("reversed"))      return !formElement.checked;    else      return formElement.checked;  }  else if (type == "radiogroup" || type=="menulist") {    return formElement.selectedItem.value;  }  else if (type == "textbox" &&           formElement.getAttribute("datatype") == "nsIFileSpec") {    if (formElement.value) {      var filespec = Components.classes["@mozilla.org/filespec;1"].createInstance(Components.interfaces.nsIFileSpec);      filespec.nativePath = formElement.value;      return filespec;    } else {      return null;    }  }  else if (type == "textbox" &&           formElement.getAttribute("datatype") == "nsILocalFile") {    if (formElement.value) {      var localfile = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);      localfile.unicodePath = formElement.value;      return localfile;    }    else {      return null;    }  }  else if (type == "text") {    var val = formElement.getAttribute("value");    if (val) return val;    else return null;  }  else {    return formElement.value;  } } catch (ex) {  dump("getFormElementValue failed, ex="+ex+"\n"); } return null;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/ccfec6735b620ad7fd5a893d9fc6c69e6aee3bd0/AccountManager.js/clean/mailnews/base/prefs/resources/content/AccountManager.js