Bug 708927 - Intermittent events/test_focus_menu.xul, r=tbsaunde

This commit is contained in:
Alexander Surkov 2012-10-21 23:07:11 +09:00
Родитель 052fbed287
Коммит 92dfc2a0af
1 изменённых файлов: 1 добавлений и 10 удалений

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

@ -57,14 +57,7 @@
// [ new focusChecker("vehicle"), // [ new focusChecker("vehicle"),
// new focusChecker("cycle")])); // new focusChecker("cycle")]));
gQueue.push(new synthClick("vehicle", new focusChecker("vehicle"))); gQueue.push(new synthClick("vehicle", new focusChecker("vehicle")));
gQueue.push(new synthMouseMove("cycle", new focusChecker("cycle"))); gQueue.push(new synthDownKey("cycle", new focusChecker("cycle")));
// XXXbug708927 - test times out on Linux, see more info at
// https://bugzilla.mozilla.org/show_bug.cgi?id=708927#c360. If needed
// then enable logging below.
if (LINUX) {
todo(false, "Reenable on Linux after fixing bug 708927!");
} else {
// open submenu // open submenu
gQueue.push(new synthRightKey("cycle", new focusChecker("tricycle"))); gQueue.push(new synthRightKey("cycle", new focusChecker("tricycle")));
@ -77,8 +70,6 @@
// click menuitem to close menu, focus gets back to document // click menuitem to close menu, focus gets back to document
gQueue.push(new synthClick("tricycle", new focusChecker(document))); gQueue.push(new synthClick("tricycle", new focusChecker(document)));
}
//enableLogging("focus,DOMEvents,tree"); // logging for bug708927 //enableLogging("focus,DOMEvents,tree"); // logging for bug708927
//gQueue.onFinish = function() { disableLogging(); } //gQueue.onFinish = function() { disableLogging(); }