Bug 1119784 - Fix SSL error message in testSSLDisabledErrorPage.js r=amatei, r=mvelimiroviciu, r=hskupin mozilla-esr31 tip
authorTeodor Druta <teodor.druta@softvision.ro>
Fri, 09 Jan 2015 16:39:38 +0200
branchmozilla-esr31
changeset 4786 d76a2a8414e38cf42ceb489025d429e13ccb4c29
parent 4785 4234a257a9921ac3765fd7a8fbc29f3c25675e7d
push id4292
push userhskupin@mozilla.com
push dateThu, 25 Jun 2015 11:33:33 +0000
reviewersamatei, mvelimiroviciu, hskupin
bugs1119784
Bug 1119784 - Fix SSL error message in testSSLDisabledErrorPage.js r=amatei, r=mvelimiroviciu, r=hskupin
firefox/tests/remote/testSecurity/testSSLDisabledErrorPage.js
--- a/firefox/tests/remote/testSecurity/testSSLDisabledErrorPage.js
+++ b/firefox/tests/remote/testSecurity/testSSLDisabledErrorPage.js
@@ -56,14 +56,14 @@ var testDisableSSL = function() {
   // Verify "Try Again" button appears
   var tryAgain = new elementslib.ID(controller.tabs.activeTab, "errorTryAgain");
   assert.ok(tryAgain.exists(), "'Try again' button has been found");
 
   // Verify the error message is correct
   var text = new elementslib.ID(controller.tabs.activeTab, "errorShortDescText");
   controller.waitForElement(text);
 
-  expect.contain(text.getNode().textContent, 'ssl_error_no_cypher_overlap',
+  expect.contain(text.getNode().textContent, 'ssl_error_unsupported_version',
                  "The SSL error message contains disabled information");
 
   expect.contain(text.getNode().textContent, 'mozqa.com',
                  "The SSL error message contains domain name");
 }