chromium/third_party/blink/web_tests/http/tests/security/listener/resources/xss-inactive-closure-child.html

<html>
<body>
    <p>Target Child</p>
    <script>
        window.parent.frames[1].document.getElementById('button').addEventListener("click", function() {
           if (!document) {
             parent.log("FAILED: document is undefined");
           } else if (document.bar == 100) {
             parent.log("FAILED: document.bar = " + document.bar);
           }
        }, false);

        window.location = "http://localhost:8000/security/listener/resources/xss-inactive-closure-child-2.html";
    </script> 
</body>
</html>