From 1f920edde69a0b1a7b3fbaf8a9c8d1c2ffc013c8 Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Tue, 3 Oct 2017 16:19:36 +0100 Subject: [PATCH] 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 --HG-- extra : rebase_source : a59f92070a6f35acda166836528704d03248c48c --- .../web-platform/tests/tools/webdriver/webdriver/transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/web-platform/tests/tools/webdriver/webdriver/transport.py b/testing/web-platform/tests/tools/webdriver/webdriver/transport.py index 206fd3ca7a07..5e0c1db7a6ef 100644 --- a/testing/web-platform/tests/tools/webdriver/webdriver/transport.py +++ b/testing/web-platform/tests/tools/webdriver/webdriver/transport.py @@ -63,7 +63,7 @@ class HTTPWireProtocol(object): 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.