Index: LayoutTests/http/tests/fetch/window/thorough/cookie-nocors-base-https-other-https.html |
diff --git a/LayoutTests/http/tests/fetch/window/thorough/cookie-nocors-base-https-other-https.html b/LayoutTests/http/tests/fetch/window/thorough/cookie-nocors-base-https-other-https.html |
index cd64cc67c65d3a385b335eca9e7b0195b1b28fdb..4291565865cf4871a4b344236806bef2b076591f 100644 |
--- a/LayoutTests/http/tests/fetch/window/thorough/cookie-nocors-base-https-other-https.html |
+++ b/LayoutTests/http/tests/fetch/window/thorough/cookie-nocors-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> |