| Index: LayoutTests/http/tests/fetch/window/thorough/cors-preflight2.html
|
| diff --git a/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2.html b/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2.html
|
| index 23a219739110cde856b1cc4e6dc7733f5e30e0bc..f87ec1c90e74f362e19774d6b316f4f4e819b83b 100644
|
| --- a/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2.html
|
| +++ b/LayoutTests/http/tests/fetch/window/thorough/cors-preflight2.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>
|
|
|