Bug 544170 - [SeaMonkey 2.1] mochitest-a11y: tree/test_tabbrowser.xul fails, due to "tabbrowser API" dependencies and different application UIs; (Cv1) Add SimpleTest.executeSoon() fwiw.

r=surkov.alexander (a=test-only).
This commit is contained in:
Serge Gautherie 2011-03-21 17:27:43 +01:00
Родитель d2f9ee3025
Коммит 319cebe9e7
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -56,7 +56,7 @@
if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP) {
tabBrowser.removeProgressListener(progressListener);
testAccTree();
SimpleTest.executeSoon(testAccTree);
}
}
};
@ -71,9 +71,9 @@
{
var tabBrowser = document.getElementById("tabbrowser");
//////////
////////////////////
// Tab bar
//////////
////////////////////
var tabsAccTree = {
// xul:tabs
role: ROLE_PAGETABLIST,
@ -160,9 +160,9 @@
testAccessibleTree(tabBrowser.tabContainer, tabsAccTree);
//////////
////////////////////
// Tab contents
//////////
////////////////////
var tabboxAccTree = {
// xul:tabpanels
role: ROLE_PANE,