mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 621399, modal dialog focus tests sometimes fail on Windows 8 so disable them there
This commit is contained in:
parent
bdd3dd3ed0
commit
40012e4353
@ -1127,9 +1127,16 @@ function otherWindowFocused(otherWindow)
|
||||
|
||||
otherWindow.close();
|
||||
|
||||
// next, check modal dialogs
|
||||
getById("n2").focus();
|
||||
var nextWindow = window.openDialog("focus_window2.xul", "_blank", "chrome,modal", modalWindowOpened);
|
||||
|
||||
// next, check modal dialogs
|
||||
// XXXndeakin Bug 621399 - modal dialog test sometimes fails on Windows 8 so disable it.
|
||||
if (navigator.userAgent.indexOf("Windows NT 6.2") >= 0) {
|
||||
window.open("focus_frameset.html", "_blank", "width=400,height=400,toolbar=no");
|
||||
}
|
||||
else {
|
||||
window.openDialog("focus_window2.xul", "_blank", "chrome,modal", modalWindowOpened);
|
||||
}
|
||||
}
|
||||
|
||||
function modalWindowOpened(modalWindow)
|
||||
|
Loading…
Reference in New Issue
Block a user