rem: 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 host = name.value.replace(/ /g, ""); 
add: var host = enterNewSite(null); if (!host) return; 
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 host = name.value.replace(/ /g, "");  permissions[permissions.length] = new Permission(permissions.length, host,                                                   (host.charAt(0)==".") ? host.substring(1,host.length) : host,                                                   "popup",                                                   "");  permissionsTreeView.rowCount = permissions.length;  permissionsTree.treeBoxObject.rowCountChanged(permissions.length-1, 1);  permissionsTree.treeBoxObject.ensureRowIsVisible(permissions.length-1)}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/bcbe3881a1c6faccf27d3c87f0d6e44636d499cd/pref-features.js/buggy/browser/components/prefwindow/content/pref-features.js