Bug 1425330 - Part 1 - set up talos configurations for tart and ts_paint with XUL flexbox emulation;r=rwood draft
authorBrian Grinstead <bgrinstead@mozilla.com>
Tue, 30 Jan 2018 15:17:47 -0800
changeset 749138 653f5c7fb0022e64384983d33d7ab0a809a1396c
parent 748899 fd995039d89708923b5673ecebc652967d40bd4e
child 749139 057beb5895176063c1d36286d49160c125d1b8d7
push id97323
push userbgrinstead@mozilla.com
push dateTue, 30 Jan 2018 23:18:03 +0000
reviewersrwood
bugs1425330
milestone60.0a1
Bug 1425330 - Part 1 - set up talos configurations for tart and ts_paint with XUL flexbox emulation;r=rwood MozReview-Commit-ID: 7hl8cafIaSz
testing/talos/talos.json
testing/talos/talos/test.py
--- a/testing/talos/talos.json
+++ b/testing/talos/talos.json
@@ -17,16 +17,19 @@
         "dromaeojs-profiling-e10s": {
             "talos_options": ["--geckoProfile"],
             "tests": ["dromaeo_css", "kraken"]
         },
         "dromaeojs-stylo-disabled-e10s": {
             "talos_options": ["--disable-stylo"],
             "tests": ["dromaeo_css", "kraken"]
         },
+        "flex-e10s": {
+            "tests": ["tart_flex", "ts_paint_flex"]
+        },
         "other-e10s": {
             "tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_many_windows", "sessionrestore_no_auto_restore", "tabpaint", "cpstartup"]
         },
         "other-profiling-e10s": {
             "talos_options": ["--geckoProfile"],
             "tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_many_windows", "sessionrestore_no_auto_restore", "tabpaint", "cpstartup"]
         },
         "other-stylo-disabled-e10s": {
--- a/testing/talos/talos/test.py
+++ b/testing/talos/talos/test.py
@@ -157,16 +157,21 @@ class ts_paint_webext(ts_paint):
 class ts_paint_heavy(ts_paint):
     """
     ts_paint test ran against a heavy-user profile
     """
     profile = 'simple'
 
 
 @register_test()
+class ts_paint_flex(ts_paint):
+    preferences = {'layout.css.emulate-moz-box-with-flex': True}
+
+
+@register_test()
 class sessionrestore(TsBase):
     """
     A start up test measuring the time it takes to load a sessionstore.js file.
 
     1. Set up Firefox to restore from a given sessionstore.js file.
     2. Launch Firefox.
     3. Measure the delta between firstPaint and sessionRestored.
     """
@@ -394,16 +399,21 @@ class tart(PageloaderTest):
     preferences = {'layout.frame_rate': 0,
                    'docshell.event_starvation_delay_hint': 1,
                    'dom.send_after_paint_to_content': False}
     filters = filter.ignore_first.prepare(1) + filter.median.prepare()
     unit = 'ms'
 
 
 @register_test()
+class tart_flex(tart):
+    preferences = {'layout.css.emulate-moz-box-with-flex': True}
+
+
+@register_test()
 class cart(PageloaderTest):
     """
     Customize Animation Regression Test
     Tests Australis customize animations (default DPI scaling). Uses the
     TART addon but with a different URL.
     Reports the same animation values as TART (.half/.all/.error).
     All comments for TART also apply here (e.g. for ASAP+OMTC, etc)
     Subtests are: