rem: for (var i = 0; i < permissions.length; i++) { var host = permissions[i].host; updatePendingRemovals(host); }  permissions.length = 0; clearTree(); 
add: DeleteAllFromTree(permissionsTree, permissionsTreeView, additions, removals, "removePermission", "removeAllPermissions"); 
context: function deleteAllPermissions() {  for (var i = 0; i < permissions.length; i++) {    var host = permissions[i].host;    updatePendingRemovals(host);  }  permissions.length = 0;  clearTree();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c50bdfb4ec30c1c58f4046bc2bfb7ae17626fe3f/permissionsManager.js/buggy/suite/common/permissions/permissionsManager.js