Bug 1316283 - Fix eslint error. r=me a=tomcat
authorJonathan Hao <jhao@mozilla.com>
Tue, 29 Nov 2016 02:36:00 +0100
changeset 324633 78c7d1d195f0e386984642333b0ac0fcbe727b07
parent 324632 d268ffed16a3baff393dba05c2c9a2a404e0bd48
child 324634 d2870bba7114e3502026d4764b259b1f7c09cfdb
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersme, tomcat
bugs1316283
milestone53.0a1
Bug 1316283 - Fix eslint error. r=me a=tomcat
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");
   }