1
0
Fork 0
firefox/testing/web-platform/tests/fenced-frame/resources/config-embed-cross-origin-iframe.https.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
637 B
HTML

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