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:
Phil Ringnalda 2015-01-14 22:30:04 -08:00
parent fd372c5c98
commit c36f2b7b3f

View File

@ -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;
}