Status: Assigned
Owner: [email protected]
CC: [email protected],  [email protected]
Labels: Type-Bug Priority-Medium

New issue 4198 by [email protected]: eval is not working correctly in strict mode with nosnap
https://code.google.com/p/v8/issues/detail?id=4198

The following tests fail in strict mode when we use nosnap

built-ins/String/S15.5.1.1_A1_T6
built-ins/eval/S15.1.2.1_A1.1_T1
built-ins/eval/S15.1.2.1_A1.1_T2
built-ins/eval/S15.1.2.1_A4.3
built-ins/eval/S15.1.2.1_A4.4
language/eval-code/10.4.2-1-1
language/eval-code/10.4.2-1-2
language/eval-code/10.4.2-1-3
language/eval-code/10.4.2-1-5
language/eval-code/S10.4.2.1_A1
language/function-code/10.4.3-1-19-s
language/function-code/10.4.3-1-19gs
language/function-code/10.4.3-1-20-s
language/function-code/10.4.3-1-20gs
language/statements/variable/12.2.1-10-s
language/statements/variable/12.2.1-20-s
language/statements/variable/12.2.1-21-s
language/statements/variable/12.2.1-9-s

All these tests have eval in them and we get errors like these:

=== test262-es6/language/statements/variable/12.2.1-20-s ===
--- stdout ---
native v8natives.js:0: SyntaxError: Unexpected eval or arguments in strict mode


SyntaxError: Unexpected eval or arguments in strict mode
at testcase (/b/build/slave/linux/build/v8/test/test262-es6/data/test/language/statements/variable/12.2.1-20-s.js:19:3) at runTestCase (/b/build/slave/linux/build/v8/test/test262-es6/data/harness/runTestCase.js:2:9) at /b/build/slave/linux/build/v8/test/test262-es6/data/test/language/statements/variable/12.2.1-20-s.js:22:13 Command: /b/build/slave/linux/build/v8/out/Release/d8 --test --random-seed=-861729403 --use-strict --nohard-abort --nodead-code-elimination --nofold-constants /b/build/slave/linux/build/v8/test/test262-es6/data/harness/sta.js /b/build/slave/linux/build/v8/test/test262-es6/data/harness/assert.js /b/build/slave/linux/build/v8/test/test262-es6/harness-adapt.js /b/build/slave/linux/build/v8/test/test262-es6/data/harness/runTestCase.js --harmony /b/build/slave/linux/build/v8/test/test262-es6/data/test/language/statements/variable/12.2.1-20-s.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to