post-to-top.html (271B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>HTML Test: post window's name to top browsing context</title> 4 <link rel="author" title="Intel" href="http://www.intel.com/"> 5 <script> 6 top.postMessage({ 7 name: window.name, 8 isTop: (window.top === window) 9 }, "*"); 10 </script>