Bug 1299871 - Increase leak threshold on OS X to paper over increased layers leak. r=erahm draft
authorAndrew McCreight <continuation@gmail.com>
Thu, 01 Sep 2016 11:04:09 -0700
changeset 408861 e63d143643a35724813c28ba2c6177d9916cef03
parent 407716 62c752776bc70705d5aaeedc9e2aa379ccc72d15
child 530187 8ad8145036b4d1d35ad6d71e63be0a73daf329cf
push id28297
push userbmo:continuation@gmail.com
push dateThu, 01 Sep 2016 18:08:58 +0000
reviewerserahm
bugs1299871
milestone51.0a1
Bug 1299871 - Increase leak threshold on OS X to paper over increased layers leak. r=erahm MozReview-Commit-ID: 2QQa5uxmO5J
testing/mochitest/mochitest_options.py
--- a/testing/mochitest/mochitest_options.py
+++ b/testing/mochitest/mochitest_options.py
@@ -772,16 +772,21 @@ class MochitestArguments(ArgumentContain
 
         options.leakThresholds = {
             "default": options.defaultLeakThreshold,
             "tab": 10000,  # See dependencies of bug 1051230.
             # GMP rarely gets a log, but when it does, it leaks a little.
             "geckomediaplugin": 20000,
         }
 
+        # Bug 1293324 - OSX 10.10 sometimes leaks a little more
+        # graphics layers stuff in the content process.
+        if mozinfo.isMac:
+            options.leakThresholds["tab"] = 12000
+
         # XXX We can't normalize test_paths in the non build_obj case here,
         # because testRoot depends on the flavor, which is determined by the
         # mach command and therefore not finalized yet. Conversely, test paths
         # need to be normalized here for the mach case.
         if options.test_paths and build_obj:
             # Normalize test paths so they are relative to test root
             options.test_paths = [build_obj._wrap_path_argument(p).relpath()
                                   for p in options.test_paths]