Bug 679271 - enable logging for accessible/events/test_tree.xul, r=marcoz

This commit is contained in:
Alexander Surkov 2011-10-06 11:10:41 +09:00
Родитель 1086b607ab
Коммит 33c8126bac
1 изменённых файлов: 18 добавлений и 2 удалений

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

@ -159,6 +159,11 @@
new rowCountChangedChecker("insertRow: ", 0, 1),
new treeInvalidatedChecker("insertRow", 0, 5, null, null)
];
this.getID = function insertRow_getID()
{
return "insert row";
}
}
/**
@ -167,7 +172,7 @@
*/
function invalidateColumn()
{
this.invoke = function()
this.invoke = function invalidateColumn_invoke()
{
// Make sure accessibles for the tree is created because it makes
// sure accessible events will be fired.
@ -193,6 +198,11 @@
new nameChangeChecker("invalidateColumn: ", 5, 0),
new treeInvalidatedChecker("invalidateColumn", null, null, 0, 0)
];
this.getID = function invalidateColumn_getID()
{
return "invalidate column";
}
}
/**
@ -202,7 +212,7 @@
*/
function invalidateRow()
{
this.invoke = function()
this.invoke = function invalidateRow_invoke()
{
// Fire 'TreeInvalidated' event by InvalidateRow()
var colCount = gTree.columns.count;
@ -221,6 +231,11 @@
new nameChangeChecker("invalidateColumn: ", 1, 1),
new treeInvalidatedChecker("invalidateColumn", 1, 1, null, null)
];
this.getID = function invalidateRow_getID()
{
return "invalidate row";
}
}
////////////////////////////////////////////////////////////////////////////
@ -232,6 +247,7 @@
var gQueue = null;
// gA11yEventDumpID = "debug";
gA11yEventDumpToConsole = true; // debuggin
function doTest()
{