Bug 756885 - Bail out of test_bug624329.xul early on 10.9, where win.maximize() gives us a resize without actually maximizing

This commit is contained in:
Phil Ringnalda 2013-12-03 20:22:45 -08:00
Родитель 98daee98b9
Коммит 426976106b
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -56,9 +56,10 @@ function childFocused() {
function childResized() {
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
if (isOSXLion || isOSXMtnLion) {
const isOSXMavericks = navigator.userAgent.indexOf("Mac OS X 10.9") != -1;
if (isOSXLion || isOSXMtnLion || isOSXMavericks) {
todo_is(win.windowState, win.STATE_MAXIMIZED,
"A resize before being maximized breaks this test on 10.7 and 10.8");
"A resize before being maximized breaks this test on 10.7 and 10.8 and 10.9");
finish();
return;
}