add:  var xulWindow = document.getElementById("download_cert"); var wdth = window.innerWidth; window.sizeToContent(); xulWindow.setAttribute("width",window.innerWidth + 30);  var hght = window.innerHeight; window.sizeToContent(); xulWindow.setAttribute("height",window.innerHeight + 40); 
context: function onLoad(){  params = window.arguments[0].QueryInterface(nsIDialogParamBlock);  caName = params.GetString(1);   var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  if (!caName.length)    caName = bundle.GetStringFromName("unnamedCA");  var message2 = bundle.formatStringFromName("newCAMessage1",                                             [ caName ],                                              1);  setText("message2", message2);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a2fa39c4e4b596bba25951ea0dbc42d0f7499ffd/downloadcert.js/clean/security/manager/pki/resources/content/downloadcert.js