Ignore previous comment, the tests are fine (and this is just suggesting an extra level of paranoia-testing).
http://codereview.chromium.org/6246064/diff/1/test/mjsunit/strict-mode.js File test/mjsunit/strict-mode.js (right): http://codereview.chromium.org/6246064/diff/1/test/mjsunit/strict-mode.js#newcode322 test/mjsunit/strict-mode.js:322: eval("var x = { set " + word + " (value) { 'use strict'; } };"); Try with the word as a string literal as well. It should pass in both normal and strict mode. http://codereview.chromium.org/6246064/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
