Bug 518509 - [SeaMonkey] xpcshell-tests: test_expire.js fails since bug 390158 landing

r=dolske test-only
This commit is contained in:
Ian Neal 2009-09-29 22:24:18 +01:00
parent 021f8672ad
commit 8c88d90ac0

View File

@ -143,6 +143,11 @@ function run_test()
// ===== 4 =====
testnum++;
// Set formfill pref to 30 days for SeaMonkey and Thunderbird as they
// both include a default value of 180 days whereas other apps fall back
// to using the history_expire_days value.
if ("nsIMsgFolder" in Ci)
prefs.setIntPref("browser.formfill.expire_days", 30);
// Set pref to 30 days and expire.
prefs.setIntPref("browser.history_expire_days", 30);
do_check_true(fh.entryExists("179DaysOld", "foo"));