rem: createMenuItem(aEvent.target, i, url); 
add: createMenuItem(aParent, i, url); 
context: function createUBHistoryMenu( aEvent )  {    var ubHistory = appCore.urlbarHistory;    // dump("In createUbHistoryMenu\n");	  if (localstore) {	     var entries = localstore.GetTargets(rdf.GetResource("nc:urlbar-history"),                                    rdf.GetResource("http://home.netscape.com/NC-rdf#child"),                                    true);       //dump("localstore found\n");         var i= MAX_HISTORY_MENU_ITEMS;		    // Delete any old menu items		    deleteHistoryItems(aEvent);        while (entries.hasMoreElements() && (i-- > 0)) {		       var entry = entries.getNext();			     if (entry) {			        entry = entry.QueryInterface(Components.interfaces.nsIRDFLiteral);              var url = entry.Value;              //dump("CREATEUBHISTORYMENU menuitem = " + url + "\n");			        createMenuItem(aEvent.target, i, url);			     }         }      }  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/ff4b3aa2cbf644174d174f49b3d3cc1819e6833a/sessionHistoryUI.js/clean/xpfe/browser/resources/content/sessionHistoryUI.js