Closed Bug 1204320 Opened 5 years ago Closed 4 years ago

Certificate Manager no longer resizable when opened from the in-content preferences page (Advanced -> Certificates

Categories

(Firefox :: Preferences, defect)

38 Branch
All
Windows
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 51
Tracking Status
firefox51 --- fixed

People

(Reporter: mbugz, Assigned: jyeh)

References

Details

(Keywords: regression)

At least under Windows, the Certificate Manager window (as well as the "Security Devices"/"Device Manager" one) can no longer be resized after the switch to in-content preferences with Fx 38 (bug 723737).

Suggested fix:

--- a/browser/components/preferences/in-content/advanced.js
+++ b/browser/components/preferences/in-content/advanced.js
@@ -813,27 +813,27 @@ var gAdvancedPane = {

   /**
    * Displays the user's certificates and associated options.
    */
   showCertificates: function ()
   {
     openDialog("chrome://pippki/content/certManager.xul",
                "mozilla:certmanager",
-               "modal=yes", null);
+               "modal=yes,resizable=yes", null);
   },

   /**
    * Displays a dialog from which the user can manage his security devices.
    */
   showSecurityDevices: function ()
   {
     openDialog("chrome://pippki/content/device_manager.xul",
                "mozilla:devicemanager",
-               "modal=yes", null);
+               "modal=yes,resizable=yes", null);
   },

 #ifdef MOZ_UPDATER
   observe: function (aSubject, aTopic, aData) {
     switch(aTopic) {
       case "nsPref:changed":
         this.updateReadPrefs();
         break;
Bug 1049001 and Bug 1036815 fixed this by switching over to the resizable in-content versions instead.
https://hg.mozilla.org/mozilla-central/rev/46f83778b4bb#l1.10
https://hg.mozilla.org/mozilla-central/rev/20e45f63c2e6#l2.55
Status: NEW → RESOLVED
Closed: 4 years ago
Depends on: 1049001, 1036815
Resolution: --- → FIXED
Assignee: nobody → jyeh
Target Milestone: --- → Firefox 51
You need to log in before you can comment on or make changes to this bug.