window-name-after-same-origin-aux-frame-navigation.sub.html (606B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <!-- window.name should equal "test" after a same-origin auxiliary frame navigation. --> 5 <script src='/resources/testharness.js'></script> 6 <script src='/resources/testharnessreport.js'></script> 7 </head> 8 <body> 9 <script> 10 t = async_test("Test that the window name is correct"); 11 window.addEventListener("message", t.step_func_done(function(e) { 12 assert_equals(e.data, true); 13 })); 14 window.open("support/window-name-navigation.sub.html?hostname={{host}}&shouldhavename=true&sendmessage=true"); 15 </script> 16 </body> 17 </html>