Bug 863716 - Do a CC and a second GC between each subtest of test_webgl_conformance_test_suite.html to minimize the OOM kills of WinXP slaves, r=bjacob

This commit is contained in:
Phil Ringnalda 2013-05-05 12:17:11 -07:00
parent fedf6c0df7
commit 628e83be29
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1 @@
conformance/more/conformance/quickCheckAPI-B2.html
conformance/more/conformance/quickCheckAPI-B3.html
conformance/more/functions/bufferSubDataBadArgs.html

View File

@ -312,6 +312,8 @@ function start() {
// The explanation is that the JS engine keeps unreferenced WebGL contexts around
// for too long before GCing (bug 617453), so that during this mochitest dozens of unreferenced
// WebGL contexts can accumulate at a given time.
SpecialPowers.DOMWindowUtils.cycleCollect();
SpecialPowers.DOMWindowUtils.garbageCollect();
SpecialPowers.DOMWindowUtils.garbageCollect();
var page = this.pagesByURL[url];