From 3f96c351ea10fce915d3d8c8caa8b408ba83ea97 Mon Sep 17 00:00:00 2001 From: Neil Deakin Date: Fri, 26 Jun 2009 07:29:44 -0400 Subject: [PATCH] Bug 499438, focus window so that test_close_download_manager.xul doesn't fail on Linux, r=sdwlish --- .../downloads/tests/chrome/test_close_download_manager.xul | 1 + 1 file changed, 1 insertion(+) diff --git a/toolkit/mozapps/downloads/tests/chrome/test_close_download_manager.xul b/toolkit/mozapps/downloads/tests/chrome/test_close_download_manager.xul index bf58f27f9e0..58b30f76469 100644 --- a/toolkit/mozapps/downloads/tests/chrome/test_close_download_manager.xul +++ b/toolkit/mozapps/downloads/tests/chrome/test_close_download_manager.xul @@ -108,6 +108,7 @@ function runTest() let testObs = { observe: function(aSubject, aTopic, aData) { let win = aSubject.QueryInterface(Ci.nsIDOMWindow); + win.focus(); switch(testPhase++) { case 0: testCloseDMWithEscKey(win);