Bug 1373178 - use preflight mech to hide win 10 taskbar; r=jmaher
authorRob Thijssen <rthijssen@mozilla.com>
Mon, 09 Oct 2017 16:07:24 +0300
changeset 385104 2aa3f925ceb23ba2acd696c121ca8a89820629c6
parent 385103 06ae5ef758a20dac5b13ca40685eab4a6c62be17
child 385105 12108e68b1a4c924de93cdf217750429bf20c998
push id32646
push userarchaeopteryx@coole-files.de
push dateMon, 09 Oct 2017 21:47:29 +0000
treeherdermozilla-central@4afc55e7033c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1373178
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1373178 - use preflight mech to hide win 10 taskbar; r=jmaher MozReview-Commit-ID: 7tYL7A8Cjqi
testing/mozharness/configs/unittests/win_taskcluster_unittest.py
--- a/testing/mozharness/configs/unittests/win_taskcluster_unittest.py
+++ b/testing/mozharness/configs/unittests/win_taskcluster_unittest.py
@@ -255,17 +255,27 @@ config = {
                     'mozharness', 'external_tools', 'mouse_and_screen_resolution.py'),
                 '--configuration-file',
                 os.path.join(os.getcwd(),
                     'mozharness', 'external_tools', 'machine-configuration.json')
             ],
             'architectures': ['32bit', '64bit'],
             'halt_on_failure': True,
             'enabled': ADJUST_MOUSE_AND_SCREEN
-        }
+        },
+        {
+            'name': 'hide win 10 taskbar',
+            'cmd': [
+                'powershell', '-command',
+                '"&{$p=\'HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3\';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -ProcessName explorer}"'
+            ],
+            'architectures': ['32bit', '64bit'],
+            'halt_on_failure': True,
+            'enabled': os.environ.get('ProgramFiles(x86)', False)
+        },
     ],
     "vcs_output_timeout": 1000,
     "minidump_save_path": "%(abs_work_dir)s/../minidumps",
     "buildbot_max_log_size": 52428800,
     "default_blob_upload_servers": [
         "https://blobupload.elasticbeanstalk.com",
     ],
     "structured_suites": ["reftest"],