Bug 1405325 - Fix webdriver.transport.HTTPWireProtocol#url. r=maja_zf
authorAndreas Tolfsen <ato@sny.no>
Tue, 03 Oct 2017 16:19:36 +0100
changeset 385318 18dd26f61c500b554d7596c306b7c8dded55b28b
parent 385317 e942c22c4d85dbbc2b165b9f75d98ef8f2d4644a
child 385319 073cb0e1fd41af8b9200098f8d10134c770708d9
push id32652
push userarchaeopteryx@coole-files.de
push dateTue, 10 Oct 2017 21:49:31 +0000
treeherdermozilla-central@f1ecd5c26948 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf
bugs1405325
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1405325 - Fix webdriver.transport.HTTPWireProtocol#url. r=maja_zf The self.path_prefix attribute does not exist. It should be self.url_prefix. MozReview-Commit-ID: 8LGES8GsTsm
testing/web-platform/tests/tools/webdriver/webdriver/transport.py
--- a/testing/web-platform/tests/tools/webdriver/webdriver/transport.py
+++ b/testing/web-platform/tests/tools/webdriver/webdriver/transport.py
@@ -58,17 +58,17 @@ class HTTPWireProtocol(object):
 
         self.host = host
         self.port = port
         self.url_prefix = url_prefix
 
         self._timeout = timeout
 
     def url(self, suffix):
-        return urlparse.urljoin(self.path_prefix, suffix)
+        return urlparse.urljoin(self.url_prefix, suffix)
 
     def send(self, method, url, body=None, headers=None):
         """Send a command to the remote.
 
         :param method: "POST" or "GET".
         :param url: "command part" of the requests URL path
         :param body: Body of the request.  Defaults to an empty dictionary
             if ``method`` is "POST".