rem:  while (urls.hasMoreElements()) { var item = urls.getNext(); var url = item.QueryInterface(Components.interfaces.nsIAtom).toString(); 
add:  var urlCount = urls.length; var i;  for (i = 0; i < urlCount; ++i) { var url = urls.queryElementAt(i, Components.interfaces.nsIURI).spec; 
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).toString();      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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/a29b6c69faed400e41f1185a5b3bfef9f2983787/xblBindings.js/buggy/extensions/inspector/resources/content/viewers/xblBindings/xblBindings.js