Skip to content

Commit a3c7c19

Browse files
SimonSapinServo WPT Sync
authored andcommitted
Update getopts
*Sigh* rust-lang/getopts#53 (comment)
1 parent 0594f4e commit a3c7c19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/wptrunner/wptrunner/browsers/servodriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def start(self, **kwargs):
106106
self.binary,
107107
self.binary_args + [
108108
"--hard-fail",
109-
"--webdriver", str(self.webdriver_port),
109+
"--webdriver=%s" % self.webdriver_port,
110110
"about:blank",
111111
],
112112
self.debug_info

tools/wptrunner/wptrunner/webdriver_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def __init__(self, logger, binary="servo", binary_args=None, host="127.0.0.1",
197197

198198
def make_command(self):
199199
command = [self.binary,
200-
"--webdriver", str(self.port),
200+
"--webdriver=%s" % self.port,
201201
"--hard-fail",
202202
"--headless"] + self._args
203203
if self.binary_args:

0 commit comments

Comments
 (0)