summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/x-frame-options/redirect.html
blob: 65fd0d5dd1434df55a6ed0db62cdbf2abae9130b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<meta charset="utf-8">
<title>X-Frame-Options headers sent along with a redirect</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.sub.js"></script>

<body>
<script>
"use strict";

xfo_test({
  url: `./support/redirect.py?value=DENY&url=/x-frame-options/support/xfo.py%3Fvalue%3DALLOWALL`,
  check: "loaded message",
  message: `XFO on redirect responses is ignored`
});
</script>