Bug 663344 - follow-up to fix downloads/test/unit/test_history_expiration.js

This commit is contained in:
Marco Bonardo 2011-06-16 17:00:00 +02:00
parent 6b35a8230e
commit 781b650be9

View File

@ -126,7 +126,7 @@ function run_test()
// Force a history expiration.
let expire = Cc["@mozilla.org/places/expiration;1"].getService(Ci.nsIObserver);
expire.observe(null, "places-debug-start-expiration", null);
expire.observe(null, "places-debug-start-expiration", -1);
// Expiration happens on a timeout, about 3.5s after we set the pref
do_test_pending();