Index: LayoutTests/http/tests/fetch/workers/thorough/redirect-credentials-base-https-other-https.html |
diff --git a/LayoutTests/http/tests/fetch/workers/thorough/redirect-credentials-base-https-other-https.html b/LayoutTests/http/tests/fetch/workers/thorough/redirect-credentials-base-https-other-https.html |
index 564aa2d451beda47516cada04aa7a6f0092556ed..db80b074e4f029158172c5c6a7c67477f6038ad6 100644 |
--- a/LayoutTests/http/tests/fetch/workers/thorough/redirect-credentials-base-https-other-https.html |
+++ b/LayoutTests/http/tests/fetch/workers/thorough/redirect-credentials-base-https-other-https.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/redirect-credentials.js?-base-https-other-https')); |
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> |