Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /fetch/api/redirect/redirect-keepalive.https.any.html - WPT Dashboard Interop Dashboard
// 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
});