| Index: sky/tools/webkitpy/layout_tests/port/driver.py
|
| diff --git a/sky/tools/webkitpy/layout_tests/port/driver.py b/sky/tools/webkitpy/layout_tests/port/driver.py
|
| index 18d252524bc60adbf1c3106b3d916e3142c838dd..1a72833dd28bc3a22266cd729ea9ff59f2e3bb0e 100644
|
| --- a/sky/tools/webkitpy/layout_tests/port/driver.py
|
| +++ b/sky/tools/webkitpy/layout_tests/port/driver.py
|
| @@ -230,8 +230,12 @@ class Driver(object):
|
| '/http/tests/security/mixedContent/https/test1.html') will be loaded
|
| over HTTPS; all other tests over HTTP.
|
| """
|
| - assert self.is_http_test(test_name)
|
| - return "http://127.0.0.1:8000/sky/tests/" + test_name
|
| + if not self.is_http_test(test_name):
|
| + return path.abspath_to_uri(self._port.host.platform, self._port.abspath_for_test(test_name))
|
| +
|
| + if "/https/" in test_name:
|
| + return "https://127.0.0.1:8443/" + test_name
|
| + return "http://127.0.0.1:8000/" + test_name
|
|
|
| def uri_to_test(self, uri):
|
| """Return the base layout test name for a given URI.
|
|
|