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.8 too
This commit is contained in:
parent
34a36c45d3
commit
2fdbc456a3
@ -52,6 +52,7 @@ var gTestIndex = 0;
|
||||
// in dom/tests/mochitest/pointerlock/test_pointerlock-api.html, which uses the same pattern.
|
||||
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;
|
||||
|
||||
function nextTest() {
|
||||
if (isWinXP) {
|
||||
@ -61,7 +62,7 @@ function nextTest() {
|
||||
}
|
||||
if (testWindow) {
|
||||
testWindow.close();
|
||||
if (isOSXLion) {
|
||||
if (isOSXLion || isOSXMtnLion) {
|
||||
// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user