From 2da57602ac7ef00d7701e8cc42e138f945b880a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=BClker?= Date: Wed, 15 Jan 2025 03:30:30 +0100 Subject: [PATCH] Fix ./mach test-speedometer runs (#34996) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The python code set a preference that was renamed as part of https://github.com/servo/servo/pull/34966. This fixes MQ runs which currently all fail (https://github.com/servo/servo/actions/runs/12779051326/job/35623343302) Signed-off-by: Simon Wülker --- python/servo/testing_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 2c09384dc7f..9411ee5387d 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -540,7 +540,7 @@ class MachCommands(CommandBase): speedometer = json.loads(subprocess.check_output([ binary, "https://servospeedometer.netlify.app?headless=1", - "--pref", "dom.allow_scripts_to_close_windows", + "--pref", "dom_allow_scripts_to_close_windows", "--window-size=1100x900", "--headless"], timeout=120).decode())