| Index: third_party/WebKit/LayoutTests/external/wpt/common/get-host-info.sub.js
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/common/get-host-info.sub.js b/third_party/WebKit/LayoutTests/external/wpt/common/get-host-info.sub.js
|
| index 5e60c49767b41df41035fc46eed02909e698839b..c0ad19bc7a3ad24652ab03630963b8b6244ee1a9 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/common/get-host-info.sub.js
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/common/get-host-info.sub.js
|
| @@ -5,6 +5,7 @@ function get_host_info() {
|
| var HTTPS_PORT = '{{ports[https][0]}}';
|
| var ORIGINAL_HOST = '{{host}}';
|
| var REMOTE_HOST = (ORIGINAL_HOST === 'localhost') ? '127.0.0.1' : ('www1.' + ORIGINAL_HOST);
|
| + var OTHER_HOST = '{{domains[www2]}}';
|
|
|
| return {
|
| HTTP_PORT: HTTP_PORT,
|
| @@ -21,6 +22,8 @@ function get_host_info() {
|
| HTTP_REMOTE_ORIGIN_WITH_DIFFERENT_PORT: 'http://' + REMOTE_HOST + ':' + HTTP_PORT2,
|
| HTTPS_REMOTE_ORIGIN: 'https://' + REMOTE_HOST + ':' + HTTPS_PORT,
|
| HTTPS_REMOTE_ORIGIN_WITH_CREDS: 'https://foo:bar@' + REMOTE_HOST + ':' + HTTPS_PORT,
|
| + UNAUTHENTICATED_ORIGIN: 'http://' + OTHER_HOST + ':' + HTTP_PORT,
|
| + AUTHENTICATED_ORIGIN: 'https://' + OTHER_HOST + ':' + HTTPS_PORT
|
| };
|
| }
|
|
|
|
|