blob: 90147d62f4c9bb66a57f06581e0541bd7c2380d1 [file] [log] [blame]
<!doctype html>
<title>Accept-CH-Lifetime test</title>
<body>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="resources/accept-ch-lifetime-test.js"></script>
<script>
setup({ explicit_done: true });
run_test({ name: "cross origin iframe not setting own origin",
initial_url: host_info.HTTPS_REMOTE_ORIGIN + echo,
accept_url: host_info.HTTPS_REMOTE_ORIGIN + httpequiv_accept,
expect_url: host_info.HTTPS_REMOTE_ORIGIN + do_not_expect,
type: "iframe" });
done();
</script>
</body>
</html>