mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 756885 - Bail out of test_bug624329.xul early on 10.10, where win.maximize() gives us a resize without actually maximizing
This commit is contained in:
parent
fd372c5c98
commit
c36f2b7b3f
@ -57,9 +57,10 @@ function childResized() {
|
||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
||||
const isOSXMavericks = navigator.userAgent.indexOf("Mac OS X 10.9") != -1;
|
||||
if (isOSXLion || isOSXMtnLion || isOSXMavericks) {
|
||||
const isOSXYosemite = navigator.userAgent.indexOf("Mac OS X 10.10") != -1;
|
||||
if (isOSXLion || isOSXMtnLion || isOSXMavericks || isOSXYosemite) {
|
||||
todo_is(win.windowState, win.STATE_MAXIMIZED,
|
||||
"A resize before being maximized breaks this test on 10.7 and 10.8 and 10.9");
|
||||
"A resize before being maximized breaks this test on 10.7 and 10.8 and 10.9 and 10.10");
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user