test262/test/language/statements/with
Mike Pennisi 9b396d0b0b Refactor `with` statement tests for parsers
The tests for the parsing of the `with` statement were expressed using
eval. This made the tests more complex than necessary and also prevented
the tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-03-31 22:22:04 -04:00
..
12.10-0-1.js Replace runTestCase with assert helpers [test/language/statements/] 2015-08-06 18:33:10 +02:00
12.10-0-3.js Replace runTestCase with assert helpers [test/language/statements/] 2015-08-06 18:33:10 +02:00
12.10-0-7.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-0-8.js Replace runTestCase with assert helpers [test/language/statements/] 2015-08-06 18:33:10 +02:00
12.10-0-9.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-0-10.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-0-11.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-0-12.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-2-1.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-2-2.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-2-3.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10-2-4.js Reorganize ./test 2014-12-07 15:33:09 -08:00
12.10-2-5.js Reorganize ./test 2014-12-07 15:33:09 -08:00
12.10-7-1.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10.1-4-s.js Replace runTestCase with assert.throws [test/language/statements] 2015-08-11 17:43:01 +02:00
12.10.1-5-s.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.10.1-8-s.js Replace runTestCase with assert.throws [test/language/statements] 2015-08-11 17:43:01 +02:00
12.10.1-10-s.js Replace runTestCase with assert.throws [test/language/statements] 2015-08-11 17:43:01 +02:00
12.10.1-11gs.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
12.10.1-12-s.js Replace runTestCase with assert.throws [test/language/statements] 2015-08-11 17:43:01 +02:00
12.10.1-13-s.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
S12.10_A1.1_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.1_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.1_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.2_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.2_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.2_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.2_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.2_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.3_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.3_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.3_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.3_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.3_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.4_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.4_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.4_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.4_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.4_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.5_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.5_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.5_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.5_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.5_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.6_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.6_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.6_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.7_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.7_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.7_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.7_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.7_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.8_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.8_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.8_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.8_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.8_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.9_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.9_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.9_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.10_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.10_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.10_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.10_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.10_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.11_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.11_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.11_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.11_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.11_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.12_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.12_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.12_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.12_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A1.12_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.1_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.1_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.1_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.2_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.2_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.2_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.2_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.2_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.3_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.3_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.3_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.3_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.4_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.4_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.4_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.4_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.4_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.5_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.5_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.5_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.5_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.5_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.6_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.6_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.6_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.7_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.7_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.7_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.7_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.7_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.8_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.8_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.8_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.8_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.8_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.9_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.9_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.9_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.10_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.10_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.10_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.10_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.10_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.11_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.11_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.11_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.11_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.11_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.12_T1.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.12_T2.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.12_T3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.12_T4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A3.12_T5.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
S12.10_A4_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A4_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A4_T3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A4_T4.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A4_T5.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A4_T6.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A5_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A5_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A5_T3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A5_T4.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A5_T5.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S12.10_A5_T6.js Reorganize ./test 2014-12-07 15:33:09 -08:00
binding-blocked-by-unscopables.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
binding-not-blocked-by-unscopables-falsey-prop.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
binding-not-blocked-by-unscopables-non-obj.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-abrupt-empty.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-nrml.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
decl-async-fun.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
decl-async-gen.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
decl-cls.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
decl-const.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
decl-fun.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
decl-gen.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
decl-let.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
has-property-err.js Add test for abrupt completion from HasBinding 2016-06-21 12:14:53 -04:00
labelled-fn-stmt.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
let-array-with-newline.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
let-block-with-newline.js Add lookahead restriction tests for "let [" in expression statement contexts 2017-05-02 12:09:28 -07:00
let-identifier-with-newline.js Add lookahead restriction tests for "let [" in expression statement contexts 2017-05-02 12:09:28 -07:00
scope-var-close.js Add tests for Lexical Environment management 2016-04-28 09:44:41 -04:00
scope-var-open.js Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00
stict-script.js Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00
strict-fn-decl-nested-1.js Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00
strict-fn-decl-nested-2.js Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00
strict-fn-decl.js Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00
strict-fn-expr.js Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00
strict-fn-method.js Refactor `with` statement tests for parsers 2019-03-31 22:22:04 -04:00
unscopables-get-err.js Add test for abrupt completion from HasBinding 2016-06-21 12:14:53 -04:00
unscopables-inc-dec.js Test that @@unscopables is looked up once for inc/dec. (#869) 2017-03-02 13:15:56 -05:00
unscopables-not-referenced-for-undef.js Add test for abrupt completion from HasBinding 2016-06-21 12:14:53 -04:00
unscopables-prop-get-err.js Add test for abrupt completion from HasBinding 2016-06-21 12:14:53 -04:00