add:  permissionsTreeView.rowCount = additions.length;   permissionsTree.treeBoxObject.view = permissionsTreeView; permissionColumnSort(sortColumn, false);   document.getElementById("removeAllPermissions").disabled = additions.length == 0; 
context: function loadPermissions(table) {  var enumerator = permissionManager.enumerator;  var count = 0;    while (enumerator.hasMoreElements()) {    var permission = enumerator.getNext();    if (permission) {      permission = permission.QueryInterface(Components.interfaces.nsIPermission);      if ((permission.type == popupType) && (permission.capability == nsIPermissionManager.ALLOW_ACTION)) {        var host = permission.host;        table[count] = new Permission(host,count++);      }    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/473865070c571ced9b0239faeaf8a27fd9d894a3/permissionsManager.js/clean/suite/common/permissions/permissionsManager.js