Fix ./mach test-speedometer runs (#34996)

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
(3562334330)

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-01-15 03:30:30 +01:00 committed by GitHub
parent 87e97cca98
commit 2da57602ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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())