Bug 483407 - Add an ok(true) to ensure we have at least one ok() statement.
authorJoe Drew <joe@drew.ca>
Tue, 12 May 2009 00:07:21 -0400
changeset 28222 d68c8315b78538d254e3304e6a3d4896d0b06022
parent 28221 57a720902b6659479d7c950aa519d7101160ccd3
child 28223 61b4f75f175a003da10a171ed85dda1e778cdb99
push id6952
push userjdrew@mozilla.com
push dateTue, 12 May 2009 04:07:43 +0000
treeherdermozilla-central@d68c8315b785 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs483407
milestone1.9.2a1pre
Bug 483407 - Add an ok(true) to ensure we have at least one ok() statement.
modules/libpr0n/test/mochitest/test_bug466586.html
--- a/modules/libpr0n/test/mochitest/test_bug466586.html
+++ b/modules/libpr0n/test/mochitest/test_bug466586.html
@@ -35,15 +35,16 @@ function loadSmall()
 function smallLoaded()
 {
   // Make sure that we don't need another load.
   var big = document.getElementById('big');
   var img = new Image();
   img.src = big.src;
 // temporarily disabled while we work out why it's failing (bug 490384)
 //  ok(img.width != 0);
+  ok(true);
 
   SimpleTest.finish();
 }
 </script>
 </pre>
 </body>
 </html>