rem: if(capability) { contentStr = bundle.GetStringFromName("can"); } else { contentStr = bundle.GetStringFromName("cannot"); } 
context: function loadPermissions(){  var permissionString;  var permissionArray  = [];  var enumerator = permissionmanager.enumerator;  var contentStr;  while (enumerator.hasMoreElements()) {    var nextPermission = enumerator.getNext();    nextPermission = nextPermission.QueryInterface(Components.interfaces.nsIPermission);    var host = nextPermission.host;    var type = nextPermission.type;    var capability = nextPermission.capability;    if(host.charAt(0) == ".") {  // get rid of the ugly dot on the start of some domains      host = host.substring(1,host.length);    }    if(capability) {      contentStr = bundle.GetStringFromName("can");    } else {      contentStr = bundle.GetStringFromName("cannot");        }    if (type == cookieType) {      AddPermissionToList(cookie_permissions_count, host, type, capability);      AddItem("cookiePermList", [host, contentStr], "cookiepermtree_", cookie_permissions_count++);    } else if (type == imageType) {      AddPermissionToList(image_permissions_count, host, type, capability);      AddItem("imagePermList", [host, contentStr], "imagepermtree_", image_permissions_count++);    }  }  if (cookie_permissions_count == 0) {    document.getElementById("removeAllPermissions").setAttribute("disabled","true");  }  if (image_permissions_count == 0) {    document.getElementById("removeAllImages").setAttribute("disabled","true");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/64e229e8c222d7a885c485973a13e8e3727fe9a2/CookieViewer.js/clean/extensions/wallet/cookieviewer/CookieViewer.js