Reviewers: Kevin Millikin,

Message:
PTAL.

Description:
Change global const handling to silently ignore redeclarations

and make window.{Infinity,NaN,undefined} read-only as per ES5


BUG=89490
TEST=mjsunit/const-redecl.js, mjsunit/undeletable-functions.js, es5conform,
sputnik


Please review this at http://codereview.chromium.org/7811015/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/runtime.cc
  M src/v8natives.js
  M test/cctest/test-decls.cc
  M test/es5conform/es5conform.status
  M test/mjsunit/const-redecl.js
  M test/mjsunit/global-const-var-conflicts.js
  M test/mjsunit/regress/regress-1170.js
  M test/mjsunit/regress/regress-1213575.js
  M test/mjsunit/undeletable-functions.js
  M test/sputnik/sputnik.status


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to