From 5ab8028e6f515cde19aa4533d9e5e2e22db98e69 Mon Sep 17 00:00:00 2001 From: Mounir Lamouri Date: Sun, 11 Sep 2011 11:21:09 -0700 Subject: [PATCH] Bug 675201 - Attempt to wait for focus in the test before issuing keyboard events; r=ehsan --- layout/generic/test/test_bug632379.xul | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layout/generic/test/test_bug632379.xul b/layout/generic/test/test_bug632379.xul index b1d60e832b1..b023ce862bc 100644 --- a/layout/generic/test/test_bug632379.xul +++ b/layout/generic/test/test_bug632379.xul @@ -198,8 +198,7 @@ function openSubmenu() synthesizeKey("5", {}); } -SimpleTest.waitForExplicitFinish(); -addLoadEvent(doTest); +SimpleTest.waitForFocus(doTest); ]]>