<!DOCTYPE html>
<html>
<body>
<fencedframe style="width: 100%; height: 300px;"></fencedframe>
<script>
const url = new URL(
"resources/navigate-to-cross-origin-page-with-coop-headers.php",
location.href);
document.querySelector("fencedframe").config = new FencedFrameConfig(url);
// Since load events don't quite work the same and WebTest doesn't support
// fenced frames completely we have to tell the test to wait until the
// fenced frame is actually ready.
if (window.testRunner)
testRunner.waitUntilDone();
</script>
</body>
</html>