Index: third_party/WebKit/LayoutTests/http/tests/resources/get-host-info.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/resources/get-host-info.js b/third_party/WebKit/LayoutTests/http/tests/resources/get-host-info.js |
index 2bc2af2272bcbaeaf5c2952088ac9c60a0260486..a7d31d7a5dd066842934a23b76f8b2ad44ac54a1 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/resources/get-host-info.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/resources/get-host-info.js |
@@ -1,7 +1,8 @@ |
function get_host_info() { |
var ORIGINAL_HOST = '127.0.0.1'; |
var REMOTE_HOST = 'localhost'; |
- var UNAUTHENTICATED_HOST = 'example.test'; |
+ // TODO(mkwst): This should be a host that WPT supports. I don't know why we're using 'example.test'. |
+ var OTHER_HOST = 'example.test'; |
var HTTP_PORT = 8000; |
var HTTPS_PORT = 8443; |
try { |
@@ -19,6 +20,7 @@ function get_host_info() { |
HTTPS_ORIGIN: 'https://' + ORIGINAL_HOST + ':' + HTTPS_PORT, |
HTTP_REMOTE_ORIGIN: 'http://' + REMOTE_HOST + ':' + HTTP_PORT, |
HTTPS_REMOTE_ORIGIN: 'https://' + REMOTE_HOST + ':' + HTTPS_PORT, |
- UNAUTHENTICATED_ORIGIN: 'http://' + UNAUTHENTICATED_HOST + ':' + HTTP_PORT |
+ UNAUTHENTICATED_ORIGIN: 'http://' + OTHER_HOST + ':' + HTTP_PORT, |
+ AUTHENTICATED_ORIGIN: 'https://' + OTHER_HOST + ':' + HTTPS_PORT |
}; |
} |