From 0f542a18748fb3aa4e8fbe332560d149c7f2e9fc Mon Sep 17 00:00:00 2001 From: Marco Bonardo Date: Fri, 21 Aug 2009 22:37:05 +0200 Subject: [PATCH] Bug 510464 - re-enable and fix randomly failing test_419731.js, r=dietrich --- toolkit/components/places/tests/unit/test_419731.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolkit/components/places/tests/unit/test_419731.js b/toolkit/components/places/tests/unit/test_419731.js index dc6d86bbfe1..d8d56bea136 100644 --- a/toolkit/components/places/tests/unit/test_419731.js +++ b/toolkit/components/places/tests/unit/test_419731.js @@ -66,9 +66,6 @@ try { // main function run_test() { - // TODO bug 442778 - re-enable test once PR_Now() issue is resolved - return; - var uri1 = uri("http://foo.bar/"); // create 2 bookmarks @@ -113,6 +110,9 @@ function run_test() { // change bookmark 2 title bmsvc.setItemTitle(bookmark2id, "new title 2"); + // Workaround VM timers issues. + var bookmark1LastMod = bmsvc.getItemLastModified(bookmark1id); + bmsvc.setItemLastModified(bookmark2id, bookmark1LastMod + 1); // check that tag container contains new title options = histsvc.getNewQueryOptions();