v8/test
rossberg@chromium.org 62945585fd Implement ES5 erratum: global declarations shadow inherited properties.
I also discovered that our treatment of const declarations is inconsistent
when inside a global eval under 'with' (i.e., when created by
DeclareContextSlots). That is,

  var x;
  eval("const x = 9")

and

  var x;
  eval("with({}) const x = 9")

differ (the former assigns 9, the latter throws). This appears to be an
oversight from earlier changes to our const semantics (the latter shouldn't
throw either). Fixing this is a separate issue, though (and one that doesn't
seem quite worthwhile).

R=mstarzinger@chromium.org
BUG=v8:1991,80591
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11333 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-04-16 13:20:50 +00:00
..
benchmarks Switch from sample shell to d8 for unit test 2011-07-26 05:56:45 +00:00
cctest Implement ES5 erratum: global declarations shadow inherited properties. 2012-04-16 13:20:50 +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 Implement ES5 erratum: global declarations shadow inherited properties. 2012-04-16 13:20:50 +00:00
mozilla Temporarily allow timeout for one mozilla test. 2012-03-21 14:19:17 +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 test262 harness to purge old data directory. 2012-04-16 09:05:32 +00:00