rem: this.listElement.removeChild(this.listElement.firstChild); 
add: var popup = this.listElement.firstChild; if (popup) { this.listElement.removeChild(popup); } 
context:     clearList:      function ()        {          // remove the menupopup node child of the menulist.          this.listElement.removeChild(this.listElement.firstChild);        },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/05905338da1ce5abecfb7bbced6330990a55c0c7/printdialog.js/clean/xpfe/global/resources/content/printdialog.js