rem: fileSpec = fileSpec.QueryInterface( Components.interfaces.nsIFileSpec ); 
add: fileSpec = fileSpec.QueryInterface( Components.interfaces.nsIFile ); 
context: function setDisplayToDefaultFolder(){  var profileName = document.getElementById( "ProfileName" );  var profileDisplay = document.getElementById( "ProfileDir" );    var fileSpec;  try {    fileSpec = top.profile.defaultProfileParentDir;     if ( fileSpec )      fileSpec = fileSpec.QueryInterface( Components.interfaces.nsIFileSpec );    if ( fileSpec )      profileDisplay.setAttribute("rootFolder", fileSpec.nativePath );  }  catch(e) {  }    document.getElementById("useDefault").setAttribute("disabled", "true");    // reset the display field  updateProfileName();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3be47211faaab1206aaa4d93c50e8fe1c8c468dd/newProfile1_2.js/clean/profile/resources/content/newProfile1_2.js