rem: while ( popup.childNodes.length > 2 ) 
add: while ( popup.childNodes.length ) 
context: function ClearAttachmentMenu() {   var popup = document.getElementById("attachmentPopup");   if ( popup )   {      while ( popup.childNodes.length > 2 )        popup.removeChild(popup.childNodes[0]);   }   var attachBox = document.getElementById("attachmentBox");  if (attachBox)    attachBox.setAttribute("hide", "true");}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ffc4d709f6cdd7a51b3d3fdf22ed5ce0fec59d5f/msgHdrViewOverlay.js/buggy/mailnews/base/resources/content/msgHdrViewOverlay.js