rem: var pkiParams; pkiParams = Components.classes[nsPKIParamBlock].getService(nsIPKIParamBlock); var dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock); 
add: var params = Components.classes[nsDialogParamBlock].getService(nsIDialogParamBlock); 
context: function deleteCerts(){  getSelectedCerts();    var pkiParams;  pkiParams = Components.classes[nsPKIParamBlock].getService(nsIPKIParamBlock);  var dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);    var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var selTab = document.getElementById('certMgrTabbox').selectedTab;  var selTabID = selTab.getAttribute('id');  if (selTabID == 'mine_tab')   {    dialogParams.SetString(1,bundle.GetStringFromName("deleteUserCertFlag"));  }   else if (selTabID == "websites_tab")   {    dialogParams.SetString(1,bundle.GetStringFromName("deleteSslCertFlag"));  }   else if (selTabID == "ca_tab")   {    dialogParams.SetString(1,bundle.GetStringFromName("deleteCaCertFlag"));  }  else  {    return;  }  var numcerts = selected_certs.length;  dialogParams.SetInt(2,numcerts);  for (var t=0; t<numcerts; t++)   {    var cert = selected_certs[t];    pkiParams.setISupportAtIndex(t+1, cert);    }     window.openDialog('chrome://pippki/content/deletecert.xul', "",                'chrome,resizable=1,modal',pkiParams);   ReloadCerts();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9a751cc6a6c0811452a7fbb683fe7fd5ccaad964/certManager.js/buggy/security/manager/pki/resources/content/certManager.js