add: sizeToContent(); moveToAlertPosition(); 
context: function Startup(){  doSetOKCancel(onOK);    gDescriptionField = document.getElementById("description");  gExtensionField   = document.getElementById("extensions");  gMIMEField        = document.getElementById("mimeType");  gAppPath          = document.getElementById("appPath");      gPrefApplicationsBundle = document.getElementById("bundle_prefApplications");  // If an arg was passed, then it's an nsIHelperAppLauncherDialog  if ( "arguments" in window && window.arguments[0] ) {      // Get mime info.      var info = window.arguments[0].mLauncher.MIMEInfo;      // Fill the fields we can from this.      gDescriptionField.value = info.Description;      gExtensionField.value   = info.FirstExtension();      gMIMEField.value        = info.MIMEType;      var app = info.preferredApplicationHandler;      if ( app ) {          gAppPath.value      = app.unicodePath;      }      // Don't let user change mime type.      gMIMEField.setAttribute( "readonly", "true" );      // Start user in app field.      gAppPath.focus();  } else {      gDescriptionField.focus();  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/26bf103cfd847ac55bea82d3180b3600fa50f1ff/pref-applications-new.js/clean/xpfe/components/prefwindow/resources/content/pref-applications-new.js