rem:  window.sizeToContent(); 
add: document.documentElement.getButton("accept").focus(); 
context: function onLoad(){  pkiParams    = window.arguments[0].QueryInterface(nsIPKIParamBlock);  dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);  var isupport = pkiParams.getISupportAtIndex(1);  cert = isupport.QueryInterface(nsIX509Cert);  var bundle = document.getElementById("newserver_bundle");  var intro = bundle.getFormattedString(    "newserver.intro", [cert.commonName]);  var reason3 = bundle.getFormattedString(    "newserver.reason3", [cert.commonName]);  var question = bundle.getFormattedString(    "newserver.question", [cert.commonName]);  setText("intro", intro);  setText("reason3", reason3);  setText("question", question);  window.sizeToContent();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5936aeb292ee5ffa0db2ed904fb351b438822196/newserver.js/buggy/security/manager/pki/resources/content/newserver.js