Bug 658738 - Schedule final GC before finishing the browser-chrome test suite. r=gavin

This commit is contained in:
Dão Gottwald 2011-07-06 08:15:52 +02:00
parent 679a65fe47
commit d32c061be8

View File

@ -199,7 +199,9 @@ Tester.prototype = {
// is invoked to start the tests.
this.waitForWindowsState((function () {
if (this.done) {
this.finish();
// Schedule GC before finishing in order to be able to report an accurate
// DOM window count at the end of this test suite.
Cu.schedulePreciseGC(this.finish.bind(this));
return;
}