rem: var profDirContent = profDir.getAttribute("value"); 
add: var profDirContent = profDir.hasChildNodes() ? profDir.firstChild.nodeValue : ""; 
context: function GetFields(){  var profName = document.getElementById("ProfileName").value;  var profDir  = document.getElementById("ProfileDir");  var profDirContent = profDir.getAttribute("value");  var profDirRootFolder = profDir.getAttribute("rootFolder");  var rv = {     ProfileName: { id: "ProfileName", value: profName },    ProfileDir:  { id: "ProfileDir",  value: profDirContent, rootFolder: profDirRootFolder }  }  return rv; }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5502d5ec2044d94ec720a01a29a4c3acf5ccada9/newProfile1_2.js/buggy/profile/resources/content/newProfile1_2.js