Add test for #11818

This commit is contained in:
Michael Howell 2016-08-12 16:15:15 -07:00
parent ad4b9aab45
commit 0809809c23
7 changed files with 95 additions and 17 deletions

View file

@ -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]