| Index: LayoutTests/http/tests/fetch/serviceworker/thorough/auth-nocors.html
|
| diff --git a/LayoutTests/http/tests/fetch/serviceworker/thorough/auth-nocors.html b/LayoutTests/http/tests/fetch/serviceworker/thorough/auth-nocors.html
|
| index 0d4f086b32cb4cded6825f1f3e217173046c1f2e..a7f46705ead50e6ff3c25702dcfa4eaf24da22bc 100644
|
| --- a/LayoutTests/http/tests/fetch/serviceworker/thorough/auth-nocors.html
|
| +++ b/LayoutTests/http/tests/fetch/serviceworker/thorough/auth-nocors.html
|
| @@ -3,10 +3,12 @@
|
| <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) {
|
| service_worker_test(
|
| '/fetch/script-tests/thorough/auth-nocors.js?',
|
| @@ -14,8 +16,10 @@ function start(t) {
|
| 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>
|
|
|