test262/test/language/expressions
André Bargull 0dbafac5a6 Add 'var' declarations for strict mode
This change adds 'var' declarations for global variables to allow the tests to run in strict mode (see issue #35).
Extra care was taken to ensure the changes do not alter the test behavior, for example when implicit creation of global variables are part of the test.
Note: The change does not fix all strict mode errors due to missing 'var' declarations.
2014-12-10 16:37:05 -08:00
..
addition Reorganize ./test 2014-12-07 15:33:09 -08:00
array Reorganize ./test 2014-12-07 15:33:09 -08:00
assignment Add test coverage for identifier resolution in dynamic scopes 2014-12-10 16:05:32 -08:00
bitwise-and Reorganize ./test 2014-12-07 15:33:09 -08:00
bitwise-not Reorganize ./test 2014-12-07 15:33:09 -08:00
bitwise-or Reorganize ./test 2014-12-07 15:33:09 -08:00
bitwise-xor Reorganize ./test 2014-12-07 15:33:09 -08:00
call Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
comma Reorganize ./test 2014-12-07 15:33:09 -08:00
compound-assignment Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
concatenation Reorganize ./test 2014-12-07 15:33:09 -08:00
conditional Reorganize ./test 2014-12-07 15:33:09 -08:00
delete Reorganize ./test 2014-12-07 15:33:09 -08:00
division Reorganize ./test 2014-12-07 15:33:09 -08:00
does-not-equals Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
equals Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
function Reorganize ./test 2014-12-07 15:33:09 -08:00
greater-than Reorganize ./test 2014-12-07 15:33:09 -08:00
greater-than-or-equal Reorganize ./test 2014-12-07 15:33:09 -08:00
grouping Reorganize ./test 2014-12-07 15:33:09 -08:00
in Reorganize ./test 2014-12-07 15:33:09 -08:00
instanceof Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
left-shift Reorganize ./test 2014-12-07 15:33:09 -08:00
less-than Reorganize ./test 2014-12-07 15:33:09 -08:00
less-than-or-equal Reorganize ./test 2014-12-07 15:33:09 -08:00
logical-and Reorganize ./test 2014-12-07 15:33:09 -08:00
logical-not Reorganize ./test 2014-12-07 15:33:09 -08:00
logical-or Reorganize ./test 2014-12-07 15:33:09 -08:00
modulus Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
multiplication Reorganize ./test 2014-12-07 15:33:09 -08:00
new Reorganize ./test 2014-12-07 15:33:09 -08:00
object Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
postfix-decrement Add test coverage for identifier resolution in dynamic scopes 2014-12-10 16:05:32 -08:00
postfix-increment Add test coverage for identifier resolution in dynamic scopes 2014-12-10 16:05:32 -08:00
prefix-decrement Add test coverage for identifier resolution in dynamic scopes 2014-12-10 16:05:32 -08:00
prefix-increment Add test coverage for identifier resolution in dynamic scopes 2014-12-10 16:05:32 -08:00
property-accessors Reorganize ./test 2014-12-07 15:33:09 -08:00
relational Reorganize ./test 2014-12-07 15:33:09 -08:00
right-shift Reorganize ./test 2014-12-07 15:33:09 -08:00
strict-does-not-equals Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
strict-equals Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
subtraction Reorganize ./test 2014-12-07 15:33:09 -08:00
this Reorganize ./test 2014-12-07 15:33:09 -08:00
typeof Reorganize ./test 2014-12-07 15:33:09 -08:00
unary-minus Reorganize ./test 2014-12-07 15:33:09 -08:00
unary-plus Reorganize ./test 2014-12-07 15:33:09 -08:00
unsigned-right-shift Reorganize ./test 2014-12-07 15:33:09 -08:00
void Reorganize ./test 2014-12-07 15:33:09 -08:00