Bug 1244248: Fix lint issue in test.
authorDave Townsend <dtownsend@oxymoronical.com>
Wed, 16 Mar 2016 10:28:21 -0700
changeset 341226 70f6fa801977779676eb46ee9531022c491b8089
parent 341225 4f18cd7a0bc81ce85d0668c86e66156455d9cb84
child 341227 788dc80bedb969ec7fd54626d2a9d637007fd633
child 341498 14712d1923d4aed10b8bd23dde4f2980101d83c1
push id13172
push userdtownsend@mozilla.com
push dateWed, 16 Mar 2016 19:41:48 +0000
bugs1244248
milestone48.0a1
Bug 1244248: Fix lint issue in test. MozReview-Commit-ID: GOnZxDfzU61
toolkit/mozapps/extensions/test/xpcshell/test_cache_certdb.js
--- a/toolkit/mozapps/extensions/test/xpcshell/test_cache_certdb.js
+++ b/toolkit/mozapps/extensions/test/xpcshell/test_cache_certdb.js
@@ -55,17 +55,17 @@ function overrideCertDB() {
     if (typeof realCertDB[property] == "function") {
       fakeCertDB[property] = realCertDB[property].bind(realCertDB);
     }
   }
 
   let certDBFactory = {
     createInstance: function(outer, iid) {
       if (outer != null) {
-        throw Cr.NS_ERROR_NO_AGGREGATION;
+        throw Components.results.NS_ERROR_NO_AGGREGATION;
       }
       return fakeCertDB.QueryInterface(iid);
     }
   };
   registrar.registerFactory(CERTDB_CID, "CertDB",
                             CERTDB_CONTRACTID, certDBFactory);
 }