rem:  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(){  pkiParams = window.arguments[0].QueryInterface(nsIPKIParamBlock);  params = pkiParams.QueryInterface(nsIDialogParamBlock);  var isupport = pkiParams.getISupportAtIndex(1);  cert = isupport.QueryInterface(nsIX509Cert);  caName = cert.commonName;   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);  var xulWindow = document.getElementById("download_cert");  var wdth = window.innerWidth; // THIS IS NEEDED,  window.sizeToContent();  xulWindow.setAttribute("width",window.innerWidth + 30);  var hght = window.innerHeight; // THIS IS NEEDED,  window.sizeToContent();  xulWindow.setAttribute("height",window.innerHeight + 40);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/180377c25d2001282982a33e8108352b85493d17/downloadcert.js/buggy/security/manager/pki/resources/content/downloadcert.js