зеркало из https://github.com/mozilla/gecko-dev.git
Bug 756885 - Bail out of test_bug624329.xul early on 10.7, where win.maximize() gives us a resize without actually maximizing, r=karlt
This commit is contained in:
Родитель
8a2f6350ad
Коммит
f7da0ff83e
|
@ -54,6 +54,14 @@ function childFocused() {
|
|||
}
|
||||
|
||||
function childResized() {
|
||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
||||
if (isOSXLion) {
|
||||
todo_is(win.windowState, win.STATE_MAXIMIZED,
|
||||
"A resize before being maximized breaks this test on 10.7");
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
is(win.windowState, win.STATE_MAXIMIZED,
|
||||
"window should be maximized");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче