Bug 823342 - Update reference to renamed getRecentBadCertsService method. r=bsmith
authorJosh Matthews <josh@joshmatthews.net>
Thu, 20 Dec 2012 11:59:40 -0500
changeset 125821 0e08a2cc3b07a7d49d78fae19bbf59d7d5ee9c61
parent 125820 6b17e37a0762e50e103ac5313831101e749a7081
child 125822 f29149459b0f6f4f120055a25ca36f904989d516
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmith
bugs823342
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 823342 - Update reference to renamed getRecentBadCertsService method. r=bsmith
security/manager/pki/resources/content/exceptionDialog.js
--- a/security/manager/pki/resources/content/exceptionDialog.js
+++ b/security/manager/pki/resources/content/exceptionDialog.js
@@ -87,17 +87,17 @@ function initExceptionDialog() {
 
 // returns true if found and global status could be set
 function findRecentBadCert(uri) {
   try {
     var certDB = Components.classes["@mozilla.org/security/x509certdb;1"]
                            .getService(Components.interfaces.nsIX509CertDB);
     if (!certDB)
       return false;
-    var recentCertsSvc = certDB.getRecentBadCertsService(inPrivateBrowsingMode());
+    var recentCertsSvc = certDB.getRecentBadCerts(inPrivateBrowsingMode());
     if (!recentCertsSvc)
       return false;
 
     var hostWithPort = uri.host + ":" + uri.port;
     gSSLStatus = recentCertsSvc.getRecentBadCert(hostWithPort);
     if (!gSSLStatus)
       return false;