mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Add test for #11818
This commit is contained in:
parent
ad4b9aab45
commit
0809809c23
7 changed files with 95 additions and 17 deletions
|
@ -211,8 +211,8 @@ class ServoRefTestExecutor(ProcessTestExecutor):
|
|||
for stylesheet in self.browser.user_stylesheets:
|
||||
command += ["--user-stylesheet", stylesheet]
|
||||
|
||||
for pref in test.environment.get('prefs', {}):
|
||||
command += ["--pref", pref]
|
||||
for pref, value in test.environment.get('prefs', {}).iteritems():
|
||||
command += ["--pref", "%s=%s" % (pref, value)]
|
||||
|
||||
if viewport_size:
|
||||
command += ["--resolution", viewport_size]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue