mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 639705 - update test_fullscreen-api.html hacks to cover OS X 10.10 too
This commit is contained in:
parent
c36f2b7b3f
commit
51649256cf
@ -57,6 +57,7 @@ var gTestIndex = 0;
|
||||
const isWinXP = navigator.userAgent.indexOf("Windows NT 5.1") != -1;
|
||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
||||
const isOSXYosemite = navigator.userAgent.indexOf("Mac OS X 10.10") != -1;
|
||||
|
||||
function nextTest() {
|
||||
if (isWinXP) {
|
||||
@ -66,7 +67,7 @@ function nextTest() {
|
||||
}
|
||||
if (testWindow) {
|
||||
testWindow.close();
|
||||
if (isOSXLion || isOSXMtnLion) {
|
||||
if (isOSXLion || isOSXMtnLion || isOSXYosemite) {
|
||||
// On OS X Lion, tests cause problems. Timeouts are a bad way to get around
|
||||
// the problem and may lead to future [orange], but they are the only option
|
||||
// at this point.
|
||||
@ -98,7 +99,7 @@ function runNextTest() {
|
||||
}
|
||||
}
|
||||
|
||||
if (isOSXLion || isOSXMtnLion) {
|
||||
if (isOSXLion || isOSXMtnLion || isOSXYosemite) {
|
||||
todo(false, "Can't reliably run full-screen tests on OS X (bug 900453 comment 18 & bug 802504)");
|
||||
} else {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user