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

message = "FAILURE (Bad lookup)";
function doTest() {
    var para = document.getElementById("test");
    frames[0].doTest(para);
}
</script>
<body onLoad="doTest()">
<p id="test">FAILURE (Didn't execute)</p>
<iframe src="../resources/lexical-lookup-in-function-constructor-child.html"></iframe>
</body>
