rem: popupmanager.add(uri, true); 
add: permissionmanager.add(uri, nsIPermissionManager.POPUP_TYPE, nsIPermissionManager.ALLOW_ACTION); 
context: function whitelistSite(){  var selectedItem = gSiteBox.selectedItems[0];  if (!selectedItem)    return;  // This is perverse and backwards.  We have subverted Mozilla's blacklist implementation  // and made it into a whitelist.  So we want to add this to the list of "blocked' popups.  var uri = Components.classes['@mozilla.org/network/standard-url;1'].createInstance(Components.interfaces.nsIURI);  uri.spec = selectedItem.label;  popupmanager.add(uri, true);  gSiteBox.removeChild(selectedItem);  // XXXlocalize  alert(uri.host + gUPMsg.value);  document.documentElement.getButton("accept").focus();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4849fe50e53760da96493bb5485f0b96e7f643f4/pageReport.js/buggy/browser/base/content/pageReport.js