Bug 1582941 - Port bug 1553804: Add chrome=no when opening preferences subdialogs. rs=bustage-fix DONTBUILD
authorJorg K <jorgk@jorgk.com>
Sat, 21 Sep 2019 18:39:08 +0200
changeset 36899 92eb7cad1116739ad534ff04491a835b13bde2d6
parent 36898 2bd686fea9ae2a4c09c82c4d7e40c89b9db323e2
child 36900 19514c801deb00c23df3a0f311f367ebddd60651
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersbustage-fix
bugs1582941, 1553804
Bug 1582941 - Port bug 1553804: Add chrome=no when opening preferences subdialogs. rs=bustage-fix DONTBUILD
mail/components/preferences/subdialogs.js
--- a/mail/components/preferences/subdialogs.js
+++ b/mail/components/preferences/subdialogs.js
@@ -99,17 +99,18 @@ SubDialog.prototype = {
         this.open.apply(this, args);
       });
       return;
     }
     this._addDialogEventListeners();
 
     Services.prefs.setBoolPref("browser.preferences.instantApply", true);
     let features =
-      (aFeatures ? aFeatures + "," : "") + "resizable,dialog=no,centerscreen";
+      (aFeatures ? aFeatures + "," : "") +
+      "resizable,dialog=no,centerscreen,chrome=no";
     let dialog = window.openDialog(
       aURL,
       `dialogFrame-${this._id}`,
       features,
       aParams
     );
     if (aClosingCallback) {
       this._closingCallback = aClosingCallback.bind(dialog);