rem: var item = document.createElement("menuitem"); item.setAttribute("value", url); item.setAttribute("label", url); popup.appendChild(item); 
add: var menu = document.createElement("menuitem"); menu.setAttribute("value", url); menu.setAttribute("label", url); popup.appendChild(menu); 
context:   populateBindings: function()  {    var urls = this.mDOMUtils.getBindingURLs(this.mSubject);    var popup = document.getElementById("mpBindings");    this.clearChildren(popup);        while (urls.hasMoreElements()) {      var item = urls.getNext();      var url = item.QueryInterface(Components.interfaces.nsIAtom).GetUnicode();      var item = document.createElement("menuitem");      item.setAttribute("value", url);      item.setAttribute("label", url);      popup.appendChild(item);    }        var menulist = document.getElementById("mlBindings");    menulist.label = "";    if (!popup.childNodes.length)      menulist.value = "";    else      menulist.value = popup.childNodes[0].getAttribute("value");  },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/732dc6261a2ac11c9af2f33803020c5eb226df56/xblBindings.js/buggy/extensions/inspector/resources/content/viewers/xblBindings/xblBindings.js