rem:   paletteItem.removeChild(toolbarItem); 
context: function unwrapToolbarItems(){  var paletteItems = gToolbox.getElementsByTagName("toolbarpaletteitem");  var paletteItem;  while ((paletteItem = paletteItems.item(0)) != null) {    var toolbarItem = paletteItem.firstChild;    if (paletteItem.hasAttribute("itemdisabled"))      toolbarItem.disabled = true;    if (paletteItem.hasAttribute("itemcommand"))      toolbarItem.setAttribute("command", paletteItem.getAttribute("itemcommand"));    // We need the removeChild here because replaceChild and XBL no workee    // together.  See bug 193298.    paletteItem.removeChild(toolbarItem);    paletteItem.parentNode.replaceChild(toolbarItem, paletteItem);  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/b401ef55528a340cf3c7111308f134056b33b005/customizeToolbar.js/buggy/toolkit/content/customizeToolbar.js