rem: popupmanager.add(uri, true); 
add: permissionmanager.add(uri, nsIPermissionManager.POPUP_TYPE, nsIPermissionManager.ALLOW_ACTION); 
context: function AddPermission() {  var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                              .getService(Components.interfaces.nsIPromptService);  var stringBundle = document.getElementById("stringBundle");  var message = stringBundle.getString("enterSiteName");  var title = stringBundle.getString("enterSiteTitle");  var name = {};  if (!promptService.prompt(window, title, message, name, null, {}))      return;      var nameToURI = name.value.replace(" ", "");      var uri = Components.classes['@mozilla.org/network/standard-url;1'].createInstance(Components.interfaces.nsIURI);  uri.spec = nameToURI;  popupmanager.add(uri, true);  loadPermissions();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/11ef9f8d2a7c852fb82dfcc97d7744a514aeb0f9/pref-features.js/clean/browser/components/prefwindow/content/pref-features.js