mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Revert "Allow wptrunner to enable prefs for Servo."
This reverts commit 0d6f410a3f
.
This commit is contained in:
parent
606bad91b0
commit
1461188349
1 changed files with 0 additions and 6 deletions
|
@ -65,10 +65,6 @@ class ServoTestharnessExecutor(ProcessTestExecutor):
|
||||||
args = ["--cpu", "--hard-fail", "-u", "Servo/wptrunner", "-z", self.test_url(test)]
|
args = ["--cpu", "--hard-fail", "-u", "Servo/wptrunner", "-z", self.test_url(test)]
|
||||||
for stylesheet in self.browser.user_stylesheets:
|
for stylesheet in self.browser.user_stylesheets:
|
||||||
args += ["--user-stylesheet", stylesheet]
|
args += ["--user-stylesheet", stylesheet]
|
||||||
|
|
||||||
for pref in test.environment.get('prefs', {}):
|
|
||||||
args += ["--pref", pref]
|
|
||||||
|
|
||||||
debug_args, command = browser_command(self.binary, args, self.debug_info)
|
debug_args, command = browser_command(self.binary, args, self.debug_info)
|
||||||
|
|
||||||
self.command = command
|
self.command = command
|
||||||
|
@ -199,8 +195,6 @@ class ServoRefTestExecutor(ProcessTestExecutor):
|
||||||
"--output=%s" % output_path, full_url]
|
"--output=%s" % output_path, full_url]
|
||||||
for stylesheet in self.browser.user_stylesheets:
|
for stylesheet in self.browser.user_stylesheets:
|
||||||
self.command += ["--user-stylesheet", stylesheet]
|
self.command += ["--user-stylesheet", stylesheet]
|
||||||
for pref in test.environment.get('prefs', {}):
|
|
||||||
self.command += ["--pref", pref]
|
|
||||||
|
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env["HOST_FILE"] = self.hosts_path
|
env["HOST_FILE"] = self.hosts_path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue