add:  var windowReference = document.getElementById('ssl_warning'); var wdth = window.innerWidth; window.sizeToContent(); windowReference.setAttribute("width",window.innerWidth + 30); var hght = window.innerHeight; window.sizeToContent(); windowReference.setAttribute("height",window.innerHeight + 40);  
context: function onLoad(){  doSetOKCancel(doOK, doCancel, doHelpButton);  pkiParams    = window.arguments[0].QueryInterface(nsIPKIParamBlock);  dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);  var isupport = pkiParams.getISupportAtIndex(1);  cert = isupport.QueryInterface(nsIX509Cert);  var bundle = srGetStrBundle("chrome://pippki/locale/newserver.properties");  var gBundleBrand = srGetStrBundle("chrome://global/locale/brand.properties");  var brandName = gBundleBrand.GetStringFromName("brandShortName");  var continueButton = bundle.GetStringFromName("continueButton");  document.getElementById("ok").label = continueButton;  var message =     bundle.formatStringFromName("newServerMessage",                                 [cert.commonName],                                 1);  var notRecognized =     bundle.formatStringFromName("certNotRecognized",                                  [brandName],                                  1);  setText("message", message);  setText("notRecognized", notRecognized);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/02b7ec05f616306f68e12dad1caacdfea3c850cc/newserver.js/buggy/security/manager/pki/resources/content/newserver.js