Issue #1360 - Part 2: Update tests for changed preferences.

This commit is contained in:
wolfbeast 2020-01-26 10:28:17 +01:00 committed by Roy Tam
commit 71fdf2f56b
11 changed files with 12 additions and 25 deletions

View file

@ -323,7 +323,8 @@ class DesktopArgumentsParser(ReftestArgumentsParser):
def _prefs_gpu(self):
if mozinfo.os != "win":
return ["layers.acceleration.force-enabled=true"]
return ["layers.acceleration.enabled=true",
"layers.acceleration.force=true"]
return []
def validate(self, options, reftest):

View file

@ -287,11 +287,6 @@ class RefTest(object):
prefs['browser.tabs.remote.autostart'] = True
prefs['extensions.e10sBlocksEnabling'] = False
# Bug 1262954: For winXP + e10s disable acceleration
if platform.system() in ("Windows", "Microsoft") and \
'5.1' in platform.version() and options.e10s:
prefs['layers.acceleration.disabled'] = True
# Bug 1300355: Disable canvas cache for win7 as it uses
# too much memory and causes OOMs.
if platform.system() in ("Windows", "Microsoft") and \