rem: var enumerator = passwordmanager.rejectEnumerator; var count = 0; while (enumerator.hasMoreElements()) { var nextReject = enumerator.getNext(); nextReject = nextReject.QueryInterface(Components.interfaces.nsIPassword); var host = nextReject.host; rejects[count] = new Reject(count++, host); } 
add: var hosts = passwordmanager.getAllDisabledHosts({}); rejects = hosts.map(function(host, i) { return new Reject(i, host); }); 
context: function LoadRejects() {  var enumerator = passwordmanager.rejectEnumerator;  var count = 0;  while (enumerator.hasMoreElements()) {    var nextReject = enumerator.getNext();    nextReject = nextReject.QueryInterface(Components.interfaces.nsIPassword);    var host = nextReject.host;    rejects[count] = new Reject(count++, host);  }  rejectsTreeView.rowCount = rejects.length;  // sort and display the table  rejectsTree.treeBoxObject.view = rejectsTreeView;  RejectColumnSort('host');  var element = document.getElementById("removeAllRejects");  if (rejects.length == 0) {    element.setAttribute("disabled","true");  } else {    element.removeAttribute("disabled");  }}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/866aabbb8451f53d863fc937aedb4baaacaca246/passwordManagerExceptions.js/clean/toolkit/components/passwordmgr/content/passwordManagerExceptions.js