Another fix for the failing test

This commit is contained in:
Raymond Lee 2010-08-09 15:47:52 +08:00
Родитель ae4b91285d
Коммит 07e71b8ac5
1 изменённых файлов: 6 добавлений и 3 удалений

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

@ -70,11 +70,14 @@ function addTest(contentWindow, groupOneId, groupTwoId) {
"The number of children in group one is decreased by 1"); "The number of children in group one is decreased by 1");
is(groupTwo.getChildren().length, ++groupTwoTabItemCount, is(groupTwo.getChildren().length, ++groupTwoTabItemCount,
"The number of children in group two is increased by 1"); "The number of children in group two is increased by 1");
let onTabViewHidden = function() {
groupTwo.closeAll();
finish();
};
window.addEventListener("tabviewhidden", onTabViewHidden, false);
TabView.toggle(); TabView.toggle();
groupTwo.closeAll();
finish();
} }
function simulateDragDrop(srcElement, offsetX, offsetY, contentWindow) { function simulateDragDrop(srcElement, offsetX, offsetY, contentWindow) {