Bug 945828 - Work around bug 945756. r=luke

This commit is contained in:
Andy Wingo 2013-12-03 19:04:25 +01:00
parent 4bbd03c2c4
commit 503fe9a5f9

View File

@ -362,9 +362,8 @@ add_task(function test_history_expiration()
yield list.add(downloadTwo);
// Force a history expiration.
let expire = Cc["@mozilla.org/places/expiration;1"]
.getService(Ci.nsIObserver);
expire.observe(null, "places-debug-start-expiration", -1);
Cc["@mozilla.org/places/expiration;1"]
.getService(Ci.nsIObserver).observe(null, "places-debug-start-expiration", -1);
// Wait for both downloads to be removed.
yield deferred.promise;