Bug 483635 - Mochitest test_terminate.html runs fine but needs to check/report success; (Av1a) Add |ok(true, ...);|; r=bent.mozilla sr=jonas
authorSerge Gautherie <sgautherie.bz@free.fr>
Sat, 21 Mar 2009 00:38:54 +0100
changeset 26438 c049ba50ea04f5a48aefd12f6c188a64c575aa71
parent 26437 ecb3f8997a38979a44faa24de5471d56827cf0b0
child 26440 49d7fee2e9b4579fc960cb9584b70a8ec8053fb2
push id6067
push usersgautherie.bz@free.fr
push dateFri, 20 Mar 2009 23:40:32 +0000
treeherdermozilla-central@c049ba50ea04 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent.mozilla, jonas
bugs483635
milestone1.9.2a1pre
Bug 483635 - Mochitest test_terminate.html runs fine but needs to check/report success; (Av1a) Add |ok(true, ...);|; r=bent.mozilla sr=jonas
dom/src/threads/test/test_terminate.html
--- a/dom/src/threads/test/test_terminate.html
+++ b/dom/src/threads/test/test_terminate.html
@@ -24,16 +24,17 @@ Tests of DOM Worker terminate feature
 
   function maybeFinish() {
     if (count) {
       count = 0;
       return;
     }
 
     clearInterval(interval);
+    ok(true, "no more messages");
     SimpleTest.finish();
   }
 
   worker.onmessage = function(event) {
     if (event.data == "Still alive!") {
       count++;
       if (!interval && count == 20) {
         worker.terminate();