Bug 427142 - sporadic test failure on bm-win2k3-pgo01 (WALLPAPER, for mak77@supereva.it, r=dietrich, a=mconnor)

This commit is contained in:
dietrich@mozilla.com 2008-04-10 13:06:11 -07:00
Родитель 84786b4aa5
Коммит d4157f3326
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -124,6 +124,9 @@ function run_test() {
// test live update of lastModified caused by other changes:
// set title (causing update of last modified)
var oldLastModified = bmsvc.getItemLastModified(bookmarkId);
// This double call to setItemTitle is a temporary hack to workaround a
// timing bug on virtual machines. See bug 427142 for details.
bmsvc.setItemTitle(bookmarkId, "Google");
bmsvc.setItemTitle(bookmarkId, "Google");
// test that lm is updated
do_check_neq(oldLastModified, childNode.lastModified);