chromium/third_party/blink/web_tests/fast/dom/Window/window-object-cross-frame-calls.html

<html>
 <head>
  <script>
  if (window.testRunner)
    testRunner.dumpAsText();

   function bar() { which = "parent"; document.getElementById("result").innerHTML = which; }
  </script>
 </head>
 <body>
  <p>The following line should say "parent", meaning that the proper window object was used.</p>
  <p id="result"></p>
  <iframe src="resources/child.html"></iframe>
 </body>
</html>