v8/test
mstarzinger@chromium.org 79a98de9f7 Fix declarations escaping global strict eval.
According to ES5 10.4.2(3), eval calls of strict code always require
their own lexical and variable environment. For now we just add a new
scope when we parse the strict mode directive. The clean solution would
be to always have this sope present (even for global eval calls) and
adapt variable binding to cope with that.

R=rossberg@chromium.org
BUG=v8:1624
TEST=mjsunit/regress/regress-1624,test262/S10.4.2.1_A1

Review URL: https://chromiumcodereview.appspot.com/9703021

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11057 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-03-15 13:02:21 +00:00
..
benchmarks Switch from sample shell to d8 for unit test 2011-07-26 05:56:45 +00:00
cctest MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
es5conform MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
message MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
mjsunit Fix declarations escaping global strict eval. 2012-03-15 13:02:21 +00:00
mozilla Fix test expectations after r10743. 2012-02-20 09:47:31 +00:00
preparser MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
sputnik Fix RegExp white-space character class to match BOMs. 2012-02-20 17:50:53 +00:00
test262 Fix declarations escaping global strict eval. 2012-03-15 13:02:21 +00:00