rem: permissionmanager.add(uri, nsIPermissionManager.POPUP_TYPE, nsIPermissionManager.ALLOW_ACTION); 
add: permissionmanager.add(uri, "popup", nsIPermissionManager.ALLOW_ACTION); 
context: function whitelistSite(){  var selectedItem = gSiteBox.selectedItems[0];  if (!selectedItem)    return;  var selectedIndex = gSiteBox.getIndexOfItem(selectedItem);  var uri = Components.classes['@mozilla.org/network/standard-url;1'].createInstance(Components.interfaces.nsIURI);  uri.spec = selectedItem.label;  permissionmanager.add(uri, nsIPermissionManager.POPUP_TYPE, nsIPermissionManager.ALLOW_ACTION);  gSiteBox.removeChild(selectedItem);  if (gSiteBox.getRowCount() == 0) {    // close if there are no other sites to whitelist    window.close();    return;  }  // make sure a site is selected  if (selectedIndex > gSiteBox.getRowCount() - 1)    selectedIndex -= 1;  gSiteBox.selectedIndex = selectedIndex;  document.documentElement.getButton("accept").focus()}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d96d81509fe64c1ad705d11b316dd1dbcb0c47ae/pageReport.js/buggy/browser/base/content/pageReport.js