Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

// META: global=window
// META: title=Fetch API: keepalive handling
// META: script=/common/utils.js
// META: script=/common/get-host-info.sub.js
// META: script=../resources/keepalive-helper.js
'use strict';
const {
HTTP_NOTSAMESITE_ORIGIN,
HTTPS_NOTSAMESITE_ORIGIN,
} = get_host_info();
keepaliveRedirectTest(`mixed content redirect`, {
origin1: HTTPS_NOTSAMESITE_ORIGIN,
origin2: HTTP_NOTSAMESITE_ORIGIN,
expectFetchSucceed: false
});