blob: f21afee011aa08d2b9195480551d79698d22430c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<script src="utils.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<title>Fenced frame attribution reporting self navigation test</title>
<body>
<script>
// This helper function will navigate a child iframe to a remote origin page.
// It will then check to make sure that window.fence APIs are not allowed after
// the navigation. This code is meant to run in a fenced frame.
const [key] = parseKeylist();
const configs = window.fence.getNestedConfigs();
const next_url = getRemoteOriginURL(generateURL(
"config-cross-origin-iframe.https.html", [key]));
attachIFrame(next_url);
</script>
</body>
|