rem: if (visibleType.type == this._list.getAttribute("lastSelectedType")) this._list.selectedItem = item; 
context:   rebuildView: function() {    // Clear the list of entries.    while (this._list.childNodes.length > 1)      this._list.removeChild(this._list.lastChild);    var visibleTypes = this._getVisibleTypes();    if (this._sortColumn)      this._sortTypes(visibleTypes);    for each (let visibleType in visibleTypes) {      let item = document.createElement("richlistitem");      item.setAttribute("type", visibleType.type);      item.setAttribute("typeDescription", visibleType.description);      item.setAttribute("typeIcon", visibleType.smallIcon);      item.setAttribute("actionDescription",                        this._describePreferredAction(visibleType));      item.setAttribute("actionIcon",                        this._getIconURLForPreferredAction(visibleType));      this._list.appendChild(item);      if (visibleType.type == this._list.getAttribute("lastSelectedType"))        this._list.selectedItem = item;    }  },
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/06db904058b0d32cb66df87d1b95a17e32151691/applications.js/buggy/browser/components/preferences/applications.js