fenced-frame-set-name-and-report-ready-for-outermost-document-to-navigate.html (672B)
1 <!DOCTYPE html> 2 <script src="utils.js"></script> 3 <title>Nested fenced frame named navigation helper</title> 4 <!-- This is a helper file. It is meant to be the document loaded inside a 5 nested fenced frame by `navigate-by-name-inner.html`. Once this document is 6 loaded and changes its `window.name` to `target_frame`, it reports to the 7 server so that the outermost document can attempt to navigate it by name. 8 (The navigation should not succeed - see the test expectations). 9 --> 10 <body> 11 <script> 12 const [ready_for_navigation_key] = parseKeylist(); 13 window.name = "target_frame"; 14 writeValueToServer(ready_for_navigation_key, "READY"); 15 </script> 16 </body>