summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/js/lexical-lookup-in-function-constructor.html
blob: 0319dbc20f477777e3236625aac80dee537f8585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>