Bug 1316283 - Fix eslint error. r=me draft
authorJonathan Hao <jhao@mozilla.com>
Tue, 29 Nov 2016 18:33:50 +0800
changeset 445782 565fb7e7b9f2e593a3d603abd72c6d64303ee125
parent 445173 e10216124e22219b02c4f2cb57de27575be2ee57
child 445783 ba6ee6a2c91178f260ef84a5b557671fea9e96b1
child 446266 5c88fcc667a13994983a601b8b9ee2bf8c5892ad
push id37608
push userbmo:jhao@mozilla.com
push dateWed, 30 Nov 2016 08:00:53 +0000
reviewersme
bugs1316283
milestone52.0a1
Bug 1316283 - Fix eslint error. r=me
security/manager/ssl/tests/unit/head_psm.js
--- a/security/manager/ssl/tests/unit/head_psm.js
+++ b/security/manager/ssl/tests/unit/head_psm.js
@@ -269,17 +269,17 @@ function getSSLStatistics() {
                              { "hch_sid_stateless_resumes": ctypes.long },
                              { "hch_sid_ticket_parse_failures": ctypes.long }]);
   let SSL3StatisticsPtr = new ctypes.PointerType(SSL3Statistics);
   let SSL_GetStatistics = null;
   try {
     SSL_GetStatistics = _getLibraryFunctionWithNoArguments("SSL_GetStatistics",
                                                            "ssl3",
                                                            SSL3StatisticsPtr);
-  } catch(e) {
+  } catch (e) {
     // On Windows, this is actually in the nss3 library.
     SSL_GetStatistics = _getLibraryFunctionWithNoArguments("SSL_GetStatistics",
                                                            "nss3",
                                                            SSL3StatisticsPtr);
   }
   if (!SSL_GetStatistics) {
     throw new Error("Failed to get SSL statistics");
   }