Bug 899946 - strange call to crypto.generateCRMFRequest from test_bug882865.html. r=Ms2ger
authorYoshi Huang <allstars.chh@mozilla.com>
Wed, 31 Jul 2013 18:34:14 +0800
changeset 153146 21bc76970edc2d75d954adfdd12f05142a5d371d
parent 153145 c46dfdd8d90c5e7c7a36ee3a219bbc985cb526c2
child 153147 6e7d9cb277609f3ace0fb2c35707257e4e4f917f
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs899946, 882865
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 899946 - strange call to crypto.generateCRMFRequest from test_bug882865.html. r=Ms2ger
security/manager/ssl/tests/mochitest/bugs/test_bug882865.html
--- a/security/manager/ssl/tests/mochitest/bugs/test_bug882865.html
+++ b/security/manager/ssl/tests/mochitest/bugs/test_bug882865.html
@@ -20,17 +20,17 @@
       ok(true, "no exception thrown in generateCRMFRequest");
     } catch (e) {
       ok(false, "unexpected exception: " + e);
     }
 
     var o200 = document.documentElement;
     var o1 = crypto;
     try {
-      o1.generateCRMFRequest(o200.writeln, o200, 'X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X', null, o1, 1404343237, Math.PI, []);
+      o1.generateCRMFRequest("undefined", o200, 'X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X', null, o1, 1404343237, Math.PI, []);
       ok(false, "execution should not reach this line");
     } catch (e) {
       // The 'key generation argument' in this case was an empty array,
       // which gets interpreted as an empty string.
       is(e.toString(), "Error: error:invalid key generation argument:", "expected exception");
     }
     SimpleTest.finish();
   }