rem: aParent.appendChild( menuitem ); 
add: if ( !aAdjacentElement ) aParent.appendChild( menuitem ); else aParent.insertBefore( menuitem, aAdjacentElement ); 
context: function createMenuItem( aParent, aIndex, aLabel)  {    var menuitem = document.createElement( "menuitem" );    menuitem.setAttribute( "label", aLabel );    menuitem.setAttribute( "index", aIndex );    aParent.appendChild( menuitem );  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1be72aadcbe75b774ec98da348ef89110014e0ef/sessionHistoryUI.js/clean/xpfe/browser/resources/content/sessionHistoryUI.js