diff options
Diffstat (limited to 'LayoutTests/fast/js/resources/lexical-lookup-in-function-constructor-child.html')
-rw-r--r-- | LayoutTests/fast/js/resources/lexical-lookup-in-function-constructor-child.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/LayoutTests/fast/js/resources/lexical-lookup-in-function-constructor-child.html b/LayoutTests/fast/js/resources/lexical-lookup-in-function-constructor-child.html new file mode 100644 index 0000000..ec10581 --- /dev/null +++ b/LayoutTests/fast/js/resources/lexical-lookup-in-function-constructor-child.html @@ -0,0 +1,10 @@ +<script> +message = "SUCCESS"; +function doTest(para) { + var f = new Function('para', 'para.innerHTML = message;'); + f(para); +} +</script> +<body> +</body> + |