rem:  window.sizeToContent(); 
context: function Startup() {  permissionManager = Components.classes["@mozilla.org/permissionmanager;1"]                                .getService(Components.interfaces.nsIPermissionManager);  permissionsTree = document.getElementById("permissionsTree");  popupStringBundle = document.getElementById("popupStringBundle");  // window.args[0]: host to prefill  // window.args[1]: true = opened from pref panel, false = opened from tools menu or statusbar icon  sortAscending = (permissionsTree.getAttribute("sortAscending") == "true");  loadPermissions(permissions);  loadTree();     if (window.arguments[0] != "") {    // fill textbox to unblock/add to whitelist    var prefill = window.arguments[0];    if (prefill.indexOf("www.") == 0)       prefill = prefill.slice(4);    document.getElementById("addSiteBox").value = prefill;  }  document.documentElement.addEventListener("keypress", onReturnHit, true);  window.sizeToContent();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/02c84872d9086c9828727eadbc8e163ef49823bf/permissionsManager.js/buggy/xpfe/components/permissions/content/permissionsManager.js