rem: var popup = document.getElementById("mpBindings"); this.clearChildren(popup); 
add: menulist.removeAllItems(); 
context:   populateBindings: function()  {    var urls = this.mDOMUtils.getBindingURLs(this.mSubject);    var popup = document.getElementById("mpBindings");    this.clearChildren(popup);    var urlCount = urls.length;    var i;    for (i = 0; i < urlCount; ++i) {      var url = urls.queryElementAt(i, Components.interfaces.nsIURI).spec;      var menu = document.createElement("menuitem");      menu.setAttribute("value", url);      menu.setAttribute("label", url);      popup.appendChild(menu);    }        var menulist = document.getElementById("mlBindings");    menulist.label = "";    if (!popup.childNodes.length)      menulist.value = "";    else      menulist.value = popup.childNodes[0].getAttribute("value");  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/97dfe4bcb6268f608db1988105370c75e8816e10/xblBindings.js/buggy/extensions/inspector/resources/content/viewers/xblBindings/xblBindings.js