Bug 1244248: Fix lint issue in test.
authorDave Townsend <dtownsend@oxymoronical.com>
Wed, 16 Mar 2016 10:28:21 -0700
changeset 289069 70f6fa801977779676eb46ee9531022c491b8089
parent 289068 4f18cd7a0bc81ce85d0668c86e66156455d9cb84
child 289070 14712d1923d4aed10b8bd23dde4f2980101d83c1
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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);
 }