$OpenBSD$ index 685f03d..59eb6ed 100644 --- testing/mochitest/browser-test.js.orig Fri Feb 20 15:40:39 2015 +++ testing/mochitest/browser-test.js Fri Feb 20 15:40:39 2015 @@ -480,6 +480,10 @@ Tester.prototype = { TabView.uninit(); } + // Simulate memory pressure so that we're forced to free more resources + // and thus get rid of more false leaks like already terminated workers. + Services.obs.notifyObservers(null, "memory-pressure", "heap-minimize"); + // Schedule GC and CC runs before finishing in order to detect // DOM windows leaked by our tests or the tested code. Note that we // use a shrinking GC so that the JS engine will discard JIT code and