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 140868 21bc76970edc2d75d954adfdd12f05142a5d371d
parent 140867 c46dfdd8d90c5e7c7a36ee3a219bbc985cb526c2
child 140869 6e7d9cb277609f3ace0fb2c35707257e4e4f917f
push id31900
push useryhuang@mozilla.com
push dateThu, 01 Aug 2013 02:45:26 +0000
treeherdermozilla-inbound@21bc76970edc [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();
   }