summaryrefslogtreecommitdiff
path: root/layout/tools
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-26 10:28:17 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-26 10:28:17 +0100
commit90773547e74b5c03a5bb60b9c156f987c73b3dcc (patch)
treeb5f6105a5cb9dff45bb1737a9d6f543a73747ef0 /layout/tools
parent282b791acb826de9b537fce88bf49472d8e19977 (diff)
downloaduxp-90773547e74b5c03a5bb60b9c156f987c73b3dcc.tar.gz
Issue #1360 - Part 2: Update tests for changed preferences.
Diffstat (limited to 'layout/tools')
-rw-r--r--layout/tools/reftest/reftestcommandline.py3
-rw-r--r--layout/tools/reftest/runreftest.py5
2 files changed, 2 insertions, 6 deletions
diff --git a/layout/tools/reftest/reftestcommandline.py b/layout/tools/reftest/reftestcommandline.py
index da76fbd9a7..f983be528d 100644
--- a/layout/tools/reftest/reftestcommandline.py
+++ b/layout/tools/reftest/reftestcommandline.py
@@ -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):
diff --git a/layout/tools/reftest/runreftest.py b/layout/tools/reftest/runreftest.py
index 7845903bd3..7061b16ca5 100644
--- a/layout/tools/reftest/runreftest.py
+++ b/layout/tools/reftest/runreftest.py
@@ -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 \