Closed Bug 1286067 Opened 8 years ago Closed 8 years ago

second test case in test_fallback_cipher.js added for bug 1284840 is missing a parameter

Categories

(Core :: Security: PSM, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: keeler, Assigned: keeler)

References

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

https://hg.mozilla.org/mozilla-central/diff/e3dcf062007e/security/manager/ssl/tests/unit/test_fallback_cipher.js :

--- a/security/manager/ssl/tests/unit/test_fallback_cipher.js
+++ b/security/manager/ssl/tests/unit/test_fallback_cipher.js
@@ -219,21 +219,27 @@ add_task(function* () {
   // So we will see the crafted NS_ERROR_NET_RESET when we use
   // nsISocketTransport directly.
   yield startClient("server: fallback only, client: fallback enabled, public",
                     port, getXPCOMStatusFromNSS(SSL_ERROR_NO_CYPHER_OVERLAP),
                     {allowReset: true});
   // retry manually to simulate the HTTP layer
   yield startClient("server: fallback only, client: fallback enabled retry, public",
                     port, Cr.NS_OK);
+  // make sure that we remember the TLS intolerance
+  yield startClient("server: fallback only, client: second try after fallback success, public",
+                    port, Cr.NS_OK);
   yield startClient("server: fallback only, client: fallback enabled, private",
                     port, getXPCOMStatusFromNSS(SSL_ERROR_NO_CYPHER_OVERLAP),
                     {isPrivate: true, allowReset: true});
   yield startClient("server: fallback only, client: fallback enabled retry, private",
                     port, Cr.NS_OK, {isPrivate: true});
+  // make sure that we remember the TLS intolerance
+  yield startClient("server: fallback only, client: second try after fallback success, private",
+                    port, Cr.NS_OK);
 });
 
 do_register_cleanup(function() {
   do_print("reset modified prefs");
   for (let pref of fallback_cipher_prefs) {
     Services.prefs.clearUserPref(pref);
   }
 });

I think the second added test case is missing a {isPrivate: true} parameter at the end.
Attachment #8769892 - Flags: review?(VYV03354) → review+
Comment on attachment 8769892 [details]
bug 1286067 - add missing parameter for second test case added in bug 1284840

https://reviewboard.mozilla.org/r/63566/#review60444

Oops.
Pushed by dkeeler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2ec523b5fdd7
add missing parameter for second test case added in bug 1284840 r=emk
https://hg.mozilla.org/mozilla-central/rev/2ec523b5fdd7
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: