Bug 691580 - enable events/test_focus_contextmenu.html tests and logging

This commit is contained in:
Alexander Surkov 2012-09-25 11:28:00 +09:00
parent 873656691a
commit 660da3e6c8
2 changed files with 4 additions and 7 deletions

View File

@ -101,7 +101,7 @@
var gQueue = null;
//gA11yEventDumpID = "eventdump"; // debug stuff
gA11yEventDumpToConsole = true;
//gA11yEventDumpToConsole = true;
function doTests()
{

View File

@ -47,12 +47,9 @@
gQueue.push(new synthDownKey("contextmenu", new focusChecker("item1")));
gQueue.push(new synthDownKey("item1", new focusChecker("item2")));
gQueue.push(new synthRightKey("item2", new focusChecker("item2.1")));
if (WIN) {
todo(false, "item2.1 and item2 fail too frequently on Windows, bug 691580");
} else {
gQueue.push(new synthEscapeKey("item2.1", new focusChecker("item2")));
gQueue.push(new synthEscapeKey("item2", new focusChecker("button")));
}
gQueue.push(new synthEscapeKey("item2.1", new focusChecker("item2")));
gQueue.push(new synthEscapeKey("item2", new focusChecker("button")));
gQueue.invoke(); // Will call SimpleTest.finish();
}