Bug 460548 - Port |Bug 450983 - use leakThreshold for SeaMonkey testers| to Firefox; (Av1) Reduce |browserChrome| to 75000 from Infinity; r=ted.mielczarek

This commit is contained in:
Serge Gautherie 2008-11-20 19:09:33 +01:00
parent 07788efc74
commit 007d700b48

View File

@ -459,7 +459,8 @@ def maybeForceLeakThreshold(options):
options.leakThreshold = 0
elif options.browserChrome:
# We still leak a nondeterministic amount running browser-chrome tests.
pass
# But we are close to 0 (bug), so start to prevent/detect regressions. (Bug 460548)
options.leakThreshold = 75000
else:
# Normal Mochitests: no leaks.
options.leakThreshold = 0