restore-window-name-manual.https.html (630B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>Restore window.name when navigating back from a cross-origin</title> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/common/utils.js"></script> 8 </head> 9 <body> 10 <script> 11 function runTest() { 12 const name = token(); 13 window.open(`resources/restore-window-name.sub.html?name=${name}`, "start"); 14 } 15 16 </script> 17 <p>Please click the following link and follow the instructions in the page for testing</p> 18 <a target="start" href="javascript:void(0)" onclick="runTest()">run test</a> 19 </body> 20 </html>