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