rem: window.sizeToContent(); doSetOKCancel(doOK, doCancel, null, null); 
context: function onLoad(){  dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock);  var hostname = dialogParams.GetString(0);  var bundle = document.getElementById("pippki_bundle");  var intro = bundle.getFormattedString("formSigningIntro", [hostname]);  setText("sign.intro", intro);  document.getElementById("sign.text").value = dialogParams.GetString(1);  var selectElement = document.getElementById("nicknames");  itemCount = dialogParams.GetInt(0);  for (var index = 0; index < itemCount; ++index) {    var menuItemNode = document.createElement("menuitem");    var nick = dialogParams.GetString(2 + 2 * index);    menuItemNode.setAttribute("value", index);    menuItemNode.setAttribute("label", nick); // this is displayed    selectElement.firstChild.appendChild(menuItemNode);    if (index == 0) {      selectElement.selectedItem = menuItemNode;    }  }  setDetails();  document.getElementById("pw").focus();  window.sizeToContent();  doSetOKCancel(doOK, doCancel, null, null);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5936aeb292ee5ffa0db2ed904fb351b438822196/formsigning.js/buggy/security/manager/pki/resources/content/formsigning.js