Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh
☠☠ backed out by 209db2883727 ☠ ☠
authorZibi Braniecki <zbraniecki@mozilla.com>
Mon, 04 Jun 2018 17:21:09 -0700
changeset 421356 50305cce4a821a2ee6101951900c83fa474cea15
parent 421355 f4a2094a00c5afbc6571bfc38f3e0e8c4b550b7d
child 421357 5d6eaf83cf3f5797a7273c56173cad7578f12d0a
push id34092
push useraiakab@mozilla.com
push dateTue, 05 Jun 2018 21:57:17 +0000
treeherdermozilla-central@0bb149ce1d1a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh
bugs1462675
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1462675 - Fix permissions popup dialog opened from browser.js. r=johannh MozReview-Commit-ID: AwOikE81KpP
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -797,18 +797,18 @@ var gPopupBlockerObserver = {
     } catch (e) { }
 
     var bundlePreferences = document.getElementById("bundle_preferences");
     var params = { blockVisible: false,
                    sessionVisible: false,
                    allowVisible: true,
                    prefilledHost: prefillValue,
                    permissionType: "popup",
-                   windowTitle: bundlePreferences.getString("popuppermissionstitle2"),
-                   introText: bundlePreferences.getString("popuppermissionstext") };
+    };
+
     var existingWindow = Services.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);
   },