Bug 827187 - Part 2: Fix test bustage; r=rnewman

This commit is contained in:
Gregory Szorc 2013-01-06 21:32:18 -08:00
parent 5c3b96ccdb
commit 02e8a25504

View File

@ -50,8 +50,9 @@ add_task(function test_collect_smoketest() {
do_check_eq(day.size, 1);
do_check_true(day.has("isDefaultBrowser"));
// Underlying shell service is not available in xpcshell tests.
do_check_eq(day.get("isDefaultBrowser"), -1);
// TODO Bug 827189 Actually test this properly. On some local builds, this
// is always -1 (the service throws). On buildbot, it seems to always be 0.
do_check_neq(day.get("isDefaultBrowser"), 1);
yield provider.shutdown();
yield storage.close();