| Index: LayoutTests/http/tests/fetch/workers/thorough/nocors.html
|
| diff --git a/LayoutTests/http/tests/fetch/workers/thorough/nocors.html b/LayoutTests/http/tests/fetch/workers/thorough/nocors.html
|
| index 84fad50c0ec6fa508338fc012e90f556f14a45ae..0ce2aab6913404cd348644d1d34953b892f1a0f9 100644
|
| --- a/LayoutTests/http/tests/fetch/workers/thorough/nocors.html
|
| +++ b/LayoutTests/http/tests/fetch/workers/thorough/nocors.html
|
| @@ -3,18 +3,23 @@
|
| <meta name="timeout" content="long"></meta>
|
| <script src = "/resources/testharness.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>
|
| </head>
|
| <body>
|
| <script>
|
| +var host_info = get_host_info();
|
| function start(t) {
|
| fetch_tests_from_worker(
|
| new Worker('/fetch/script-tests/thorough/nocors.js?'));
|
| 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>
|
|
|