Fix test for bug 474056, persistent orange. r=trivial-bustage-fix

This commit is contained in:
Marco Bonardo 2009-10-06 14:42:04 +02:00
Родитель 35ba5dd38b
Коммит ec7ac9348f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1,6 +1,4 @@
function test() { function test() {
waitForExplicitFinish();
// Cannot do anything if the taskbar service is not available // Cannot do anything if the taskbar service is not available
ok(("AeroPeek" in window) == isWin7OrHigher(), "AeroPeek initialized when it should be"); ok(("AeroPeek" in window) == isWin7OrHigher(), "AeroPeek initialized when it should be");
@ -8,6 +6,8 @@ function test() {
if (!("AeroPeek" in window)) if (!("AeroPeek" in window))
return; return;
waitForExplicitFinish();
gPrefService.setBoolPref("aeropeek.enable", true); gPrefService.setBoolPref("aeropeek.enable", true);
is(1, AeroPeek.windows.length, "Got the expected number of windows"); is(1, AeroPeek.windows.length, "Got the expected number of windows");