aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch12
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch12')
-rw-r--r--test/suite/ch12/12.1/12.1-1.js40
-rw-r--r--test/suite/ch12/12.1/12.1-2.js42
-rw-r--r--test/suite/ch12/12.1/12.1-3.js40
-rw-r--r--test/suite/ch12/12.1/12.1-4.js40
-rw-r--r--test/suite/ch12/12.1/12.1-5.js40
-rw-r--r--test/suite/ch12/12.1/12.1-6.js42
-rw-r--r--test/suite/ch12/12.1/12.1-7.js40
-rw-r--r--test/suite/ch12/12.1/S12.1_A2.js17
-rw-r--r--test/suite/ch12/12.1/S12.1_A4_T1.js13
-rw-r--r--test/suite/ch12/12.1/S12.1_A4_T2.js13
-rw-r--r--test/suite/ch12/12.1/S12.1_A5.js14
-rw-r--r--test/suite/ch12/12.10/12.10-0-1.js54
-rw-r--r--test/suite/ch12/12.10/12.10-0-10.js56
-rw-r--r--test/suite/ch12/12.10/12.10-0-11.js60
-rw-r--r--test/suite/ch12/12.10/12.10-0-12.js56
-rw-r--r--test/suite/ch12/12.10/12.10-0-3.js44
-rw-r--r--test/suite/ch12/12.10/12.10-0-7.js52
-rw-r--r--test/suite/ch12/12.10/12.10-0-8.js42
-rw-r--r--test/suite/ch12/12.10/12.10-0-9.js58
-rw-r--r--test/suite/ch12/12.10/12.10-2-1.js54
-rw-r--r--test/suite/ch12/12.10/12.10-2-2.js54
-rw-r--r--test/suite/ch12/12.10/12.10-2-3.js54
-rw-r--r--test/suite/ch12/12.10/12.10-7-1.js64
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js62
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js62
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js48
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js31
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js52
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js40
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js50
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js48
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js48
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js66
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js66
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js54
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js40
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js59
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js58
-rw-r--r--test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js58
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T3.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.10_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.11_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.12_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.1_T1.js16
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.1_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.1_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T1.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T2.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T3.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T4.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.2_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.3_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.4_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.5_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.6_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.6_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.6_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.7_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.8_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.9_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.9_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A1.9_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T1.js21
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.10_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.11_T5.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T4.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.12_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.1_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.1_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.1_T3.js22
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T2.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.2_T5.js22
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T3.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.3_T4.js17
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T4.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.4_T5.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.5_T5.js21
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.6_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.6_T2.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.6_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T2.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.7_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T1.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T2.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T3.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T4.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.8_T5.js18
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.9_T1.js20
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.9_T2.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A3.9_T3.js19
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T1.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T2.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T3.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T4.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T5.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A4_T6.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T1.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T2.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T3.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T4.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T5.js13
-rw-r--r--test/suite/ch12/12.10/S12.10_A5_T6.js13
-rw-r--r--test/suite/ch12/12.11/S12.11_A1_T1.js14
-rw-r--r--test/suite/ch12/12.11/S12.11_A1_T2.js14
-rw-r--r--test/suite/ch12/12.11/S12.11_A1_T3.js14
-rw-r--r--test/suite/ch12/12.11/S12.11_A1_T4.js14
-rw-r--r--test/suite/ch12/12.11/S12.11_A2_T1.js13
-rw-r--r--test/suite/ch12/12.11/S12.11_A3_T1.js13
-rw-r--r--test/suite/ch12/12.11/S12.11_A3_T2.js13
-rw-r--r--test/suite/ch12/12.11/S12.11_A3_T3.js13
-rw-r--r--test/suite/ch12/12.11/S12.11_A3_T4.js15
-rw-r--r--test/suite/ch12/12.11/S12.11_A3_T5.js13
-rw-r--r--test/suite/ch12/12.11/S12.11_A4_T1.js11
-rw-r--r--test/suite/ch12/12.12/S12.12_A1_T1.js14
-rw-r--r--test/suite/ch12/12.13/S12.13_A1.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A2_T1.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A2_T2.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A2_T3.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A2_T4.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A2_T5.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A2_T6.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A2_T7.js13
-rw-r--r--test/suite/ch12/12.13/S12.13_A3_T1.js11
-rw-r--r--test/suite/ch12/12.13/S12.13_A3_T2.js11
-rw-r--r--test/suite/ch12/12.13/S12.13_A3_T3.js11
-rw-r--r--test/suite/ch12/12.13/S12.13_A3_T4.js11
-rw-r--r--test/suite/ch12/12.13/S12.13_A3_T5.js11
-rw-r--r--test/suite/ch12/12.13/S12.13_A3_T6.js11
-rw-r--r--test/suite/ch12/12.14/12.14-1.js48
-rw-r--r--test/suite/ch12/12.14/12.14-10.js62
-rw-r--r--test/suite/ch12/12.14/12.14-11.js66
-rw-r--r--test/suite/ch12/12.14/12.14-12.js62
-rw-r--r--test/suite/ch12/12.14/12.14-13.js84
-rw-r--r--test/suite/ch12/12.14/12.14-14.js57
-rw-r--r--test/suite/ch12/12.14/12.14-15.js61
-rw-r--r--test/suite/ch12/12.14/12.14-16.js69
-rw-r--r--test/suite/ch12/12.14/12.14-2.js50
-rw-r--r--test/suite/ch12/12.14/12.14-3.js62
-rw-r--r--test/suite/ch12/12.14/12.14-4.js68
-rw-r--r--test/suite/ch12/12.14/12.14-6.js68
-rw-r--r--test/suite/ch12/12.14/12.14-7.js78
-rw-r--r--test/suite/ch12/12.14/12.14-8.js70
-rw-r--r--test/suite/ch12/12.14/12.14-9.js64
-rw-r--r--test/suite/ch12/12.14/12.14.1/12.14.1-1-s.js53
-rw-r--r--test/suite/ch12/12.14/12.14.1/12.14.1-1gs.js34
-rw-r--r--test/suite/ch12/12.14/12.14.1/12.14.1-2-s.js53
-rw-r--r--test/suite/ch12/12.14/12.14.1/12.14.1-3-s.js69
-rw-r--r--test/suite/ch12/12.14/12.14.1/12.14.1-4-s.js49
-rw-r--r--test/suite/ch12/12.14/12.14.1/12.14.1-5-s.js49
-rw-r--r--test/suite/ch12/12.14/12.14.1/12.14.1-6-s.js49
-rw-r--r--test/suite/ch12/12.14/S12.14_A1.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A10_T1.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A10_T2.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A10_T3.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A10_T4.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A10_T5.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A11_T1.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A11_T2.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A11_T3.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A11_T4.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A12_T1.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A12_T2.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A12_T3.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A12_T4.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A13_T1.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A13_T2.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A13_T3.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A14.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A15.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T1.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T10.js17
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T11.js18
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T12.js17
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T13.js20
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T14.js18
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T15.js21
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T2.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T3.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T4.js17
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T5.js17
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T6.js17
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T7.js18
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T8.js19
-rw-r--r--test/suite/ch12/12.14/S12.14_A16_T9.js17
-rw-r--r--test/suite/ch12/12.14/S12.14_A17.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A18_T1.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A18_T2.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A18_T3.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A18_T4.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A18_T5.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A18_T6.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A18_T7.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A19_T1.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A19_T2.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A2.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A3.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A4.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A5.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A6.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A7_T1.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A7_T2.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A7_T3.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A8.js11
-rw-r--r--test/suite/ch12/12.14/S12.14_A9_T1.js13
-rw-r--r--test/suite/ch12/12.14/S12.14_A9_T2.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A9_T3.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A9_T4.js15
-rw-r--r--test/suite/ch12/12.14/S12.14_A9_T5.js16
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-1-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-10-s.js38
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-11.js32
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-12-s.js48
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-12.js32
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-13-s.js48
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-14-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-15-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-16-s.js40
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-17-s.js45
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-18-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-19-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-1gs.js31
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-2-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-20-s.js42
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-21-s.js42
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-22-s.js54
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-23-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-24-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-25-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-26-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-27-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-28-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-29-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-3-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-30-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-31-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-32-s.js52
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-33-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-34-s.js48
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-35-s.js48
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-36-s.js48
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-37-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-4-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-4gs.js31
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-5-s.js38
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-6-s.js43
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-7-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-8-s.js50
-rw-r--r--test/suite/ch12/12.2/12.2.1/12.2.1-9-s.js40
-rw-r--r--test/suite/ch12/12.2/S12.2_A1.js17
-rw-r--r--test/suite/ch12/12.2/S12.2_A10.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A11.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A12.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A2.js17
-rw-r--r--test/suite/ch12/12.2/S12.2_A3.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A4.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A5.js14
-rw-r--r--test/suite/ch12/12.2/S12.2_A6_T1.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A6_T2.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A7.js11
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T1.js13
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T2.js13
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T3.js13
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T4.js13
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T5.js13
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T6.js14
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T7.js14
-rw-r--r--test/suite/ch12/12.2/S12.2_A8_T8.js14
-rw-r--r--test/suite/ch12/12.2/S12.2_A9.js13
-rw-r--r--test/suite/ch12/12.3/S12.3_A1.js13
-rw-r--r--test/suite/ch12/12.4/S12.4_A1.js15
-rw-r--r--test/suite/ch12/12.4/S12.4_A2_T1.js18
-rw-r--r--test/suite/ch12/12.4/S12.4_A2_T2.js18
-rw-r--r--test/suite/ch12/12.5/S12.5_A1.1_T1.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A1.1_T2.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A1.2_T1.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A1.2_T2.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A10_T1.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A10_T2.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A11.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A12_T1.js11
-rw-r--r--test/suite/ch12/12.5/S12.5_A12_T2.js11
-rw-r--r--test/suite/ch12/12.5/S12.5_A12_T3.js11
-rw-r--r--test/suite/ch12/12.5/S12.5_A12_T4.js11
-rw-r--r--test/suite/ch12/12.5/S12.5_A1_T1.js12
-rw-r--r--test/suite/ch12/12.5/S12.5_A1_T2.js12
-rw-r--r--test/suite/ch12/12.5/S12.5_A2.js14
-rw-r--r--test/suite/ch12/12.5/S12.5_A3.js14
-rw-r--r--test/suite/ch12/12.5/S12.5_A4.js15
-rw-r--r--test/suite/ch12/12.5/S12.5_A5.js18
-rw-r--r--test/suite/ch12/12.5/S12.5_A6_T1.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A6_T2.js14
-rw-r--r--test/suite/ch12/12.5/S12.5_A7.js13
-rw-r--r--test/suite/ch12/12.5/S12.5_A8.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js11
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js20
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js14
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js11
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js14
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js12
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js18
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js11
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js11
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js11
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js15
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js14
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js14
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js12
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js19
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js19
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js16
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js19
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js15
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js13
-rw-r--r--test/suite/ch12/12.6/12.6.4/12.6.4-1.js70
-rw-r--r--test/suite/ch12/12.6/12.6.4/12.6.4-2.js75
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js11
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js13
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js14
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js17
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js17
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js15
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js15
-rw-r--r--test/suite/ch12/12.7/12.7-1.js44
-rw-r--r--test/suite/ch12/12.7/S12.7_A1_T1.js15
-rw-r--r--test/suite/ch12/12.7/S12.7_A1_T2.js15
-rw-r--r--test/suite/ch12/12.7/S12.7_A1_T3.js15
-rw-r--r--test/suite/ch12/12.7/S12.7_A1_T4.js16
-rw-r--r--test/suite/ch12/12.7/S12.7_A2.js17
-rw-r--r--test/suite/ch12/12.7/S12.7_A5_T1.js16
-rw-r--r--test/suite/ch12/12.7/S12.7_A5_T2.js16
-rw-r--r--test/suite/ch12/12.7/S12.7_A5_T3.js16
-rw-r--r--test/suite/ch12/12.7/S12.7_A6.js15
-rw-r--r--test/suite/ch12/12.7/S12.7_A7.js13
-rw-r--r--test/suite/ch12/12.7/S12.7_A8_T1.js15
-rw-r--r--test/suite/ch12/12.7/S12.7_A8_T2.js13
-rw-r--r--test/suite/ch12/12.7/S12.7_A9_T1.js13
-rw-r--r--test/suite/ch12/12.7/S12.7_A9_T2.js11
-rw-r--r--test/suite/ch12/12.8/12.8-1.js48
-rw-r--r--test/suite/ch12/12.8/S12.8_A1_T1.js13
-rw-r--r--test/suite/ch12/12.8/S12.8_A1_T2.js13
-rw-r--r--test/suite/ch12/12.8/S12.8_A1_T3.js15
-rw-r--r--test/suite/ch12/12.8/S12.8_A1_T4.js15
-rw-r--r--test/suite/ch12/12.8/S12.8_A2.js17
-rw-r--r--test/suite/ch12/12.8/S12.8_A3.js11
-rw-r--r--test/suite/ch12/12.8/S12.8_A4_T1.js13
-rw-r--r--test/suite/ch12/12.8/S12.8_A4_T2.js13
-rw-r--r--test/suite/ch12/12.8/S12.8_A4_T3.js13
-rw-r--r--test/suite/ch12/12.8/S12.8_A5_T1.js15
-rw-r--r--test/suite/ch12/12.8/S12.8_A5_T2.js17
-rw-r--r--test/suite/ch12/12.8/S12.8_A5_T3.js17
-rw-r--r--test/suite/ch12/12.8/S12.8_A6.js17
-rw-r--r--test/suite/ch12/12.8/S12.8_A7.js13
-rw-r--r--test/suite/ch12/12.8/S12.8_A8_T1.js16
-rw-r--r--test/suite/ch12/12.8/S12.8_A8_T2.js16
-rw-r--r--test/suite/ch12/12.8/S12.8_A9_T1.js13
-rw-r--r--test/suite/ch12/12.8/S12.8_A9_T2.js13
-rw-r--r--test/suite/ch12/12.9/12.9-1.js52
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T1.js13
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T10.js13
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T2.js13
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T3.js13
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T4.js13
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T5.js15
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T6.js15
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T7.js15
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T8.js15
-rw-r--r--test/suite/ch12/12.9/S12.9_A1_T9.js13
-rw-r--r--test/suite/ch12/12.9/S12.9_A2.js15
-rw-r--r--test/suite/ch12/12.9/S12.9_A3.js11
-rw-r--r--test/suite/ch12/12.9/S12.9_A4.js18
-rw-r--r--test/suite/ch12/12.9/S12.9_A5.js11
521 files changed, 5971 insertions, 6417 deletions
diff --git a/test/suite/ch12/12.1/12.1-1.js b/test/suite/ch12/12.1/12.1-1.js
index e5311368f..6340e57d6 100644
--- a/test/suite/ch12/12.1/12.1-1.js
+++ b/test/suite/ch12/12.1/12.1-1.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.1/12.1-1.js
- * @description 12.1 - block '{ StatementListopt };' is not allowed: try-catch
- */
-
-
-function testcase() {
- try {
- eval("try{};catch(){}");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "12.1 - block '{ StatementListopt };' is not allowed: try-catch"
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("try{};catch(){}");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.1/12.1-2.js b/test/suite/ch12/12.1/12.1-2.js
index ab1d4668e..95ce548b5 100644
--- a/test/suite/ch12/12.1/12.1-2.js
+++ b/test/suite/ch12/12.1/12.1-2.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.1/12.1-2.js
- * @description 12.1 - block '{ StatementListopt };' is not allowed: try-catch-finally
- */
-
-
-function testcase() {
- try {
- eval("try{};catch{};finally{}");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ 12.1 - block '{ StatementListopt };' is not allowed:
+ try-catch-finally
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("try{};catch{};finally{}");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.1/12.1-3.js b/test/suite/ch12/12.1/12.1-3.js
index e0ccd4f58..d8cecc0a7 100644
--- a/test/suite/ch12/12.1/12.1-3.js
+++ b/test/suite/ch12/12.1/12.1-3.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.1/12.1-3.js
- * @description 12.1 - block '{ StatementListopt };' is not allowed: try-finally
- */
-
-
-function testcase() {
- try {
- eval("try{};finally{}");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "12.1 - block '{ StatementListopt };' is not allowed: try-finally"
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("try{};finally{}");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.1/12.1-4.js b/test/suite/ch12/12.1/12.1-4.js
index 4df0c5604..02d046985 100644
--- a/test/suite/ch12/12.1/12.1-4.js
+++ b/test/suite/ch12/12.1/12.1-4.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.1/12.1-4.js
- * @description 12.1 - block '{ StatementListopt };' is not allowed: if-else
- */
-
-
-function testcase() {
- try {
- eval("if{};else{}");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "12.1 - block '{ StatementListopt };' is not allowed: if-else"
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("if{};else{}");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.1/12.1-5.js b/test/suite/ch12/12.1/12.1-5.js
index 4d2238962..3659c3443 100644
--- a/test/suite/ch12/12.1/12.1-5.js
+++ b/test/suite/ch12/12.1/12.1-5.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.1/12.1-5.js
- * @description 12.1 - block '{ StatementListopt };' is not allowed: if-else-if
- */
-
-
-function testcase() {
- try {
- eval("if{};else if{}");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "12.1 - block '{ StatementListopt };' is not allowed: if-else-if"
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("if{};else if{}");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.1/12.1-6.js b/test/suite/ch12/12.1/12.1-6.js
index d6907d9c6..f8b6d4b6e 100644
--- a/test/suite/ch12/12.1/12.1-6.js
+++ b/test/suite/ch12/12.1/12.1-6.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.1/12.1-6.js
- * @description 12.1 - block '{ StatementListopt };' is not allowed: if-else-if-else
- */
-
-
-function testcase() {
- try {
- eval("if{};else if{};else{}");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ 12.1 - block '{ StatementListopt };' is not allowed:
+ if-else-if-else
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("if{};else if{};else{}");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.1/12.1-7.js b/test/suite/ch12/12.1/12.1-7.js
index ab89adc8b..00c59e92e 100644
--- a/test/suite/ch12/12.1/12.1-7.js
+++ b/test/suite/ch12/12.1/12.1-7.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.1/12.1-7.js
- * @description 12.1 - block '{ StatementListopt };' is not allowed: do-while
- */
-
-
-function testcase() {
- try {
- eval("do{};while()");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "12.1 - block '{ StatementListopt };' is not allowed: do-while"
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("do{};while()");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.1/S12.1_A2.js b/test/suite/ch12/12.1/S12.1_A2.js
index eed2e89d4..986320957 100644
--- a/test/suite/ch12/12.1/S12.1_A2.js
+++ b/test/suite/ch12/12.1/S12.1_A2.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production StatementList Statement is evaluated as follows
- * 1. Evaluate Statement.
- * 2. If an exception was thrown, return (throw, V, empty) where V is the exception
- *
- * @path ch12/12.1/S12.1_A2.js
- * @description Throwing exception within a Block
- */
+/*---
+info: >
+ The production StatementList Statement is evaluated as follows
+ 1. Evaluate Statement.
+ 2. If an exception was thrown, return (throw, V, empty) where V is the exception
+description: Throwing exception within a Block
+includes: [$PRINT.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -34,4 +34,3 @@ try {
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.1/S12.1_A4_T1.js b/test/suite/ch12/12.1/S12.1_A4_T1.js
index 8acad6f1c..029361a6b 100644
--- a/test/suite/ch12/12.1/S12.1_A4_T1.js
+++ b/test/suite/ch12/12.1/S12.1_A4_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production Block can't be inside of expression
- *
- * @path ch12/12.1/S12.1_A4_T1.js
- * @description Checking if execution of "y={__func}()" fails
- * @negative
- */
+/*---
+info: The production Block can't be inside of expression
+description: Checking if execution of "y={__func}()" fails
+flags: [negative]
+---*/
function __func(){};
@@ -16,4 +14,3 @@ function __func(){};
y={__func}();
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.1/S12.1_A4_T2.js b/test/suite/ch12/12.1/S12.1_A4_T2.js
index 510d6f7b0..67bf683af 100644
--- a/test/suite/ch12/12.1/S12.1_A4_T2.js
+++ b/test/suite/ch12/12.1/S12.1_A4_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production Block can't be inside of expression
- *
- * @path ch12/12.1/S12.1_A4_T2.js
- * @description Checking if execution of "y={x}" fails
- * @negative
- */
+/*---
+info: The production Block can't be inside of expression
+description: Checking if execution of "y={x}" fails
+flags: [negative]
+---*/
x=1;
@@ -16,4 +14,3 @@ x=1;
y={x};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.1/S12.1_A5.js b/test/suite/ch12/12.1/S12.1_A5.js
index 00356061f..ed3e3601d 100644
--- a/test/suite/ch12/12.1/S12.1_A5.js
+++ b/test/suite/ch12/12.1/S12.1_A5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * StatementList: StatementList Statement inside the Block is evaluated from left to right
- *
- * @path ch12/12.1/S12.1_A5.js
- * @description Throwing exceptions within embedded/sequence Blocks
- */
+/*---
+info: >
+ StatementList: StatementList Statement inside the Block is evaluated from
+ left to right
+description: Throwing exceptions within embedded/sequence Blocks
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -53,5 +53,3 @@ try {
}
}
////////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/12.10-0-1.js b/test/suite/ch12/12.10/12.10-0-1.js
index b1da0a5b7..7f60793eb 100644
--- a/test/suite/ch12/12.10/12.10-0-1.js
+++ b/test/suite/ch12/12.10/12.10-0-1.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-1.js
- * @description with does not change declaration scope - vars in with are visible outside
- */
-
-
-function testcase() {
- var o = {};
- var f = function () {
- /* capture foo binding before executing with */
- return foo;
- }
-
- with (o) {
- var foo = "12.10-0-1";
- }
-
- return f()==="12.10-0-1"
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with does not change declaration scope - vars in with are visible
+ outside
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+ var f = function () {
+ /* capture foo binding before executing with */
+ return foo;
+ }
+
+ with (o) {
+ var foo = "12.10-0-1";
+ }
+
+ return f()==="12.10-0-1"
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-10.js b/test/suite/ch12/12.10/12.10-0-10.js
index 60e67f5aa..c9bcd7999 100644
--- a/test/suite/ch12/12.10/12.10-0-10.js
+++ b/test/suite/ch12/12.10/12.10-0-10.js
@@ -1,28 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-10.js
- * @description with introduces scope - name lookup finds function parameter
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o, x) {
- with (o) {
- return x;
- }
- }
-
- return innerf(o, 42);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - name lookup finds function parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o, x) {
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o, 42);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-11.js b/test/suite/ch12/12.10/12.10-0-11.js
index 183ee45f7..79a9934df 100644
--- a/test/suite/ch12/12.10/12.10-0-11.js
+++ b/test/suite/ch12/12.10/12.10-0-11.js
@@ -1,30 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-11.js
- * @description with introduces scope - name lookup finds inner variable
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o) {
- var x = 42;
-
- with (o) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - name lookup finds inner variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o) {
+ var x = 42;
+
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-12.js b/test/suite/ch12/12.10/12.10-0-12.js
index a2a22518b..24d1c7dd2 100644
--- a/test/suite/ch12/12.10/12.10-0-12.js
+++ b/test/suite/ch12/12.10/12.10-0-12.js
@@ -1,28 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-12.js
- * @description with introduces scope - name lookup finds property
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o) {
- with (o) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({x:42}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - name lookup finds property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o) {
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({x:42}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-3.js b/test/suite/ch12/12.10/12.10-0-3.js
index 22d67781e..fd804c5ff 100644
--- a/test/suite/ch12/12.10/12.10-0-3.js
+++ b/test/suite/ch12/12.10/12.10-0-3.js
@@ -1,22 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-3.js
- * @description with introduces scope - that is captured by function expression
- */
-
-
-function testcase() {
- var o = {prop: "12.10-0-3 before"};
- var f;
-
- with (o) {
- f = function () { return prop; }
- }
- o.prop = "12.10-0-3 after";
- return f()==="12.10-0-3 after"
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - that is captured by function expression
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {prop: "12.10-0-3 before"};
+ var f;
+
+ with (o) {
+ f = function () { return prop; }
+ }
+ o.prop = "12.10-0-3 after";
+ return f()==="12.10-0-3 after"
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-7.js b/test/suite/ch12/12.10/12.10-0-7.js
index 0f780d59e..11a6f40d3 100644
--- a/test/suite/ch12/12.10/12.10-0-7.js
+++ b/test/suite/ch12/12.10/12.10-0-7.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-7.js
- * @description with introduces scope - scope removed when exiting with statement
- */
-
-
-function testcase() {
- var o = {foo: 1};
-
- with (o) {
- foo = 42;
- }
-
- try {
- foo;
- }
- catch (e) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - scope removed when exiting with statement
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {foo: 1};
+
+ with (o) {
+ foo = 42;
+ }
+
+ try {
+ foo;
+ }
+ catch (e) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-8.js b/test/suite/ch12/12.10/12.10-0-8.js
index 613734890..997feaab8 100644
--- a/test/suite/ch12/12.10/12.10-0-8.js
+++ b/test/suite/ch12/12.10/12.10-0-8.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-8.js
- * @description with introduces scope - var initializer sets like named property
- */
-
-
-function testcase() {
- var o = {foo: 42};
-
- with (o) {
- var foo = "set in with";
- }
-
- return o.foo === "set in with";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - var initializer sets like named property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {foo: 42};
+
+ with (o) {
+ var foo = "set in with";
+ }
+
+ return o.foo === "set in with";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-0-9.js b/test/suite/ch12/12.10/12.10-0-9.js
index 746542ffa..a81513c2c 100644
--- a/test/suite/ch12/12.10/12.10-0-9.js
+++ b/test/suite/ch12/12.10/12.10-0-9.js
@@ -1,29 +1,29 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-0-9.js
- * @description with introduces scope - name lookup finds outer variable
- */
-
-
-function testcase() {
- function f(o) {
- var x = 42;
-
- function innerf(o) {
- with (o) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - name lookup finds outer variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+ var x = 42;
+
+ function innerf(o) {
+ with (o) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-2-1.js b/test/suite/ch12/12.10/12.10-2-1.js
index 3ba1eb1eb..34956efd1 100644
--- a/test/suite/ch12/12.10/12.10-2-1.js
+++ b/test/suite/ch12/12.10/12.10-2-1.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-2-1.js
- * @description with - expression being Number
- */
-
-
-function testcase() {
- var o = 2;
- var foo = 1;
- try
- {
- with (o) {
- foo = 42;
- }
- }
- catch(e)
- {
- }
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with - expression being Number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = 2;
+ var foo = 1;
+ try
+ {
+ with (o) {
+ foo = 42;
+ }
+ }
+ catch(e)
+ {
+ }
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-2-2.js b/test/suite/ch12/12.10/12.10-2-2.js
index a4de02221..8dadb883d 100644
--- a/test/suite/ch12/12.10/12.10-2-2.js
+++ b/test/suite/ch12/12.10/12.10-2-2.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-2-2.js
- * @description with - expression being Boolean
- */
-
-
-function testcase() {
- var o = true;
- var foo = 1;
- try
- {
- with (o) {
- foo = 42;
- }
- }
- catch(e)
- {
- }
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with - expression being Boolean
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = true;
+ var foo = 1;
+ try
+ {
+ with (o) {
+ foo = 42;
+ }
+ }
+ catch(e)
+ {
+ }
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-2-3.js b/test/suite/ch12/12.10/12.10-2-3.js
index 07003092c..9ef0be71f 100644
--- a/test/suite/ch12/12.10/12.10-2-3.js
+++ b/test/suite/ch12/12.10/12.10-2-3.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-2-3.js
- * @description with - expression being string
- */
-
-
-function testcase() {
- var o = "str";
- var foo = 1;
- try
- {
- with (o) {
- foo = 42;
- }
- }
- catch(e)
- {
- }
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with - expression being string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = "str";
+ var foo = 1;
+ try
+ {
+ with (o) {
+ foo = 42;
+ }
+ }
+ catch(e)
+ {
+ }
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10-7-1.js b/test/suite/ch12/12.10/12.10-7-1.js
index 6292efd97..e5b1d7408 100644
--- a/test/suite/ch12/12.10/12.10-7-1.js
+++ b/test/suite/ch12/12.10/12.10-7-1.js
@@ -1,32 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10-7-1.js
- * @description with introduces scope - restores the earlier environment on exit
- */
-
-
-function testcase() {
- var a = 1;
-
- var o = {a : 2};
- try
- {
- with (o) {
- a = 3;
- throw 1;
- a = 4;
- }
- }
- catch(e)
- {}
-
- if (a === 1 && o.a === 3) {
- return true;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with introduces scope - restores the earlier environment on exit
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var a = 1;
+
+ var o = {a : 2};
+ try
+ {
+ with (o) {
+ a = 3;
+ throw 1;
+ a = 4;
+ }
+ }
+ catch(e)
+ {}
+
+ if (a === 1 && o.a === 3) {
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js
index 3c042e412..9d5386f08 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-1-s.js
@@ -1,31 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-1-s.js
- * @description with statement in strict mode throws SyntaxError (strict function)
- * @onlyStrict
- */
-
-
-function testcase() {
-
- try {
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception.
- eval("\
- function f() {\
- \'use strict\';\
- var o = {}; \
- with (o) {};\
- }\
- ");
- return false;
- }
- catch (e) {
- return(e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with statement in strict mode throws SyntaxError (strict function)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception.
+ eval("\
+ function f() {\
+ \'use strict\';\
+ var o = {}; \
+ with (o) {};\
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return(e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js
index 4e470b517..e0128a763 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-10-s.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-10-s.js
- * @description with statement in strict mode throws SyntaxError (eval, where the container function is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception. Note that eval
- // inherits the strictness of its calling context.
- try {
- eval("\
- var o = {};\
- with (o) {}\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with statement in strict mode throws SyntaxError (eval, where the
+ container function is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception. Note that eval
+ // inherits the strictness of its calling context.
+ try {
+ eval("\
+ var o = {};\
+ with (o) {}\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js
index 3c4e81daa..86a193211 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-11-s.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-11-s.js
- * @description Strict Mode - SyntaxError is thrown when using WithStatement in strict mode code
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
- try {
- eval("with ({}) { throw new Error();}");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown when using WithStatement in
+ strict mode code
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+ try {
+ eval("with ({}) { throw new Error();}");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js b/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js
index b40b37236..7e0ff8cea 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js
@@ -1,16 +1,15 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch12/12.10/12.10.1/12.10.1-11gs.js
- * @description Strict Mode - SyntaxError is thrown when using with statement
- * @onlyStrict
- * @negative ^((?!NotEarlyError).)*$
- */
-
-"use strict";
-throw NotEarlyError;
-with ({}) { }
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Strict Mode - SyntaxError is thrown when using with statement
+negative: ^((?!NotEarlyError).)*$
+flags: [onlyStrict]
+---*/
+
+"use strict";
+throw NotEarlyError;
+with ({}) { }
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js
index 0f327297d..511599e5e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-12-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-12-s.js
- * @description with statement in strict mode throws SyntaxError (strict eval)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- eval("\
- 'use strict'; \
- var o = {}; \
- with (o) {}\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError) ;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with statement in strict mode throws SyntaxError (strict eval)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("\
+ 'use strict'; \
+ var o = {}; \
+ with (o) {}\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError) ;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js
index 39d56659e..a0ebf38d8 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-13-s.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-13-s.js
- * @description Strict Mode - SyntaxError isn't thrown when WithStatement body is in strict mode code
- * @noStrict
- */
-
-
-function testcase() {
- with ({}) {
- "use strict";
- }
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError isn't thrown when WithStatement body is
+ in strict mode code
+flags: [noStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ with ({}) {
+ "use strict";
+ }
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js
index 0e7e685b7..85b932900 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-14-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-14-s.js
- * @description Strict Mode - SyntaxError is thrown when the getter of a literal object utilizes WithStatement
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("var obj = { get: function (a) { with(a){} } }; ");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown when the getter of a literal
+ object utilizes WithStatement
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("var obj = { get: function (a) { with(a){} } }; ");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js
index 8621631f6..5ea00618e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-15-s.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-15-s.js
- * @description Strict Mode - SyntaxError is thrown when the RHS of a dot property assignment utilizes WithStatement
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("var obj = {}; obj.get = function (a) { with(a){} }; ");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown when the RHS of a dot property
+ assignment utilizes WithStatement
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("var obj = {}; obj.get = function (a) { with(a){} }; ");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js
index e798b5715..95f03117e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-16-s.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-16-s.js
- * @description Strict Mode - SyntaxError is thrown when the RHS of an object indexer assignment utilizes WithStatement
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("var obj = {}; obj['get'] = function (a) { with(a){} }; ");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown when the RHS of an object
+ indexer assignment utilizes WithStatement
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("var obj = {}; obj['get'] = function (a) { with(a){} }; ");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js
index 211a1386e..366ef438e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-2-s.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-2-s.js
- * @description with statement in strict mode throws SyntaxError (nested function where container is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception.
- eval("\
- function foo() {\
- \'use strict\'; \
- function f() {\
- var o = {}; \
- with (o) {};\
- }\
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with statement in strict mode throws SyntaxError (nested function
+ where container is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception.
+ eval("\
+ function foo() {\
+ \'use strict\'; \
+ function f() {\
+ var o = {}; \
+ with (o) {};\
+ }\
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js
index 8b0d2961b..e0788cded 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-3-s.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-3-s.js
- * @description with statement in strict mode throws SyntaxError (nested strict function)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- // wrapping it in eval since this needs to be a syntax error. The
- // exception thrown must be a SyntaxError exception.
- eval("\
- function foo() {\
- function f() {\
- \'use strict\'; \
- var o = {}; \
- with (o) {};\
- }\
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with statement in strict mode throws SyntaxError (nested strict
+ function)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ // wrapping it in eval since this needs to be a syntax error. The
+ // exception thrown must be a SyntaxError exception.
+ eval("\
+ function foo() {\
+ function f() {\
+ \'use strict\'; \
+ var o = {}; \
+ with (o) {};\
+ }\
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js
index adb09673b..2c520f37e 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-4-s.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-4-s.js
- * @description with statement in strict mode throws SyntaxError (strict Function)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- var f = Function("\
- \'use strict\'; \
- var o = {}; \
- with (o) {};\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
-
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: with statement in strict mode throws SyntaxError (strict Function)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ var f = Function("\
+ \'use strict\'; \
+ var o = {}; \
+ with (o) {};\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js
index 3a1ea1ad8..e67ad88f3 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-5-s.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-5-s.js
- * @description with statement allowed in nested Function even if its container Function is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
-
- Function("\'use strict\'; var f1 = Function( \"var o = {}; with (o) {};\")");
- return true;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with statement allowed in nested Function even if its container
+ Function is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ Function("\'use strict\'; var f1 = Function( \"var o = {}; with (o) {};\")");
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js
index 0ceb2097e..9fe0076bb 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-7-s.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-7-s.js
- * @description with statement in strict mode throws SyntaxError (function expression, where the container function is directly evaled from strict code)
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval("var f = function () {\
- var o = {}; \
- with (o) {}; \
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with statement in strict mode throws SyntaxError (function
+ expression, where the container function is directly evaled from
+ strict code)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval("var f = function () {\
+ var o = {}; \
+ with (o) {}; \
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js
index 55cfa8e4e..4c9685a89 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-8-s.js
@@ -1,28 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-8-s.js
- * @description with statement in strict mode throws SyntaxError (function expression, where the container Function is strict)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- Function("\
- \'use strict\'; \
- var f1 = function () {\
- var o = {}; \
- with (o) {}; \
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with statement in strict mode throws SyntaxError (function
+ expression, where the container Function is strict)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function("\
+ \'use strict\'; \
+ var f1 = function () {\
+ var o = {}; \
+ with (o) {}; \
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js b/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js
index b0e29e256..2ed45bd8c 100644
--- a/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js
+++ b/test/suite/ch12/12.10/12.10.1/12.10.1-9-s.js
@@ -1,28 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.10/12.10.1/12.10.1-9-s.js
- * @description with statement in strict mode throws SyntaxError (strict function expression)
- * @onlyStrict
- */
-
-
-function testcase() {
- try {
- eval("\
- var f = function () {\
- \'use strict\';\
- var o = {}; \
- with (o) {}; \
- }\
- ");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError) ;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ with statement in strict mode throws SyntaxError (strict function
+ expression)
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ eval("\
+ var f = function () {\
+ \'use strict\';\
+ var o = {}; \
+ with (o) {}; \
+ }\
+ ");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError) ;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T1.js b/test/suite/ch12/12.10/S12.10_A1.10_T1.js
index 2256e66b7..149a19701 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T1.js
- * @description Using interation statement within "with" statement leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using interation statement within "with" statement leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T2.js b/test/suite/ch12/12.10/S12.10_A1.10_T2.js
index 35978c0d3..67c537df5 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T2.js
- * @description Using iteration statement within "with" statement leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statement within "with" statement leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -145,4 +146,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T3.js b/test/suite/ch12/12.10/S12.10_A1.10_T3.js
index b7f67f521..0af7d4fcb 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T3.js
@@ -1,15 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T3.js
- * @description Using iteration statment withing "with" statement leading to completion by exception
- * iteration statement inside with statement - exception completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statment withing "with" statement leading to
+ completion by exception iteration statement inside with statement
+ - exception completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,4 +149,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T4.js b/test/suite/ch12/12.10/S12.10_A1.10_T4.js
index 87ba7f654..ab6f8f42b 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T4.js
@@ -1,15 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T4.js
- * @description Using iteration statement witthin "with" staement leading to completion by break
- * iteration statement inside with statement - break completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statement witthin "with" staement leading to
+ completion by break iteration statement inside with statement -
+ break completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -138,4 +139,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.10_T5.js b/test/suite/ch12/12.10/S12.10_A1.10_T5.js
index 05d7d8d04..43cdcdffd 100644
--- a/test/suite/ch12/12.10/S12.10_A1.10_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.10_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.10_T5.js
- * @description Using iteration statement within "with" statement leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using iteration statement within "with" statement leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -139,4 +140,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T1.js b/test/suite/ch12/12.10/S12.10_A1.11_T1.js
index a939778d8..5761cfc6d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T1.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T2.js b/test/suite/ch12/12.10/S12.10_A1.11_T2.js
index cfbefef48..57cc3ded0 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T2.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T3.js b/test/suite/ch12/12.10/S12.10_A1.11_T3.js
index 9d68c9c9d..a8dd20333 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T3.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T4.js b/test/suite/ch12/12.10/S12.10_A1.11_T4.js
index d2fc84a75..62261c90e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T4.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.11_T5.js b/test/suite/ch12/12.10/S12.10_A1.11_T5.js
index 9dfc0e5dc..7269d5bda 100644
--- a/test/suite/ch12/12.10/S12.10_A1.11_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.11_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.11_T5.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T1.js b/test/suite/ch12/12.10/S12.10_A1.12_T1.js
index 6ccbf0ca7..cd4ff867a 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T1.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T2.js b/test/suite/ch12/12.10/S12.10_A1.12_T2.js
index bd0cbe0f8..0ee7ca77e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T2.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -147,4 +148,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T3.js b/test/suite/ch12/12.10/S12.10_A1.12_T3.js
index 39ab7d395..b5c002b05 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T3.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,5 +149,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T4.js b/test/suite/ch12/12.10/S12.10_A1.12_T4.js
index 49b58c6d5..794ef1afa 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T4.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ try {
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.12_T5.js b/test/suite/ch12/12.10/S12.10_A1.12_T5.js
index 2e3534367..37b814be8 100644
--- a/test/suite/ch12/12.10/S12.10_A1.12_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.12_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.12_T5.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,5 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.1_T1.js b/test/suite/ch12/12.10/S12.10_A1.1_T1.js
index a749c9c20..1fe5ce969 100644
--- a/test/suite/ch12/12.10/S12.10_A1.1_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.1_T1.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.1_T1.js
- * @description Using "with" inside of global context leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: Using "with" inside of global context leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -133,4 +132,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.1_T2.js b/test/suite/ch12/12.10/S12.10_A1.1_T2.js
index d07cb0e69..fd1bdf2b6 100644
--- a/test/suite/ch12/12.10/S12.10_A1.1_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.1_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.1_T2.js
- * @description Using "with" inside of global context leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" inside of global context leading to completion by
+ exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -142,4 +143,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.1_T3.js b/test/suite/ch12/12.10/S12.10_A1.1_T3.js
index 200209019..e41d146e5 100644
--- a/test/suite/ch12/12.10/S12.10_A1.1_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.1_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.1_T3.js
- * @description Using "with" inside of global context leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" inside of global context leading to completion by
+ exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T1.js b/test/suite/ch12/12.10/S12.10_A1.2_T1.js
index 20a344d48..562c6063e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T1.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T1.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +143,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T2.js b/test/suite/ch12/12.10/S12.10_A1.2_T2.js
index 39312c70a..6de9dbcc3 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T2.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T2.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +148,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T3.js b/test/suite/ch12/12.10/S12.10_A1.2_T3.js
index f34c7cb94..72d59861d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T3.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T3.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,5 +150,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T4.js b/test/suite/ch12/12.10/S12.10_A1.2_T4.js
index f8bff8e20..ccb9ee31e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T4.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T4.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -150,4 +152,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.2_T5.js b/test/suite/ch12/12.10/S12.10_A1.2_T5.js
index d67f69d6d..eecd2176e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.2_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.2_T5.js
@@ -1,14 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.2_T5.js
- * @description Calling a function without "with" statement when the statement itself is declared within the function declaration, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function without "with" statement when the statement
+ itself is declared within the function declaration, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,4 +150,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T1.js b/test/suite/ch12/12.10/S12.10_A1.3_T1.js
index 3e453847b..5fa67fef9 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T1.js
- * @description Using "with" statement within function constructor, leading to normal completition
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ normal completition
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T2.js b/test/suite/ch12/12.10/S12.10_A1.3_T2.js
index 183d0dabf..fa283642a 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T2.js
- * @description Using "with" statement within function constructor, leading to normal completition by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ normal completition by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -142,4 +143,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T3.js b/test/suite/ch12/12.10/S12.10_A1.3_T3.js
index e413f3918..6adbccbba 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T3.js
- * @description Using "with" statement within function constructor, leading to normal completition by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ normal completition by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,5 +145,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T4.js b/test/suite/ch12/12.10/S12.10_A1.3_T4.js
index 7ac5823f7..50c5f9795 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T4.js
- * @description Using "with" statement within function constructor, leading to completition by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ completition by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +147,3 @@ catch(e){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.3_T5.js b/test/suite/ch12/12.10/S12.10_A1.3_T5.js
index 41b85c6dc..9947b05cc 100644
--- a/test/suite/ch12/12.10/S12.10_A1.3_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.3_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.3_T5.js
- * @description Using "with" statement within function constructor, leading to completition by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within function constructor, leading to
+ completition by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,5 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T1.js b/test/suite/ch12/12.10/S12.10_A1.4_T1.js
index 2bbec00ec..289c98a5e 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T1.js
- * @description Using "with" statement within iteration statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T2.js b/test/suite/ch12/12.10/S12.10_A1.4_T2.js
index 9bafbb075..02f541736 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T2.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -145,4 +146,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T3.js b/test/suite/ch12/12.10/S12.10_A1.4_T3.js
index 3b3e72f8a..43535c78c 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T3.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -147,4 +148,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T4.js b/test/suite/ch12/12.10/S12.10_A1.4_T4.js
index b9209bb67..3d531624b 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T4.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -137,4 +138,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.4_T5.js b/test/suite/ch12/12.10/S12.10_A1.4_T5.js
index b942e2b41..7773987d6 100644
--- a/test/suite/ch12/12.10/S12.10_A1.4_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.4_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.4_T5.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -139,4 +140,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T1.js b/test/suite/ch12/12.10/S12.10_A1.5_T1.js
index a45cd5df1..ffaae5d7a 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T1.js
- * @description Using "with" statement within "for-in" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T2.js b/test/suite/ch12/12.10/S12.10_A1.5_T2.js
index 4efa5a216..c9afb655f 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T2.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T3.js b/test/suite/ch12/12.10/S12.10_A1.5_T3.js
index e4cace7e1..8870e8e0d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T3.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T4.js b/test/suite/ch12/12.10/S12.10_A1.5_T4.js
index 6655901d6..d275a7a3b 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T4.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.5_T5.js b/test/suite/ch12/12.10/S12.10_A1.5_T5.js
index 1273f5166..9e676a9ab 100644
--- a/test/suite/ch12/12.10/S12.10_A1.5_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.5_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.5_T5.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.6_T1.js b/test/suite/ch12/12.10/S12.10_A1.6_T1.js
index 608ceef9f..7eb5d39d6 100644
--- a/test/suite/ch12/12.10/S12.10_A1.6_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.6_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.6_T1.js
- * @description Using "with" statement within another "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within another "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -135,4 +136,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.6_T2.js b/test/suite/ch12/12.10/S12.10_A1.6_T2.js
index 8cfae1a8b..b6ca245bc 100644
--- a/test/suite/ch12/12.10/S12.10_A1.6_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.6_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.6_T2.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.6_T3.js b/test/suite/ch12/12.10/S12.10_A1.6_T3.js
index 4774eb44d..c82daf6da 100644
--- a/test/suite/ch12/12.10/S12.10_A1.6_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.6_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.6_T3.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +147,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T1.js b/test/suite/ch12/12.10/S12.10_A1.7_T1.js
index 134af702c..ca06da099 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T1.js
- * @description Calling a function within "with" statement declared within the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T2.js b/test/suite/ch12/12.10/S12.10_A1.7_T2.js
index 3efde0328..5266281b9 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T2.js
- * @description Calling a function within "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -146,4 +147,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T3.js b/test/suite/ch12/12.10/S12.10_A1.7_T3.js
index d43395763..3e14b476f 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T3.js
- * @description Calling a function within "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -148,4 +149,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T4.js b/test/suite/ch12/12.10/S12.10_A1.7_T4.js
index 9ca70ef1c..8dfe75650 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T4.js
- * @description Calling a function within "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -150,4 +151,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.7_T5.js b/test/suite/ch12/12.10/S12.10_A1.7_T5.js
index d7070388b..eabad4816 100644
--- a/test/suite/ch12/12.10/S12.10_A1.7_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.7_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.7_T5.js
- * @description Calling a function within "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Calling a function within "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T1.js b/test/suite/ch12/12.10/S12.10_A1.8_T1.js
index 73519377b..7414e616d 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T1.js
- * @description Declaring function constructor within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T2.js b/test/suite/ch12/12.10/S12.10_A1.8_T2.js
index fd81d2bfc..fb83d3c89 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T2.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T3.js b/test/suite/ch12/12.10/S12.10_A1.8_T3.js
index 39a648266..7ab9f9398 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T3.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T4.js b/test/suite/ch12/12.10/S12.10_A1.8_T4.js
index f6eed2043..e86dc2220 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T4.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -149,4 +150,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.8_T5.js b/test/suite/ch12/12.10/S12.10_A1.8_T5.js
index c2425b1f1..28b587896 100644
--- a/test/suite/ch12/12.10/S12.10_A1.8_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A1.8_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.8_T5.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -152,4 +153,3 @@ catch(e){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.9_T1.js b/test/suite/ch12/12.10/S12.10_A1.9_T1.js
index 629b517b4..26fda66ed 100644
--- a/test/suite/ch12/12.10/S12.10_A1.9_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A1.9_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.9_T1.js
- * @description Using "for-in" statement within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -141,4 +142,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.9_T2.js b/test/suite/ch12/12.10/S12.10_A1.9_T2.js
index 8e82e60eb..6e015eabf 100644
--- a/test/suite/ch12/12.10/S12.10_A1.9_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A1.9_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.9_T2.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -136,4 +137,3 @@ if(!(value === undefined)){
if(!(myObj.value === "value")){
$ERROR('#19: myObj.value === "value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A1.9_T3.js b/test/suite/ch12/12.10/S12.10_A1.9_T3.js
index 52ba815fc..5a89b0e81 100644
--- a/test/suite/ch12/12.10/S12.10_A1.9_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A1.9_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The with statement adds a computed object to the front of the
- * scope chain of the current execution context
- *
- * @path ch12/12.10/S12.10_A1.9_T3.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ The with statement adds a computed object to the front of the
+ scope chain of the current execution context
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
this.p2 = 2;
@@ -144,4 +145,3 @@ if(!(value === undefined)){
if(!(myObj.value === "myObj_value")){
$ERROR('#19: myObj.value === "myObj_value". Actual: myObj.value ==='+ myObj.value );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T1.js b/test/suite/ch12/12.10/S12.10_A3.10_T1.js
index 17fd49b0a..4d47f48c5 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T1.js
- * @description Using iteration statement within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,7 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T2.js b/test/suite/ch12/12.10/S12.10_A3.10_T2.js
index 12c26bd86..1087c4e20 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T2.js
- * @description Using iteration statement within "with" statement, leading completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T3.js b/test/suite/ch12/12.10/S12.10_A3.10_T3.js
index 32c27cce4..d4a006d1a 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T3.js
- * @description Using iteration statement within "with" statement, leading completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T4.js b/test/suite/ch12/12.10/S12.10_A3.10_T4.js
index 5f55777e2..3c3800a9f 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T4.js
- * @description Using iteration statement within "with" statement, leading completion be break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion be break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,6 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.10_T5.js b/test/suite/ch12/12.10/S12.10_A3.10_T5.js
index b26cd9d43..768df74b2 100644
--- a/test/suite/ch12/12.10/S12.10_A3.10_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.10_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.10_T5.js
- * @description Using iteration statement within "with" statement, leading completion be break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using iteration statement within "with" statement, leading
+ completion be break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,4 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T1.js b/test/suite/ch12/12.10/S12.10_A3.11_T1.js
index 8d15c1486..10ad5d3ef 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T1.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -32,4 +33,3 @@ if(!(p1 === "x1")){
if(!(myObj.p1 === "a")){
$ERROR('#2: myObj.p1 === "a". Actual: myObj.p1 ==='+ myObj.p1 );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T2.js b/test/suite/ch12/12.10/S12.10_A3.11_T2.js
index 81cdcc6af..bce1a2cf1 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T2.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -38,4 +39,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T3.js b/test/suite/ch12/12.10/S12.10_A3.11_T3.js
index 35e24fee0..d0acd3536 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T3.js
- * @description Calling a function within "with" statement declared without the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -38,5 +39,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T4.js b/test/suite/ch12/12.10/S12.10_A3.11_T4.js
index 7056d6181..df1d74c40 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T4.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -42,6 +43,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.11_T5.js b/test/suite/ch12/12.10/S12.10_A3.11_T5.js
index ebce27c9f..1039105c6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.11_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.11_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.11_T5.js
- * @description Calling a function within "with" statement declared without the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function within "with" statement declared without the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -41,5 +42,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "value")){
$ERROR('#3: result === "value". Actual: result ==='+ result );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T1.js b/test/suite/ch12/12.10/S12.10_A3.12_T1.js
index 1ec9f7607..033dd69d5 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T1.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -32,4 +33,3 @@ if(!(p1 === 1)){
if(!(myObj.p1 === "x1")){
$ERROR('#2: myObj.p1 === "x1". Actual: myObj.p1 ==='+ myObj.p1 );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T2.js b/test/suite/ch12/12.10/S12.10_A3.12_T2.js
index 171ef5808..7f5e1f05c 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T2.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -38,4 +39,3 @@ if(!(myObj.p1 === "x1")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T3.js b/test/suite/ch12/12.10/S12.10_A3.12_T3.js
index 3cea6bc58..438e7f642 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T3.js
- * @description Calling a function without "with" statement declared within the statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -37,4 +38,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T4.js b/test/suite/ch12/12.10/S12.10_A3.12_T4.js
index 1049d25fe..1da166cff 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T4.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -41,5 +42,3 @@ if(!(myObj.p1 === "x1")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.12_T5.js b/test/suite/ch12/12.10/S12.10_A3.12_T5.js
index 9d3c9fed9..c5d1576db 100644
--- a/test/suite/ch12/12.10/S12.10_A3.12_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.12_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.12_T5.js
- * @description Calling a function without "with" statement declared within the statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Calling a function without "with" statement declared within the
+ statement, leading to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -41,4 +42,3 @@ if(!(myObj.p1 === "a")){
if(!(result === "myObj_value")){
$ERROR('#3: result === "myObj_value". Actual: result ==='+ result );
}
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.1_T1.js b/test/suite/ch12/12.10/S12.10_A3.1_T1.js
index 58ee15b9c..4440fbfa9 100644
--- a/test/suite/ch12/12.10/S12.10_A3.1_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.1_T1.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.1_T1.js
- * @description Using "with" statement within global context - normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: Using "with" statement within global context - normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -40,6 +39,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.1_T2.js b/test/suite/ch12/12.10/S12.10_A3.1_T2.js
index 12b72b2c2..620fdf677 100644
--- a/test/suite/ch12/12.10/S12.10_A3.1_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.1_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.1_T2.js
- * @description Using "with" statement within global context, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within global context, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -56,4 +57,3 @@ if (myObj.p1 !== "x1") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.1_T3.js b/test/suite/ch12/12.10/S12.10_A3.1_T3.js
index f78052019..e57769e17 100644
--- a/test/suite/ch12/12.10/S12.10_A3.1_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.1_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.1_T3.js
- * @description Using "with" statement within global context, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within global context, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
var result = "result";
@@ -51,8 +52,3 @@ if(!(myObj.p1 === "a")){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T1.js b/test/suite/ch12/12.10/S12.10_A3.2_T1.js
index 0d3e11beb..d3f60669b 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T1.js
- * @description Declaring "with" statement within a function body, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,4 +44,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T2.js b/test/suite/ch12/12.10/S12.10_A3.2_T2.js
index 2ef4889d4..f388a22e1 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T2.js
- * @description Declaring "with" statement within a function body, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,6 +45,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T3.js b/test/suite/ch12/12.10/S12.10_A3.2_T3.js
index 8f46552e7..a0ef9a859 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T3.js
- * @description Declaring "with" statement within a function body, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,4 +45,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T4.js b/test/suite/ch12/12.10/S12.10_A3.2_T4.js
index 3c5598088..381566d08 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T4.js
- * @description Declaring "with" statement within a function body, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -57,4 +58,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.2_T5.js b/test/suite/ch12/12.10/S12.10_A3.2_T5.js
index 61d86905a..7b7ed77c6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.2_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.2_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.2_T5.js
- * @description Declaring "with" statement within a function body, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function body, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -56,8 +57,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T1.js b/test/suite/ch12/12.10/S12.10_A3.3_T1.js
index 27a310837..160bb3773 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T1.js
- * @description Declaring "with" statement within a function constructor, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,6 +44,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T2.js b/test/suite/ch12/12.10/S12.10_A3.3_T2.js
index de6faab31..c5198aaf8 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T2.js
- * @description Declaring "with" statement within a function constructor, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,4 +45,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T3.js b/test/suite/ch12/12.10/S12.10_A3.3_T3.js
index 4a981756a..749432872 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T3.js
- * @description Declaring "with" statement within a function constructor, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -44,6 +45,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.3_T4.js b/test/suite/ch12/12.10/S12.10_A3.3_T4.js
index 3eeb2ed5e..b170a5239 100644
--- a/test/suite/ch12/12.10/S12.10_A3.3_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.3_T4.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement', the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.3_T4.js
- * @description Declaring "with" statement within a function constructor, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement', the scope chain is
+ always restored to its former state
+description: >
+ Declaring "with" statement within a function constructor, leading
+ to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,4 +57,3 @@ if (myObj.p1 !== "x1") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T1.js b/test/suite/ch12/12.10/S12.10_A3.4_T1.js
index 1ef21667b..16328eed8 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T1.js
- * @description Using "with" statement within iteration statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,6 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T2.js b/test/suite/ch12/12.10/S12.10_A3.4_T2.js
index 801c592aa..dd7512f87 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T2.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T3.js b/test/suite/ch12/12.10/S12.10_A3.4_T3.js
index 56698024e..33fc1c344 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T3.js
- * @description Using "with" statement within iteration statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T4.js b/test/suite/ch12/12.10/S12.10_A3.4_T4.js
index 557666a9c..24d411b7c 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T4.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,6 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.4_T5.js b/test/suite/ch12/12.10/S12.10_A3.4_T5.js
index 06816be05..9ea05e4ad 100644
--- a/test/suite/ch12/12.10/S12.10_A3.4_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.4_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.4_T5.js
- * @description Using "with" statement within iteration statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within iteration statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,6 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T1.js b/test/suite/ch12/12.10/S12.10_A3.5_T1.js
index b49962dc1..3a8fb23a6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T1.js
- * @description Using "with" statement within "for-in" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,4 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T2.js b/test/suite/ch12/12.10/S12.10_A3.5_T2.js
index e1ec1d611..e538c025f 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T2.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T3.js b/test/suite/ch12/12.10/S12.10_A3.5_T3.js
index d85bca3bf..7696be8ed 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T3.js
- * @description Using "with" statement within "for-in" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T4.js b/test/suite/ch12/12.10/S12.10_A3.5_T4.js
index f85657a82..24d82b56d 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T4.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,4 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.5_T5.js b/test/suite/ch12/12.10/S12.10_A3.5_T5.js
index 78b526fc3..c1255af97 100644
--- a/test/suite/ch12/12.10/S12.10_A3.5_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.5_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.5_T5.js
- * @description Using "with" statement within "for-in" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within "for-in" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,7 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.6_T1.js b/test/suite/ch12/12.10/S12.10_A3.6_T1.js
index 4042e9b71..9daea1915 100644
--- a/test/suite/ch12/12.10/S12.10_A3.6_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.6_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.6_T1.js
- * @description Using "with" statement within another "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within another "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,6 +56,3 @@ if(theirObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.6_T2.js b/test/suite/ch12/12.10/S12.10_A3.6_T2.js
index db1d04dfb..abfe9aded 100644
--- a/test/suite/ch12/12.10/S12.10_A3.6_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.6_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.6_T2.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -61,5 +62,3 @@ if(theirObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.6_T3.js b/test/suite/ch12/12.10/S12.10_A3.6_T3.js
index ade4cdc5f..78603a697 100644
--- a/test/suite/ch12/12.10/S12.10_A3.6_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.6_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.6_T3.js
- * @description Using "with" statement within another "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "with" statement within another "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -62,5 +63,3 @@ if(theirObj.p1 !== true){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T1.js b/test/suite/ch12/12.10/S12.10_A3.7_T1.js
index b24f131a4..8f6f6dd64 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T1.js
- * @description Declaring and calling a function within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,6 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T2.js b/test/suite/ch12/12.10/S12.10_A3.7_T2.js
index 7494fa7f3..4ca8a954d 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T2.js
- * @description Declaring and calling a function within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -50,6 +51,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T3.js b/test/suite/ch12/12.10/S12.10_A3.7_T3.js
index d3b72e03d..984d88092 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T3.js
- * @description Declaring and calling a function within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -50,4 +51,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T4.js b/test/suite/ch12/12.10/S12.10_A3.7_T4.js
index cd97c3c1b..5de16a5c6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T4.js
- * @description Declaring and calling a function within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.7_T5.js b/test/suite/ch12/12.10/S12.10_A3.7_T5.js
index c0d9d84a2..7750a825c 100644
--- a/test/suite/ch12/12.10/S12.10_A3.7_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.7_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.7_T5.js
- * @description Declaring and calling a function within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring and calling a function within "with" statement, leading
+ to completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -54,4 +55,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T1.js b/test/suite/ch12/12.10/S12.10_A3.8_T1.js
index efe008e85..ff62a20ec 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T1.js
- * @description Declaring function constructor within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,4 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T2.js b/test/suite/ch12/12.10/S12.10_A3.8_T2.js
index 948270d0f..98cc460d6 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T2.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,4 +44,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T3.js b/test/suite/ch12/12.10/S12.10_A3.8_T3.js
index f104c10f3..82cd88626 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T3.js
- * @description Declaring function constructor within "with" statement, leading to normal completion by "return"
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ normal completion by "return"
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -43,4 +44,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T4.js b/test/suite/ch12/12.10/S12.10_A3.8_T4.js
index 2f034a106..bacd7ef94 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T4.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,4 +56,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.8_T5.js b/test/suite/ch12/12.10/S12.10_A3.8_T5.js
index 7484ca06a..527d7a21a 100644
--- a/test/suite/ch12/12.10/S12.10_A3.8_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A3.8_T5.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.8_T5.js
- * @description Declaring function constructor within "with" statement, leading to completion by exception
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Declaring function constructor within "with" statement, leading to
+ completion by exception
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -55,4 +56,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.9_T1.js b/test/suite/ch12/12.10/S12.10_A3.9_T1.js
index f54c2087b..6fc98e8ce 100644
--- a/test/suite/ch12/12.10/S12.10_A3.9_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A3.9_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.9_T1.js
- * @description Using "for-in" statement within "with" statement, leading to normal completion
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ normal completion
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -41,6 +42,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.9_T2.js b/test/suite/ch12/12.10/S12.10_A3.9_T2.js
index a1bb6dfe9..45f1146dd 100644
--- a/test/suite/ch12/12.10/S12.10_A3.9_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A3.9_T2.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.9_T2.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,5 +43,3 @@ if(myObj.p1 !== "x1"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A3.9_T3.js b/test/suite/ch12/12.10/S12.10_A3.9_T3.js
index c00200340..385072456 100644
--- a/test/suite/ch12/12.10/S12.10_A3.9_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A3.9_T3.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * No matter how control leaves the embedded 'Statement',
- * the scope chain is always restored to its former state
- *
- * @path ch12/12.10/S12.10_A3.9_T3.js
- * @description Using "for-in" statement within "with" statement, leading to completion by break
- * @noStrict
- */
+/*---
+info: >
+ No matter how control leaves the embedded 'Statement',
+ the scope chain is always restored to its former state
+description: >
+ Using "for-in" statement within "with" statement, leading to
+ completion by break
+flags: [noStrict]
+---*/
this.p1 = 1;
@@ -42,5 +43,3 @@ if(myObj.p1 !== "a"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T1.js b/test/suite/ch12/12.10/S12.10_A4_T1.js
index 6deef5b1a..a64cb99f3 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T1.js
- * @description Changing string property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing string property
+flags: [noStrict]
+---*/
this.p1 = 1;
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T2.js b/test/suite/ch12/12.10/S12.10_A4_T2.js
index e31f52b84..f26fe283c 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T2.js
- * @description Changing number property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing number property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T3.js b/test/suite/ch12/12.10/S12.10_A4_T3.js
index 94c58701c..98428624e 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T3.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T3.js
- * @description Changing boolean property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing boolean property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T4.js b/test/suite/ch12/12.10/S12.10_A4_T4.js
index 042d0dfc5..475c9c4db 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T4.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T4.js
- * @description Changing object property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing object property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -39,4 +37,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T5.js b/test/suite/ch12/12.10/S12.10_A4_T5.js
index 38a743b03..e9e72b9ba 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T5.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T5.js
- * @description Changing array property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing array property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A4_T6.js b/test/suite/ch12/12.10/S12.10_A4_T6.js
index fce451118..3d71e0be6 100644
--- a/test/suite/ch12/12.10/S12.10_A4_T6.js
+++ b/test/suite/ch12/12.10/S12.10_A4_T6.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Changing property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A4_T6.js
- * @description Changing function property
- * @noStrict
- */
+/*---
+info: Changing property using "eval" statement containing "with" statement
+description: Changing function property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -30,4 +28,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T1.js b/test/suite/ch12/12.10/S12.10_A5_T1.js
index 351e4bb9d..de4a2da1d 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T1.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T1.js
- * @description Deleting string property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting string property
+flags: [noStrict]
+---*/
this.p1 = 1;
var myObj = {
@@ -47,4 +45,3 @@ if(myObj.p1 === 1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T2.js b/test/suite/ch12/12.10/S12.10_A5_T2.js
index 909d79d03..ee19b8bdf 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T2.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T2.js
- * @description Deleting number property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting number property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -47,4 +45,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T3.js b/test/suite/ch12/12.10/S12.10_A5_T3.js
index cd2ec3487..74c284164 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T3.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T3.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T3.js
- * @description Deleting boolean property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting boolean property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -48,4 +46,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T4.js b/test/suite/ch12/12.10/S12.10_A5_T4.js
index 96f2ded29..7b711b8a5 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T4.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T4.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T4.js
- * @description Deleting object property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting object property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -52,4 +50,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T5.js b/test/suite/ch12/12.10/S12.10_A5_T5.js
index f0b52d07a..e89ad1967 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T5.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T5.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T5.js
- * @description Deleting array property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting array property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -52,4 +50,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.10/S12.10_A5_T6.js b/test/suite/ch12/12.10/S12.10_A5_T6.js
index 67c79398a..e635748ff 100644
--- a/test/suite/ch12/12.10/S12.10_A5_T6.js
+++ b/test/suite/ch12/12.10/S12.10_A5_T6.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Deleting property using "eval" statement containing "with" statement
- *
- * @path ch12/12.10/S12.10_A5_T6.js
- * @description Deleting function property
- * @noStrict
- */
+/*---
+info: Deleting property using "eval" statement containing "with" statement
+description: Deleting function property
+flags: [noStrict]
+---*/
this.p1 = 'a';
var myObj = {
@@ -52,4 +50,3 @@ if(myObj.p1 === 'a'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.11/S12.11_A1_T1.js b/test/suite/ch12/12.11/S12.11_A1_T1.js
index 0d637da55..6f6b3b44d 100644
--- a/test/suite/ch12/12.11/S12.11_A1_T1.js
+++ b/test/suite/ch12/12.11/S12.11_A1_T1.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result.type is break and Result.target is in the current
- * label set, return (normal, Result.value, empty)
- *
- * @path ch12/12.11/S12.11_A1_T1.js
- * @description Simple test using switch statement
- */
+/*---
+info: >
+ If Result.type is break and Result.target is in the current
+ label set, return (normal, Result.value, empty)
+description: Simple test using switch statement
+---*/
function SwitchTest(value){
var result = 0;
@@ -71,4 +70,3 @@ if(!(SwitchTest(void 0) === 32)){
if(!(SwitchTest('0') === 32)){
$ERROR("#10: SwitchTest('0') === 32. Actual: SwitchTest('0') ==="+ SwitchTest('0') );
}
-
diff --git a/test/suite/ch12/12.11/S12.11_A1_T2.js b/test/suite/ch12/12.11/S12.11_A1_T2.js
index a7b4abc59..d359fe513 100644
--- a/test/suite/ch12/12.11/S12.11_A1_T2.js
+++ b/test/suite/ch12/12.11/S12.11_A1_T2.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result.type is break and Result.target is in the current
- * label set, return (normal, Result.value, empty)
- *
- * @path ch12/12.11/S12.11_A1_T2.js
- * @description Switch with different types of variables
- */
+/*---
+info: >
+ If Result.type is break and Result.target is in the current
+ label set, return (normal, Result.value, empty)
+description: Switch with different types of variables
+---*/
var x = new Number(2);
@@ -85,4 +84,3 @@ if(!(SwitchTest('0') === 32)){
if(!(SwitchTest(x) === 128)){
$ERROR("#10: SwitchTest(x) === 128. Actual: SwitchTest(x) ==="+ SwitchTest(x) );
}
-
diff --git a/test/suite/ch12/12.11/S12.11_A1_T3.js b/test/suite/ch12/12.11/S12.11_A1_T3.js
index 3171a6661..31771244b 100644
--- a/test/suite/ch12/12.11/S12.11_A1_T3.js
+++ b/test/suite/ch12/12.11/S12.11_A1_T3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result.type is break and Result.target is in the current
- * label set, return (normal, Result.value, empty)
- *
- * @path ch12/12.11/S12.11_A1_T3.js
- * @description Using case with null, NaN, Infinity
- */
+/*---
+info: >
+ If Result.type is break and Result.target is in the current
+ label set, return (normal, Result.value, empty)
+description: Using case with null, NaN, Infinity
+---*/
function SwitchTest(value){
var result = 0;
@@ -89,4 +88,3 @@ if(!(SwitchTest(NaN) === 32)){
if(!(SwitchTest(Infinity) === 768)){
$ERROR("#10: SwitchTest(NaN) === 768. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) );
}
-
diff --git a/test/suite/ch12/12.11/S12.11_A1_T4.js b/test/suite/ch12/12.11/S12.11_A1_T4.js
index 0182397fe..3e3656307 100644
--- a/test/suite/ch12/12.11/S12.11_A1_T4.js
+++ b/test/suite/ch12/12.11/S12.11_A1_T4.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result.type is break and Result.target is in the current
- * label set, return (normal, Result.value, empty)
- *
- * @path ch12/12.11/S12.11_A1_T4.js
- * @description Using case with isNaN and isNaN(value)
- */
+/*---
+info: >
+ If Result.type is break and Result.target is in the current
+ label set, return (normal, Result.value, empty)
+description: Using case with isNaN and isNaN(value)
+---*/
function SwitchTest(value){
var result = 0;
@@ -77,4 +76,3 @@ if(!(SwitchTest(NaN) === 32)){
if(!(SwitchTest(Infinity) === 768)){
$ERROR("#10: SwitchTest(NaN) === 768. Actual: SwitchTest(NaN) ==="+ SwitchTest(NaN) );
}
-
diff --git a/test/suite/ch12/12.11/S12.11_A2_T1.js b/test/suite/ch12/12.11/S12.11_A2_T1.js
index 247437638..0e51a6b16 100644
--- a/test/suite/ch12/12.11/S12.11_A2_T1.js
+++ b/test/suite/ch12/12.11/S12.11_A2_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * There can be only one DefaultClause
- *
- * @path ch12/12.11/S12.11_A2_T1.js
- * @description Duplicate DefaultClause
- * @negative
- */
+/*---
+info: There can be only one DefaultClause
+description: Duplicate DefaultClause
+flags: [negative]
+---*/
function SwitchTest(value){
var result = 0;
@@ -27,4 +25,3 @@ function SwitchTest(value){
}
var x = SwitchTest(0);
-
diff --git a/test/suite/ch12/12.11/S12.11_A3_T1.js b/test/suite/ch12/12.11/S12.11_A3_T1.js
index feab32852..e1ef2b635 100644
--- a/test/suite/ch12/12.11/S12.11_A3_T1.js
+++ b/test/suite/ch12/12.11/S12.11_A3_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Syntax constructions of switch statement
- *
- * @path ch12/12.11/S12.11_A3_T1.js
- * @description Checking if execution of "switch() {}" fails
- * @negative
- */
+/*---
+info: Syntax constructions of switch statement
+description: Checking if execution of "switch() {}" fails
+flags: [negative]
+---*/
function SwitchTest(value){
var result = 0;
@@ -24,4 +22,3 @@ function SwitchTest(value){
}
var x = SwitchTest(0);
-
diff --git a/test/suite/ch12/12.11/S12.11_A3_T2.js b/test/suite/ch12/12.11/S12.11_A3_T2.js
index d879d6028..0819f6e8a 100644
--- a/test/suite/ch12/12.11/S12.11_A3_T2.js
+++ b/test/suite/ch12/12.11/S12.11_A3_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Syntax constructions of switch statement
- *
- * @path ch12/12.11/S12.11_A3_T2.js
- * @description Checking if execution of "switch {}" fails
- * @negative
- */
+/*---
+info: Syntax constructions of switch statement
+description: Checking if execution of "switch {}" fails
+flags: [negative]
+---*/
function SwitchTest(value){
var result = 0;
@@ -24,4 +22,3 @@ function SwitchTest(value){
}
var x = SwitchTest(0);
-
diff --git a/test/suite/ch12/12.11/S12.11_A3_T3.js b/test/suite/ch12/12.11/S12.11_A3_T3.js
index 03d3898dc..dacfae457 100644
--- a/test/suite/ch12/12.11/S12.11_A3_T3.js
+++ b/test/suite/ch12/12.11/S12.11_A3_T3.js
@@ -1,13 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Syntax constructions of switch statement
- *
- * @path ch12/12.11/S12.11_A3_T3.js
- * @description Checking if execution of "switch(value)" fails
- * @negative
- */
+/*---
+info: Syntax constructions of switch statement
+description: Checking if execution of "switch(value)" fails
+flags: [negative]
+---*/
switch(value);
-
diff --git a/test/suite/ch12/12.11/S12.11_A3_T4.js b/test/suite/ch12/12.11/S12.11_A3_T4.js
index 00def2926..bd09d1d3f 100644
--- a/test/suite/ch12/12.11/S12.11_A3_T4.js
+++ b/test/suite/ch12/12.11/S12.11_A3_T4.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Syntax constructions of switch statement
- *
- * @path ch12/12.11/S12.11_A3_T4.js
- * @description Using "case" that has no Expresson after it. "CaseClause: case Expression : [StatementList]"
- * @negative
- */
+/*---
+info: Syntax constructions of switch statement
+description: >
+ Using "case" that has no Expresson after it. "CaseClause: case
+ Expression : [StatementList]"
+flags: [negative]
+---*/
function SwitchTest(value){
var result = 0;
@@ -24,4 +24,3 @@ function SwitchTest(value){
}
var x = SwitchTest(0);
-
diff --git a/test/suite/ch12/12.11/S12.11_A3_T5.js b/test/suite/ch12/12.11/S12.11_A3_T5.js
index 02cd94bd9..895c146da 100644
--- a/test/suite/ch12/12.11/S12.11_A3_T5.js
+++ b/test/suite/ch12/12.11/S12.11_A3_T5.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Syntax constructions of switch statement
- *
- * @path ch12/12.11/S12.11_A3_T5.js
- * @description Introducing statement not followed by "case" keyword
- * @negative
- */
+/*---
+info: Syntax constructions of switch statement
+description: Introducing statement not followed by "case" keyword
+flags: [negative]
+---*/
function SwitchTest(value){
var result = 0;
@@ -25,4 +23,3 @@ function SwitchTest(value){
}
var x = SwitchTest(0);
-
diff --git a/test/suite/ch12/12.11/S12.11_A4_T1.js b/test/suite/ch12/12.11/S12.11_A4_T1.js
index 8fbafbc81..3c06cfe03 100644
--- a/test/suite/ch12/12.11/S12.11_A4_T1.js
+++ b/test/suite/ch12/12.11/S12.11_A4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Embedded syntax constructions of switch statement
- *
- * @path ch12/12.11/S12.11_A4_T1.js
- * @description Nesting one "switch" statement into StatementList of the other's
- */
+/*---
+info: Embedded syntax constructions of switch statement
+description: Nesting one "switch" statement into StatementList of the other's
+---*/
function SwitchTest(value){
var result = 0;
@@ -33,4 +31,3 @@ function SwitchTest(value){
var x = SwitchTest(0);
if(x!==6) $ERROR("#1: SwitchTest(0) === 6. Actual: SwitchTest(0) ==="+ SwitchTest(0) );
-
diff --git a/test/suite/ch12/12.12/S12.12_A1_T1.js b/test/suite/ch12/12.12/S12.12_A1_T1.js
index c88e0650a..3d694d1fa 100644
--- a/test/suite/ch12/12.12/S12.12_A1_T1.js
+++ b/test/suite/ch12/12.12/S12.12_A1_T1.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Labelled statements are only used in conjunction with labelled
- * break and continue statements
- *
- * @path ch12/12.12/S12.12_A1_T1.js
- * @description Checking if labelled break works. See continue and break sections
- */
+/*---
+info: >
+ Labelled statements are only used in conjunction with labelled
+ break and continue statements
+description: Checking if labelled break works. See continue and break sections
+---*/
var object = {p1: 1, p2: 1};
var result = 0;
@@ -19,4 +18,3 @@ lbl: for(var i in object){
if(!(result === 1)){
$ERROR("'break label' should break execution of labelled iteration statement");
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A1.js b/test/suite/ch12/12.13/S12.13_A1.js
index bc2463577..2a20bb833 100644
--- a/test/suite/ch12/12.13/S12.13_A1.js
+++ b/test/suite/ch12/12.13/S12.13_A1.js
@@ -1,13 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Sanity test for throw statement
- *
- * @path ch12/12.13/S12.13_A1.js
- * @description Trying to throw exception with "throw"
- * @negative
- */
+/*---
+info: Sanity test for throw statement
+description: Trying to throw exception with "throw"
+flags: [negative]
+---*/
throw "error";
-
diff --git a/test/suite/ch12/12.13/S12.13_A2_T1.js b/test/suite/ch12/12.13/S12.13_A2_T1.js
index bca31ea80..9b11bf3b9 100644
--- a/test/suite/ch12/12.13/S12.13_A2_T1.js
+++ b/test/suite/ch12/12.13/S12.13_A2_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression
- *
- * @path ch12/12.13/S12.13_A2_T1.js
- * @description Throwing undefined
- */
+/*---
+info: >
+ "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1
+ evaluates Expression
+description: Throwing undefined
+---*/
// CHECK#1
try{
@@ -15,4 +15,3 @@ try{
catch(e){
if (e!==undefined) $ERROR('#1: Exception === undefined. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A2_T2.js b/test/suite/ch12/12.13/S12.13_A2_T2.js
index e068f39f6..be92edfa3 100644
--- a/test/suite/ch12/12.13/S12.13_A2_T2.js
+++ b/test/suite/ch12/12.13/S12.13_A2_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression
- *
- * @path ch12/12.13/S12.13_A2_T2.js
- * @description Throwing null
- */
+/*---
+info: >
+ "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1
+ evaluates Expression
+description: Throwing null
+---*/
// CHECK#1
try{
@@ -15,4 +15,3 @@ try{
catch(e){
if (e!==null) $ERROR('#1: Exception === null. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A2_T3.js b/test/suite/ch12/12.13/S12.13_A2_T3.js
index 37592ac19..fe5b3d2af 100644
--- a/test/suite/ch12/12.13/S12.13_A2_T3.js
+++ b/test/suite/ch12/12.13/S12.13_A2_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression
- *
- * @path ch12/12.13/S12.13_A2_T3.js
- * @description Throwing boolean
- */
+/*---
+info: >
+ "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1
+ evaluates Expression
+description: Throwing boolean
+---*/
// CHECK#1
try{
@@ -41,4 +41,3 @@ try{
catch(e){
if (e!==true) $ERROR('#4: Exception ===true. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A2_T4.js b/test/suite/ch12/12.13/S12.13_A2_T4.js
index bddf2dac3..7ddce10b4 100644
--- a/test/suite/ch12/12.13/S12.13_A2_T4.js
+++ b/test/suite/ch12/12.13/S12.13_A2_T4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression
- *
- * @path ch12/12.13/S12.13_A2_T4.js
- * @description Throwing string
- */
+/*---
+info: >
+ "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1
+ evaluates Expression
+description: Throwing string
+---*/
// CHECK#1
try{
@@ -24,4 +24,3 @@ try{
catch(e){
if (e!=="exception #1") $ERROR('#2: Exception ==="exception #1". Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A2_T5.js b/test/suite/ch12/12.13/S12.13_A2_T5.js
index 8d8084849..a1de7260f 100644
--- a/test/suite/ch12/12.13/S12.13_A2_T5.js
+++ b/test/suite/ch12/12.13/S12.13_A2_T5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression
- *
- * @path ch12/12.13/S12.13_A2_T5.js
- * @description Throwing number
- */
+/*---
+info: >
+ "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1
+ evaluates Expression
+description: Throwing number
+---*/
// CHECK#1
try{
@@ -72,4 +72,3 @@ try{
catch(e){
if (e!==-0) $ERROR('#8: Exception ===-0. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A2_T6.js b/test/suite/ch12/12.13/S12.13_A2_T6.js
index 39e799852..3f80207bb 100644
--- a/test/suite/ch12/12.13/S12.13_A2_T6.js
+++ b/test/suite/ch12/12.13/S12.13_A2_T6.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression
- *
- * @path ch12/12.13/S12.13_A2_T6.js
- * @description Throwing object
- */
+/*---
+info: >
+ "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1
+ evaluates Expression
+description: Throwing object
+---*/
var myObj = {p1: 'a',
p2: 'b',
@@ -42,4 +42,3 @@ try{
}
catch(e){}
if (myObj.i!==6) $ERROR('#4: Handling of catch must be correct');
-
diff --git a/test/suite/ch12/12.13/S12.13_A2_T7.js b/test/suite/ch12/12.13/S12.13_A2_T7.js
index bf633f868..2cf87716a 100644
--- a/test/suite/ch12/12.13/S12.13_A2_T7.js
+++ b/test/suite/ch12/12.13/S12.13_A2_T7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1 evaluates Expression
- *
- * @path ch12/12.13/S12.13_A2_T7.js
- * @description Throwing Array
- */
+/*---
+info: >
+ "throw Expression" returns (throw, GetValue(Result(1)), empty), where 1
+ evaluates Expression
+description: Throwing Array
+---*/
var mycars = new Array();
mycars[0] = "Saab";
@@ -27,4 +27,3 @@ catch(e){
if (e[i]!==mycars[i]) $ERROR('#1.'+i+': Exception['+i+'] === mycars['+i+']. Actual: Exception['+i+'] ==='+ e[i] );
}
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A3_T1.js b/test/suite/ch12/12.13/S12.13_A3_T1.js
index 7843a6459..8c0d8823d 100644
--- a/test/suite/ch12/12.13/S12.13_A3_T1.js
+++ b/test/suite/ch12/12.13/S12.13_A3_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1. Evaluate Expression
- *
- * @path ch12/12.13/S12.13_A3_T1.js
- * @description Evaluating boolean expression
- */
+/*---
+info: 1. Evaluate Expression
+description: Evaluating boolean expression
+---*/
// CHECK#1
var b=true;
@@ -42,4 +40,3 @@ try{
catch(e){
if (e!==true) $ERROR('#4: Exception === true(operaton &&). Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A3_T2.js b/test/suite/ch12/12.13/S12.13_A3_T2.js
index f8cb92203..86573b5f0 100644
--- a/test/suite/ch12/12.13/S12.13_A3_T2.js
+++ b/test/suite/ch12/12.13/S12.13_A3_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1. Evaluate Expression
- *
- * @path ch12/12.13/S12.13_A3_T2.js
- * @description Evaluating string expression
- */
+/*---
+info: 1. Evaluate Expression
+description: Evaluating string expression
+---*/
// CHECK#1
try{
@@ -25,4 +23,3 @@ try{
catch(e){
if (e!=="exception #1") $ERROR('#2: Exception === "exception #1"(operaton +). Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A3_T3.js b/test/suite/ch12/12.13/S12.13_A3_T3.js
index 44c9d075c..7699df82f 100644
--- a/test/suite/ch12/12.13/S12.13_A3_T3.js
+++ b/test/suite/ch12/12.13/S12.13_A3_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1. Evaluate Expression
- *
- * @path ch12/12.13/S12.13_A3_T3.js
- * @description Evaluating number expression
- */
+/*---
+info: 1. Evaluate Expression
+description: Evaluating number expression
+---*/
// CHECK#1
try{
@@ -89,4 +87,3 @@ try{
catch(e){
if (e!==23) $ERROR('#10: Exception ===23(operaton %). Actual: Exception ==='+ e);
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A3_T4.js b/test/suite/ch12/12.13/S12.13_A3_T4.js
index 9a6e010f0..69c0962f2 100644
--- a/test/suite/ch12/12.13/S12.13_A3_T4.js
+++ b/test/suite/ch12/12.13/S12.13_A3_T4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1. Evaluate Expression
- *
- * @path ch12/12.13/S12.13_A3_T4.js
- * @description Evaluating array expression
- */
+/*---
+info: 1. Evaluate Expression
+description: Evaluating array expression
+---*/
var mycars = new Array();
mycars[0] = "Saab";
@@ -53,4 +51,3 @@ catch(e){
if (e[i]!==mycars2[i-3]) $ERROR('#3.'+i+': Exception['+i+']===mycars2['+(i-3)+'](operation .concat(new)). Actual: Exception['+i+']==='+ e[i] );
}
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A3_T5.js b/test/suite/ch12/12.13/S12.13_A3_T5.js
index 69fb016d5..cbdfa83b0 100644
--- a/test/suite/ch12/12.13/S12.13_A3_T5.js
+++ b/test/suite/ch12/12.13/S12.13_A3_T5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1. Evaluate Expression
- *
- * @path ch12/12.13/S12.13_A3_T5.js
- * @description Evaluating equation expression
- */
+/*---
+info: 1. Evaluate Expression
+description: Evaluating equation expression
+---*/
// CHECK#1
var a=true;
@@ -17,4 +15,3 @@ try{
catch(e){
if (e!=="exception") $ERROR('#1: Exception ==="exception"(operaton ? , ). Actual: Exception ==='+e );
}
-
diff --git a/test/suite/ch12/12.13/S12.13_A3_T6.js b/test/suite/ch12/12.13/S12.13_A3_T6.js
index 7191c6bd6..a5ae8725d 100644
--- a/test/suite/ch12/12.13/S12.13_A3_T6.js
+++ b/test/suite/ch12/12.13/S12.13_A3_T6.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1. Evaluate Expression
- *
- * @path ch12/12.13/S12.13_A3_T6.js
- * @description Evaluating functions
- */
+/*---
+info: 1. Evaluate Expression
+description: Evaluating functions
+---*/
// CHECK#1
var i=0;
@@ -55,4 +53,3 @@ try{
catch(e){
if (e!==2) $ERROR('#4: Exception ===2. Actual: Exception ==='+ e);
}
-
diff --git a/test/suite/ch12/12.14/12.14-1.js b/test/suite/ch12/12.14/12.14-1.js
index 47bff810b..8baf17edc 100644
--- a/test/suite/ch12/12.14/12.14-1.js
+++ b/test/suite/ch12/12.14/12.14-1.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-1.js
- * @description catch doesn't change declaration scope - var initializer in catch with same name as catch parameter changes parameter
- */
-
-
-function testcase() {
- foo = "prior to throw";
- try {
- throw new Error();
- }
- catch (foo) {
- var foo = "initializer in catch";
- }
- return foo === "prior to throw";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ catch doesn't change declaration scope - var initializer in catch
+ with same name as catch parameter changes parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo = "prior to throw";
+ try {
+ throw new Error();
+ }
+ catch (foo) {
+ var foo = "initializer in catch";
+ }
+ return foo === "prior to throw";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-10.js b/test/suite/ch12/12.14/12.14-10.js
index 1bdf8273d..ca0ef758d 100644
--- a/test/suite/ch12/12.14/12.14-10.js
+++ b/test/suite/ch12/12.14/12.14-10.js
@@ -1,31 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-10.js
- * @description catch introduces scope - name lookup finds function parameter
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o, x) {
- try {
- throw o;
- }
- catch (e) {
- return x;
- }
- }
-
- return innerf(o, 42);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: catch introduces scope - name lookup finds function parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o, x) {
+ try {
+ throw o;
+ }
+ catch (e) {
+ return x;
+ }
+ }
+
+ return innerf(o, 42);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-11.js b/test/suite/ch12/12.14/12.14-11.js
index 6fded5bee..e9d493eef 100644
--- a/test/suite/ch12/12.14/12.14-11.js
+++ b/test/suite/ch12/12.14/12.14-11.js
@@ -1,33 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-11.js
- * @description catch introduces scope - name lookup finds inner variable
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o) {
- var x = 42;
-
- try {
- throw o;
- }
- catch (e) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: catch introduces scope - name lookup finds inner variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o) {
+ var x = 42;
+
+ try {
+ throw o;
+ }
+ catch (e) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-12.js b/test/suite/ch12/12.14/12.14-12.js
index c92580cfe..2ffa95f16 100644
--- a/test/suite/ch12/12.14/12.14-12.js
+++ b/test/suite/ch12/12.14/12.14-12.js
@@ -1,31 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-12.js
- * @description catch introduces scope - name lookup finds property
- */
-
-
-function testcase() {
- function f(o) {
-
- function innerf(o) {
- try {
- throw o;
- }
- catch (e) {
- return e.x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({x:42}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: catch introduces scope - name lookup finds property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+
+ function innerf(o) {
+ try {
+ throw o;
+ }
+ catch (e) {
+ return e.x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({x:42}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-13.js b/test/suite/ch12/12.14/12.14-13.js
index 3efb98913..890d05b0f 100644
--- a/test/suite/ch12/12.14/12.14-13.js
+++ b/test/suite/ch12/12.14/12.14-13.js
@@ -1,42 +1,42 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-13.js
- * @description catch introduces scope - updates are based on scope
- */
-
-
-function testcase() {
- var res1 = false;
- var res2 = false;
- var res3 = false;
-
- var x_12_14_13 = 'local';
- try {
- function foo() {
- this.x_12_14_13 = 'instance';
- }
-
- try {
- throw foo;
- }
- catch (e) {
- res1 = (x_12_14_13 === 'local');
- e();
- res2 = (x_12_14_13 === 'local');
- }
- res3 = (x_12_14_13 === 'local');
-
- if (res1 === true &&
- res2 === true &&
- res3 === true) {
- return true;
- }
- } finally {
- delete this.x_12_14_13;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: catch introduces scope - updates are based on scope
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var res1 = false;
+ var res2 = false;
+ var res3 = false;
+
+ var x_12_14_13 = 'local';
+ try {
+ function foo() {
+ this.x_12_14_13 = 'instance';
+ }
+
+ try {
+ throw foo;
+ }
+ catch (e) {
+ res1 = (x_12_14_13 === 'local');
+ e();
+ res2 = (x_12_14_13 === 'local');
+ }
+ res3 = (x_12_14_13 === 'local');
+
+ if (res1 === true &&
+ res2 === true &&
+ res3 === true) {
+ return true;
+ }
+ } finally {
+ delete this.x_12_14_13;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-14.js b/test/suite/ch12/12.14/12.14-14.js
index 40b2c82c8..b1f6970d6 100644
--- a/test/suite/ch12/12.14/12.14-14.js
+++ b/test/suite/ch12/12.14/12.14-14.js
@@ -1,26 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-14.js
- * @description Exception object is a function, when an exception parameter is called as a function in catch block, global object is passed as the this value
- */
-
-
-function testcase() {
- try {
- throw function () {
- this._12_14_14_foo = "test";
- };
- return false;
- } catch (e) {
- e();
- return fnGlobalObject()._12_14_14_foo === "test";
- }
- finally {
- delete fnGlobalObject()._12_14_14_foo;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Exception object is a function, when an exception parameter is
+ called as a function in catch block, global object is passed as
+ the this value
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ try {
+ throw function () {
+ this._12_14_14_foo = "test";
+ };
+ return false;
+ } catch (e) {
+ e();
+ return fnGlobalObject()._12_14_14_foo === "test";
+ }
+ finally {
+ delete fnGlobalObject()._12_14_14_foo;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-15.js b/test/suite/ch12/12.14/12.14-15.js
index e4397c17c..368eca928 100644
--- a/test/suite/ch12/12.14/12.14-15.js
+++ b/test/suite/ch12/12.14/12.14-15.js
@@ -1,28 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-15.js
- * @description Exception object is a function which is a property of an object, when an exception parameter is called as a function in catch block, global object is passed as the this value
- */
-
-
-function testcase() {
- var obj = {};
- obj.test = function () {
- this._12_14_15_foo = "test";
- };
- try {
- throw obj.test;
- return false;
- } catch (e) {
- e();
- return fnGlobalObject()._12_14_15_foo === "test";
- }
- finally {
- delete fnGlobalObject()._12_14_15_foo;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Exception object is a function which is a property of an object,
+ when an exception parameter is called as a function in catch
+ block, global object is passed as the this value
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+ obj.test = function () {
+ this._12_14_15_foo = "test";
+ };
+ try {
+ throw obj.test;
+ return false;
+ } catch (e) {
+ e();
+ return fnGlobalObject()._12_14_15_foo === "test";
+ }
+ finally {
+ delete fnGlobalObject()._12_14_15_foo;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-16.js b/test/suite/ch12/12.14/12.14-16.js
index e160e3d37..3784caef2 100644
--- a/test/suite/ch12/12.14/12.14-16.js
+++ b/test/suite/ch12/12.14/12.14-16.js
@@ -1,32 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-16.js
- * @description Exception object is a function which update in catch block, when an exception parameter is called as a function in catch block, global object is passed as the this value
- */
-
-
-function testcase() {
- try {
- throw function () {
- this._12_14_16_foo = "test";
- };
- return false;
- } catch (e) {
- var obj = {};
- obj.test = function () {
- this._12_14_16_foo = "test1";
- };
- e = obj.test;
- e();
- return fnGlobalObject()._12_14_16_foo === "test1";
- }
- finally {
- delete fnGlobalObject()._12_14_16_foo;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Exception object is a function which update in catch block, when
+ an exception parameter is called as a function in catch block,
+ global object is passed as the this value
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ try {
+ throw function () {
+ this._12_14_16_foo = "test";
+ };
+ return false;
+ } catch (e) {
+ var obj = {};
+ obj.test = function () {
+ this._12_14_16_foo = "test1";
+ };
+ e = obj.test;
+ e();
+ return fnGlobalObject()._12_14_16_foo === "test1";
+ }
+ finally {
+ delete fnGlobalObject()._12_14_16_foo;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-2.js b/test/suite/ch12/12.14/12.14-2.js
index 16d08d34c..64a588a9c 100644
--- a/test/suite/ch12/12.14/12.14-2.js
+++ b/test/suite/ch12/12.14/12.14-2.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-2.js
- * @description catch doesn't change declaration scope - var initializer in catch with same name as catch parameter changes parameter
- */
-
-
-function testcase() {
- function capturedFoo() {return foo};
- foo = "prior to throw";
- try {
- throw new Error();
- }
- catch (foo) {
- var foo = "initializer in catch";
- return capturedFoo() !== "initializer in catch";
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ catch doesn't change declaration scope - var initializer in catch
+ with same name as catch parameter changes parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function capturedFoo() {return foo};
+ foo = "prior to throw";
+ try {
+ throw new Error();
+ }
+ catch (foo) {
+ var foo = "initializer in catch";
+ return capturedFoo() !== "initializer in catch";
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-3.js b/test/suite/ch12/12.14/12.14-3.js
index 6cd541061..4454957f9 100644
--- a/test/suite/ch12/12.14/12.14-3.js
+++ b/test/suite/ch12/12.14/12.14-3.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * local vars must not be visible outside with block
- * local functions must not be visible outside with block
- * local function expresssions should not be visible outside with block
- * local vars must shadow outer vars
- * local functions must shadow outer functions
- * local function expresssions must shadow outer function expressions
- * eval should use the appended object to the scope chain
- *
- * @path ch12/12.14/12.14-3.js
- * @description catch doesn't change declaration scope - var declaration are visible outside when name different from catch parameter
- */
-
-
-function testcase() {
- try {
- throw new Error();
- }
- catch (e) {
- var foo = "declaration in catch";
- }
-
- return foo === "declaration in catch";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ local vars must not be visible outside with block
+ local functions must not be visible outside with block
+ local function expresssions should not be visible outside with block
+ local vars must shadow outer vars
+ local functions must shadow outer functions
+ local function expresssions must shadow outer function expressions
+ eval should use the appended object to the scope chain
+description: >
+ catch doesn't change declaration scope - var declaration are
+ visible outside when name different from catch parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ throw new Error();
+ }
+ catch (e) {
+ var foo = "declaration in catch";
+ }
+
+ return foo === "declaration in catch";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-4.js b/test/suite/ch12/12.14/12.14-4.js
index 1d3cb1b16..70bf7f35b 100644
--- a/test/suite/ch12/12.14/12.14-4.js
+++ b/test/suite/ch12/12.14/12.14-4.js
@@ -1,34 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * local vars must not be visible outside with block
- * local functions must not be visible outside with block
- * local function expresssions should not be visible outside with block
- * local vars must shadow outer vars
- * local functions must shadow outer functions
- * local function expresssions must shadow outer function expressions
- * eval should use the appended object to the scope chain
- *
- * @path ch12/12.14/12.14-4.js
- * @description catch introduces scope - block-local vars must shadow outer vars
- */
-
-
-function testcase() {
- var o = { foo : 42};
-
- try {
- throw o;
- }
- catch (e) {
- var foo;
-
- if (foo === undefined) {
- return true;
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ local vars must not be visible outside with block
+ local functions must not be visible outside with block
+ local function expresssions should not be visible outside with block
+ local vars must shadow outer vars
+ local functions must shadow outer functions
+ local function expresssions must shadow outer function expressions
+ eval should use the appended object to the scope chain
+description: catch introduces scope - block-local vars must shadow outer vars
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = { foo : 42};
+
+ try {
+ throw o;
+ }
+ catch (e) {
+ var foo;
+
+ if (foo === undefined) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-6.js b/test/suite/ch12/12.14/12.14-6.js
index ae31f846e..02dcc3190 100644
--- a/test/suite/ch12/12.14/12.14-6.js
+++ b/test/suite/ch12/12.14/12.14-6.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * local vars must not be visible outside with block
- * local functions must not be visible outside with block
- * local function expresssions should not be visible outside with block
- * local vars must shadow outer vars
- * local functions must shadow outer functions
- * local function expresssions must shadow outer function expressions
- * eval should use the appended object to the scope chain
- *
- * @path ch12/12.14/12.14-6.js
- * @description catch introduces scope - block-local function expression must shadow outer function expression
- */
-
-
-function testcase() {
- var o = {foo : function () { return 42;}};
-
- try {
- throw o;
- }
- catch (e) {
- var foo = function () {};
- if (foo() === undefined) {
- return true;
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ local vars must not be visible outside with block
+ local functions must not be visible outside with block
+ local function expresssions should not be visible outside with block
+ local vars must shadow outer vars
+ local functions must shadow outer functions
+ local function expresssions must shadow outer function expressions
+ eval should use the appended object to the scope chain
+description: >
+ catch introduces scope - block-local function expression must
+ shadow outer function expression
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {foo : function () { return 42;}};
+
+ try {
+ throw o;
+ }
+ catch (e) {
+ var foo = function () {};
+ if (foo() === undefined) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-7.js b/test/suite/ch12/12.14/12.14-7.js
index b7f8dbc36..eb993a5da 100644
--- a/test/suite/ch12/12.14/12.14-7.js
+++ b/test/suite/ch12/12.14/12.14-7.js
@@ -1,39 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * local vars must not be visible outside with block
- * local functions must not be visible outside with block
- * local function expresssions should not be visible outside with block
- * local vars must shadow outer vars
- * local functions must shadow outer functions
- * local function expresssions must shadow outer function expressions
- * eval should use the appended object to the scope chain
- *
- * @path ch12/12.14/12.14-7.js
- * @description catch introduces scope - scope removed when exiting catch block
- */
-
-
-function testcase() {
- var o = {foo: 1};
- var catchAccessed = false;
-
- try {
- throw o;
- }
- catch (expObj) {
- catchAccessed = (expObj.foo == 1);
- }
-
- try {
- expObj;
- }
- catch (e) {
- return catchAccessed && e instanceof ReferenceError
- }
- return false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ local vars must not be visible outside with block
+ local functions must not be visible outside with block
+ local function expresssions should not be visible outside with block
+ local vars must shadow outer vars
+ local functions must shadow outer functions
+ local function expresssions must shadow outer function expressions
+ eval should use the appended object to the scope chain
+description: catch introduces scope - scope removed when exiting catch block
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {foo: 1};
+ var catchAccessed = false;
+
+ try {
+ throw o;
+ }
+ catch (expObj) {
+ catchAccessed = (expObj.foo == 1);
+ }
+
+ try {
+ expObj;
+ }
+ catch (e) {
+ return catchAccessed && e instanceof ReferenceError
+ }
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-8.js b/test/suite/ch12/12.14/12.14-8.js
index d2e059cd9..7ce57908e 100644
--- a/test/suite/ch12/12.14/12.14-8.js
+++ b/test/suite/ch12/12.14/12.14-8.js
@@ -1,34 +1,36 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * local vars must not be visible outside with block
- * local functions must not be visible outside with block
- * local function expresssions should not be visible outside with block
- * local vars must shadow outer vars
- * local functions must shadow outer functions
- * local function expresssions must shadow outer function expressions
- * eval should use the appended object to the scope chain
- *
- * @path ch12/12.14/12.14-8.js
- * @description catch introduces scope - scope removed when exiting catch block (properties)
- */
-
-
-function testcase() {
- var o = {foo: 42};
-
- try {
- throw o;
- }
- catch (e) {
- var foo = 1;
- }
-
- if (o.foo === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ local vars must not be visible outside with block
+ local functions must not be visible outside with block
+ local function expresssions should not be visible outside with block
+ local vars must shadow outer vars
+ local functions must shadow outer functions
+ local function expresssions must shadow outer function expressions
+ eval should use the appended object to the scope chain
+description: >
+ catch introduces scope - scope removed when exiting catch block
+ (properties)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {foo: 42};
+
+ try {
+ throw o;
+ }
+ catch (e) {
+ var foo = 1;
+ }
+
+ if (o.foo === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14-9.js b/test/suite/ch12/12.14/12.14-9.js
index 2236dd169..214c926e4 100644
--- a/test/suite/ch12/12.14/12.14-9.js
+++ b/test/suite/ch12/12.14/12.14-9.js
@@ -1,32 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14-9.js
- * @description catch introduces scope - name lookup finds outer variable
- */
-
-
-function testcase() {
- function f(o) {
- var x = 42;
-
- function innerf(o) {
- try {
- throw o;
- }
- catch (e) {
- return x;
- }
- }
-
- return innerf(o);
- }
-
- if (f({}) === 42) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: catch introduces scope - name lookup finds outer variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function f(o) {
+ var x = 42;
+
+ function innerf(o) {
+ try {
+ throw o;
+ }
+ catch (e) {
+ return x;
+ }
+ }
+
+ return innerf(o);
+ }
+
+ if (f({}) === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14.1/12.14.1-1-s.js b/test/suite/ch12/12.14/12.14.1/12.14.1-1-s.js
index 894a13501..691fb1b6b 100644
--- a/test/suite/ch12/12.14/12.14.1/12.14.1-1-s.js
+++ b/test/suite/ch12/12.14/12.14.1/12.14.1-1-s.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14.1/12.14.1-1-s.js
- * @description Strict Mode - SyntaxError is thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is eval
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("\
- try {} catch (eval) { }\
- ");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown if a TryStatement with a Catch
+ occurs within strict code and the Identifier of the Catch
+ production is eval
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("\
+ try {} catch (eval) { }\
+ ");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14.1/12.14.1-1gs.js b/test/suite/ch12/12.14/12.14.1/12.14.1-1gs.js
index 04708c31e..4c804c971 100644
--- a/test/suite/ch12/12.14/12.14.1/12.14.1-1gs.js
+++ b/test/suite/ch12/12.14/12.14.1/12.14.1-1gs.js
@@ -1,16 +1,18 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch12/12.14/12.14.1/12.14.1-1gs.js
- * @description Strict Mode - SyntaxError is thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is eval
- * @onlyStrict
- * @negative ^((?!NotEarlyError).)*$
- */
-
-"use strict";
-throw NotEarlyError;
-try { } catch (eval) { }
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown if a TryStatement with a Catch
+ occurs within strict code and the Identifier of the Catch
+ production is eval
+negative: ^((?!NotEarlyError).)*$
+flags: [onlyStrict]
+---*/
+
+"use strict";
+throw NotEarlyError;
+try { } catch (eval) { }
diff --git a/test/suite/ch12/12.14/12.14.1/12.14.1-2-s.js b/test/suite/ch12/12.14/12.14.1/12.14.1-2-s.js
index b0e660bd0..354e0b3a6 100644
--- a/test/suite/ch12/12.14/12.14.1/12.14.1-2-s.js
+++ b/test/suite/ch12/12.14/12.14.1/12.14.1-2-s.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14.1/12.14.1-2-s.js
- * @description Strict Mode - SyntaxError is thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is arguments
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- eval("\
- try {} catch (arguments) { }\
- ");
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown if a TryStatement with a Catch
+ occurs within strict code and the Identifier of the Catch
+ production is arguments
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ eval("\
+ try {} catch (arguments) { }\
+ ");
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14.1/12.14.1-3-s.js b/test/suite/ch12/12.14/12.14.1/12.14.1-3-s.js
index 3c477785b..a3aaa22db 100644
--- a/test/suite/ch12/12.14/12.14.1/12.14.1-3-s.js
+++ b/test/suite/ch12/12.14/12.14.1/12.14.1-3-s.js
@@ -1,33 +1,36 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14.1/12.14.1-3-s.js
- * @description Strict Mode - SyntaxError isn't thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is EVAL but throws SyntaxError if it is eval
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try{ eval(" try { \
- throw new Error(\"...\");\
- return false;\
- } catch (EVAL) {\
- try\
- {\
- throw new Error(\"...\");\
- }catch(eval)\
- {\
- return EVAL instanceof Error;\
- }\
- }");
- return false;
- } catch(e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError isn't thrown if a TryStatement with a
+ Catch occurs within strict code and the Identifier of the Catch
+ production is EVAL but throws SyntaxError if it is eval
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try{ eval(" try { \
+ throw new Error(\"...\");\
+ return false;\
+ } catch (EVAL) {\
+ try\
+ {\
+ throw new Error(\"...\");\
+ }catch(eval)\
+ {\
+ return EVAL instanceof Error;\
+ }\
+ }");
+ return false;
+ } catch(e) {
+ return e instanceof SyntaxError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14.1/12.14.1-4-s.js b/test/suite/ch12/12.14/12.14.1/12.14.1-4-s.js
index 58f372cba..1ec4f37a0 100644
--- a/test/suite/ch12/12.14/12.14.1/12.14.1-4-s.js
+++ b/test/suite/ch12/12.14/12.14.1/12.14.1-4-s.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14.1/12.14.1-4-s.js
- * @description Strict Mode - SyntaxError isn't thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is EVAL
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- throw new Error("...");
- return false;
- } catch (EVAL) {
- return EVAL instanceof Error;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError isn't thrown if a TryStatement with a
+ Catch occurs within strict code and the Identifier of the Catch
+ production is EVAL
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ throw new Error("...");
+ return false;
+ } catch (EVAL) {
+ return EVAL instanceof Error;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14.1/12.14.1-5-s.js b/test/suite/ch12/12.14/12.14.1/12.14.1-5-s.js
index 84e85593a..87c050dfb 100644
--- a/test/suite/ch12/12.14/12.14.1/12.14.1-5-s.js
+++ b/test/suite/ch12/12.14/12.14.1/12.14.1-5-s.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14.1/12.14.1-5-s.js
- * @description Strict Mode - SyntaxError isn't thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is Arguments
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- throw new Error("...");
- return false;
- } catch (Arguments) {
- return Arguments instanceof Error;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError isn't thrown if a TryStatement with a
+ Catch occurs within strict code and the Identifier of the Catch
+ production is Arguments
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ throw new Error("...");
+ return false;
+ } catch (Arguments) {
+ return Arguments instanceof Error;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/12.14.1/12.14.1-6-s.js b/test/suite/ch12/12.14/12.14.1/12.14.1-6-s.js
index edd8bb558..865e90f9a 100644
--- a/test/suite/ch12/12.14/12.14.1/12.14.1-6-s.js
+++ b/test/suite/ch12/12.14/12.14.1/12.14.1-6-s.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.14/12.14.1/12.14.1-6-s.js
- * @description Strict Mode - SyntaxError isn't thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is ARGUMENTS
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- try {
- throw new Error("...");
- return false;
- } catch (ARGUMENTS) {
- return ARGUMENTS instanceof Error;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError isn't thrown if a TryStatement with a
+ Catch occurs within strict code and the Identifier of the Catch
+ production is ARGUMENTS
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ try {
+ throw new Error("...");
+ return false;
+ } catch (ARGUMENTS) {
+ return ARGUMENTS instanceof Error;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.14/S12.14_A1.js b/test/suite/ch12/12.14/S12.14_A1.js
index 894376009..303e80978 100644
--- a/test/suite/ch12/12.14/S12.14_A1.js
+++ b/test/suite/ch12/12.14/S12.14_A1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production TryStatement : try Block Catch is evaluated as follows: 2. If Result(1).type is not throw, return Result(1)
- *
- * @path ch12/12.14/S12.14_A1.js
- * @description Executing TryStatement : try Block Catch. The statements doesn't cause actual exceptions
- */
+/*---
+info: >
+ The production TryStatement : try Block Catch is evaluated as follows: 2.
+ If Result(1).type is not throw, return Result(1)
+description: >
+ Executing TryStatement : try Block Catch. The statements doesn't
+ cause actual exceptions
+---*/
// CHECK#1
try {
@@ -49,4 +51,3 @@ if(x2!==1){
if (c2!==1){
$ERROR('#3.3: "finally" block must be evaluated. Actual: finally Block has not been evaluated');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A10_T1.js b/test/suite/ch12/12.14/S12.14_A10_T1.js
index c7a7c4651..ed01627df 100644
--- a/test/suite/ch12/12.14/S12.14_A10_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A10_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "while" statement
- *
- * @path ch12/12.14/S12.14_A10_T1.js
- * @description Throwing exception while executing iteration statement placed into try Block
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "while"
+ statement
+description: >
+ Throwing exception while executing iteration statement placed into
+ try Block
+---*/
// CHECK#1
var i=0;
@@ -19,4 +21,3 @@ while(i<10){
catch(e){
if(e!==5)$ERROR('#1: Exception === 5. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A10_T2.js b/test/suite/ch12/12.14/S12.14_A10_T2.js
index 1826b48a8..3ac0c78ce 100644
--- a/test/suite/ch12/12.14/S12.14_A10_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A10_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "while" statement
- *
- * @path ch12/12.14/S12.14_A10_T2.js
- * @description Try statement inside loop, where use continue loop
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "while"
+ statement
+description: Try statement inside loop, where use continue loop
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -113,4 +113,3 @@ if(fin6!==1){
if(c6!==2){
$ERROR('#6.2: "try finally{continue}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A10_T3.js b/test/suite/ch12/12.14/S12.14_A10_T3.js
index 88e56168a..e1ccf0c25 100644
--- a/test/suite/ch12/12.14/S12.14_A10_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A10_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "while" statement
- *
- * @path ch12/12.14/S12.14_A10_T3.js
- * @description Try statement inside loop, where use break
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "while"
+ statement
+description: Try statement inside loop, where use break
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -148,4 +148,3 @@ if(fin7!==1){
if(c7!==1){
$ERROR('#7.2: "try finally{break}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A10_T4.js b/test/suite/ch12/12.14/S12.14_A10_T4.js
index 926e564d3..060ffd073 100644
--- a/test/suite/ch12/12.14/S12.14_A10_T4.js
+++ b/test/suite/ch12/12.14/S12.14_A10_T4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "while" statement
- *
- * @path ch12/12.14/S12.14_A10_T4.js
- * @description Try statement inside loop, where combinate using break and continue
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "while"
+ statement
+description: Try statement inside loop, where combinate using break and continue
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -53,4 +53,3 @@ if(fin2!==1){
if(c2!==2){
$ERROR('#2.2: "try catch{break} finally{continue} must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A10_T5.js b/test/suite/ch12/12.14/S12.14_A10_T5.js
index e840e9395..7a31c527d 100644
--- a/test/suite/ch12/12.14/S12.14_A10_T5.js
+++ b/test/suite/ch12/12.14/S12.14_A10_T5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "while" statement
- *
- * @path ch12/12.14/S12.14_A10_T5.js
- * @description Throw some exceptions from different place of loop body
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "while"
+ statement
+description: Throw some exceptions from different place of loop body
+---*/
// CHECK#1
var c=0, i=0;
@@ -36,4 +36,3 @@ while(i<10){
if(fin!==10){
$ERROR('#1.4: "finally" block must be evaluated');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A11_T1.js b/test/suite/ch12/12.14/S12.14_A11_T1.js
index 41cfdb0a5..d250562b1 100644
--- a/test/suite/ch12/12.14/S12.14_A11_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A11_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for" statement
- *
- * @path ch12/12.14/S12.14_A11_T1.js
- * @description Loop inside try Block, where throw exception
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for"
+ statement
+description: Loop inside try Block, where throw exception
+---*/
// CHECK#1
try{
@@ -17,4 +17,3 @@ try{
catch(e){
if(e!==5)$ERROR('#1: Exception === 5. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A11_T2.js b/test/suite/ch12/12.14/S12.14_A11_T2.js
index 7453936fd..2cd91f2b9 100644
--- a/test/suite/ch12/12.14/S12.14_A11_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A11_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for" statement
- *
- * @path ch12/12.14/S12.14_A11_T2.js
- * @description Try statement inside loop, where use continue loop
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for"
+ statement
+description: Try statement inside loop, where use continue loop
+---*/
// CHECK#1
var fin=0;
@@ -120,4 +120,3 @@ if(fin6!==1){
if(c6!==10){
$ERROR('#6.2: "try finally{continue}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A11_T3.js b/test/suite/ch12/12.14/S12.14_A11_T3.js
index af9976a2d..3eed68318 100644
--- a/test/suite/ch12/12.14/S12.14_A11_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A11_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for" statement
- *
- * @path ch12/12.14/S12.14_A11_T3.js
- * @description Try statement inside loop, where use break
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for"
+ statement
+description: Try statement inside loop, where use break
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -147,4 +147,3 @@ if(fin7!==1){
if(c7!==1){
$ERROR('#7.2: "try finally{break}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A11_T4.js b/test/suite/ch12/12.14/S12.14_A11_T4.js
index 6f4762beb..6a94a84fb 100644
--- a/test/suite/ch12/12.14/S12.14_A11_T4.js
+++ b/test/suite/ch12/12.14/S12.14_A11_T4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for" statement
- *
- * @path ch12/12.14/S12.14_A11_T4.js
- * @description Try statement inside loop, where combinate using break and continue
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for"
+ statement
+description: Try statement inside loop, where combinate using break and continue
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -53,4 +53,3 @@ if(fin2!==1){
if(c2!==5){
$ERROR('#2.2: "try catch{break} finally{continue}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A12_T1.js b/test/suite/ch12/12.14/S12.14_A12_T1.js
index b6906b1b8..fa219a996 100644
--- a/test/suite/ch12/12.14/S12.14_A12_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A12_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for-in" statement
- *
- * @path ch12/12.14/S12.14_A12_T1.js
- * @description Loop inside try Block, where throw exception
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for-in"
+ statement
+description: Loop inside try Block, where throw exception
+---*/
var x;
var mycars = new Array();
@@ -23,6 +23,3 @@ try{
catch(e){
if(e!=="ex")$ERROR('#1: Exception ==="ex". Actual: Exception ==='+ e );
}
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A12_T2.js b/test/suite/ch12/12.14/S12.14_A12_T2.js
index 6a6729962..67e81d69e 100644
--- a/test/suite/ch12/12.14/S12.14_A12_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A12_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for-in" statement
- *
- * @path ch12/12.14/S12.14_A12_T2.js
- * @description Try statement inside loop, where use continue loop
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for-in"
+ statement
+description: Try statement inside loop, where use continue loop
+---*/
var x;
var mycars = new Array();
@@ -129,4 +129,3 @@ if(fin6!==1){
if(c6!==3){
$ERROR('#6.2: "try finally{continue}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A12_T3.js b/test/suite/ch12/12.14/S12.14_A12_T3.js
index d3b4cea0c..662dcb9f5 100644
--- a/test/suite/ch12/12.14/S12.14_A12_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A12_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for-in" statement
- *
- * @path ch12/12.14/S12.14_A12_T3.js
- * @description Try statement inside loop, where use break
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for-in"
+ statement
+description: Try statement inside loop, where use break
+---*/
var x;
var mycars = new Array();
@@ -159,4 +159,3 @@ if(fin7!==1){
if(c7!==1){
$ERROR('#7.2: "try finally{break}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A12_T4.js b/test/suite/ch12/12.14/S12.14_A12_T4.js
index c09b4e2e7..a684dc721 100644
--- a/test/suite/ch12/12.14/S12.14_A12_T4.js
+++ b/test/suite/ch12/12.14/S12.14_A12_T4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "for-in" statement
- *
- * @path ch12/12.14/S12.14_A12_T4.js
- * @description Try statement inside loop, where combinate using break and continue
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "for-in"
+ statement
+description: Try statement inside loop, where combinate using break and continue
+---*/
var x;
var mycars = new Array();
@@ -59,4 +59,3 @@ if(fin2!==1){
if(c2!==3){
$ERROR('#2.2: "try catch{break} finally{continue}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A13_T1.js b/test/suite/ch12/12.14/S12.14_A13_T1.js
index ab3b79d4d..ee453f38c 100644
--- a/test/suite/ch12/12.14/S12.14_A13_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A13_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement with a "return" statement
- *
- * @path ch12/12.14/S12.14_A13_T1.js
- * @description Using try/catch syntax construction
- */
+/*---
+info: Using "try" with "catch" or "finally" statement with a "return" statement
+description: Using try/catch syntax construction
+---*/
// CHECK#1
function myFunction1(){
@@ -76,4 +74,3 @@ catch(e){
$ERROR('#4.3: Exception ==="ex2". Actual: Exception ==='+ e );
}
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A13_T2.js b/test/suite/ch12/12.14/S12.14_A13_T2.js
index 947926476..c80a29709 100644
--- a/test/suite/ch12/12.14/S12.14_A13_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A13_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement with a "return" statement
- *
- * @path ch12/12.14/S12.14_A13_T2.js
- * @description Using try/finally syntax construction
- */
+/*---
+info: Using "try" with "catch" or "finally" statement with a "return" statement
+description: Using try/finally syntax construction
+---*/
// CHECK#1
var c1=0;
@@ -179,4 +177,3 @@ catch(ex1){
if (c8!==1){
$ERROR('#8: "finally" block must be evaluated');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A13_T3.js b/test/suite/ch12/12.14/S12.14_A13_T3.js
index 9b3e4a3e9..521c333ba 100644
--- a/test/suite/ch12/12.14/S12.14_A13_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A13_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement with a "return" statement
- *
- * @path ch12/12.14/S12.14_A13_T3.js
- * @description Using try/catch/finally syntax construction
- */
+/*---
+info: Using "try" with "catch" or "finally" statement with a "return" statement
+description: Using try/catch/finally syntax construction
+---*/
// CHECK#1
var c1=0;
@@ -183,4 +181,3 @@ try{
}
catch(e){}
if(c7!==1) $ERROR('#7.2: "finally" block must be evaluated');
-
diff --git a/test/suite/ch12/12.14/S12.14_A14.js b/test/suite/ch12/12.14/S12.14_A14.js
index af2177a05..cec5c81c3 100644
--- a/test/suite/ch12/12.14/S12.14_A14.js
+++ b/test/suite/ch12/12.14/S12.14_A14.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "with" statement
- *
- * @path ch12/12.14/S12.14_A14.js
- * @description Using try/catch/finally in With and With in try/catch/finally
- * @noStrict
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "with"
+ statement
+description: Using try/catch/finally in With and With in try/catch/finally
+flags: [noStrict]
+---*/
var myObj = {p1: 'a',
p2: 'b',
@@ -76,4 +76,3 @@ try{
}
catch(e){}
if(myObj.p1!=='pass') $ERROR('#4: "finally" block must be evaluated');
-
diff --git a/test/suite/ch12/12.14/S12.14_A15.js b/test/suite/ch12/12.14/S12.14_A15.js
index abd6a63a7..fbba99a7f 100644
--- a/test/suite/ch12/12.14/S12.14_A15.js
+++ b/test/suite/ch12/12.14/S12.14_A15.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement within/without a "switch" statement
- *
- * @path ch12/12.14/S12.14_A15.js
- * @description Insert try/catch/finally to switch statement
- */
+/*---
+info: >
+ Using "try" with "catch" or "finally" statement within/without a "switch"
+ statement
+description: Insert try/catch/finally to switch statement
+---*/
// CHECK#1
function SwitchTest1(value){
@@ -89,4 +89,3 @@ try{
catch(e){
$ERROR('#3.2: Catching exception inside function does not lead to throwing exception outside this function');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T1.js b/test/suite/ch12/12.14/S12.14_A16_T1.js
index b6e39191b..9366f2f2f 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T1.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T1.js
- * @description Checking if pure "try" syntax construction passes
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: Checking if pure "try" syntax construction passes
+flags: [negative]
+---*/
// CHECK#1
try
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T10.js b/test/suite/ch12/12.14/S12.14_A16_T10.js
index 2baef30d0..ac4616704 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T10.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T10.js
@@ -1,18 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T10.js
- * @description Catch: "catch (Identifier ) Block"
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: "Catch: \"catch (Identifier ) Block\""
+flags: [negative]
+---*/
// CHECK#1
try{}
catch(){}
finally{}
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T11.js b/test/suite/ch12/12.14/S12.14_A16_T11.js
index 8d8699e6b..0a0e3e936 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T11.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T11.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T11.js
- * @description Catch and Finally are placed into the Block of "try" (whitle expected outside)
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Catch and Finally are placed into the Block of "try" (whitle
+ expected outside)
+flags: [negative]
+---*/
// CHECK#1
try{
@@ -16,5 +18,3 @@ try{
catch(e){}
finally{}
}
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T12.js b/test/suite/ch12/12.14/S12.14_A16_T12.js
index dacc1a6a6..f84bcd97f 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T12.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T12.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T12.js
- * @description Embedded "try" statements followed by two "catch" statements
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: Embedded "try" statements followed by two "catch" statements
+flags: [negative]
+---*/
// CHECK#1
try
@@ -18,6 +18,3 @@ try
}
catch(e1){}
catch(e2){}
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T13.js b/test/suite/ch12/12.14/S12.14_A16_T13.js
index 20b475499..9ffbedc83 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T13.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T13.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T13.js
- * @description Catch: "catch (Identifier ) Block". Checking if execution of "22" passes at the place of Identifier of "catch"
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Catch: "catch (Identifier ) Block". Checking if execution of "22"
+ passes at the place of Identifier of "catch"
+flags: [negative]
+---*/
// CHECK#1
try
@@ -16,7 +18,3 @@ try
catch("22")
{
}
-
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T14.js b/test/suite/ch12/12.14/S12.14_A16_T14.js
index dfcbc2c65..021527410 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T14.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T14.js
@@ -1,19 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T14.js
- * @description Checking if passing argument to "try" statement fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: Checking if passing argument to "try" statement fails
+flags: [negative]
+---*/
// CHECK#1
try(e1){
}
catch(e){}
-
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T15.js b/test/suite/ch12/12.14/S12.14_A16_T15.js
index 720bf61dd..186a0c12e 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T15.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T15.js
@@ -1,20 +1,17 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T15.js
- * @description Finally: "finally Block". Checking if passing argument to "try" statement fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Finally: "finally Block". Checking if passing argument to "try"
+ statement fails
+flags: [negative]
+---*/
// CHECK#1
try{
}
finally(e){}
-
-
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T2.js b/test/suite/ch12/12.14/S12.14_A16_T2.js
index a3e9421d5..325155cc1 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T2.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T2.js
- * @description Checking if execution of "catch" with no "try" fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: Checking if execution of "catch" with no "try" fails
+flags: [negative]
+---*/
// CHECK#1
catch
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T3.js b/test/suite/ch12/12.14/S12.14_A16_T3.js
index 237580b02..838b0ba37 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T3.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T3.js
- * @description Checking if execution of "finally" with no "try" fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: Checking if execution of "finally" with no "try" fails
+flags: [negative]
+---*/
// CHECK#1
finally
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T4.js b/test/suite/ch12/12.14/S12.14_A16_T4.js
index ae3e45bba..c757f5a69 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T4.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T4.js
@@ -1,15 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T4.js
- * @description Catch: "catch (Identifier ) Block". Checking if execution of "catch" that takes no arguments fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Catch: "catch (Identifier ) Block". Checking if execution of
+ "catch" that takes no arguments fails
+flags: [negative]
+---*/
// CHECK#1
try{}
catch{}
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T5.js b/test/suite/ch12/12.14/S12.14_A16_T5.js
index a825e889a..5998df4ad 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T5.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T5.js
@@ -1,15 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T5.js
- * @description Catch: "catch (Identifier ) Block". Checking if execution of "catch" with no Block fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Catch: "catch (Identifier ) Block". Checking if execution of
+ "catch" with no Block fails
+flags: [negative]
+---*/
// CHECK#1
try{}
catch()
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T6.js b/test/suite/ch12/12.14/S12.14_A16_T6.js
index 8210671c4..0d2251ab5 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T6.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T6.js
@@ -1,15 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T6.js
- * @description Block: "{ StatementList }". Checking if execution of "try{ catch{}{}" fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Block: "{ StatementList }". Checking if execution of "try{
+ catch{}{}" fails
+flags: [negative]
+---*/
// CHECK#1
try{
catch(){}
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T7.js b/test/suite/ch12/12.14/S12.14_A16_T7.js
index 76990243d..0a0ea3265 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T7.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T7.js
@@ -1,16 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T7.js
- * @description Block: "{ StatementList }". Checking if execution of "try{} catch(){" fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Block: "{ StatementList }". Checking if execution of "try{}
+ catch(){" fails
+flags: [negative]
+---*/
// CHECK#1
try{}
catch(){
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T8.js b/test/suite/ch12/12.14/S12.14_A16_T8.js
index 93774a7b6..334fdb86f 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T8.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T8.js
@@ -1,18 +1,17 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T8.js
- * @description Block: "{ StatementList }". Catch: "catch (Identifier ) Block". Checking if execution of "try{} catch(){finally{}" fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: >
+ Block: "{ StatementList }". Catch: "catch (Identifier ) Block".
+ Checking if execution of "try{} catch(){finally{}" fails
+flags: [negative]
+---*/
// CHECK#1
try{}
catch(){
finally{}
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A16_T9.js b/test/suite/ch12/12.14/S12.14_A16_T9.js
index d7fb3308e..e50d73992 100644
--- a/test/suite/ch12/12.14/S12.14_A16_T9.js
+++ b/test/suite/ch12/12.14/S12.14_A16_T9.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A16_T9.js
- * @description Checking if execution of "catch(){} finally{}" fails
- * @negative
- */
+/*---
+info: >
+ TryStatement: "try Block Catch" or "try Block Finally" or "try Block
+ Catch Finally"
+description: Checking if execution of "catch(){} finally{}" fails
+flags: [negative]
+---*/
// CHECK#1
catch(){}
finally{}
-
-
-
diff --git a/test/suite/ch12/12.14/S12.14_A17.js b/test/suite/ch12/12.14/S12.14_A17.js
index 6878502e6..88adfd06e 100644
--- a/test/suite/ch12/12.14/S12.14_A17.js
+++ b/test/suite/ch12/12.14/S12.14_A17.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "try" with "catch" or "finally" statement in a constructor
- *
- * @path ch12/12.14/S12.14_A17.js
- * @description Creating exceptions within constructor
- */
+/*---
+info: Using "try" with "catch" or "finally" statement in a constructor
+description: Creating exceptions within constructor
+---*/
var i=1;
function Integer( value, exception ) {
@@ -42,4 +40,3 @@ new Integer(Infinity, false);
new Integer(-1.23, true);
// CHECK#6
new Integer(Math.LN2, true);
-
diff --git a/test/suite/ch12/12.14/S12.14_A18_T1.js b/test/suite/ch12/12.14/S12.14_A18_T1.js
index 635c235d0..c64b2d487 100644
--- a/test/suite/ch12/12.14/S12.14_A18_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A18_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching objects with try/catch/finally statement
- *
- * @path ch12/12.14/S12.14_A18_T1.js
- * @description Catching undefined
- */
+/*---
+info: Catching objects with try/catch/finally statement
+description: Catching undefined
+---*/
// CHECK#1
try{
@@ -15,4 +13,3 @@ try{
catch(e){
if (e!==undefined) $ERROR('#1: Exception === undefined. Actual: '+e);
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A18_T2.js b/test/suite/ch12/12.14/S12.14_A18_T2.js
index f6499be27..275469a09 100644
--- a/test/suite/ch12/12.14/S12.14_A18_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A18_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching objects with try/catch/finally statement
- *
- * @path ch12/12.14/S12.14_A18_T2.js
- * @description Catching null
- */
+/*---
+info: Catching objects with try/catch/finally statement
+description: Catching null
+---*/
// CHECK#1
try{
@@ -15,4 +13,3 @@ try{
catch(e){
if (e!==null) $ERROR('#1: Exception ===null. Actual: '+e);
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A18_T3.js b/test/suite/ch12/12.14/S12.14_A18_T3.js
index 1ee0644d1..68a5ec689 100644
--- a/test/suite/ch12/12.14/S12.14_A18_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A18_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching objects with try/catch/finally statement
- *
- * @path ch12/12.14/S12.14_A18_T3.js
- * @description Catching boolean
- */
+/*---
+info: Catching objects with try/catch/finally statement
+description: Catching boolean
+---*/
// CHECK#1
try{
@@ -59,4 +57,3 @@ try{
catch(e){
if (e!==true) $ERROR('#6: Exception ===true. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A18_T4.js b/test/suite/ch12/12.14/S12.14_A18_T4.js
index 3cd7d9064..3e29745d8 100644
--- a/test/suite/ch12/12.14/S12.14_A18_T4.js
+++ b/test/suite/ch12/12.14/S12.14_A18_T4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching objects with try/catch/finally statement
- *
- * @path ch12/12.14/S12.14_A18_T4.js
- * @description Catching string
- */
+/*---
+info: Catching objects with try/catch/finally statement
+description: Catching string
+---*/
// CHECK#1
try{
@@ -42,4 +40,3 @@ try{
catch(e){
if (e!=="exception #1") $ERROR('#4: Exception ==="exception #1". Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A18_T5.js b/test/suite/ch12/12.14/S12.14_A18_T5.js
index c46c421be..1e45d7e72 100644
--- a/test/suite/ch12/12.14/S12.14_A18_T5.js
+++ b/test/suite/ch12/12.14/S12.14_A18_T5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching objects with try/catch/finally statement
- *
- * @path ch12/12.14/S12.14_A18_T5.js
- * @description Catching Number
- */
+/*---
+info: Catching objects with try/catch/finally statement
+description: Catching Number
+---*/
// CHECK#1
try{
@@ -99,4 +97,3 @@ try{
catch(e){
if (e!==-0) $ERROR('#11: Exception ===-0. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A18_T6.js b/test/suite/ch12/12.14/S12.14_A18_T6.js
index ca17450b3..e102a5f85 100644
--- a/test/suite/ch12/12.14/S12.14_A18_T6.js
+++ b/test/suite/ch12/12.14/S12.14_A18_T6.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching objects with try/catch/finally statement
- *
- * @path ch12/12.14/S12.14_A18_T6.js
- * @description Catching Object
- */
+/*---
+info: Catching objects with try/catch/finally statement
+description: Catching Object
+---*/
var myObj = {p1: 'a',
p2: 'b',
@@ -52,4 +50,3 @@ catch(e){
e.i=10;
}
if (myObj.i!==10) $ERROR('#5: Handling of catch must be correct');
-
diff --git a/test/suite/ch12/12.14/S12.14_A18_T7.js b/test/suite/ch12/12.14/S12.14_A18_T7.js
index 905cfa0bc..b37327740 100644
--- a/test/suite/ch12/12.14/S12.14_A18_T7.js
+++ b/test/suite/ch12/12.14/S12.14_A18_T7.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching objects with try/catch/finally statement
- *
- * @path ch12/12.14/S12.14_A18_T7.js
- * @description Catching Array
- */
+/*---
+info: Catching objects with try/catch/finally statement
+description: Catching Array
+---*/
var mycars = new Array();
mycars[0] = "Saab";
@@ -63,4 +61,3 @@ catch(e){
if (e[i]!==mycars2[i-3]) $ERROR('#4.'+i+': Exception['+i+']===mycars2['+(i-3)+']. Actual: Exception['+i+']==='+ e[i]);
}
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A19_T1.js b/test/suite/ch12/12.14/S12.14_A19_T1.js
index c2e8d27a4..312d9e23f 100644
--- a/test/suite/ch12/12.14/S12.14_A19_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A19_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching system exceptions of different types with try statement
- *
- * @path ch12/12.14/S12.14_A19_T1.js
- * @description Testing try/catch syntax construction
- */
+/*---
+info: Catching system exceptions of different types with try statement
+description: Testing try/catch syntax construction
+---*/
// CHECK#1
try{
@@ -65,4 +63,3 @@ try{
catch(e){
if (e.toString()!=="URIError: message") $ERROR('#7: Exception.toString()==="URIError: message". Actual: Exception is '+e);
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A19_T2.js b/test/suite/ch12/12.14/S12.14_A19_T2.js
index acc465ea1..aee161251 100644
--- a/test/suite/ch12/12.14/S12.14_A19_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A19_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching system exceptions of different types with try statement
- *
- * @path ch12/12.14/S12.14_A19_T2.js
- * @description Testing try/catch/finally syntax construction
- */
+/*---
+info: Catching system exceptions of different types with try statement
+description: Testing try/catch/finally syntax construction
+---*/
var fin=0;
// CHECK#1
@@ -98,5 +96,4 @@ catch(e){
finally{
fin=1;
}
-if (fin!==1) $ERROR('#7.2: "finally" block must be evaluated');
-
+if (fin!==1) $ERROR('#7.2: "finally" block must be evaluated');
diff --git a/test/suite/ch12/12.14/S12.14_A2.js b/test/suite/ch12/12.14/S12.14_A2.js
index 4185b346f..c3b8c8ead 100644
--- a/test/suite/ch12/12.14/S12.14_A2.js
+++ b/test/suite/ch12/12.14/S12.14_A2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Throwing exception with "throw" and catching it with "try" statement
- *
- * @path ch12/12.14/S12.14_A2.js
- * @description Checking if execution of "catch" catches an exception thrown with "throw"
- */
+/*---
+info: Throwing exception with "throw" and catching it with "try" statement
+description: >
+ Checking if execution of "catch" catches an exception thrown with
+ "throw"
+---*/
// CHECK#1
try {
@@ -49,4 +49,3 @@ if (x3!==1){
if (c3!==1){
$ERROR('#3.3: "finally" block must be evaluated');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A3.js b/test/suite/ch12/12.14/S12.14_A3.js
index b87f6d57c..bce8ce2b1 100644
--- a/test/suite/ch12/12.14/S12.14_A3.js
+++ b/test/suite/ch12/12.14/S12.14_A3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Catching system exception with "try" statement
- *
- * @path ch12/12.14/S12.14_A3.js
- * @description Checking if execution of "catch" catches system exceptions
- */
+/*---
+info: Catching system exception with "try" statement
+description: Checking if execution of "catch" catches system exceptions
+---*/
// CHECK#1
try{
@@ -50,4 +48,3 @@ if (x3!==1){
if (c3!==1){
$ERROR('#3.3: "finally" block must be evaluated');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A4.js b/test/suite/ch12/12.14/S12.14_A4.js
index e904f5c9e..9850eea0a 100644
--- a/test/suite/ch12/12.14/S12.14_A4.js
+++ b/test/suite/ch12/12.14/S12.14_A4.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Sanity test for "catch(Indetifier) statement"
- *
- * @path ch12/12.14/S12.14_A4.js
- * @description Checking if deleting an exception fails
- * @noStrict
- */
+/*---
+info: Sanity test for "catch(Indetifier) statement"
+description: Checking if deleting an exception fails
+flags: [noStrict]
+---*/
// CHECK#1
try {
@@ -34,4 +32,3 @@ try{
$ERROR('#2.2: Deleting catching exception after ending "catch" block');
}
catch(err){}
-
diff --git a/test/suite/ch12/12.14/S12.14_A5.js b/test/suite/ch12/12.14/S12.14_A5.js
index f7620908b..90a9a5c0d 100644
--- a/test/suite/ch12/12.14/S12.14_A5.js
+++ b/test/suite/ch12/12.14/S12.14_A5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production TryStatement: "try Block Finally" and the production TryStatement: "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A5.js
- * @description Checking "catch" catches the Identifier in appropriate way
- */
+/*---
+info: >
+ The production TryStatement: "try Block Finally" and the production
+ TryStatement: "try Block Catch Finally"
+description: Checking "catch" catches the Identifier in appropriate way
+---*/
// CHECK#1
try {
@@ -48,4 +48,3 @@ function SwitchTest1(value){
}
if (SwitchTest1(1)!==4) $ERROR('#2.3: "finally" block must be evaluated');
if (SwitchTest1(4)!==64)$ERROR('#2.4: "finally" block must be evaluated');
-
diff --git a/test/suite/ch12/12.14/S12.14_A6.js b/test/suite/ch12/12.14/S12.14_A6.js
index 96b30dbc0..7283e7364 100644
--- a/test/suite/ch12/12.14/S12.14_A6.js
+++ b/test/suite/ch12/12.14/S12.14_A6.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production TryStatement: "try Block Catch Finally"
- *
- * @path ch12/12.14/S12.14_A6.js
- * @description Executing sequence of "try" statements, using counters with varying values within
- */
+/*---
+info: "The production TryStatement: \"try Block Catch Finally\""
+description: >
+ Executing sequence of "try" statements, using counters with
+ varying values within
+---*/
// CHECK#1
var c1=0;
@@ -63,5 +63,4 @@ finally{
}
if (c4!==2){
$ERROR('#4: Sequence evaluation of commands try/catch/finally(without exception) is 1. try, 2. finally');
-}
-
+}
diff --git a/test/suite/ch12/12.14/S12.14_A7_T1.js b/test/suite/ch12/12.14/S12.14_A7_T1.js
index 86efa4fad..74e2f1bf6 100644
--- a/test/suite/ch12/12.14/S12.14_A7_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A7_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Evaluating the nested productions TryStatement
- *
- * @path ch12/12.14/S12.14_A7_T1.js
- * @description Checking if the production of nested TryStatement statements evaluates correct
- */
+/*---
+info: Evaluating the nested productions TryStatement
+description: >
+ Checking if the production of nested TryStatement statements
+ evaluates correct
+---*/
// CHECK#1
try{
@@ -135,4 +135,3 @@ catch(er1){
if (er1!=="ex1") $ERROR('#7.3: Exception ==="ex1". Actual: Exception ==='+ er1 );
}
if (c7!==2) $ERROR('#7.4: "finally" block must be evaluated');
-
diff --git a/test/suite/ch12/12.14/S12.14_A7_T2.js b/test/suite/ch12/12.14/S12.14_A7_T2.js
index 94a8c343d..5eb6fef00 100644
--- a/test/suite/ch12/12.14/S12.14_A7_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A7_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Evaluating the nested productions TryStatement
- *
- * @path ch12/12.14/S12.14_A7_T2.js
- * @description Checking if the production of nested TryStatement statements evaluates correct
- */
+/*---
+info: Evaluating the nested productions TryStatement
+description: >
+ Checking if the production of nested TryStatement statements
+ evaluates correct
+---*/
// CHECK#1
try{
@@ -149,4 +149,3 @@ catch(er1){
if (er1!=="ex3") $ERROR('#7.1: Exception === "ex3". Actual: Exception ==='+er1 );
}
if (c7!==2) $ERROR('#7.2: Embedded "try/finally" blocks must be evaluated');
-
diff --git a/test/suite/ch12/12.14/S12.14_A7_T3.js b/test/suite/ch12/12.14/S12.14_A7_T3.js
index 183ab7d22..03fc5b6f9 100644
--- a/test/suite/ch12/12.14/S12.14_A7_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A7_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Evaluating the nested productions TryStatement
- *
- * @path ch12/12.14/S12.14_A7_T3.js
- * @description Checking if the production of nested TryStatement statements evaluates correct
- */
+/*---
+info: Evaluating the nested productions TryStatement
+description: >
+ Checking if the production of nested TryStatement statements
+ evaluates correct
+---*/
// CHECK#1
try{
@@ -166,4 +166,3 @@ catch(er1){
if (er1!=="ex1") $ERROR('#7.3: Exception === "ex1". Actual: Exception ==='+er1);
}
if (c7!==4) $ERROR('#7.4: "finally" block must be evaluated');
-
diff --git a/test/suite/ch12/12.14/S12.14_A8.js b/test/suite/ch12/12.14/S12.14_A8.js
index 4ac0574a2..f601edeca 100644
--- a/test/suite/ch12/12.14/S12.14_A8.js
+++ b/test/suite/ch12/12.14/S12.14_A8.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "try" with "catch" or "finally" statement within/without an "if" statement
- *
- * @path ch12/12.14/S12.14_A8.js
- * @description Throwing exception within an "if" statement
- */
+/*---
+info: "\"try\" with \"catch\" or \"finally\" statement within/without an \"if\" statement"
+description: Throwing exception within an "if" statement
+---*/
// CHECK#1
var c1=1;
@@ -32,4 +30,3 @@ if(c2===1){
if(er1!="ex1") $ERROR('#2.2: Exception ==="ex1". Actual: Exception ==='+er1);
}
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A9_T1.js b/test/suite/ch12/12.14/S12.14_A9_T1.js
index 974b9e725..a7b195529 100644
--- a/test/suite/ch12/12.14/S12.14_A9_T1.js
+++ b/test/suite/ch12/12.14/S12.14_A9_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "try" with "catch" or "finally" statement within/without an "do while" statement
- *
- * @path ch12/12.14/S12.14_A9_T1.js
- * @description Loop within a "try" Block, from where exception is thrown
- */
+/*---
+info: >
+ "try" with "catch" or "finally" statement within/without an "do while"
+ statement
+description: Loop within a "try" Block, from where exception is thrown
+---*/
// CHECK#1
var i=0;
@@ -20,4 +20,3 @@ try{
catch(e){
if(e!==5)$ERROR('#1: Exception ===5. Actual: Exception ==='+ e );
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A9_T2.js b/test/suite/ch12/12.14/S12.14_A9_T2.js
index 9b36f31fb..33c6c0c63 100644
--- a/test/suite/ch12/12.14/S12.14_A9_T2.js
+++ b/test/suite/ch12/12.14/S12.14_A9_T2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "try" with "catch" or "finally" statement within/without an "do while" statement
- *
- * @path ch12/12.14/S12.14_A9_T2.js
- * @description "try" statement within a loop, the statement contains "continue" statement
- */
+/*---
+info: >
+ "try" with "catch" or "finally" statement within/without an "do while"
+ statement
+description: >
+ "try" statement within a loop, the statement contains "continue"
+ statement
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -119,4 +121,3 @@ if(fin6!==1){
if(c6!==2){
$ERROR('#6.2: "try finally{continue}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A9_T3.js b/test/suite/ch12/12.14/S12.14_A9_T3.js
index 60bdd4b30..449332e82 100644
--- a/test/suite/ch12/12.14/S12.14_A9_T3.js
+++ b/test/suite/ch12/12.14/S12.14_A9_T3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "try" with "catch" or "finally" statement within/without an "do while" statement
- *
- * @path ch12/12.14/S12.14_A9_T3.js
- * @description "try" statement within a loop, the statement contains "break" statement
- */
+/*---
+info: >
+ "try" with "catch" or "finally" statement within/without an "do while"
+ statement
+description: >
+ "try" statement within a loop, the statement contains "break"
+ statement
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -155,4 +157,3 @@ if(fin7!==1){
if(c7!==1){
$ERROR('#7.2: try finally{break} error');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A9_T4.js b/test/suite/ch12/12.14/S12.14_A9_T4.js
index 06542b1d1..9d202c045 100644
--- a/test/suite/ch12/12.14/S12.14_A9_T4.js
+++ b/test/suite/ch12/12.14/S12.14_A9_T4.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "try" with "catch" or "finally" statement within/without an "do while" statement
- *
- * @path ch12/12.14/S12.14_A9_T4.js
- * @description "try" statement within a loop, the statement contains "continue" and "break" statements
- */
+/*---
+info: >
+ "try" with "catch" or "finally" statement within/without an "do while"
+ statement
+description: >
+ "try" statement within a loop, the statement contains "continue"
+ and "break" statements
+---*/
// CHECK#1
var c1=0,fin=0;
@@ -55,4 +57,3 @@ if(fin2!==1){
if(c2!==2){
$ERROR('#2.2: "try catch{break} finally{continue}" must work correctly');
}
-
diff --git a/test/suite/ch12/12.14/S12.14_A9_T5.js b/test/suite/ch12/12.14/S12.14_A9_T5.js
index dd16dfe2d..c4056cb21 100644
--- a/test/suite/ch12/12.14/S12.14_A9_T5.js
+++ b/test/suite/ch12/12.14/S12.14_A9_T5.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "try" with "catch" or "finally" statement within/without an "do while" statement
- *
- * @path ch12/12.14/S12.14_A9_T5.js
- * @description Checking if exceptions are thrown correctly from wherever of loop body
- */
+/*---
+info: >
+ "try" with "catch" or "finally" statement within/without an "do while"
+ statement
+description: >
+ Checking if exceptions are thrown correctly from wherever of loop
+ body
+---*/
// CHECK#1
var c=0, i=0;
@@ -37,5 +39,3 @@ while(i<10);
if(fin!==10){
$ERROR('#1.4: "finally" block must be evaluated');
}
-
-
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-1-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-1-s.js
index 102f9fdb0..d46cf707f 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-1-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-1-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-1-s.js
- * @description eval - a function declaring a var named 'eval' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var eval; }');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval - a function declaring a var named 'eval' throws SyntaxError
+ in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var eval; }');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-10-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-10-s.js
index 8f442fc90..90ab37d51 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-10-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-10-s.js
@@ -1,19 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-10-s.js
- * @description Strict Mode: an indirect eval assigning into 'eval' does not throw
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
- var s = eval;
- s('eval = 42;');
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "Strict Mode: an indirect eval assigning into 'eval' does not throw"
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+ var s = eval;
+ s('eval = 42;');
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-11.js b/test/suite/ch12/12.2/12.2.1/12.2.1-11.js
index 650835ee1..f8f37eb21 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-11.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-11.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-11.js
- * @description arguments as var identifier in eval code is allowed
- */
-
-
-function testcase() {
- eval("var arguments;");
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: arguments as var identifier in eval code is allowed
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ eval("var arguments;");
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-12-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-12-s.js
index 7d96f25fe..39ab8a95a 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-12-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-12-s.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-12-s.js
- * @description arguments as local var identifier throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var arguments;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: arguments as local var identifier throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var arguments;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-12.js b/test/suite/ch12/12.2/12.2.1/12.2.1-12.js
index f5ba2925d..63a7732cb 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-12.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-12.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-12.js
- * @description arguments as local var identifier is allowed
- */
-
-
-function testcase() {
- eval("(function (){var arguments;})");
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: arguments as local var identifier is allowed
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ eval("(function (){var arguments;})");
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-13-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-13-s.js
index d34ab90d1..e695ce5c0 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-13-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-13-s.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-13-s.js
- * @description arguments assignment throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { arguments = 42; }; foo()');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: arguments assignment throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { arguments = 42; }; foo()');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-14-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-14-s.js
index 252688c96..47e8ab9cf 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-14-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-14-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-14-s.js
- * @description arguments - a function expr declaring a var named 'arguments' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('(function (){var arguments;});');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ arguments - a function expr declaring a var named 'arguments'
+ throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('(function (){var arguments;});');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-15-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-15-s.js
index 185ba5156..b68444270 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-15-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-15-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-15-s.js
- * @description arguments - a function expr assigning into 'arguments' throws a SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('(function () {arguments = 42;})()');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ arguments - a function expr assigning into 'arguments' throws a
+ SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('(function () {arguments = 42;})()');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-16-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-16-s.js
index d39963bc7..25ad409fe 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-16-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-16-s.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-16-s.js
- * @description A Function constructor (called as a function) declaring a var named 'arguments' does not throw a SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
- Function('var arguments;');
- return true;
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ A Function constructor (called as a function) declaring a var
+ named 'arguments' does not throw a SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+ Function('var arguments;');
+ return true;
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-17-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-17-s.js
index c53dce258..e587cba91 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-17-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-17-s.js
@@ -1,22 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-17-s.js
- * @description A Function constructor (called as a function) assigning into 'arguments' will not throw any error if contained within strict mode and its body does not start with strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- var f = Function('arguments = 42;');
- f();
- return true;
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ A Function constructor (called as a function) assigning into
+ 'arguments' will not throw any error if contained within strict
+ mode and its body does not start with strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ var f = Function('arguments = 42;');
+ f();
+ return true;
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-18-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-18-s.js
index fb4afd3c2..f461c7840 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-18-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-18-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-18-s.js
- * @description A direct eval declaring a var named 'arguments' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('var arguments;');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ A direct eval declaring a var named 'arguments' throws SyntaxError
+ in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('var arguments;');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-19-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-19-s.js
index 18fcc5d18..7d248df1a 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-19-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-19-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-19-s.js
- * @description A direct eval assigning into 'arguments' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('arguments = 42;');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError) ;
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ A direct eval assigning into 'arguments' throws SyntaxError in
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('arguments = 42;');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError) ;
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-1gs.js b/test/suite/ch12/12.2/12.2.1/12.2.1-1gs.js
index a93b2aae7..f08c073f3 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-1gs.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-1gs.js
@@ -1,14 +1,17 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-1gs.js
- * @description Strict Mode - SyntaxError is thrown if a VariableDeclaration occurs within strict code and its Identifier is eval
- * @onlyStrict
- * @negative ^((?!NotEarlyError).)*$
- */
-"use strict";
-throw NotEarlyError;
-for (var eval in arrObj) { } \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown if a VariableDeclaration
+ occurs within strict code and its Identifier is eval
+negative: ^((?!NotEarlyError).)*$
+flags: [onlyStrict]
+---*/
+
+"use strict";
+throw NotEarlyError;
+for (var eval in arrObj) { }
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-2-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-2-s.js
index 8b9848c54..5a1aaa3b6 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-2-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-2-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-2-s.js
- * @description eval - a function assigning into 'eval' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { eval = 42; }; foo()');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval - a function assigning into 'eval' throws SyntaxError in
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { eval = 42; }; foo()');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-20-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-20-s.js
index 230340fda..2948c5d71 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-20-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-20-s.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-20-s.js
- * @description Strict Mode: an indirect eval declaring a var named 'arguments' does not throw
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
- var s = eval;
- s('var arguments;');
- return true;
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode: an indirect eval declaring a var named 'arguments'
+ does not throw
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+ var s = eval;
+ s('var arguments;');
+ return true;
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-21-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-21-s.js
index 2d1907b01..1f8c8f6d9 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-21-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-21-s.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-21-s.js
- * @description Strict Mode: an indirect eval assigning into 'arguments' does not throw
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
- var s = eval;
- s('arguments = 42;');
- return true;
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode: an indirect eval assigning into 'arguments' does not
+ throw
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+ var s = eval;
+ s('arguments = 42;');
+ return true;
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-22-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-22-s.js
index 943360cda..2c70d7741 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-22-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-22-s.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-22-s.js
- * @description arguments as global var identifier throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
-
- var indirectEval = eval;
-
- try {
- indirectEval("'use strict'; var arguments;");
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ arguments as global var identifier throws SyntaxError in strict
+ mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var indirectEval = eval;
+
+ try {
+ indirectEval("'use strict'; var arguments;");
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-23-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-23-s.js
index 29d667897..b770ffa50 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-23-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-23-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-23-s.js
- * @description arguments as local var identifier assigned to throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var arguments = 42;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ arguments as local var identifier assigned to throws SyntaxError
+ in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var arguments = 42;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-24-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-24-s.js
index bd9cc069d..5234cc3a6 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-24-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-24-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-24-s.js
- * @description eval as local var identifier assigned to throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var eval = 42;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval as local var identifier assigned to throws SyntaxError in
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var eval = 42;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-25-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-25-s.js
index f28397959..50f1eab51 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-25-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-25-s.js
@@ -1,26 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-25-s.js
- * @description arguments as local var identifier throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var arguments, a;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: arguments as local var identifier throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var arguments, a;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-26-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-26-s.js
index b4e24356f..4e9af9d92 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-26-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-26-s.js
@@ -1,26 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-26-s.js
- * @description eval as local var identifier throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var a, eval;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: eval as local var identifier throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var a, eval;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-27-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-27-s.js
index 8f08b1b2a..9ea776324 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-27-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-27-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-27-s.js
- * @description eval as local var identifier assigned to throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var eval = 42, a;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval as local var identifier assigned to throws SyntaxError in
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var eval = 42, a;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-28-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-28-s.js
index ea6d73a0c..0f4271b3a 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-28-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-28-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-28-s.js
- * @description arguments as local var identifier assigned to throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var a, arguments = 42;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ arguments as local var identifier assigned to throws SyntaxError
+ in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var a, arguments = 42;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-29-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-29-s.js
index 4b389d966..8c2548ac7 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-29-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-29-s.js
@@ -1,26 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-29-s.js
- * @description eval as local var identifier throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var eval, a = 42;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: eval as local var identifier throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var eval, a = 42;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-3-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-3-s.js
index 6f207527e..6b439968c 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-3-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-3-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-3-s.js
- * @description eval - a function expr declaring a var named 'eval' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('(function () { var eval; })');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval - a function expr declaring a var named 'eval' throws
+ SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('(function () { var eval; })');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-30-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-30-s.js
index 8998405d0..a654c4519 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-30-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-30-s.js
@@ -1,26 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-30-s.js
- * @description arguments as local var identifier throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var a = 42, arguments;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: arguments as local var identifier throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var a = 42, arguments;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-31-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-31-s.js
index 305af43d2..9c0ea9ea2 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-31-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-31-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-31-s.js
- * @description eval as local var identifier defined twice throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var eval, eval;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval as local var identifier defined twice throws SyntaxError in
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var eval, eval;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-32-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-32-s.js
index b68ecb63d..5074aae67 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-32-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-32-s.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-32-s.js
- * @description arguments as local var identifier defined twice and assigned once throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var arguments, arguments = 42;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ arguments as local var identifier defined twice and assigned once
+ throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var arguments, arguments = 42;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-33-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-33-s.js
index 1a54c5e5b..6aed7ea0a 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-33-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-33-s.js
@@ -1,26 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-33-s.js
- * @description arguments as local var identifier throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('function foo() { var a, arguments, b;}');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: arguments as local var identifier throws SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('function foo() { var a, arguments, b;}');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+}
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-34-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-34-s.js
index c41cb67a6..c07b55639 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-34-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-34-s.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-34-s.js
- * @description 'for(var eval in ...) {...}' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('for (var eval in null) {};');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "'for(var eval in ...) {...}' throws SyntaxError in strict mode"
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('for (var eval in null) {};');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-35-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-35-s.js
index 41eaacabf..c13914cc4 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-35-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-35-s.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-35-s.js
- * @description 'for(var eval = 42 in ...) {...}' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('for (var eval = 42 in null) {};');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "'for(var eval = 42 in ...) {...}' throws SyntaxError in strict mode"
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('for (var eval = 42 in null) {};');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-36-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-36-s.js
index f33169483..3283e9231 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-36-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-36-s.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-36-s.js
- * @description 'for(var arguments in ...) {...}' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('for (var arguments in null) {};');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: "'for(var arguments in ...) {...}' throws SyntaxError in strict mode"
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('for (var arguments in null) {};');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-37-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-37-s.js
index 2a134a665..d147d337d 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-37-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-37-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-37-s.js
- * @description 'for(var arguments = 42 in ...) {...}' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('for (var arguments = 42 in null) {};');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ 'for(var arguments = 42 in ...) {...}' throws SyntaxError in
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('for (var arguments = 42 in null) {};');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-4-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-4-s.js
index 2eef4faaa..b33df3564 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-4-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-4-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-4-s.js
- * @description eval - a function expr assigning into 'eval' throws a SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('(function () { eval = 42; })()');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval - a function expr assigning into 'eval' throws a SyntaxError
+ in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('(function () { eval = 42; })()');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-4gs.js b/test/suite/ch12/12.2/12.2.1/12.2.1-4gs.js
index add5e144d..0381cbf1f 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-4gs.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-4gs.js
@@ -1,14 +1,17 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-4gs.js
- * @description Strict Mode - SyntaxError is thrown if a VariableDeclarationNoIn occurs within strict code and its Identifier is arguments
- * @onlyStrict
- * @negative ^((?!NotEarlyError).)*$
- */
-"use strict";
-throw NotEarlyError;
-var arguments; \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - SyntaxError is thrown if a VariableDeclarationNoIn
+ occurs within strict code and its Identifier is arguments
+negative: ^((?!NotEarlyError).)*$
+flags: [onlyStrict]
+---*/
+
+"use strict";
+throw NotEarlyError;
+var arguments;
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-5-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-5-s.js
index 8644c4a20..9b80b2d16 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-5-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-5-s.js
@@ -1,18 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-5-s.js
- * @description Strict Mode - a Function declaring var named 'eval' does not throw SyntaxError
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
- Function('var eval;');
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode - a Function declaring var named 'eval' does not throw
+ SyntaxError
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+ Function('var eval;');
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-6-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-6-s.js
index 2db1c2bf8..64a5d3e6f 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-6-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-6-s.js
@@ -1,20 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-6-s.js
- * @description eval - a Function assigning into 'eval' will not throw any error if contained within strict mode and its body does not start with strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- var f = Function('eval = 42;');
- f();
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval - a Function assigning into 'eval' will not throw any error
+ if contained within strict mode and its body does not start with
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ var f = Function('eval = 42;');
+ f();
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-7-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-7-s.js
index fec5ae659..4554aa888 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-7-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-7-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-7-s.js
- * @description eval - a direct eval declaring a var named 'eval' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('var eval;');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval - a direct eval declaring a var named 'eval' throws
+ SyntaxError in strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('var eval;');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-8-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-8-s.js
index 385808d44..1f01ffff8 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-8-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-8-s.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-8-s.js
- * @description eval - a direct eval assigning into 'eval' throws SyntaxError in strict mode
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
-
- try {
- eval('eval = 42;');
- return false;
- }
- catch (e) {
- return (e instanceof SyntaxError) ;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ eval - a direct eval assigning into 'eval' throws SyntaxError in
+ strict mode
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+
+ try {
+ eval('eval = 42;');
+ return false;
+ }
+ catch (e) {
+ return (e instanceof SyntaxError) ;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/12.2.1/12.2.1-9-s.js b/test/suite/ch12/12.2/12.2.1/12.2.1-9-s.js
index 6479cc174..5befdf6d3 100644
--- a/test/suite/ch12/12.2/12.2.1/12.2.1-9-s.js
+++ b/test/suite/ch12/12.2/12.2.1/12.2.1-9-s.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.2/12.2.1/12.2.1-9-s.js
- * @description Strict Mode: an indirect eval declaring a var named 'eval' does not throw
- * @onlyStrict
- */
-
-
-function testcase() {
- 'use strict';
- var s = eval;
- s('var eval;');
- return true;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict Mode: an indirect eval declaring a var named 'eval' does
+ not throw
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ 'use strict';
+ var s = eval;
+ s('var eval;');
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.2/S12.2_A1.js b/test/suite/ch12/12.2/S12.2_A1.js
index 520daebf5..40294a081 100644
--- a/test/suite/ch12/12.2/S12.2_A1.js
+++ b/test/suite/ch12/12.2/S12.2_A1.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Variables are created when the program is entered. Variables are initialised to "undefined"
- * when created. A variable with an Initialiser is assigned the value of its AssignmentExpression when the
- * VariableStatement is executed, not when the variable is created
- *
- * @path ch12/12.2/S12.2_A1.js
- * @description Creating variables after entering the execution scope
- */
+/*---
+info: >
+ Variables are created when the program is entered. Variables are initialised to "undefined"
+ when created. A variable with an Initialiser is assigned the value of its AssignmentExpression when the
+ VariableStatement is executed, not when the variable is created
+description: Creating variables after entering the execution scope
+includes: [$PRINT.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -50,4 +50,3 @@ if (!__y&!(__z = "smeagol")) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A10.js b/test/suite/ch12/12.2/S12.2_A10.js
index b85f957b2..d48fe62fe 100644
--- a/test/suite/ch12/12.2/S12.2_A10.js
+++ b/test/suite/ch12/12.2/S12.2_A10.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "var" statement within "for" statement is allowed
- *
- * @path ch12/12.2/S12.2_A10.js
- * @description Declaring variable within a "for" IterationStatement
- */
+/*---
+info: "\"var\" statement within \"for\" statement is allowed"
+description: Declaring variable within a "for" IterationStatement
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -21,4 +19,3 @@ try {
for (var __ind;;){
break;
}
-
diff --git a/test/suite/ch12/12.2/S12.2_A11.js b/test/suite/ch12/12.2/S12.2_A11.js
index 392d4e74b..9641c113b 100644
--- a/test/suite/ch12/12.2/S12.2_A11.js
+++ b/test/suite/ch12/12.2/S12.2_A11.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When using property attributes, {ReadOnly} is not used
- *
- * @path ch12/12.2/S12.2_A11.js
- * @description Changing variable value using property attributes
- */
+/*---
+info: When using property attributes, {ReadOnly} is not used
+description: Changing variable value using property attributes
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -26,4 +24,3 @@ if (__declared__var !== "baloon") {
//////////////////////////////////////////////////////////////////////////////
var __declared__var;
-
diff --git a/test/suite/ch12/12.2/S12.2_A12.js b/test/suite/ch12/12.2/S12.2_A12.js
index d69e27539..f03a6412b 100644
--- a/test/suite/ch12/12.2/S12.2_A12.js
+++ b/test/suite/ch12/12.2/S12.2_A12.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * VariableDeclaration within "do-while" loop is allowed
- *
- * @path ch12/12.2/S12.2_A12.js
- * @description Declaring variable within "do-while" statement
- */
+/*---
+info: VariableDeclaration within "do-while" loop is allowed
+description: Declaring variable within "do-while" statement
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -19,4 +17,3 @@ try {
//////////////////////////////////////////////////////////////////////////////
do var x; while (false);
-
diff --git a/test/suite/ch12/12.2/S12.2_A2.js b/test/suite/ch12/12.2/S12.2_A2.js
index 5f7de5abc..bdbaa0eed 100644
--- a/test/suite/ch12/12.2/S12.2_A2.js
+++ b/test/suite/ch12/12.2/S12.2_A2.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Variables are defined with global scope (that is, they are created as members of the global object, as described in 10.1.3) using property attributes { DontDelete}
- *
- * @path ch12/12.2/S12.2_A2.js
- * @description Checking if deleting global variables that have the attributes {DontDelete} fails
- */
+/*---
+info: >
+ Variables are defined with global scope (that is, they are created as
+ members of the global object, as described in 10.1.3) using property
+ attributes { DontDelete}
+description: >
+ Checking if deleting global variables that have the attributes
+ {DontDelete} fails
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -43,5 +46,3 @@ if ((__variable !== "defined")|(this["__variable"] !=="defined")) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.2/S12.2_A3.js b/test/suite/ch12/12.2/S12.2_A3.js
index 5c0845ad2..11ef08907 100644
--- a/test/suite/ch12/12.2/S12.2_A3.js
+++ b/test/suite/ch12/12.2/S12.2_A3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionDeclaration produces a new scope
- *
- * @path ch12/12.2/S12.2_A3.js
- * @description Using Global scope and Function scope together
- */
+/*---
+info: FunctionDeclaration produces a new scope
+description: Using Global scope and Function scope together
+---*/
var __var = "OUT";
@@ -52,4 +50,3 @@ if (__var!=="INNERED") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A4.js b/test/suite/ch12/12.2/S12.2_A4.js
index 17f5c6a87..224a25687 100644
--- a/test/suite/ch12/12.2/S12.2_A4.js
+++ b/test/suite/ch12/12.2/S12.2_A4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Unicode characters in variable Identifier are allowed
- *
- * @path ch12/12.2/S12.2_A4.js
- * @description Create and use unicode characters in variable Identifier
- */
+/*---
+info: Unicode characters in variable Identifier are allowed
+description: Create and use unicode characters in variable Identifier
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -27,4 +25,3 @@ if (__var !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A5.js b/test/suite/ch12/12.2/S12.2_A5.js
index c168bfd2b..9c1bd6631 100644
--- a/test/suite/ch12/12.2/S12.2_A5.js
+++ b/test/suite/ch12/12.2/S12.2_A5.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * VariableDeclaration within Eval statement is initialized as the program reaches the eval statement
- *
- * @path ch12/12.2/S12.2_A5.js
- * @description Executing eval("var x")
- */
+/*---
+info: >
+ VariableDeclaration within Eval statement is initialized as the program
+ reaches the eval statement
+description: Executing eval("var x")
+includes: [$PRINT.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -30,4 +31,3 @@ try{
};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A6_T1.js b/test/suite/ch12/12.2/S12.2_A6_T1.js
index 34e7f0e7a..825751e8f 100644
--- a/test/suite/ch12/12.2/S12.2_A6_T1.js
+++ b/test/suite/ch12/12.2/S12.2_A6_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * VariableDeclaration within "try-catch" statement is allowed
- *
- * @path ch12/12.2/S12.2_A6_T1.js
- * @description Declaring variable within "try-catch" statement
- */
+/*---
+info: VariableDeclaration within "try-catch" statement is allowed
+description: Declaring variable within "try-catch" statement
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -33,4 +31,3 @@ try{
}catch(e){
var incatch__var;
};
-
diff --git a/test/suite/ch12/12.2/S12.2_A6_T2.js b/test/suite/ch12/12.2/S12.2_A6_T2.js
index 4b586e0ab..aa725a01a 100644
--- a/test/suite/ch12/12.2/S12.2_A6_T2.js
+++ b/test/suite/ch12/12.2/S12.2_A6_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * VariableDeclaration within "try-catch" statement is allowed
- *
- * @path ch12/12.2/S12.2_A6_T2.js
- * @description Declaring variables within "try-catch" statement
- */
+/*---
+info: VariableDeclaration within "try-catch" statement is allowed
+description: Declaring variables within "try-catch" statement
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -35,4 +33,3 @@ try{
}
};
-
diff --git a/test/suite/ch12/12.2/S12.2_A7.js b/test/suite/ch12/12.2/S12.2_A7.js
index 167355a9f..76ca62e7a 100644
--- a/test/suite/ch12/12.2/S12.2_A7.js
+++ b/test/suite/ch12/12.2/S12.2_A7.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * VariableDeclaration within "for" statement is allowed
- *
- * @path ch12/12.2/S12.2_A7.js
- * @description Declaring variable within "for" statement
- */
+/*---
+info: VariableDeclaration within "for" statement is allowed
+description: Declaring variable within "for" statement
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +20,3 @@ for (;;){
break;
var infor_var;
}
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T1.js b/test/suite/ch12/12.2/S12.2_A8_T1.js
index c9466b665..161ebfea0 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T1.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T1.js
- * @description Checking if execution of "var x += 1" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var x += 1" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var x += 1;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T2.js b/test/suite/ch12/12.2/S12.2_A8_T2.js
index f5b9edc5f..69f173008 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T2.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T2.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T2.js
- * @description Checking if execution of "var x | true" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var x | true" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var x | true;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T3.js b/test/suite/ch12/12.2/S12.2_A8_T3.js
index 4272e5c1b..726faa8fe 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T3.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T3.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T3.js
- * @description Checking if execution of "var x && 1" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var x && 1" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var x && 1;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T4.js b/test/suite/ch12/12.2/S12.2_A8_T4.js
index 1f4641770..ae8601f10 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T4.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T4.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T4.js
- * @description Checking if execution of "var x++" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var x++" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var x++;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T5.js b/test/suite/ch12/12.2/S12.2_A8_T5.js
index 1c414f6dd..6e0e2279b 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T5.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T5.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T5.js
- * @description Checking if execution of "var --x" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var --x" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var --x;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T6.js b/test/suite/ch12/12.2/S12.2_A8_T6.js
index c763f07aa..4d72fa326 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T6.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T6.js
@@ -1,18 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T6.js
- * @description Checking if execution of "var x*1" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var x*1" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var x*1;
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T7.js b/test/suite/ch12/12.2/S12.2_A8_T7.js
index 86d1c3398..5a173c6db 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T7.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T7.js
@@ -1,18 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T7.js
- * @description Checking if execution of "var x>>1" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var x>>1" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var x>>1;
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.2/S12.2_A8_T8.js b/test/suite/ch12/12.2/S12.2_A8_T8.js
index d798757d6..5b89a750e 100644
--- a/test/suite/ch12/12.2/S12.2_A8_T8.js
+++ b/test/suite/ch12/12.2/S12.2_A8_T8.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only AssignmentExpression is admitted when variable is initialized
- *
- * @path ch12/12.2/S12.2_A8_T8.js
- * @description Checking if execution of "var x in __arr" fails
- * @negative
- */
+/*---
+info: Only AssignmentExpression is admitted when variable is initialized
+description: Checking if execution of "var x in __arr" fails
+flags: [negative]
+---*/
__arr = [];
@@ -16,5 +14,3 @@ __arr = [];
var x in __arr;
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.2/S12.2_A9.js b/test/suite/ch12/12.2/S12.2_A9.js
index 261599a65..3d6eeebcb 100644
--- a/test/suite/ch12/12.2/S12.2_A9.js
+++ b/test/suite/ch12/12.2/S12.2_A9.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When using property attributes, {DontEnum} is not used
- *
- * @path ch12/12.2/S12.2_A9.js
- * @description Enumerating property attributes of "this" and then searching for the declared variable
- */
+/*---
+info: When using property attributes, {DontEnum} is not used
+description: >
+ Enumerating property attributes of "this" and then searching for
+ the declared variable
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -21,4 +21,3 @@ if (!(enumed)) {
//////////////////////////////////////////////////////////////////////////////
var __declared__var;
-
diff --git a/test/suite/ch12/12.3/S12.3_A1.js b/test/suite/ch12/12.3/S12.3_A1.js
index e314b179e..8d314851d 100644
--- a/test/suite/ch12/12.3/S12.3_A1.js
+++ b/test/suite/ch12/12.3/S12.3_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production EmptyStatement ; is evaluated as follows Return (normal, empty, empty)
- *
- * @path ch12/12.3/S12.3_A1.js
- * @description Using EmptyStatement ;
- */
+/*---
+info: >
+ The production EmptyStatement ; is evaluated as follows Return (normal,
+ empty, empty)
+description: Using EmptyStatement ;
+---*/
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;; ;;;;;; ;; ;; ;;;;;; ;;;;;;;; ;; ;; ;;;;;
@@ -15,4 +15,3 @@
;;;;; ;; ;; ;; ;; ;; ;; ;; ;;;;;
;;;;; ;;;;;; ;; ;; ;; ;; ;; ;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
diff --git a/test/suite/ch12/12.4/S12.4_A1.js b/test/suite/ch12/12.4/S12.4_A1.js
index 0754d791e..66553b119 100644
--- a/test/suite/ch12/12.4/S12.4_A1.js
+++ b/test/suite/ch12/12.4/S12.4_A1.js
@@ -1,17 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * An ExpressionStatement can not start with the function keyword because that might make it ambiguous with a FunctionDeclaration
- *
- * @path ch12/12.4/S12.4_A1.js
- * @description Checking if execution of "function(){}()" fails
- * @negative
- */
+/*---
+info: >
+ An ExpressionStatement can not start with the function keyword because
+ that might make it ambiguous with a FunctionDeclaration
+description: Checking if execution of "function(){}()" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
function(){}();
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.4/S12.4_A2_T1.js b/test/suite/ch12/12.4/S12.4_A2_T1.js
index 70d0aa62d..2a3fa574c 100644
--- a/test/suite/ch12/12.4/S12.4_A2_T1.js
+++ b/test/suite/ch12/12.4/S12.4_A2_T1.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows:
- * 1. Evaluate Expression.
- * 2. Call GetValue(Result(1)).
- * 3. Return (normal, Result(2), empty)
- *
- * @path ch12/12.4/S12.4_A2_T1.js
- * @description Checking by using eval "(eval("x+1+x==1"))"
- */
+/*---
+info: >
+ The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows:
+ 1. Evaluate Expression.
+ 2. Call GetValue(Result(1)).
+ 3. Return (normal, Result(2), empty)
+description: Checking by using eval "(eval("x+1+x==1"))"
+---*/
x=1;
@@ -32,4 +31,3 @@ if (__evaluated !== false) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.4/S12.4_A2_T2.js b/test/suite/ch12/12.4/S12.4_A2_T2.js
index 2fdadc008..679c942a6 100644
--- a/test/suite/ch12/12.4/S12.4_A2_T2.js
+++ b/test/suite/ch12/12.4/S12.4_A2_T2.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows:
- * 1. Evaluate Expression.
- * 2. Call GetValue(Result(1)).
- * 3. Return (normal, Result(2), empty)
- *
- * @path ch12/12.4/S12.4_A2_T2.js
- * @description Checking by using eval(eval(x), where x is any string)
- */
+/*---
+info: >
+ The production ExpressionStatement : [lookahead \notin {{, function}] Expression; is evaluated as follows:
+ 1. Evaluate Expression.
+ 2. Call GetValue(Result(1)).
+ 3. Return (normal, Result(2), empty)
+description: Checking by using eval(eval(x), where x is any string)
+---*/
x="5+1|0===0";
@@ -32,4 +31,3 @@ if (__evaluated !== 11) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A1.1_T1.js b/test/suite/ch12/12.5/S12.5_A1.1_T1.js
index ae2038c98..db23e2fd0 100644
--- a/test/suite/ch12/12.5/S12.5_A1.1_T1.js
+++ b/test/suite/ch12/12.5/S12.5_A1.1_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 0, null, undefined, false, empty string, NaN in expression is evaluated to false
- *
- * @path ch12/12.5/S12.5_A1.1_T1.js
- * @description Using "if" without "else" construction
- */
+/*---
+info: >
+ 0, null, undefined, false, empty string, NaN in expression is evaluated
+ to false
+description: Using "if" without "else" construction
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -50,4 +50,3 @@ if(NaN)
$ERROR('#5: NaN in expression is evaluated to false ');
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A1.1_T2.js b/test/suite/ch12/12.5/S12.5_A1.1_T2.js
index ba5d8e3cb..fc30b6300 100644
--- a/test/suite/ch12/12.5/S12.5_A1.1_T2.js
+++ b/test/suite/ch12/12.5/S12.5_A1.1_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 0, null, undefined, false, empty string, NaN in expression is evaluated to false
- *
- * @path ch12/12.5/S12.5_A1.1_T2.js
- * @description Using "if/else" construction
- */
+/*---
+info: >
+ 0, null, undefined, false, empty string, NaN in expression is evaluated
+ to false
+description: Using "if/else" construction
+---*/
var c=0;
//////////////////////////////////////////////////////////////////////////////
@@ -68,4 +68,3 @@ else
if (c!=6) $ERROR('#6.2: else branch don`t execute');
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A1.2_T1.js b/test/suite/ch12/12.5/S12.5_A1.2_T1.js
index 19ba4cdd1..9c41a9b45 100644
--- a/test/suite/ch12/12.5/S12.5_A1.2_T1.js
+++ b/test/suite/ch12/12.5/S12.5_A1.2_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1, true, non-empty string and others in expression is evaluated to true when using operator "new"
- *
- * @path ch12/12.5/S12.5_A1.2_T1.js
- * @description Using "if" without "else" construction
- */
+/*---
+info: >
+ 1, true, non-empty string and others in expression is evaluated to true
+ when using operator "new"
+description: Using "if" without "else" construction
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -70,4 +70,3 @@ if(!(new String("")))
$ERROR('#9: new empty string in expression is evaluated to true ');
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A1.2_T2.js b/test/suite/ch12/12.5/S12.5_A1.2_T2.js
index b384311f1..2bbd15ea7 100644
--- a/test/suite/ch12/12.5/S12.5_A1.2_T2.js
+++ b/test/suite/ch12/12.5/S12.5_A1.2_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1, true, non-empty string and others in expression is evaluated to true when using operator "new"
- *
- * @path ch12/12.5/S12.5_A1.2_T2.js
- * @description Using "if/else" construction
- */
+/*---
+info: >
+ 1, true, non-empty string and others in expression is evaluated to true
+ when using operator "new"
+description: Using "if/else" construction
+---*/
var c=0;
//////////////////////////////////////////////////////////////////////////////
@@ -98,4 +98,3 @@ else
if (c!=9) $ERROR('#9.2: else branch don`t execute');
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A10_T1.js b/test/suite/ch12/12.5/S12.5_A10_T1.js
index 4995fe1c2..b1c04d2bb 100644
--- a/test/suite/ch12/12.5/S12.5_A10_T1.js
+++ b/test/suite/ch12/12.5/S12.5_A10_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Function expession inside the "if" expression is allowed
- *
- * @path ch12/12.5/S12.5_A10_T1.js
- * @description Using function expession(function __func(){return 0;}) inside the "if" expression
- */
+/*---
+info: Function expession inside the "if" expression is allowed
+description: >
+ Using function expession(function __func(){return 0;}) inside the
+ "if" expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -17,4 +17,3 @@ if(function __func(){return 0;}){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A10_T2.js b/test/suite/ch12/12.5/S12.5_A10_T2.js
index bcb187b08..1c77d81c9 100644
--- a/test/suite/ch12/12.5/S12.5_A10_T2.js
+++ b/test/suite/ch12/12.5/S12.5_A10_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Function expession inside the "if" expression is allowed
- *
- * @path ch12/12.5/S12.5_A10_T2.js
- * @description Using function expession "function __func(){return 0;}()" within "if" expression
- */
+/*---
+info: Function expession inside the "if" expression is allowed
+description: >
+ Using function expession "function __func(){return 0;}()" within
+ "if" expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -17,4 +17,3 @@ if(function __func(){return 0;}()){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A11.js b/test/suite/ch12/12.5/S12.5_A11.js
index 250b29f50..7f7c1dc78 100644
--- a/test/suite/ch12/12.5/S12.5_A11.js
+++ b/test/suite/ch12/12.5/S12.5_A11.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * {} within the "if" expression is not allowed
- *
- * @path ch12/12.5/S12.5_A11.js
- * @description Checking if execution of "if({1})" fails
- * @negative
- */
+/*---
+info: "{} within the \"if\" expression is not allowed"
+description: Checking if execution of "if({1})" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -20,4 +18,3 @@ if({1})
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A12_T1.js b/test/suite/ch12/12.5/S12.5_A12_T1.js
index 43f858b09..86587572d 100644
--- a/test/suite/ch12/12.5/S12.5_A12_T1.js
+++ b/test/suite/ch12/12.5/S12.5_A12_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Embedded "if/else" constructions are allowed
- *
- * @path ch12/12.5/S12.5_A12_T1.js
- * @description Using embedded "if/else" into "if/else" constructions
- */
+/*---
+info: Embedded "if/else" constructions are allowed
+description: Using embedded "if/else" into "if/else" constructions
+---*/
//CHECK# 1
if(true)
@@ -55,4 +53,3 @@ else
$ERROR('#4.3: At embedded "if/else" constructions engine must select right branches');
else
;
-
diff --git a/test/suite/ch12/12.5/S12.5_A12_T2.js b/test/suite/ch12/12.5/S12.5_A12_T2.js
index c9115994b..ad8918d34 100644
--- a/test/suite/ch12/12.5/S12.5_A12_T2.js
+++ b/test/suite/ch12/12.5/S12.5_A12_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Embedded "if/else" constructions are allowed
- *
- * @path ch12/12.5/S12.5_A12_T2.js
- * @description Using embedded "if" into "if/else" constructions
- */
+/*---
+info: Embedded "if/else" constructions are allowed
+description: Using embedded "if" into "if/else" constructions
+---*/
//CHECK# 1
if(true){
@@ -47,4 +45,3 @@ else{
if (false)
$ERROR('#4.3: At embedded "if/else" constructions engine must select right branches');
}
-
diff --git a/test/suite/ch12/12.5/S12.5_A12_T3.js b/test/suite/ch12/12.5/S12.5_A12_T3.js
index a17cff21f..7331b998c 100644
--- a/test/suite/ch12/12.5/S12.5_A12_T3.js
+++ b/test/suite/ch12/12.5/S12.5_A12_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Embedded "if/else" constructions are allowed
- *
- * @path ch12/12.5/S12.5_A12_T3.js
- * @description Using embedded "if/else" into "if" without "else" constructions
- */
+/*---
+info: Embedded "if/else" constructions are allowed
+description: Using embedded "if/else" into "if" without "else" constructions
+---*/
//CHECK# 1
if(true)
@@ -35,4 +33,3 @@ if(false)
$ERROR('#4.1: At embedded "if/else" constructions engine must select right branches');
else
$ERROR('#4.2: At embedded "if/else" constructions engine must select right branches');
-
diff --git a/test/suite/ch12/12.5/S12.5_A12_T4.js b/test/suite/ch12/12.5/S12.5_A12_T4.js
index 03f643d62..0900bbe7d 100644
--- a/test/suite/ch12/12.5/S12.5_A12_T4.js
+++ b/test/suite/ch12/12.5/S12.5_A12_T4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Embedded "if/else" constructions are allowed
- *
- * @path ch12/12.5/S12.5_A12_T4.js
- * @description Using embedded "if" into "if" constructions
- */
+/*---
+info: Embedded "if/else" constructions are allowed
+description: Using embedded "if" into "if" constructions
+---*/
//CHECK# 1
if(true)
@@ -30,4 +28,3 @@ if(false)
if(false)
if (true)
$ERROR('#4.1: At embedded "if/else" constructions engine must select right branches');
-
diff --git a/test/suite/ch12/12.5/S12.5_A1_T1.js b/test/suite/ch12/12.5/S12.5_A1_T1.js
index df6f327d4..780a48aed 100644
--- a/test/suite/ch12/12.5/S12.5_A1_T1.js
+++ b/test/suite/ch12/12.5/S12.5_A1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1, true, non-empty string in expression is evaluated to true
- *
- * @path ch12/12.5/S12.5_A1_T1.js
- * @description Using "if" without "else" construction
- */
+/*---
+info: 1, true, non-empty string in expression is evaluated to true
+description: Using "if" without "else" construction
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -35,5 +33,3 @@ if(!("A"))
$ERROR('#4: "A" in expression is evaluated to true');
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.5/S12.5_A1_T2.js b/test/suite/ch12/12.5/S12.5_A1_T2.js
index ea952a930..f90521132 100644
--- a/test/suite/ch12/12.5/S12.5_A1_T2.js
+++ b/test/suite/ch12/12.5/S12.5_A1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * 1, true, non-empty string in expression is evaluated to true
- *
- * @path ch12/12.5/S12.5_A1_T2.js
- * @description Using "if/else" construction
- */
+/*---
+info: 1, true, non-empty string in expression is evaluated to true
+description: Using "if/else" construction
+---*/
var c=0;
//////////////////////////////////////////////////////////////////////////////
@@ -48,5 +46,3 @@ else
if (c!=4) $ERROR('#4.2: else branch don`t execute');
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.5/S12.5_A2.js b/test/suite/ch12/12.5/S12.5_A2.js
index c953c29cd..c2d9b8577 100644
--- a/test/suite/ch12/12.5/S12.5_A2.js
+++ b/test/suite/ch12/12.5/S12.5_A2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * In the "if" Statement eval in Expression is admitted
- *
- * @path ch12/12.5/S12.5_A2.js
- * @description Checking by using eval "eval("true")"
- * @negative
- */
+/*---
+info: In the "if" Statement eval in Expression is admitted
+description: Checking by using eval "eval("true")"
+flags: [negative]
+includes: [$FAIL.js]
+---*/
if (eval("true")) $FAIL('#1: In the "if" Statement eval as Expression is admitted');
-
diff --git a/test/suite/ch12/12.5/S12.5_A3.js b/test/suite/ch12/12.5/S12.5_A3.js
index 3eb41d59b..a8a354bbf 100644
--- a/test/suite/ch12/12.5/S12.5_A3.js
+++ b/test/suite/ch12/12.5/S12.5_A3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the production "IfStatement: if ( Expression ) Statement else Statement" is evaluated, Expression is evaluated first
- *
- * @path ch12/12.5/S12.5_A3.js
- * @description The Expression is "(function(){throw 1})()"
- */
+/*---
+info: >
+ When the production "IfStatement: if ( Expression ) Statement else
+ Statement" is evaluated, Expression is evaluated first
+description: The Expression is "(function(){throw 1})()"
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -31,5 +31,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.5/S12.5_A4.js b/test/suite/ch12/12.5/S12.5_A4.js
index 73babcfea..69ddb92ea 100644
--- a/test/suite/ch12/12.5/S12.5_A4.js
+++ b/test/suite/ch12/12.5/S12.5_A4.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the production "IfStatement: if ( Expression ) Statement else Statement" is evaluated, Statement(s) is(are) evaluated second
- *
- * @path ch12/12.5/S12.5_A4.js
- * @description The first statement is "(function(){throw "instatement"})()"
- */
+/*---
+info: >
+ When the production "IfStatement: if ( Expression ) Statement else
+ Statement" is evaluated, Statement(s) is(are) evaluated second
+description: The first statement is "(function(){throw "instatement"})()"
+includes: [$FAIL.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -33,5 +34,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.5/S12.5_A5.js b/test/suite/ch12/12.5/S12.5_A5.js
index 72c334a67..09c9ba1b6 100644
--- a/test/suite/ch12/12.5/S12.5_A5.js
+++ b/test/suite/ch12/12.5/S12.5_A5.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionDeclaration inside the "if" Expression is evaluated as true and function will not be declarated
- *
- * @path ch12/12.5/S12.5_A5.js
- * @description The "if" Expression is "function __func(){throw "FunctionExpression";}"
- */
+/*---
+info: >
+ FunctionDeclaration inside the "if" Expression is evaluated as true and
+ function will not be declarated
+description: >
+ The "if" Expression is "function __func(){throw
+ "FunctionExpression";}"
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -42,7 +44,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.5/S12.5_A6_T1.js b/test/suite/ch12/12.5/S12.5_A6_T1.js
index 76aabe63c..8d822d677 100644
--- a/test/suite/ch12/12.5/S12.5_A6_T1.js
+++ b/test/suite/ch12/12.5/S12.5_A6_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * In the If statement expression must be enclosed in braces
- *
- * @path ch12/12.5/S12.5_A6_T1.js
- * @description Checking if execution of "if true" fails
- * @negative
- */
+/*---
+info: In the If statement expression must be enclosed in braces
+description: Checking if execution of "if true" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if true;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A6_T2.js b/test/suite/ch12/12.5/S12.5_A6_T2.js
index 1b6f383ab..8c1b46784 100644
--- a/test/suite/ch12/12.5/S12.5_A6_T2.js
+++ b/test/suite/ch12/12.5/S12.5_A6_T2.js
@@ -1,18 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * In the If statement expression must be enclosed in braces
- *
- * @path ch12/12.5/S12.5_A6_T2.js
- * @description Checking if execution of "if false" fails
- * @negative
- */
+/*---
+info: In the If statement expression must be enclosed in braces
+description: Checking if execution of "if false" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if false;
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.5/S12.5_A7.js b/test/suite/ch12/12.5/S12.5_A7.js
index f450d6aea..d8eed0468 100644
--- a/test/suite/ch12/12.5/S12.5_A7.js
+++ b/test/suite/ch12/12.5/S12.5_A7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * In the "if" statement empty statement is allowed and is evaluated to "undefined"
- *
- * @path ch12/12.5/S12.5_A7.js
- * @description Checking by using eval "eval("if(1);"))"
- */
+/*---
+info: >
+ In the "if" statement empty statement is allowed and is evaluated to
+ "undefined"
+description: Checking by using eval "eval("if(1);"))"
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.5/S12.5_A8.js b/test/suite/ch12/12.5/S12.5_A8.js
index 7a2d4b9c6..5bbc1ad15 100644
--- a/test/suite/ch12/12.5/S12.5_A8.js
+++ b/test/suite/ch12/12.5/S12.5_A8.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * In the "if" Statement empty expression is not allowed
- *
- * @path ch12/12.5/S12.5_A8.js
- * @description Checking if execution of "if()" fails
- * @negative
- */
+/*---
+info: In the "if" Statement empty expression is not allowed
+description: Checking if execution of "if()" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if();
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js
index b4cf09ab9..af965bd2b 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the production "do Statement while ( Expression )" is evaluated, Statement is evaluated first
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A1.js
- * @description Evaluating various Expressions
- */
+/*---
+info: >
+ When the production "do Statement while ( Expression )" is evaluated,
+ Statement is evaluated first
+description: Evaluating various Expressions
+---*/
var __in__do;
@@ -39,4 +39,3 @@ if (__in__do!==3) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js
index 0c01a5e2e..335b86261 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionExpression within a "do-while" statement is allowed, but no function with the given name will appear in the global context
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A10.js
- * @description Also this a test on FunctionExpression
- */
+/*---
+info: >
+ FunctionExpression within a "do-while" statement is allowed, but no
+ function with the given name will appear in the global context
+description: Also this a test on FunctionExpression
+---*/
var check = 0;
do {
@@ -26,4 +26,3 @@ if (check !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js
index 60071bd6b..942ee91f4 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Block "{}" in a "do-while" Expression is evaluated to true
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A11.js
- * @description Checking if execution of "do {} while({})" passes
- */
+/*---
+info: Block "{}" in a "do-while" Expression is evaluated to true
+description: Checking if execution of "do {} while({})" passes
+---*/
do {
var __in__do=1;
@@ -20,4 +18,3 @@ if (__in__do !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js
index 1e623bc43..203054a67 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Any statement within "do-while" construction must be a compound
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A12.js
- * @description Checking if execution of "do var x=1; var y =2; while (0)" fails
- * @negative
- */
+/*---
+info: Any statement within "do-while" construction must be a compound
+description: Checking if execution of "do var x=1; var y =2; while (0)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do var x=1; var y =2; while (0);
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js
index 38bc21491..d521ddf7c 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionExpression within a "do-while" Expression is allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A14_T1.js
- * @description Using FunctionExpression "function __func(){return 0;}" as an Expression
- */
+/*---
+info: FunctionExpression within a "do-while" Expression is allowed
+description: >
+ Using FunctionExpression "function __func(){return 0;}" as an
+ Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +24,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js
index 9ae3ad763..2507e55b9 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionExpression within a "do-while" Expression is allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A14_T2.js
- * @description Using FunctionExpression "function __func(){return 0;}()" as an Expression
- */
+/*---
+info: FunctionExpression within a "do-while" Expression is allowed
+description: >
+ Using FunctionExpression "function __func(){return 0;}()" as an
+ Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +24,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js
index 65588750c..9e8783a88 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Block within a "do-while" Expression is not allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A15.js
- * @description Using "{0}" Block as an Expression
- * @negative
- */
+/*---
+info: Block within a "do-while" Expression is not allowed
+description: Using "{0}" Block as an Expression
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -16,4 +14,3 @@ do{
}while({0});
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js
index 023c7d4a2..b54e2fe8c 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js
@@ -1,17 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "do Statement while ( Expression )", Statement is evaluated first and only after it is done Expression is checked
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A2.js
- * @description Evaluating Statement with error Expression
- */
+/*---
+info: >
+ While evaluating "do Statement while ( Expression )", Statement is
+ evaluated first and only after it is done Expression is checked
+description: Evaluating Statement with error Expression
+includes: [Test262Error.js]
+---*/
try {
do __in__do = "reached"; while (abbracadabra);
- $ERROR('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception');
-} catch (e) {
+ $ERROR('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception');
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
@@ -22,6 +23,3 @@ if (__in__do !== "reached") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js
index 5f5f0ed69..3a27a2d6a 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the production "do Statement while ( Expression )" is evaluated, then (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A3.js
- * @description Using eval "eval("do __in__do=1; while (false)")"
- */
+/*---
+info: >
+ When the production "do Statement while ( Expression )" is evaluated,
+ then (normal, V, empty) is returned
+description: Using eval "eval("do __in__do=1; while (false)")"
+---*/
__evaluated = eval("do __in__do=1; while (false)");
@@ -25,4 +25,3 @@ if (__evaluated !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js
index 917afe329..5a9903ff4 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T1.js
- * @description Using "break" within a "do-while" loop
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: Using "break" within a "do-while" loop
+---*/
do {
__in__do__before__break="reached";
@@ -29,4 +29,3 @@ if (typeof __in__do__after__break !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js
index 72e01a07d..c703903e0 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T2.js
- * @description "break" and VariableDeclaration within a "do-while" statement
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
+---*/
do_out : do {
var __in__do__before__break="black";
@@ -25,4 +25,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js
index a6adc0836..fc7381faf 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T3.js
- * @description "break" and VariableDeclaration within a "do-while" statement
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
+---*/
do_out : do {
var __in__do__before__break="once";
@@ -25,4 +25,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js
index 52cb23cc9..1cf35fd09 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T4.js
- * @description "break" and VariableDeclaration within a "do-while" statement
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
+---*/
do_out : do {
var __in__do__before__break="reached";
@@ -25,5 +25,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js
index 97f65bf59..a80e09223 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T5.js
- * @description Using labeled "break" in order to continue a loop
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: Using labeled "break" in order to continue a loop
+---*/
//CHECK#1
var i=0;
@@ -20,4 +20,3 @@ woohoo:{
} while ( true );
if (i!==10) $ERROR('#1.2: i===10. Actual: i==='+ i );
}
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js
index 67bc20de2..a3ae2adda 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * After "do-while" is broken, (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A5.js
- * @description Using eval
- */
+/*---
+info: After "do-while" is broken, (normal, V, empty) is returned
+description: Using eval
+---*/
__evaluated = eval("do {__in__do__before__break=1; break; __in__do__after__break=2;} while(0)");
@@ -33,4 +31,3 @@ if (__evaluated !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js
index 40af77c63..719e11fb7 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T1.js
- * @description Checking if execution of "do{} while 1" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{} while 1" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while 1;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js
index 06fb063ca..14c81612a 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T2.js
- * @description Checking if execution of "do{} while 0" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{} while 0" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while 0;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js
index b29c7c83f..fb782aced 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T3.js
- * @description Checking if execution of "do{}while true" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while true" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while true;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js
index 55b670506..620291efb 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T4.js
- * @description Checking if execution of "do{}while false" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while false" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while false;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js
index 4b0b06202..342bd5ac1 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T5.js
- * @description Checking if execution of "do{}while ''" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while ''" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while '';
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js
index 35e96f41e..fcb23fa93 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T6.js
- * @description Checking if execution of "do{}while 'hood'" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while 'hood'" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while 'hood';
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js
index 78ca8c4ec..7f89e9340 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The "do-while" Statement is evaluted according to 12.6.1 and returns (normal, V, empty)
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A7.js
- * @description Using eval
- */
+/*---
+info: >
+ The "do-while" Statement is evaluted according to 12.6.1 and returns
+ (normal, V, empty)
+description: Using eval
+---*/
var __condition=0
@@ -27,5 +27,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js
index 2f7c7e742..8261c98c3 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "continue" statement within a "do-while" Statement is allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A8.js
- * @description Using eval
- */
+/*---
+info: "\"continue\" statement within a \"do-while\" Statement is allowed"
+description: Using eval
+---*/
var __condition = 0, __odds=0;
@@ -27,5 +25,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js
index e9e831b07..78de25003 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "do-while" Statement is evaluated without syntax checks
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A9.js
- * @description Throwing system exception whithin a "do-while" loop
- */
+/*---
+info: "\"do-while\" Statement is evaluated without syntax checks"
+description: Throwing system exception whithin a "do-while" loop
+includes: [Test262Error.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,9 +14,9 @@ try {
var x = 1;
abaracadabara;
} while(0);
- $ERROR('#1: "abbracadabra" lead to throwing exception');
-
-} catch (e) {
+ $ERROR('#1: "abbracadabra" lead to throwing exception');
+
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
@@ -26,4 +25,3 @@ if (x !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js
index cb7fff722..cfb5627cc 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression from "while" IterationStatement is evaluated first; "false", "0", "null", "undefined" and "empty" strings used as the Expression are evaluated to "false"
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A1.js
- * @description Evaluating various Expressions
- */
+/*---
+info: >
+ Expression from "while" IterationStatement is evaluated first; "false",
+ "0", "null", "undefined" and "empty" strings used as the Expression are
+ evaluated to "false"
+description: Evaluating various Expressions
+---*/
var __in__do;
@@ -59,4 +60,3 @@ if (__in__do !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js
index 9a05fe317..922a1b1ae 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionExpression within a "while" IterationStatement is allowed, but no function with the given name will appear in the global context
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A10.js
- * @description Testing FunctionExpression too
- */
+/*---
+info: >
+ FunctionExpression within a "while" IterationStatement is allowed, but no
+ function with the given name will appear in the global context
+description: Testing FunctionExpression too
+---*/
var check=0;
while(function f(){}){
@@ -26,4 +26,3 @@ if (check !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js
index 6ff4c779c..883e40e72 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "{}" Block within a "while" Expression is evaluated to true
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A11.js
- * @description Checking if execution of "while({}){}" passes
- */
+/*---
+info: "\"{}\" Block within a \"while\" Expression is evaluated to true"
+description: Checking if execution of "while({}){}" passes
+---*/
while({}){
var __in__do=1;
@@ -20,4 +18,3 @@ if (__in__do !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js
index f27b9df26..e18d31512 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionExpression within a "while" Expression is allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A14_T1.js
- * @description Using "function __func(){return 0;}" as an Expression
- */
+/*---
+info: FunctionExpression within a "while" Expression is allowed
+description: Using "function __func(){return 0;}" as an Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +22,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js
index cd867ea97..0f8c19edf 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionExpression within a "while" Expression is allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A14_T2.js
- * @description Using function call as an Expression
- */
+/*---
+info: FunctionExpression within a "while" Expression is allowed
+description: Using function call as an Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +22,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js
index e1e231dd4..abe77952c 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Block within a "while" Expression is not allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A15.js
- * @description Expression is "{0}"
- * @negative
- */
+/*---
+info: Block within a "while" Expression is not allowed
+description: Expression is "{0}"
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -16,4 +14,3 @@ while({1}){
};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js
index e3994d474..dee01bbf9 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating The production IterationStatement: "while ( Expression ) Statement", Expression is evaluated first
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A2.js
- * @description Evaluating Statement with error Expression
- */
+/*---
+info: >
+ While evaluating The production IterationStatement: "while ( Expression )
+ Statement", Expression is evaluated first
+description: Evaluating Statement with error Expression
+---*/
try {
while ((function(){throw 1})()) __in__while = "reached";
@@ -24,6 +24,3 @@ if (typeof __in__while !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js
index ec8934e8e..82afb9201 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "while" IterationStatement is evaluated, (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A3.js
- * @description Using eval
- */
+/*---
+info: >
+ When "while" IterationStatement is evaluated, (normal, V, empty) is
+ returned
+description: Using eval
+---*/
var __in__do;
@@ -27,4 +27,3 @@ if (__evaluated !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js
index 5e20d53ba..e94cb3a38 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T1.js
- * @description "break" within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" within a \"while\" Statement"
+---*/
while(1===1){
__in__do__before__break="reached";
@@ -29,4 +29,3 @@ if (typeof __in__do__after__break !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js
index 616145c02..53cb38fdc 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T2.js
- * @description "break" and VariableDeclaration within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" and VariableDeclaration within a \"while\" Statement"
+---*/
do_out : while(1===1) {
if (__in__do__before__break) break;
@@ -26,4 +26,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js
index a86e95705..ec744ec30 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T3.js
- * @description "break" and VariableDeclaration within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" and VariableDeclaration within a \"while\" Statement"
+---*/
do_out : while(1===1) {
if (__in__do__before__break) break;
@@ -26,4 +26,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js
index 4dc75f137..8af69506d 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T4.js
- * @description "break" and VariableDeclaration within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" and VariableDeclaration within a \"while\" Statement"
+---*/
do_out : while(1===1) {
if(__in__do__before__break)break;
@@ -26,5 +26,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js
index 46e5b95c7..258288937 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T5.js
- * @description Using labeled "break" in order to continue a "while" loop
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: Using labeled "break" in order to continue a "while" loop
+---*/
//CHECK#1
var i=0;
@@ -20,4 +20,3 @@ woohoo:{
}
if (i!==10) $ERROR('#1.2: i===10. Actual: i==='+ i );
}
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js
index 899837466..4263d64a2 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While using "while" within an eval statement, source "break" is allowed and (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A5.js
- * @description Using eval
- */
+/*---
+info: >
+ While using "while" within an eval statement, source "break" is allowed
+ and (normal, V, empty) is returned
+description: Using eval
+---*/
__evaluated = eval("while(1) {__in__do__before__break=1; break; __in__do__after__break=2;}");
@@ -33,4 +33,3 @@ if (__evaluated !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js
index f9a4e9744..b86b36c11 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T1.js
- * @description Checking if execution of "while 1 break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while 1 break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while 1 break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js
index b7f61b8b4..56c8b4d5b 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T2.js
- * @description Checking if execution of "while 0 break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while 0 break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while 0 break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js
index 4b0eaea03..5496e30be 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T3.js
- * @description Checking if execution of "while true break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while true break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while true break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js
index 8d17ce8f1..d3de35f74 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T4.js
- * @description Checking if execution of "while false break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while false break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while false break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js
index e1b677741..e928d4f29 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T5.js
- * @description Checking if execution of "while '' break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while '' break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while '' break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js
index 78ce3abdb..8a3e4828b 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T6.js
- * @description Checking if execution of "while 'hood' break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while 'hood' break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while 'hood' break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js
index 5743cd6d4..25947fd26 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The "while" Statement is evaluted according to 12.6.2 and returns (normal, V, empty)
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A7.js
- * @description using eval
- */
+/*---
+info: >
+ The "while" Statement is evaluted according to 12.6.2 and returns
+ (normal, V, empty)
+description: using eval
+---*/
var __condition=0
@@ -27,5 +27,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js
index a5af5748d..a6c6ba431 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "continue" statement within a "while" Statement is allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A8.js
- * @description using eval
- */
+/*---
+info: "\"continue\" statement within a \"while\" Statement is allowed"
+description: using eval
+---*/
var __condition = 0, __odds=0;
@@ -27,5 +25,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js
index f8cbed0a1..490903e42 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "while" Statement is evaluated without syntax checks
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A9.js
- * @description Throwing system exception inside "while" loop
- */
+/*---
+info: "\"while\" Statement is evaluated without syntax checks"
+description: Throwing system exception inside "while" loop
+includes: [Test262Error.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,9 +14,9 @@ try {
var x = 1;
abaracadabara;
};
- $ERROR('#1: "abbracadabra" lead to throwing exception');
-
-} catch (e) {
+ $ERROR('#1: "abbracadabra" lead to throwing exception');
+
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
@@ -26,4 +25,3 @@ if (x !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
index a0aa03156..0399ea202 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is an Object with value false
- */
-
-
-function testcase() {
- var accessed = false;
- var obj = { value: false };
- for (var i = 0; obj; ) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is an Object with value false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj = { value: false };
+ for (var i = 0; obj; ) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
index cc1cb63d6..f70ca0e65 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is '1')
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("1");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is '1')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("1");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
index 2bccf56df..945e111af 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is undefined
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; undefined;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; undefined;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
index 6698b966b..166c0d55a 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is null
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; null;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; null;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
index 4e7d39333..5eb6f1376 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a boolean (value is false)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; false;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a boolean (value is false)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; false;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
index 865f68d77..b63c01866 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is NaN)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; NaN;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is NaN)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; NaN;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
index 8f85811f3..0ec3102da 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is +0)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; +0;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is +0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; +0;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
index 20d03326e..128b13e8a 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is -0)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; -0;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; -0;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
index faca41566..5f10dda2d 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is a positive)
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; 2;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is a positive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; 2;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
index 8fc6251de..abb993f83 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is empty string)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; "";) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is empty string)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; "";) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
index 19dc79e05..f6d780366 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is 'undefined')
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; "undefined";) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is 'undefined')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; "undefined";) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
index eaf600c6e..4808a731d 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Boolean object
- */
-
-
-function testcase() {
- var accessed = false;
- var boolObj = new Boolean(false);
- for (var i = 0; boolObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Boolean object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var boolObj = new Boolean(false);
+ for (var i = 0; boolObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
index 6c8e61c59..d415b1ab0 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is 'null')
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; "null";) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is 'null')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; "null";) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
index d83bd0b18..3d67a3267 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is '1')
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; "1";) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is '1')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; "1";) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
index 76f27f8bd..4ee23b491 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is NaN)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(NaN);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is NaN)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(NaN);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
index 81599d37b..159ba9cb7 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is +0)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(+0);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is +0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(+0);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
index 5a3199947..a7cb8e415 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is -0)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(-0);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(-0);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
index 6f8ed9cd3..ed45462a2 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is a positive)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(12);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is a positive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(12);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
index 920911c94..859432461 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is empty string)
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is empty string)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
index f087aa207..72ef6d326 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is 'undefined')
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("undefined");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is 'undefined')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("undefined");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
index 45ed58923..9d3ce47c0 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is 'null')
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("null");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is 'null')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("null");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js
index dd200559c..6ab102582 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The "for {;;}" for Statement with empty expressions is allowed and leads to performing an infinite loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A1.js
- * @description Breaking an infinite loop by throwing exception
- */
+/*---
+info: >
+ The "for {;;}" for Statement with empty expressions is allowed and leads
+ to performing an infinite loop
+description: Breaking an infinite loop by throwing exception
+---*/
var __in__for = 0;
@@ -32,5 +32,3 @@ if (__in__for !== 101) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js
index 13bfc59ff..478eaa052 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Nested "var-loops" nine blocks depth is evaluated properly
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A10.1.js
- * @description Checking if executing nested "var-loops" nine blocks depth is evaluated properly
- */
+/*---
+info: Nested "var-loops" nine blocks depth is evaluated properly
+description: >
+ Checking if executing nested "var-loops" nine blocks depth is
+ evaluated properly
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -108,4 +108,3 @@ if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js
index fb17b0b2c..a06592a1f 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Nested "var-loops" nine blocks depth is evaluated properly
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A10.js
- * @description Checking if executing nested "var-loops" nine blocks depth is evaluated properly
- */
+/*---
+info: Nested "var-loops" nine blocks depth is evaluated properly
+description: >
+ Checking if executing nested "var-loops" nine blocks depth is
+ evaluated properly
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -48,4 +48,3 @@ if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
index d050b3dbc..4aa6f7540 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
- * @description Using "continue" in order to continue a loop
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled
+ "var-loop" breaks
+description: Using "continue" in order to continue a loop
+---*/
__str=""
@@ -18,4 +19,3 @@ for(var index=0; index<10; index+=1) {
if (__str!=="56789") {
$ERROR('#1: __str === "56789". Actual: __str ==='+ __str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
index cc0233d41..0d171277a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled
+ "var-loop" breaks
+description: Embedded loops
+---*/
__str="";
@@ -57,7 +58,3 @@ if (__str !== "001011202122303133") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js
index d02abf292..f192f69c2 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js
- * @description Trying to continue non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled
+ "var-loop" breaks
+description: Trying to continue non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,7 +22,3 @@ outer:for(var index=0;index<4;index+=1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js
index 192f1ebd5..6657bed06 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11_T1.js
- * @description Simple test of continue loop with using "continue"
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled loop
+ breaks
+description: Simple test of continue loop with using "continue"
+---*/
__str=""
@@ -18,4 +19,3 @@ for(index=0; index<10; index+=1) {
if (__str!=="56789") {
$ERROR('#1: __str === "56789". Actual: __str ==='+ __str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js
index cdc606b5c..daf2b1cd7 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled loop
+ breaks
+description: Embedded loops
+---*/
__str="";
@@ -57,7 +58,3 @@ if (__str !== "001011202122303133") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js
index 2807bc86f..7836fd5b8 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11_T3.js
- * @description Trying to continue non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled loop
+ breaks
+description: Trying to continue non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,7 +22,3 @@ outer:for(index=0;index<4;index+=1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
index 48fc3b30c..11b372496 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
- * @description Breaking a loop with "break"
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a "var-loop"
+description: Breaking a loop with "break"
+---*/
__str=""
@@ -18,4 +19,3 @@ for(var index=0; index<10; index+=1) {
if (__str!=="012345") {
$ERROR('#1: __str === "012345". Actual: __str ==='+ __str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
index 939fd991d..f50c262e3 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a "var-loop"
+description: Embedded loops
+---*/
__str="";
@@ -58,7 +59,3 @@ if (__str !== "00101120213031") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js
index 96a5accd9..bddfe803b 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js
- * @description Trying to break non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a "var-loop"
+description: Trying to break non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,4 +22,3 @@ outer:for(var index=0;index<4;index+=1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js
index 55031321d..9d13c8785 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12_T1.js
- * @description Breaking a loop with "break"
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a loop
+description: Breaking a loop with "break"
+---*/
__str=""
@@ -18,4 +19,3 @@ for(index=0; index<10; index+=1) {
if (__str!=="012345") {
$ERROR('#1:__str === "012345". Actual: __str ==='+__str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js
index e97dc7da3..bba72cd13 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a loop
+description: Embedded loops
+---*/
__str="";
@@ -58,7 +59,3 @@ if (__str !== "00101120213031") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js
index 67fd236cd..4e97d47fd 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12_T3.js
- * @description Trying to break non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a loop
+description: Trying to break non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,7 +22,3 @@ outer:for(index=0;index<4;index+=1){
};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js
index 452902537..f7476724c 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * VariableDeclaration in "var VariableDeclarationListNoIn" of for IterationStatement is allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A13.js
- * @description Declaring variable in "for" ExpressionNoIn
- */
+/*---
+info: >
+ VariableDeclaration in "var VariableDeclarationListNoIn" of for
+ IterationStatement is allowed
+description: Declaring variable in "for" ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +22,3 @@ try {
for(var index=0; index<6; index++) {
;
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js
index 182482dd9..01fa4ead5 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A14.js
- * @description Using +,*,/, as the second Expression
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationListNoIn;
+ Expression; Expression) Statement"
+description: Using +,*,/, as the second Expression
+---*/
//CHECK#1
for(var i=0;i<10;i++){}
@@ -43,4 +43,3 @@ for(var i=2;i<10;i*=i){
}
if (i!==16) $ERROR('#5.1: i === 16. Actual: i ==='+ i );
if (j!==2) $ERROR('#5.2: j === 2. Actual: j ==='+ j );
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js
index 4ec6147b9..7f9ef917a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A15.js
- * @description Statement must be evaluated before second Expression is evaluated
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationListNoIn;
+ Expression; Expression) Statement"
+description: Statement must be evaluated before second Expression is evaluated
+---*/
//CHECK#1
for(var i=0;i<10;i++){
@@ -20,5 +20,3 @@ for(var i=0;i<10;i++){
i*=2;
if (i===3) $ERROR('#2: i !== 3');
}
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js
index 78372a2d7..61328a35d 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "for (ExpressionNoIn ; ; Expression) Statement", Statement is evaulated first
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A2.1.js
- * @description Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn ; ; Expression) Statement",
+ Statement is evaulated first
+description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js
index f6391e2f7..897c9d3cc 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "for (ExpressionNoIn;;) Statement", Statement is evaulated first
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A2.2.js
- * @description Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn;;) Statement", Statement is
+ evaulated first
+description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js
index 86718d9d1..c6c145fff 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "for (ExpressionNoIn; Expression; Expression) Statement", ExpressionNoIn is evaulated first
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A2.js
- * @description Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn; Expression; Expression)
+ Statement", ExpressionNoIn is evaulated first
+description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -30,4 +30,3 @@ if (in_for !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js
index 2c46dbfbb..67995c6c3 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement", ExpressionNoIn is evaulated first, FirstExpressoin is evaluated second
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A3.js
- * @description Using "(function(){throw "FirstExpression"})()" as FirstExpression
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn; FirstExpression; SecondExpression)
+ Statement", ExpressionNoIn is evaulated first, FirstExpressoin is
+ evaluated second
+description: Using "(function(){throw "FirstExpression"})()" as FirstExpression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -38,4 +39,3 @@ if (typeof __in__for !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js
index a64935274..44244f323 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A4.1.js
- * @description Checking if execution of "for (var a in arr;1;){}" fails
- * @negative
- */
+/*---
+info: >
+ "in"-expression is not allowed as a ExpressionNoIn in "for
+ (ExpressionNoIn; FirstExpression; SecondExpression) Statement"
+ IterationStatement
+description: Checking if execution of "for (var a in arr;1;){}" fails
+flags: [negative]
+---*/
arr = [1,2,3,4,5];
@@ -18,5 +19,3 @@ for (var a in arr;1;){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js
index 48e56c4b1..bcfb8ff31 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A4_T1.js
- * @description Checking if execution of "for (a in arr;1;){}" fails
- * @negative
- */
+/*---
+info: >
+ "in"-expression is not allowed as a ExpressionNoIn in "for
+ (ExpressionNoIn; FirstExpression; SecondExpression) Statement"
+ IterationStatement
+description: Checking if execution of "for (a in arr;1;){}" fails
+flags: [negative]
+---*/
arr = [1,2,3,4,5];
@@ -18,5 +19,3 @@ for (a in arr;1;){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js
index 2a292a808..77b703792 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A4_T2.js
- * @description Checking if execution of "for (1 in arr;1;){}" fails
- * @negative
- */
+/*---
+info: >
+ "in"-expression is not allowed as a ExpressionNoIn in "for
+ (ExpressionNoIn; FirstExpression; SecondExpression) Statement"
+ IterationStatement
+description: Checking if execution of "for (1 in arr;1;){}" fails
+flags: [negative]
+---*/
arr = [1,2,3,4,5];
@@ -18,5 +19,3 @@ for(1 in arr;1;) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js
index 6cab0f017..78206c179 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "in"-expression wrapped into "eval" statement is allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A5.js
- * @description Using eval "for(eval("i in arr");1;)"
- */
+/*---
+info: >
+ "in"-expression wrapped into "eval" statement is allowed as a
+ ExpressionNoIn in "for (ExpressionNoIn; FirstExpression;
+ SecondExpression) Statement" IterationStatement
+description: Using eval "for(eval("i in arr");1;)"
+---*/
arr = [1,2,3,4,5];
i = 1;
@@ -39,4 +40,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js
index 1dfd5b457..d00ae353f 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "for ( ; ; Expression) Statement", Statement is evaluated first and then Expression is evaluated
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A6.js
- * @description Using "(function(){throw "SecondExpression";})()" as an Expression
- */
+/*---
+info: >
+ While evaluating "for ( ; ; Expression) Statement", Statement is
+ evaluated first and then Expression is evaluated
+description: Using "(function(){throw "SecondExpression";})()" as an Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -30,4 +30,3 @@ if (__in__for !== "reached") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
index f8b2fdbd0..bf8c17313 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for(with var)" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
- * @description Checking if execution of "for(var index=0; index<10; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for(with var)" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(var index=0; index<10; index++;
+ index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(var index=0; index<10; index++; index--);
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
index 550b14b19..014bc2284 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for(with var)" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
- * @description Checking if execution of "for(var index=0; index<10; index+=4; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for(with var)" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(var index=0; index<10; index+=4;
+ index++; index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(var index=0; index<10; index+=4; index++; index--) ;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js
index 39dcc1c6a..9cef2b12a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7_T1.js
- * @description Checking if execution of "for(index=0; index<10; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(index=0; index<10; index++;
+ index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(index=0; index<10; index++; index--) ;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js
index 2f22dbf3c..dbb1ab424 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7_T2.js
- * @description Checking if execution of "for(index=0; index<10; index+=4; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(index=0; index<10; index+=4;
+ index++; index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(index=0; index<10; index+=4; index++; index--) ;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
index ddd3c30e4..9560278df 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for(with var)" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
- * @description Checking if execution of "for(var index=0; index<100; {index++; index*2;}) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for(with var)" braces are not allowed
+description: >
+ Checking if execution of "for(var index=0; index<100; {index++;
+ index*2;}) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,4 +16,3 @@ var arr = [];
for(var index=0; index<100; {index++; index*2;}) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
index 81cbed22b..01d03c1e5 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for(with var)" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
- * @description Checking if execution of "for(var index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for(with var)" braces are not allowed
+description: >
+ Checking if execution of "for(var index=0; {index++;index<100;};
+ index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,7 +16,3 @@ var arr = [];
for(var index=0; {index++;index<100;}; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
index 8c26060e3..c41114522 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for(with var)" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
- * @description Checking if execution of "for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for(with var)" braces are not allowed
+description: >
+ Checking if execution of "for({var index=0; index+=1;}
+ index++<=10; index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,7 +16,3 @@ var arr = [];
for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js
index 8f9ce29d6..09fef90b0 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8_T1.js
- * @description Checking if execution of "for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for" braces are not allowed
+description: >
+ Checking if execution of "for(index=0; index<100; {index++;
+ index*2;}) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,4 +16,3 @@ var arr = [];
for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js
index 406d23bbb..3c114311c 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8_T2.js
- * @description Checking if execution of "for(index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for" braces are not allowed
+description: >
+ Checking if execution of "for(index=0; {index++;index<100;};
+ index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,4 +16,3 @@ var arr = [];
for(index=0; {index++;index<100;}; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js
index 9843a3229..58e9c2d62 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8_T3.js
- * @description Checking if execution of "for({index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for" braces are not allowed
+description: >
+ Checking if execution of "for({index=0; index+=1;} index++<=10;
+ index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,7 +16,3 @@ var arr = [];
for({index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js
index c2031c9ab..ec3417302 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The result of evaluating "for( ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty)
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A9.1.js
- * @description Using eval
- */
+/*---
+info: >
+ The result of evaluating "for( ExpNoIn;Exp;Exp)" loop is returning
+ (normal, evalValue, empty)
+description: Using eval
+---*/
supreme=5;
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js
index 11b88316f..0df1fdd0a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The result of evaluating "for(var ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty)
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A9.js
- * @description Using eval
- */
+/*---
+info: >
+ The result of evaluating "for(var ExpNoIn;Exp;Exp)" loop is returning
+ (normal, evalValue, empty)
+description: Using eval
+---*/
supreme=5;
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/12.6.4-1.js b/test/suite/ch12/12.6/12.6.4/12.6.4-1.js
index 3929b0a23..89037a23f 100644
--- a/test/suite/ch12/12.6/12.6.4/12.6.4-1.js
+++ b/test/suite/ch12/12.6/12.6.4/12.6.4-1.js
@@ -1,34 +1,36 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.6/12.6.4/12.6.4-1.js
- * @description The for-in Statement - a property name must not be visited more than once in any enumeration.
- */
-
-
-function testcase() {
- var obj = { prop1: "abc", prop2: "bbc", prop3: "cnn" };
-
- var countProp1 = 0;
- var countProp2 = 0;
- var countProp3 = 0;
-
- for (var p in obj) {
- if (obj.hasOwnProperty(p)) {
- if (p === "prop1") {
- countProp1++;
- }
- if (p === "prop2") {
- countProp2++;
- }
- if (p === "prop3") {
- countProp3++;
- }
- }
- }
- return countProp1 === 1 && countProp2 === 1 && countProp3 === 1;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ The for-in Statement - a property name must not be visited more
+ than once in any enumeration.
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop1: "abc", prop2: "bbc", prop3: "cnn" };
+
+ var countProp1 = 0;
+ var countProp2 = 0;
+ var countProp3 = 0;
+
+ for (var p in obj) {
+ if (obj.hasOwnProperty(p)) {
+ if (p === "prop1") {
+ countProp1++;
+ }
+ if (p === "prop2") {
+ countProp2++;
+ }
+ if (p === "prop3") {
+ countProp3++;
+ }
+ }
+ }
+ return countProp1 === 1 && countProp2 === 1 && countProp3 === 1;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.4/12.6.4-2.js b/test/suite/ch12/12.6/12.6.4/12.6.4-2.js
index ffdd58cdf..36778a3dd 100644
--- a/test/suite/ch12/12.6/12.6.4/12.6.4-2.js
+++ b/test/suite/ch12/12.6/12.6.4/12.6.4-2.js
@@ -1,36 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.6/12.6.4/12.6.4-2.js
- * @description The for-in Statement - the values of [[Enumerable]] attributes are not considered when determining if a property of a prototype object is shadowed by a previous object on the prototype chain
- */
-
-
-function testcase() {
- var proto = {
- prop: "enumerableValue"
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(child, "prop", {
- value: "nonEnumerableValue",
- enumerable: false
- });
-
- var accessedProp = false;
-
- for (var p in child) {
- if (p === "prop") {
- accessedProp = true;
- }
- }
- return !accessedProp;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ The for-in Statement - the values of [[Enumerable]] attributes are
+ not considered when determining if a property of a prototype
+ object is shadowed by a previous object on the prototype chain
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {
+ prop: "enumerableValue"
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(child, "prop", {
+ value: "nonEnumerableValue",
+ enumerable: false
+ });
+
+ var accessedProp = false;
+
+ for (var p in child) {
+ if (p === "prop") {
+ accessedProp = true;
+ }
+ }
+ return !accessedProp;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js
index fd8c754bf..a82fb651a 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "for(key in undefined)" Statement is allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A1.js
- * @description Checking if execution of "for(key in undefined)" passes
- */
+/*---
+info: "\"for(key in undefined)\" Statement is allowed"
+description: Checking if execution of "for(key in undefined)" passes
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -28,6 +26,3 @@ if (key!==undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js
index b90e3e99b..be330ce38 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * FunctionExpession within a "for-in" Expression is allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A14_T2.js
- * @description Using "function __func(){return {a:1};}()" as Expession
- */
+/*---
+info: FunctionExpession within a "for-in" Expression is allowed
+description: "Using \"function __func(){return {a:1};}()\" as Expession"
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -23,4 +21,3 @@ if (__reached !== "a") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js
index c19908904..8ddc81613 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Block within a "for-in" Expression is not allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A15.js
- * @description Using block within "for-in" Expression
- * @negative
- */
+/*---
+info: Block within a "for-in" Expression is not allowed
+description: Using block within "for-in" Expression
+flags: [negative]
+---*/
var __arr=[1,2,3];
@@ -18,4 +16,3 @@ for(x in {__arr}){
};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js
index e8db640c0..56d980789 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "for(key in null)" Expression is allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A2.js
- * @description Checking if execution of "for(key in null)" passes
- */
+/*---
+info: "\"for(key in null)\" Expression is allowed"
+description: Checking if execution of "for(key in null)" passes
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -27,7 +25,3 @@ if (key!==undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js
index d232fe48d..39a41dbc0 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A3.1.js
- * @description Using an array as an Expression is appropriate. Here Expression is an array of numbers
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using an array as an Expression is appropriate. Here Expression is
+ an array of numbers
+---*/
__str="";
@@ -27,7 +29,3 @@ if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js
index 2b34c38c7..be542b8bf 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A3.js
- * @description Using an array as an Expression is appropriate. Here Expression is an array of numbers. Eval is used
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using an array as an Expression is appropriate. Here Expression is
+ an array of numbers. Eval is used
+---*/
__str="";
@@ -27,7 +29,3 @@ if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js
index a491b3f34..0fd3bb6de 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A4.1.js
- * @description Using Object as an Expression is appropriate. Eval is used
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: Using Object as an Expression is appropriate. Eval is used
+---*/
__str="";
@@ -27,8 +27,3 @@ if (__str !== __evaluated) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js
index 79f496b8c..2b197dc13 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A4.js
- * @description Using Object as an Expression is appropriate. Eval is used
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: Using Object as an Expression is appropriate. Eval is used
+---*/
__str="";
@@ -27,8 +27,3 @@ if (__str !== __evaluated) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js
index 37992e1dd..f38cf383f 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A5.1.js
- * @description Using hierarchical Object as an Expression is appropriate. The depth is two
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using hierarchical Object as an Expression is appropriate. The
+ depth is two
+---*/
__hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}};
@@ -36,7 +38,3 @@ if(!(
(__arr.indexOf("dc3")!==-1)&
(__arr.indexOf("dd4")!==-1)
)) $ERROR('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard');
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js
index 974659f10..65c7c71d5 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A5.js
- * @description Using hierarchical Object as an Expression is appropriate. The depth is two
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using hierarchical Object as an Expression is appropriate. The
+ depth is two
+---*/
__hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}};
@@ -36,7 +38,3 @@ if(!(
(__arr.indexOf("dc3")!==-1)&
(__arr.indexOf("dd4")!==-1)
)) $ERROR('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard');
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js
index 78cc2e842..69d0cdfbf 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A6.1.js
- * @description Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using Object with custom prototype as an Expression is
+ appropriate. The prototype is "{feat:2,hint:"protohint"}"
+---*/
function FACTORY(){this.prop=1;this.hint="hinted"};
@@ -35,4 +37,3 @@ if (__accum.indexOf("hintprotohint")!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js
index 5a1f8d9c2..ffc7babfb 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A6.js
- * @description Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using Object with custom prototype as an Expression is
+ appropriate. The prototype is "{feat:2,hint:"protohint"}"
+---*/
function FACTORY(){this.prop=1;this.hint="hinted"};
@@ -35,4 +37,3 @@ if (__accum.indexOf("hintprotohint")!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js
index 1105b7ff2..734c0168c 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Properties of the object being enumerated may be deleted during enumeration
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A7_T1.js
- * @description Checking "for (LeftHandSideExpression in Expression) Statement" case
- */
+/*---
+info: >
+ Properties of the object being enumerated may be deleted during
+ enumeration
+description: >
+ Checking "for (LeftHandSideExpression in Expression) Statement"
+ case
+---*/
__obj={aa:1,ba:2,ca:3};
@@ -46,4 +48,3 @@ function erasator_T_1000(hash_map, charactr){
};
}
}
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js
index 48be196ab..0d80694f3 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Properties of the object being enumerated may be deleted during enumeration
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A7_T2.js
- * @description Checking "for (var VariableDeclarationNoIn in Expression) Statement" case
- */
+/*---
+info: >
+ Properties of the object being enumerated may be deleted during
+ enumeration
+description: >
+ Checking "for (var VariableDeclarationNoIn in Expression)
+ Statement" case
+---*/
__obj={aa:1,ba:2,ca:3};
@@ -46,4 +48,3 @@ function erasator_T_1000(hash_map, charactr){
};
}
}
-
diff --git a/test/suite/ch12/12.7/12.7-1.js b/test/suite/ch12/12.7/12.7-1.js
index a19060a82..8786b838c 100644
--- a/test/suite/ch12/12.7/12.7-1.js
+++ b/test/suite/ch12/12.7/12.7-1.js
@@ -1,21 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.7/12.7-1.js
- * @description The continue Statement - a continue statement without an identifier may have a LineTerminator before the semi-colon
- */
-
-
-function testcase() {
- var sum = 0;
- for (var i = 1; i <= 10; i++) {
- continue
- ;
- sum += i;
- }
- return sum === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ The continue Statement - a continue statement without an
+ identifier may have a LineTerminator before the semi-colon
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var sum = 0;
+ for (var i = 1; i <= 10; i++) {
+ continue
+ ;
+ sum += i;
+ }
+ return sum === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.7/S12.7_A1_T1.js b/test/suite/ch12/12.7/S12.7_A1_T1.js
index ec172729f..156523cd0 100644
--- a/test/suite/ch12/12.7/S12.7_A1_T1.js
+++ b/test/suite/ch12/12.7/S12.7_A1_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of continue without an IterationStatement leads to syntax error
- *
- * @path ch12/12.7/S12.7_A1_T1.js
- * @description Checking if execution of single "continue" without any IterationStatement fails
- * @negative
- */
+/*---
+info: Appearing of continue without an IterationStatement leads to syntax error
+description: >
+ Checking if execution of single "continue" without any
+ IterationStatement fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -16,4 +16,3 @@ continue;
var y=2;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.7/S12.7_A1_T2.js b/test/suite/ch12/12.7/S12.7_A1_T2.js
index 2aa90f8b1..0b8495ffb 100644
--- a/test/suite/ch12/12.7/S12.7_A1_T2.js
+++ b/test/suite/ch12/12.7/S12.7_A1_T2.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of continue without an IterationStatement leads to syntax error
- *
- * @path ch12/12.7/S12.7_A1_T2.js
- * @description Checking if single "continue" with Label but without any IterationStatement fails
- * @negative
- */
+/*---
+info: Appearing of continue without an IterationStatement leads to syntax error
+description: >
+ Checking if single "continue" with Label but without any
+ IterationStatement fails
+flags: [negative]
+---*/
LABEL : x=3.14;
@@ -18,4 +18,3 @@ continue LABEL;
var y=2;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.7/S12.7_A1_T3.js b/test/suite/ch12/12.7/S12.7_A1_T3.js
index 4652dc865..acd701c49 100644
--- a/test/suite/ch12/12.7/S12.7_A1_T3.js
+++ b/test/suite/ch12/12.7/S12.7_A1_T3.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of continue without an IterationStatement leads to syntax error
- *
- * @path ch12/12.7/S12.7_A1_T3.js
- * @description Checking if laballed "continue" with no IterationStatement, placed into a block, fails
- * @negative
- */
+/*---
+info: Appearing of continue without an IterationStatement leads to syntax error
+description: >
+ Checking if laballed "continue" with no IterationStatement, placed
+ into a block, fails
+flags: [negative]
+---*/
LABEL : x=3.14;
@@ -20,4 +20,3 @@ LABEL : x=3.14;
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.7/S12.7_A1_T4.js b/test/suite/ch12/12.7/S12.7_A1_T4.js
index ac34f2642..0d292d40f 100644
--- a/test/suite/ch12/12.7/S12.7_A1_T4.js
+++ b/test/suite/ch12/12.7/S12.7_A1_T4.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of continue without an IterationStatement leads to syntax error
- *
- * @path ch12/12.7/S12.7_A1_T4.js
- * @description Checking if execution of "continue" with no IterationStatement, placed into a block, fails
- * @negative
- */
+/*---
+info: Appearing of continue without an IterationStatement leads to syntax error
+description: >
+ Checking if execution of "continue" with no IterationStatement,
+ placed into a block, fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,5 +18,3 @@
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.7/S12.7_A2.js b/test/suite/ch12/12.7/S12.7_A2.js
index 3f76aa1a4..2c4690512 100644
--- a/test/suite/ch12/12.7/S12.7_A2.js
+++ b/test/suite/ch12/12.7/S12.7_A2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Since LineTerminator between "continue" and Identifier is not allowed, "continue" is evaluated without label
- *
- * @path ch12/12.7/S12.7_A2.js
- * @description Checking by using eval, inserting LineTerminator between continue and Identifier
- */
+/*---
+info: >
+ Since LineTerminator between "continue" and Identifier is not allowed,
+ "continue" is evaluated without label
+description: >
+ Checking by using eval, inserting LineTerminator between continue
+ and Identifier
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -59,6 +61,3 @@ try{
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.7/S12.7_A5_T1.js b/test/suite/ch12/12.7/S12.7_A5_T1.js
index 14a8b5f7a..7c2545057 100644
--- a/test/suite/ch12/12.7/S12.7_A5_T1.js
+++ b/test/suite/ch12/12.7/S12.7_A5_T1.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "continue Identifier" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement
- *
- * @path ch12/12.7/S12.7_A5_T1.js
- * @description Trying to continue another labeled loop
- * @negative
- */
+/*---
+info: >
+ When "continue Identifier" is evaluated Identifier must be label in the
+ label set of an enclosing (but not crossing function boundaries)
+ IterationStatement
+description: Trying to continue another labeled loop
+flags: [negative]
+---*/
LABEL_OUT : var x=0, y=0;
LABEL_DO_LOOP : do {
@@ -23,4 +24,3 @@ LABEL_ANOTHER_LOOP : do {
} while(0);
function OUT_FUNC(){}
-
diff --git a/test/suite/ch12/12.7/S12.7_A5_T2.js b/test/suite/ch12/12.7/S12.7_A5_T2.js
index 1d3f7e9c1..9c8c1346e 100644
--- a/test/suite/ch12/12.7/S12.7_A5_T2.js
+++ b/test/suite/ch12/12.7/S12.7_A5_T2.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "continue Identifier" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement
- *
- * @path ch12/12.7/S12.7_A5_T2.js
- * @description Identifier is a function name
- * @negative
- */
+/*---
+info: >
+ When "continue Identifier" is evaluated Identifier must be label in the
+ label set of an enclosing (but not crossing function boundaries)
+ IterationStatement
+description: Identifier is a function name
+flags: [negative]
+---*/
LABEL_OUT : var x=0, y=0;
LABEL_DO_LOOP : do {
@@ -23,4 +24,3 @@ LABEL_ANOTHER_LOOP : do {
} while(0);
function OUT_FUNC(){};
-
diff --git a/test/suite/ch12/12.7/S12.7_A5_T3.js b/test/suite/ch12/12.7/S12.7_A5_T3.js
index 16babd629..ef3fefac8 100644
--- a/test/suite/ch12/12.7/S12.7_A5_T3.js
+++ b/test/suite/ch12/12.7/S12.7_A5_T3.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "continue Identifier" is evaluated Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement
- *
- * @path ch12/12.7/S12.7_A5_T3.js
- * @description Identifier is within loop label
- * @negative
- */
+/*---
+info: >
+ When "continue Identifier" is evaluated Identifier must be label in the
+ label set of an enclosing (but not crossing function boundaries)
+ IterationStatement
+description: Identifier is within loop label
+flags: [negative]
+---*/
LABEL_OUT : var x=0, y=0;
@@ -24,4 +25,3 @@ LABEL_ANOTHER_LOOP : do {
} while(0);
function OUT_FUNC(){}
-
diff --git a/test/suite/ch12/12.7/S12.7_A6.js b/test/suite/ch12/12.7/S12.7_A6.js
index 11bb439aa..ed3f4aa37 100644
--- a/test/suite/ch12/12.7/S12.7_A6.js
+++ b/test/suite/ch12/12.7/S12.7_A6.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "continue" within a function call that is within an IterationStatement yields SyntaxError
- *
- * @path ch12/12.7/S12.7_A6.js
- * @description Using labaled "continue Identifier" within a function body
- * @negative
- */
+/*---
+info: >
+ Appearing of "continue" within a function call that is within an
+ IterationStatement yields SyntaxError
+description: Using labaled "continue Identifier" within a function body
+flags: [negative]
+---*/
var x=0,y=0;
@@ -16,4 +16,3 @@ LABEL1 : do {
(function(){continue LABEL1;})();
y++;
} while(0);
-
diff --git a/test/suite/ch12/12.7/S12.7_A7.js b/test/suite/ch12/12.7/S12.7_A7.js
index c43f701e1..32b11c012 100644
--- a/test/suite/ch12/12.7/S12.7_A7.js
+++ b/test/suite/ch12/12.7/S12.7_A7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of continue within eval statement that is within an IterationStatement yields SyntaxError
- *
- * @path ch12/12.7/S12.7_A7.js
- * @description Using eval "eval("continue LABEL1")"
- */
+/*---
+info: >
+ Appearing of continue within eval statement that is within an
+ IterationStatement yields SyntaxError
+description: Using eval "eval("continue LABEL1")"
+---*/
var x=0,y=0;
@@ -26,4 +26,3 @@ try{
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.7/S12.7_A8_T1.js b/test/suite/ch12/12.7/S12.7_A8_T1.js
index 76f8538a8..8f87c10f0 100644
--- a/test/suite/ch12/12.7/S12.7_A8_T1.js
+++ b/test/suite/ch12/12.7/S12.7_A8_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "continue" within a "try/catch" Block yields SyntaxError
- *
- * @path ch12/12.7/S12.7_A8_T1.js
- * @description Checking if execution of "continue Identifier" within catch Block fails
- * @negative
- */
+/*---
+info: Appearing of "continue" within a "try/catch" Block yields SyntaxError
+description: >
+ Checking if execution of "continue Identifier" within catch Block
+ fails
+flags: [negative]
+---*/
var x=0,y=0;
@@ -25,4 +25,3 @@ try{
y++;
} while(0);
};
-
diff --git a/test/suite/ch12/12.7/S12.7_A8_T2.js b/test/suite/ch12/12.7/S12.7_A8_T2.js
index 4d6f48e8b..f3dac3bb8 100644
--- a/test/suite/ch12/12.7/S12.7_A8_T2.js
+++ b/test/suite/ch12/12.7/S12.7_A8_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "continue" within a "try/catch" Block yields SyntaxError
- *
- * @path ch12/12.7/S12.7_A8_T2.js
- * @description Checking if execution of "continue" within catch Block fails
- * @negative
- */
+/*---
+info: Appearing of "continue" within a "try/catch" Block yields SyntaxError
+description: Checking if execution of "continue" within catch Block fails
+flags: [negative]
+---*/
var x=0,y=0;
@@ -25,4 +23,3 @@ try{
y++;
} while(0);
};
-
diff --git a/test/suite/ch12/12.7/S12.7_A9_T1.js b/test/suite/ch12/12.7/S12.7_A9_T1.js
index e6ab1f542..c3a642463 100644
--- a/test/suite/ch12/12.7/S12.7_A9_T1.js
+++ b/test/suite/ch12/12.7/S12.7_A9_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Continue inside of try-catch nested in a loop is allowed
- *
- * @path ch12/12.7/S12.7_A9_T1.js
- * @description Using "continue Identifier" within catch Block that is within a loop
- */
+/*---
+info: Continue inside of try-catch nested in a loop is allowed
+description: >
+ Using "continue Identifier" within catch Block that is within a
+ loop
+---*/
var x=0,y=0;
@@ -29,4 +29,3 @@ if (x!==10) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.7/S12.7_A9_T2.js b/test/suite/ch12/12.7/S12.7_A9_T2.js
index 8763414eb..9577a2e84 100644
--- a/test/suite/ch12/12.7/S12.7_A9_T2.js
+++ b/test/suite/ch12/12.7/S12.7_A9_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Continue inside of try-catch nested in a loop is allowed
- *
- * @path ch12/12.7/S12.7_A9_T2.js
- * @description Using "continue" within catch Block that is within a loop
- */
+/*---
+info: Continue inside of try-catch nested in a loop is allowed
+description: Using "continue" within catch Block that is within a loop
+---*/
var x=0,y=0;
@@ -29,4 +27,3 @@ if (x!==10) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/12.8-1.js b/test/suite/ch12/12.8/12.8-1.js
index e32f54168..1355a137c 100644
--- a/test/suite/ch12/12.8/12.8-1.js
+++ b/test/suite/ch12/12.8/12.8-1.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.8/12.8-1.js
- * @description The break Statement - a break statement without an identifier may have a LineTerminator before the semi-colon
- */
-
-
-function testcase() {
- var sum = 0;
- for (var i = 1; i <= 10; i++) {
- if (i === 6) {
- break
- ;
- }
- sum += i;
- }
- return sum === 15;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ The break Statement - a break statement without an identifier may
+ have a LineTerminator before the semi-colon
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var sum = 0;
+ for (var i = 1; i <= 10; i++) {
+ if (i === 6) {
+ break
+ ;
+ }
+ sum += i;
+ }
+ return sum === 15;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.8/S12.8_A1_T1.js b/test/suite/ch12/12.8/S12.8_A1_T1.js
index 546e66780..98428a16e 100644
--- a/test/suite/ch12/12.8/S12.8_A1_T1.js
+++ b/test/suite/ch12/12.8/S12.8_A1_T1.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of break without an IterationStatement leads to syntax error
- *
- * @path ch12/12.8/S12.8_A1_T1.js
- * @description Checking if break statement with no loop fails
- * @negative
- */
+/*---
+info: Appearing of break without an IterationStatement leads to syntax error
+description: Checking if break statement with no loop fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -16,4 +14,3 @@ break;
var y=2;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A1_T2.js b/test/suite/ch12/12.8/S12.8_A1_T2.js
index c141c7722..2002a9776 100644
--- a/test/suite/ch12/12.8/S12.8_A1_T2.js
+++ b/test/suite/ch12/12.8/S12.8_A1_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of break without an IterationStatement leads to syntax error
- *
- * @path ch12/12.8/S12.8_A1_T2.js
- * @description Checking if break Identifier with no loop fails
- * @negative
- */
+/*---
+info: Appearing of break without an IterationStatement leads to syntax error
+description: Checking if break Identifier with no loop fails
+flags: [negative]
+---*/
LABEL : x=3.14;
@@ -18,4 +16,3 @@ break LABEL;
var y=2;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A1_T3.js b/test/suite/ch12/12.8/S12.8_A1_T3.js
index 6627be368..da320f9d9 100644
--- a/test/suite/ch12/12.8/S12.8_A1_T3.js
+++ b/test/suite/ch12/12.8/S12.8_A1_T3.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of break without an IterationStatement leads to syntax error
- *
- * @path ch12/12.8/S12.8_A1_T3.js
- * @description Checking if break statement with no loop, placed into a block, fails
- * @negative
- */
+/*---
+info: Appearing of break without an IterationStatement leads to syntax error
+description: >
+ Checking if break statement with no loop, placed into a block,
+ fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +18,3 @@
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A1_T4.js b/test/suite/ch12/12.8/S12.8_A1_T4.js
index 1663fc5f5..b30334750 100644
--- a/test/suite/ch12/12.8/S12.8_A1_T4.js
+++ b/test/suite/ch12/12.8/S12.8_A1_T4.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of break without an IterationStatement leads to syntax error
- *
- * @path ch12/12.8/S12.8_A1_T4.js
- * @description Checking if break Identifier with no loop, placed into a block, fails
- * @negative
- */
+/*---
+info: Appearing of break without an IterationStatement leads to syntax error
+description: >
+ Checking if break Identifier with no loop, placed into a block,
+ fails
+flags: [negative]
+---*/
LABEL : x=3.14;
@@ -20,4 +20,3 @@ LABEL : x=3.14;
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A2.js b/test/suite/ch12/12.8/S12.8_A2.js
index a1154aeca..d85acb1ea 100644
--- a/test/suite/ch12/12.8/S12.8_A2.js
+++ b/test/suite/ch12/12.8/S12.8_A2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Since LineTerminator between "break" and Identifier is not allowed, "break" is evaluated without label
- *
- * @path ch12/12.8/S12.8_A2.js
- * @description Checking by using eval, inserting LineTerminator between break and Identifier
- */
+/*---
+info: >
+ Since LineTerminator between "break" and Identifier is not allowed,
+ "break" is evaluated without label
+description: >
+ Checking by using eval, inserting LineTerminator between break and
+ Identifier
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -59,6 +61,3 @@ try{
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.8/S12.8_A3.js b/test/suite/ch12/12.8/S12.8_A3.js
index d2aaa5ad3..96ab224e3 100644
--- a/test/suite/ch12/12.8/S12.8_A3.js
+++ b/test/suite/ch12/12.8/S12.8_A3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "break" is evaluated, (break, empty, empty) is returned
- *
- * @path ch12/12.8/S12.8_A3.js
- * @description Using "break" without Identifier within labeled loop
- */
+/*---
+info: When "break" is evaluated, (break, empty, empty) is returned
+description: Using "break" without Identifier within labeled loop
+---*/
LABEL_OUT : var x=0, y=0;
@@ -31,4 +29,3 @@ if ((x!==2)&&(y!==0)) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A4_T1.js b/test/suite/ch12/12.8/S12.8_A4_T1.js
index 86e258a4e..f72c32283 100644
--- a/test/suite/ch12/12.8/S12.8_A4_T1.js
+++ b/test/suite/ch12/12.8/S12.8_A4_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "break Identifier" is evaluated, (break, empty, Identifier) is returned
- *
- * @path ch12/12.8/S12.8_A4_T1.js
- * @description Using "break Identifier" within labaeled loop
- */
+/*---
+info: >
+ When "break Identifier" is evaluated, (break, empty, Identifier) is
+ returned
+description: Using "break Identifier" within labaeled loop
+---*/
LABEL_OUT : var x=0, y=0;
(function(){
@@ -32,4 +32,3 @@ if ((x!==1)&&(y!==0)) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A4_T2.js b/test/suite/ch12/12.8/S12.8_A4_T2.js
index 8662cf829..5ba2bd0bf 100644
--- a/test/suite/ch12/12.8/S12.8_A4_T2.js
+++ b/test/suite/ch12/12.8/S12.8_A4_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "break Identifier" is evaluated, (break, empty, Identifier) is returned
- *
- * @path ch12/12.8/S12.8_A4_T2.js
- * @description Using embedded and labeled loops, breaking to nested loop
- */
+/*---
+info: >
+ When "break Identifier" is evaluated, (break, empty, Identifier) is
+ returned
+description: Using embedded and labeled loops, breaking to nested loop
+---*/
LABEL_OUT : var x=0, y=0, xx=0, yy=0;
(function(){
@@ -38,4 +38,3 @@ if ((x!==1)&&(y!==1)&&(xx!==1)&(yy!==0)) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A4_T3.js b/test/suite/ch12/12.8/S12.8_A4_T3.js
index 7ca7fc2d6..10187c3ee 100644
--- a/test/suite/ch12/12.8/S12.8_A4_T3.js
+++ b/test/suite/ch12/12.8/S12.8_A4_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "break Identifier" is evaluated, (break, empty, Identifier) is returned
- *
- * @path ch12/12.8/S12.8_A4_T3.js
- * @description Using embedded and labeled loops, breaking to outer loop
- */
+/*---
+info: >
+ When "break Identifier" is evaluated, (break, empty, Identifier) is
+ returned
+description: Using embedded and labeled loops, breaking to outer loop
+---*/
LABEL_OUT : var x=0, y=0, xx=0, yy=0;
(function(){
@@ -38,4 +38,3 @@ if ((x!==1)&&(y!==0)&&(xx!==1)&(yy!==0)) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A5_T1.js b/test/suite/ch12/12.8/S12.8_A5_T1.js
index 34fbed938..2a53dd897 100644
--- a/test/suite/ch12/12.8/S12.8_A5_T1.js
+++ b/test/suite/ch12/12.8/S12.8_A5_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement
- *
- * @path ch12/12.8/S12.8_A5_T1.js
- * @description Checking if breaking another labeled loop fails
- * @negative
- */
+/*---
+info: >
+ Identifier must be label in the label set of an enclosing (but not
+ crossing function boundaries) IterationStatement
+description: Checking if breaking another labeled loop fails
+flags: [negative]
+---*/
(function(){
LABEL_OUT : var x=0, y=0;
@@ -26,4 +26,3 @@
function OUT_FUNC(){}
})();
-
diff --git a/test/suite/ch12/12.8/S12.8_A5_T2.js b/test/suite/ch12/12.8/S12.8_A5_T2.js
index f843c3bb1..fbb48a73f 100644
--- a/test/suite/ch12/12.8/S12.8_A5_T2.js
+++ b/test/suite/ch12/12.8/S12.8_A5_T2.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement
- *
- * @path ch12/12.8/S12.8_A5_T2.js
- * @description Checking if using function name as an Identifier appears to be invalid
- * @negative
- */
+/*---
+info: >
+ Identifier must be label in the label set of an enclosing (but not
+ crossing function boundaries) IterationStatement
+description: >
+ Checking if using function name as an Identifier appears to be
+ invalid
+flags: [negative]
+---*/
(function(){
LABEL_OUT : var x=0, y=0;
@@ -26,4 +28,3 @@
function OUT_FUNC(){}
})();
-
diff --git a/test/suite/ch12/12.8/S12.8_A5_T3.js b/test/suite/ch12/12.8/S12.8_A5_T3.js
index d6f930705..49c854a9f 100644
--- a/test/suite/ch12/12.8/S12.8_A5_T3.js
+++ b/test/suite/ch12/12.8/S12.8_A5_T3.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Identifier must be label in the label set of an enclosing (but not crossing function boundaries) IterationStatement
- *
- * @path ch12/12.8/S12.8_A5_T3.js
- * @description Checking if using internal loop label as an Identifier appears to be invalid
- * @negative
- */
+/*---
+info: >
+ Identifier must be label in the label set of an enclosing (but not
+ crossing function boundaries) IterationStatement
+description: >
+ Checking if using internal loop label as an Identifier appears to
+ be invalid
+flags: [negative]
+---*/
(function(){
LABEL_OUT : var x=0, y=0;
@@ -29,4 +31,3 @@
function OUT_FUNC(){}
})();
-
diff --git a/test/suite/ch12/12.8/S12.8_A6.js b/test/suite/ch12/12.8/S12.8_A6.js
index 264f74d86..df1c99d12 100644
--- a/test/suite/ch12/12.8/S12.8_A6.js
+++ b/test/suite/ch12/12.8/S12.8_A6.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "break" within a function call that is nested in a IterationStatement yields SyntaxError
- *
- * @path ch12/12.8/S12.8_A6.js
- * @description Checking if using "break Identifier" within a function body appears to be invalid
- * @negative
- */
+/*---
+info: >
+ Appearing of "break" within a function call that is nested in a
+ IterationStatement yields SyntaxError
+description: >
+ Checking if using "break Identifier" within a function body
+ appears to be invalid
+flags: [negative]
+---*/
var x=0,y=0;
@@ -16,4 +18,3 @@ LABEL1 : do {
(function(){break LABEL1;})();
y++;
} while(0);
-
diff --git a/test/suite/ch12/12.8/S12.8_A7.js b/test/suite/ch12/12.8/S12.8_A7.js
index a5f5bebaf..5e2b5445f 100644
--- a/test/suite/ch12/12.8/S12.8_A7.js
+++ b/test/suite/ch12/12.8/S12.8_A7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "break" within eval statement that is nested in an IterationStatement yields SyntaxError
- *
- * @path ch12/12.8/S12.8_A7.js
- * @description Using eval "eval("break LABEL1")"
- */
+/*---
+info: >
+ Appearing of "break" within eval statement that is nested in an
+ IterationStatement yields SyntaxError
+description: Using eval "eval("break LABEL1")"
+---*/
var x=0,y=0;
@@ -26,4 +26,3 @@ try{
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A8_T1.js b/test/suite/ch12/12.8/S12.8_A8_T1.js
index cbcba7f69..9c79b22a4 100644
--- a/test/suite/ch12/12.8/S12.8_A8_T1.js
+++ b/test/suite/ch12/12.8/S12.8_A8_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "break" within "try/catch" Block yields SyntaxError
- *
- * @path ch12/12.8/S12.8_A8_T1.js
- * @description Checking if using "break Identifier" from within catch Block appears to be invalid
- * @negative
- */
+/*---
+info: Appearing of "break" within "try/catch" Block yields SyntaxError
+description: >
+ Checking if using "break Identifier" from within catch Block
+ appears to be invalid
+flags: [negative]
+---*/
var x=0,y=0;
@@ -25,5 +25,3 @@ try{
y++;
} while(0);
}
-
-
diff --git a/test/suite/ch12/12.8/S12.8_A8_T2.js b/test/suite/ch12/12.8/S12.8_A8_T2.js
index 92771babf..414079717 100644
--- a/test/suite/ch12/12.8/S12.8_A8_T2.js
+++ b/test/suite/ch12/12.8/S12.8_A8_T2.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "break" within "try/catch" Block yields SyntaxError
- *
- * @path ch12/12.8/S12.8_A8_T2.js
- * @description Checking if using "break Identifier" from within catch Block appears to be invalid
- * @negative
- */
+/*---
+info: Appearing of "break" within "try/catch" Block yields SyntaxError
+description: >
+ Checking if using "break Identifier" from within catch Block
+ appears to be invalid
+flags: [negative]
+---*/
var x=0,y=0;
@@ -25,5 +25,3 @@ try{
y++;
} while(0);
}
-
-
diff --git a/test/suite/ch12/12.8/S12.8_A9_T1.js b/test/suite/ch12/12.8/S12.8_A9_T1.js
index 60da11ef2..e3a919176 100644
--- a/test/suite/ch12/12.8/S12.8_A9_T1.js
+++ b/test/suite/ch12/12.8/S12.8_A9_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "break" within "try/catch" statement that is nested in a loop is allowed
- *
- * @path ch12/12.8/S12.8_A9_T1.js
- * @description Using "continue Identifier" within "catch" statement
- */
+/*---
+info: >
+ Using "break" within "try/catch" statement that is nested in a loop is
+ allowed
+description: Using "continue Identifier" within "catch" statement
+---*/
var x=0,y=0;
@@ -29,4 +29,3 @@ if (x!==1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.8/S12.8_A9_T2.js b/test/suite/ch12/12.8/S12.8_A9_T2.js
index 53dc3555c..1a4117e69 100644
--- a/test/suite/ch12/12.8/S12.8_A9_T2.js
+++ b/test/suite/ch12/12.8/S12.8_A9_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Using "break" within "try/catch" statement that is nested in a loop is allowed
- *
- * @path ch12/12.8/S12.8_A9_T2.js
- * @description Using "continue Identifier" within "catch" statement
- */
+/*---
+info: >
+ Using "break" within "try/catch" statement that is nested in a loop is
+ allowed
+description: Using "continue Identifier" within "catch" statement
+---*/
var x=0,y=0;
@@ -29,4 +29,3 @@ if (x!==1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/12.9-1.js b/test/suite/ch12/12.9/12.9-1.js
index 098042e93..9042ea318 100644
--- a/test/suite/ch12/12.9/12.9-1.js
+++ b/test/suite/ch12/12.9/12.9-1.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.9/12.9-1.js
- * @description The return Statement - a return statement without an expression may have a LineTerminator before the semi-colon
- */
-
-
-function testcase() {
- var sum = 0;
- (function innerTest() {
- for (var i = 1; i <= 10; i++) {
- if (i === 6) {
- return
- ;
- }
- sum += i;
- }
- })();
- return sum === 15;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ The return Statement - a return statement without an expression
+ may have a LineTerminator before the semi-colon
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var sum = 0;
+ (function innerTest() {
+ for (var i = 1; i <= 10; i++) {
+ if (i === 6) {
+ return
+ ;
+ }
+ sum += i;
+ }
+ })();
+ return sum === 15;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.9/S12.9_A1_T1.js b/test/suite/ch12/12.9/S12.9_A1_T1.js
index a4115f7ec..1f5423b7c 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T1.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T1.js
- * @description Checking if execution of "return" with no function fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: Checking if execution of "return" with no function fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
var x=1;
return;
var y=2;
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T10.js b/test/suite/ch12/12.9/S12.9_A1_T10.js
index 63bcd816c..2344b9d57 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T10.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T10.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T10.js
- * @description Checking if execution of "return (0)" with no function fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: Checking if execution of "return (0)" with no function fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
return (0);
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T2.js b/test/suite/ch12/12.9/S12.9_A1_T2.js
index 74f657b60..ea7bd9d6e 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T2.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T2.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T2.js
- * @description Checking if execution of "return x" with no function fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: Checking if execution of "return x" with no function fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -16,4 +14,3 @@ return x;
var y=2;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T3.js b/test/suite/ch12/12.9/S12.9_A1_T3.js
index 8f22b8859..c8d869207 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T3.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T3.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T3.js
- * @description Checking if execution of "return" within "try" statement fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: Checking if execution of "return" within "try" statement fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +16,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T4.js b/test/suite/ch12/12.9/S12.9_A1_T4.js
index 3add975cb..5edb9deca 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T4.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T4.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T4.js
- * @description Checking if execution of "return" with no function fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: Checking if execution of "return" with no function fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
return;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T5.js b/test/suite/ch12/12.9/S12.9_A1_T5.js
index a53d7c764..e5a7c89cf 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T5.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T5.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T5.js
- * @description Checking if execution of "return" with no function, placed into a Block, fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: >
+ Checking if execution of "return" with no function, placed into a
+ Block, fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +18,3 @@
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T6.js b/test/suite/ch12/12.9/S12.9_A1_T6.js
index aea6ec977..a732f0977 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T6.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T6.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T6.js
- * @description Checking if execution of "return" with no function, placed into a loop, fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: >
+ Checking if execution of "return" with no function, placed into a
+ loop, fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +18,3 @@ do {
} while(0);
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T7.js b/test/suite/ch12/12.9/S12.9_A1_T7.js
index ad863d473..6a37ead7e 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T7.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T7.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T7.js
- * @description Checking if execution of "return x" with no function, placed inside Block, fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: >
+ Checking if execution of "return x" with no function, placed
+ inside Block, fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +18,3 @@
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T8.js b/test/suite/ch12/12.9/S12.9_A1_T8.js
index edfbd1660..d91304f43 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T8.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T8.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T8.js
- * @description Checking if execution of "return x" with no function, placed into a loop, fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: >
+ Checking if execution of "return x" with no function, placed into
+ a loop, fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +18,3 @@ do {
} while(0);
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A1_T9.js b/test/suite/ch12/12.9/S12.9_A1_T9.js
index 57e39aee7..588919ba6 100644
--- a/test/suite/ch12/12.9/S12.9_A1_T9.js
+++ b/test/suite/ch12/12.9/S12.9_A1_T9.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Appearing of "return" without a function body leads to syntax error
- *
- * @path ch12/12.9/S12.9_A1_T9.js
- * @description Checking if execution of "return", placed into a catch Block, fails
- * @negative
- */
+/*---
+info: Appearing of "return" without a function body leads to syntax error
+description: Checking if execution of "return", placed into a catch Block, fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +16,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A2.js b/test/suite/ch12/12.9/S12.9_A2.js
index 177205dbb..5fbcc4411 100644
--- a/test/suite/ch12/12.9/S12.9_A2.js
+++ b/test/suite/ch12/12.9/S12.9_A2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * LineTerminator between return and Identifier_opt yields return without Identifier_opt
- *
- * @path ch12/12.9/S12.9_A2.js
- * @description Checking by using eval, inserting LineTerminator between return and Variable
- */
+/*---
+info: >
+ LineTerminator between return and Identifier_opt yields return without
+ Identifier_opt
+description: >
+ Checking by using eval, inserting LineTerminator between return
+ and Variable
+---*/
//CHECK#1
try{
@@ -52,4 +54,3 @@ try{
} catch(e){
$ERROR('#4: eval("(function(){var x =1;return\\u2029x;var y=2;})()") does not lead to throwing exception');
}
-
diff --git a/test/suite/ch12/12.9/S12.9_A3.js b/test/suite/ch12/12.9/S12.9_A3.js
index 95b87c363..d77fb5cba 100644
--- a/test/suite/ch12/12.9/S12.9_A3.js
+++ b/test/suite/ch12/12.9/S12.9_A3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Expression is omitted, the return value is undefined
- *
- * @path ch12/12.9/S12.9_A3.js
- * @description Return without Expression
- */
+/*---
+info: If Expression is omitted, the return value is undefined
+description: Return without Expression
+---*/
__evaluated = (function (){return;})();
@@ -17,4 +15,3 @@ if (__evaluated !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A4.js b/test/suite/ch12/12.9/S12.9_A4.js
index 97c923979..cde2ff182 100644
--- a/test/suite/ch12/12.9/S12.9_A4.js
+++ b/test/suite/ch12/12.9/S12.9_A4.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The production ReturnStatement : return Expression; is evaluated as:
- * i) Evaluate Expression.
- * ii) Call GetValue(Result(2)).
- * iii) Return (return, Result(3), empty)
- *
- * @path ch12/12.9/S12.9_A4.js
- * @description Return very sophisticated expression and function
- */
+/*---
+info: >
+ The production ReturnStatement : return Expression; is evaluated as:
+ i) Evaluate Expression.
+ ii) Call GetValue(Result(2)).
+ iii) Return (return, Result(3), empty)
+description: Return very sophisticated expression and function
+---*/
// second derivative
function DD_operator(f, delta){return function(x){return (f(x+delta)-2*f(x)+f(x-delta))/(delta*delta)};}
@@ -25,4 +24,3 @@ if (DDsin( Math.PI/2 ) + Math.sin( Math.PI/2 ) > 0.00001) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.9/S12.9_A5.js b/test/suite/ch12/12.9/S12.9_A5.js
index 3b0b98e43..6f846e31a 100644
--- a/test/suite/ch12/12.9/S12.9_A5.js
+++ b/test/suite/ch12/12.9/S12.9_A5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Code after ReturnStatement is not evaluated
- *
- * @path ch12/12.9/S12.9_A5.js
- * @description Using code after Return statement
- */
+/*---
+info: Code after ReturnStatement is not evaluated
+description: Using code after Return statement
+---*/
//CHECK#1
var x1=1;
@@ -37,4 +35,3 @@ function myfunc3(){
x3*=2;
}
if (myfunc3()!==undefined) $ERROR('#3: myfunc3() === undefined. Actual: myfunc3() ==='+ myfunc3() );
-