Move SimpleTest.finish() after the tests complete. rs=me
authorDoug Turner <dougt@meer.net>
Wed, 09 Jul 2008 09:14:05 -0700
changeset 15761 35456868ae00f1ece8aca599367489535476fa2d
parent 15760 d1a6062275b8147969171e1b5eb1d9407d8b675d
child 15762 98e43ce43c792869c7de48e278bd6d71ace5a136
push idunknown
push userunknown
push dateunknown
reviewersme
milestone1.9.1a1pre
Move SimpleTest.finish() after the tests complete. rs=me
toolkit/spatial-navigation/tests/chrome/test_snav.xul
--- a/toolkit/spatial-navigation/tests/chrome/test_snav.xul
+++ b/toolkit/spatial-navigation/tests/chrome/test_snav.xul
@@ -67,14 +67,13 @@ function onLoad()
         moveAndVerify("DOWN", "7");
         moveAndVerify("RIGHT", "8");
         moveAndVerify("RIGHT", "9");
         moveAndVerify("UP", "6");
         moveAndVerify("UP", "3");
         moveAndVerify("LEFT", "2");
         moveAndVerify("LEFT", "1");
     }
+    SimpleTest.finish();
 }
 
-SimpleTest.finish()
-
 ]]></script>
 </window>