From 8a515d68b5faf63e44489c6852d51e7c830e4ef8 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Wed, 26 Jan 2011 17:07:28 +0100 Subject: [PATCH] Bug 628890 - mochitests-2: test_bug509055.html should not call SimpleTest.finish() before it actually has; (Av1) Wrap the call in SimpleTest.executeSoon() (ftb). r=Olli.Pettay a=(test-only). --- docshell/test/test_bug509055.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docshell/test/test_bug509055.html b/docshell/test/test_bug509055.html index 1cc4653794c9..c972999eb92f 100644 --- a/docshell/test/test_bug509055.html +++ b/docshell/test/test_bug509055.html @@ -83,7 +83,7 @@ function runTest() { popup.close(); - SimpleTest.finish(); + SimpleTest.executeSoon(SimpleTest.finish); dump('Final yield.\n'); yield; }