summaryrefslogtreecommitdiffstats
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-04-14 12:14:27 +0200
commitf1e40aaa5b974b2b6bbfed82eeda031dd1d04904 (patch)
tree14796cce1f616133cb5586713afef68bbb7112a5 /layout/tools
parent068372c618726edc5eb1a519c99fe438fbcbe944 (diff)
downloadUXP-f1e40aaa5b974b2b6bbfed82eeda031dd1d04904.tar
UXP-f1e40aaa5b974b2b6bbfed82eeda031dd1d04904.tar.gz
UXP-f1e40aaa5b974b2b6bbfed82eeda031dd1d04904.tar.lz
UXP-f1e40aaa5b974b2b6bbfed82eeda031dd1d04904.tar.xz
UXP-f1e40aaa5b974b2b6bbfed82eeda031dd1d04904.zip
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 da76fbd9a..f983be528 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 7845903bd..7061b16ca 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 \