chromium/third_party/blink/web_tests/fast/dom/Window/resources/child.html

<html>
 <head>
  <script>
   window.which = "child";
   parent.bar();
  </script>
 </head>
</html>