зеркало из https://github.com/mozilla/pjs.git
Fix test for bug 474056, persistent orange. r=trivial-bustage-fix
This commit is contained in:
Родитель
35ba5dd38b
Коммит
ec7ac9348f
|
@ -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");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче