blob: 2792827427481c9f8ee1f0eec451539a3ddec669 [file] [log] [blame]
<!doctype html>
<head>
<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/redirect-nocors.js?-other-https',
'redirect-nocors-serviceworker');
t.done();
}
function init(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>
</body>