Fix xpcshell failure from bug 468246 revealed by bug 613516 [a=bustage] landed on a CLOSED TREE
authorPaul O’Shannessy <paul@oshannessy.com>
Mon, 29 Nov 2010 20:57:30 -0500
changeset 58358 d1fe3a682617a286f7d25e4aef53cdab9165cd44
parent 58357 9231797ba1062b8fc8138389e4439307541a7dd5
child 58359 00fb5565fc30d1ff66e68e2d065c2602d9ed9b5d
child 58688 434707528003f7fb7dd84629ff1e643d51b76a42
push id17262
push usereakhgari@mozilla.com
push dateTue, 30 Nov 2010 01:57:58 +0000
treeherdermozilla-central@d1fe3a682617 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs468246, 613516
milestone2.0b8pre
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
Fix xpcshell failure from bug 468246 revealed by bug 613516 [a=bustage] landed on a CLOSED TREE
netwerk/test/unit/test_bug468426.js
--- a/netwerk/test/unit/test_bug468426.js
+++ b/netwerk/test/unit/test_bug468426.js
@@ -56,17 +56,17 @@ function triggerNextTest() {
 
 function checkValueAndTrigger(request, data, ctx) {
     do_check_eq(tests[index].expected, data);
 
     if (index < tests.length - 1) {
         index++;
         // This call happens in onStopRequest from the channel. Opening a new
         // channel to the same url here is no good idea!  Post it instead...
-        do_timeout(1, "triggerNextTest();");
+        do_timeout(1, triggerNextTest);
     } else {
         httpserver.stop(do_test_finished);
     }
 }
 
 function run_test() {
     httpserver.registerPathHandler("/bug468426", handler);
     httpserver.start(4444);