rem: catch (e) { } 
add: catch (e) { } 
context:   editPopupSettings: function ()  {    var host = "";    try {      var uri = gBrowser.selectedBrowser.webNavigation.currentURI;      host = uri.host;    }    catch (e) { }     var bundlePreferences = document.getElementById("bundle_preferences");    var params = { blockVisible   : false,                    sessionVisible : false,                    allowVisible   : true,                    prefilledHost  : host,                    permissionType : "popup",                   windowTitle    : bundlePreferences.getString("popuppermissionstitle"),                   introText      : bundlePreferences.getString("popuppermissionstext") };    var 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);  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2fb9feaadc992e3ccd442db789244b253d0427f8/browser.js/buggy/browser/base/content/browser.js