зеркало из https://github.com/mozilla/pjs.git
Fix test for bug 474056 to run on non-Windows 7 machines.
--HG-- extra : rebase_source : 8d1c5f3f8dd4e9df22c60a0694b712454b7e7077
This commit is contained in:
Родитель
d2e05777dc
Коммит
a130cb2adf
|
@ -2,10 +2,10 @@ function test() {
|
|||
waitForExplicitFinish();
|
||||
|
||||
// Cannot do anything if the taskbar service is not available
|
||||
ok(AeroPeek.available == isWin7OrHigher(), "AeroPeek initialized when it should be");
|
||||
ok(("AeroPeek" in window) == isWin7OrHigher(), "AeroPeek initialized when it should be");
|
||||
|
||||
// Entire feature is disabled
|
||||
if (!AeroPeek.available)
|
||||
if (!("AeroPeek" in window))
|
||||
return;
|
||||
|
||||
gPrefService.setBoolPref("aeropeek.enable", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче