summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/api/redirect/redirect-keepalive.https.any.js
blob: 54e4bc31fa1bd0c770ce0ece37035fcae24274e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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
});