rem: windowTitle    : bundlePreferences.getString("installpermissionstitle"), introText      : bundlePreferences.getString("installpermissionstext") }; 
add: windowTitle    : bundlePreferences.getString("addonspermissionstitle"), introText      : bundlePreferences.getString("addonspermissionstext") }; 
context: function xpinstallEditPermissions(aDocShell){  var browser = gXPInstallObserver._getBrowser(aDocShell);  if (browser) {    var bundlePreferences = document.getElementById("bundle_preferences");    var webNav = aDocShell.QueryInterface(Components.interfaces.nsIWebNavigation);    var params = { blockVisible   : false,                   sessionVisible : false,                   allowVisible   : true,                   prefilledHost  : webNav.currentURI.host,                   permissionType : "install",                   windowTitle    : bundlePreferences.getString("installpermissionstitle"),                   introText      : bundlePreferences.getString("installpermissionstext") };    wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]                   .getService(Components.interfaces.nsIWindowMediator);    var existingWindow = wm.getMostRecentWindow("Browser:Permissions");    if (existingWindow) {      existingWindow.initWithParams(params);      existingWindow.focus();    }    else      window.openDialog("chrome://browser/content/preferences/permissions.xul",                        "_blank", "resizable,dialog=no,centerscreen", params);    return false;  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/17ef24e4e6ebca0ed3bc89cf2ded075a4ab04974/browser.js/buggy/browser/base/content/browser.js