Bug 619920 - TEST-UNEXPECTED-FAIL | test_download_embed_bookmarks.js

r=sdwilsh a=tests-only
This commit is contained in:
Marco Bonardo 2011-02-24 14:03:53 +01:00
Родитель 52ba1e1ec3
Коммит 4581f671dc
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -352,7 +352,10 @@ function run_test() {
if (func)
func();
ensure_results(search, expected);
// At this point frecency could still be updating due to latest pages updates.
// This is not a problem in real life, but autocomplete tests should return
// reliable resultsets, thus we have to wait.
waitForAsyncUpdates(ensure_results, this, [search, expected]);
}
// Utility function to remove history pages