mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix test for bug 474056 to run on non-Windows 7 machines.
--HG-- extra : rebase_source : 8d1c5f3f8dd4e9df22c60a0694b712454b7e7077
This commit is contained in:
parent
3cf96a5d64
commit
d67aeb5e4d
@ -2,10 +2,10 @@ function test() {
|
|||||||
waitForExplicitFinish();
|
waitForExplicitFinish();
|
||||||
|
|
||||||
// Cannot do anything if the taskbar service is not available
|
// 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
|
// Entire feature is disabled
|
||||||
if (!AeroPeek.available)
|
if (!("AeroPeek" in window))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
gPrefService.setBoolPref("aeropeek.enable", true);
|
gPrefService.setBoolPref("aeropeek.enable", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user