rem:  alert(bundle.GetStringFromName("SuccessfulP12Restore")); LoadCertNames(); 
add: userOutlinerView.loadCerts(nsIX509Cert.USER_CERT); 
context: function restoreCerts(){  var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var fp = Components.classes[nsFilePicker].createInstance(nsIFilePicker);  fp.init(window,          bundle.GetStringFromName("chooseP12RestoreFileDialog"),          nsIFilePicker.modeOpen);  fp.appendFilter("PKCS12 Files (*.p12)", "*.p12");  fp.appendFilters(nsIFilePicker.filterAll);  if (fp.show() == nsIFilePicker.returnOK) {    var certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB);    certdb.importPKCS12File(null, fp.file);  }  // don't really know it was successful...  alert(bundle.GetStringFromName("SuccessfulP12Restore"));  LoadCertNames();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/2b5e9f7370e8ae82d6c4f3cd0c5f5965e4f9db84/certManager.js/buggy/security/manager/pki/resources/content/certManager.js