mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 658738 - Schedule final GC before finishing the browser-chrome test suite. r=gavin
This commit is contained in:
parent
289351b012
commit
bb89a72b14
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user