chromium/third_party/blink/web_tests/external/wpt/html/browsers/windows/browsing-context-names/resources/post-to-opener.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>HTML Test: post window's name to top browsing context</title>
<link rel="author" title="Intel" href="http://www.intel.com/">
<script>
if (window.opener) {
  window.opener.postMessage({
    name: window.name,
    isTop: (window.top === window)
  }, "*");
}
</script>