| Index: LayoutTests/http/tests/fetch/window/thorough/cors-preflight2-base-https-other-https.html
|
| diff --git a/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2-base-https-other-https.html b/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2-base-https-other-https.html
|
| index 48f36057e9ec4386a43d2b78fb4240b33ecd6276..7a63dcbc8c71194a94172c8d92ee9085bd6453b8 100644
|
| --- a/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2-base-https-other-https.html
|
| +++ b/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2-base-https-other-https.html
|
| @@ -4,6 +4,7 @@
|
| <script src = "/resources/testharness.js"></script>
|
| <script src = "/resources/testharness-helpers.js"></script>
|
| <script src = "/resources/testharnessreport.js"></script>
|
| +<script src = "/resources/get-host-info.js?pipe=sub"></script>
|
| <script src = "/serviceworker/resources/test-helpers.js"></script>
|
| <script src = "/fetch/resources/fetch-test-options.js"></script>
|
| <script src = "/fetch/resources/fetch-test-helpers.js"></script>
|
| @@ -12,13 +13,17 @@
|
| </head>
|
| <body>
|
| <script>
|
| +var host_info = get_host_info();
|
| function start(t) {
|
| executeTests(TEST_TARGETS);
|
| t.done();
|
| }
|
| function init(test) {
|
| - return login(test)
|
| - .then(function() {return login_https(test);});
|
| + return login(test, host_info['HTTP_ORIGIN'], host_info['HTTP_REMOTE_ORIGIN'])
|
| + .then(function() {
|
| + return login(test, host_info['HTTPS_ORIGIN'],
|
| + host_info['HTTPS_REMOTE_ORIGIN']);
|
| + });
|
| }
|
| </script>
|
| <script src = "/fetch/resources/init.js"></script>
|
|
|