<!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> |