add:  var wdth = window.innerWidth; window.sizeToContent(); windowReference.setAttribute("width",window.innerWidth + 30); var hght = window.innerHeight; window.sizeToContent(); windowReference.setAttribute("height",window.innerHeight + 30);  
context: function onLoad(){  pkiParams    = window.arguments[0].QueryInterface(nsIPKIParamBlock);  dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);   var isupports = pkiParams.getISupportAtIndex(1);  cert = isupports.QueryInterface(nsIX509Cert);   var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var dispName = cert.commonName;  if (dispName == null)    dispName = cert.windowTitle;  var msg = bundle.formatStringFromName("escrowFinalMessage",                                        [dispName], 1);  setText("message1",msg);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4e6432ed9e82bafec794ca82c16b70c479056ac0/escrowWarn.js/buggy/security/manager/pki/resources/content/escrowWarn.js