Bug 547334 - test_browserhistory.js should wait for clear history. a=dietrich

This commit is contained in:
Marco Bonardo 2010-04-16 23:49:44 +02:00
parent aad834d60b
commit 2f483437e5

View File

@ -182,8 +182,10 @@ function run_test() {
// remove annotation and bookmark
annosvc.removePageAnnotation(deletedPages[bookmarkIndex], annoName);
bmsvc.removeItem(bookmark);
bhist.removeAllPages();
waitForClearHistory(continue_test);
}
function continue_test() {
/**
* removePagesByTimeframe
* Remove all pages for a given timeframe.