rem: for (var i = 0; i < browsers.length; i++) { 
add: for (var i in browsers) { var nextLocation; 
context: function onAccept() {  finalizeChanges();    var unblocked = additions;   permissionsTree.setAttribute("sortAscending", !sortAscending);  var nextLocation;  var nextUnblocked;  var windowMediator = Components.classes['@mozilla.org/appshell/window-mediator;1']                                 .getService(Components.interfaces.nsIWindowMediator);  var enumerator = windowMediator.getEnumerator("navigator:browser");  //if a site that is currently open is unblocked, make icon go away  while(enumerator.hasMoreElements()) {    var win = enumerator.getNext();        var browsers = win.getBrowser().browsers;    for (var i = 0; i < browsers.length; i++) {      try {        nextLocation = browsers[i].currentURI.hostPort;      }      catch(ex) {         //blank window      }      if (nextLocation) {        nextLocation = '.'+nextLocation;        for (var j in unblocked) {          nextUnblocked = '.'+unblocked[j];          if (nextUnblocked.length > nextLocation.length)             continue; // can't be a match          if (nextUnblocked ==               nextLocation.substr(nextLocation.length - nextUnblocked.length)) {            browsers[i].popupDomain = null;            win.document.getElementById("popupIcon").hidden = true;          }        }      }    }   }  return true;                                           }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d31df1a4c164f0d9b15383a3387cc1edfb20650b/permissionsManager.js/buggy/xpfe/components/permissions/content/permissionsManager.js