From 15bab4d947272e293a022ac49e0a233d68e4232e Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sat, 2 Mar 2013 10:15:55 +0100 Subject: [PATCH] Bug 846096 - Try harder to get a CC before this test finished. --- toolkit/content/tests/chrome/test_bug451286.xul | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolkit/content/tests/chrome/test_bug451286.xul b/toolkit/content/tests/chrome/test_bug451286.xul index bd8f81366fe4..2befee2cf0f6 100644 --- a/toolkit/content/tests/chrome/test_bug451286.xul +++ b/toolkit/content/tests/chrome/test_bug451286.xul @@ -47,7 +47,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=451286 function doFinish() { // Garbage collect objects created in this test can cause // assertions, so GC now to blame those assertions to this test. - SpecialPowers.gc(); + SpecialPowers.forceGC(); + SpecialPowers.forceCC(); SimpleTest.finish(); }