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