aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.3/15.3.4
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.3/15.3.4')
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A10.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A11.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A12.js12
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A13.js12
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A14.js12
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A15.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A16.js18
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A6.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A7.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A8.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A9.js16
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-1-s.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-2-s.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-3-s.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A10.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A11.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A12.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A13.js10
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A14.js10
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A15.js10
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A16.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T1.js18
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T2.js18
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T1.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T2.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T1.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T10.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T2.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T3.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T4.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T5.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T6.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T7.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T8.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T9.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T1.js12
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T2.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T3.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T4.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T5.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T6.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T7.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T8.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T2.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T3.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T1.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T10.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T2.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T3.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T4.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T5.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T6.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T7.js16
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T8.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T9.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T1.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T2.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T3.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T4.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T5.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T6.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A9.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-1-s.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-2-s.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-3-s.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A10.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A11.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A12.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A13.js10
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A14.js10
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A15.js10
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A16.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T1.js18
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T2.js18
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T1.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T2.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T1.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T10.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T2.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T3.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T4.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T5.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T6.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T7.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T8.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T9.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T1.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T2.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T3.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T4.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T5.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T6.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T7.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T8.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T1.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T10.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T2.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T3.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T4.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T5.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T6.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T7.js16
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T8.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T9.js17
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T1.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T2.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T3.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T4.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T5.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T6.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A9.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js50
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js50
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js50
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js50
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js49
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js57
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js57
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js49
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js49
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js64
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-1.js38
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-2.js34
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-10-1.js40
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-11-1.js50
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-1.js42
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-2.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-3.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-4.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-5.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-6.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-1.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-2.js52
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-3.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-4.js54
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-5.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-1.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-2.js40
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-1.js61
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-10.js39
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-11.js39
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-12.js39
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-13.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-14.js39
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-15.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-16.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-2.js61
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-3.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-4.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-5.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-6.js43
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-7.js51
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-8.js45
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-9.js38
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-1.js38
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-2.js46
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-3.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-4.js54
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-5.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-1.js38
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-2.js46
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-3.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-4.js54
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-5.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-3-1.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-1.js40
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-10.js68
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-11.js56
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-12.js38
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-2.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-3.js54
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-4.js70
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-5.js48
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-6.js58
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js60
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-8.js72
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-9.js46
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-1.js42
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-2.js46
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-1.js42
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-2.js44
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A1.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A13.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A14.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A15.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A16.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A2.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A3.js8
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A4.js11
-rw-r--r--test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A5.js10
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4.1_A1_T1.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A1.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T1.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T2.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T3.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T1.js13
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T2.js15
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A4.js14
-rw-r--r--test/suite/ch15/15.3/15.3.4/S15.3.4_A5.js16
218 files changed, 3109 insertions, 3069 deletions
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A10.js
index a48f8a86a..d0e3dd604 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A10.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.
-/**
- * The Function.prototype.toString.length property has the attribute ReadOnly
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A10.js
- * @description Checking if varying the Function.prototype.toString.length property fails
- */
+/*---
+info: The Function.prototype.toString.length property has the attribute ReadOnly
+description: >
+ Checking if varying the Function.prototype.toString.length
+ property fails
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (!(Function.prototype.toString.hasOwnProperty('length'))) {
@@ -21,4 +22,3 @@ Function.prototype.toString.length = function(){return "shifted";};
if (Function.prototype.toString.length !== obj) {
$ERROR('#2: the Function.prototype.toString length property has the attributes ReadOnly.');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A11.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A11.js
index b5c98b131..79b93654d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A11.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.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.
-/**
- * The length property of the toString method is 0
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A11.js
- * @description Checking Function.prototype.toString.length
- */
+/*---
+info: The length property of the toString method is 0
+description: Checking Function.prototype.toString.length
+---*/
//CHECK#1
if (!(Function.prototype.toString.hasOwnProperty("length"))) {
@@ -17,4 +15,3 @@ if (!(Function.prototype.toString.hasOwnProperty("length"))) {
if (Function.prototype.toString.length !== 0) {
$ERROR('#2: The length property of the toString method is 0');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A12.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A12.js
index 73f979d52..e8c826722 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A12.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A12.js
@@ -1,11 +1,11 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A12.js
- * @description The Function.prototype.toString function is not generic; it throws a TypeError exception if its this value is not a Function object.
- * @negative TypeError
- */
+/*---
+description: >
+ The Function.prototype.toString function is not generic; it throws
+ a TypeError exception if its this value is not a Function object.
+negative: TypeError
+---*/
Function.prototype.toString.call(undefined);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A13.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A13.js
index fe4e6a020..9a86be25f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A13.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A13.js
@@ -1,11 +1,11 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A13.js
- * @description The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.
- * @negative TypeError
- */
+/*---
+description: >
+ The toString function is not generic; it throws a TypeError
+ exception if its this value is not a Function object.
+negative: TypeError
+---*/
Function.prototype.toString.call(null);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A14.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A14.js
index 4f7fe886d..fb9a87ece 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A14.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A14.js
@@ -1,11 +1,11 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A14.js
- * @description The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.
- * @negative TypeError
- */
+/*---
+description: >
+ The toString function is not generic; it throws a TypeError
+ exception if its this value is not a Function object.
+negative: TypeError
+---*/
Function.prototype.toString.call({});
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A15.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A15.js
index 20e2f4362..082cef2d9 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A15.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A15.js
@@ -1,13 +1,14 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A15.js
- * @description Whether or not they are callable, RegExp objects are not Function objects, so toString should throw a TypeError.
- * @negative TypeError
- */
+/*---
+info: >
+ The toString function is not generic; it throws a TypeError exception if
+ its this value is not a Function object.
+description: >
+ Whether or not they are callable, RegExp objects are not Function
+ objects, so toString should throw a TypeError.
+negative: TypeError
+---*/
Function.prototype.toString.call(/x/);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A16.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A16.js
index 141465ba3..d15d8f25e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A16.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A16.js
@@ -1,15 +1,17 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A16.js
- * @description The String constructor, given an object, should invoke that object's toString method as a method, i.e., with its this value bound to that object.
- * @negative TypeError
- */
+/*---
+info: >
+ The toString function is not generic; it throws a TypeError exception if
+ its this value is not a Function object.
+description: >
+ The String constructor, given an object, should invoke that
+ object's toString method as a method, i.e., with its this value
+ bound to that object.
+negative: TypeError
+---*/
var obj = {toString: Function.prototype.toString};
String(obj);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A6.js
index fd3578e46..d35867c71 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A6.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.
-/**
- * Function.prototype.toString has not prototype property
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A6.js
- * @description Checking if obtaining the prototype property of Function.prototype.toString fails
- */
+/*---
+info: Function.prototype.toString has not prototype property
+description: >
+ Checking if obtaining the prototype property of
+ Function.prototype.toString fails
+---*/
//CHECK#1
if (Function.prototype.toString.prototype !== undefined) {
$ERROR('#1: Function.prototype.toString has not prototype property'+Function.prototype.toString.prototype);
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A7.js
index c7b2d4856..0d3cf17f3 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A7.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.
-/**
- * Function.prototype.toString can't be used as constructor
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A7.js
- * @description Checking if creating "new Function.prototype.toString" fails
- */
+/*---
+info: Function.prototype.toString can't be used as constructor
+description: Checking if creating "new Function.prototype.toString" fails
+includes:
+ - $PRINT.js
+ - $FAIL.js
+---*/
var FACTORY = Function.prototype.toString;
@@ -16,4 +17,3 @@ try {
} catch (e) {
$PRINT(e);
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A8.js
index 1b81b603b..776f0d8a1 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A8.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.
-/**
- * The Function.prototype.toString.length property has the attribute DontEnum
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A8.js
- * @description Checking if enumerating the Function.prototype.toString.length property fails
- */
+/*---
+info: The Function.prototype.toString.length property has the attribute DontEnum
+description: >
+ Checking if enumerating the Function.prototype.toString.length
+ property fails
+includes: [$FAIL.js]
+---*/
//CHECK#0
if (!(Function.prototype.toString.hasOwnProperty('length'))) {
@@ -24,4 +25,3 @@ for (p in Function.prototype.toString){
if (p==="length")
$ERROR('#2: the Function.prototype.toString.length property has the attributes DontEnum');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A9.js
index 296ca7ca0..7ab734b22 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A9.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.
-/**
- * The Function.prototype.toString.length property has the attribute DontDelete
- *
- * @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A9.js
- * @description Checking if deleting the Function.prototype.toString.length property fails
- */
+/*---
+info: >
+ The Function.prototype.toString.length property has the attribute
+ DontDelete
+description: >
+ Checking if deleting the Function.prototype.toString.length
+ property fails
+includes: [$FAIL.js]
+---*/
//CHECK#0
if (!(Function.prototype.toString.hasOwnProperty('length'))) {
@@ -22,4 +25,3 @@ if (delete Function.prototype.toString.length) {
if (!(Function.prototype.toString.hasOwnProperty('length'))) {
$FAIL('#2: The Function.prototype.toString.length property has the attributes DontDelete');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-1-s.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-1-s.js
index c90d4942e..32530b16b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-1-s.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-1-s.js
@@ -1,21 +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 ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-1-s.js
- * @description Strict Mode - 'this' value is a string which cannot be converted to wrapper objects when the function is called with an array of arguments
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- function fun() {
- return (this instanceof String);
- }
- return !fun.apply("", Array);
- }
-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 - 'this' value is a string which cannot be converted
+ to wrapper objects when the function is called with an array of
+ arguments
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ function fun() {
+ return (this instanceof String);
+ }
+ return !fun.apply("", Array);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-2-s.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-2-s.js
index 7f03675a3..e6024ec7a 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-2-s.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-2-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 ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-2-s.js
- * @description Strict Mode - 'this' value is a number which cannot be converted to wrapper objects when the function is called with an array of arguments
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
- function fun() {
- return (this instanceof Number);
- }
- return !fun.apply(-12, Array);
- }
-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 - 'this' value is a number which cannot be converted
+ to wrapper objects when the function is called with an array of
+ arguments
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+ function fun() {
+ return (this instanceof Number);
+ }
+ return !fun.apply(-12, Array);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-3-s.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-3-s.js
index 7ae40757d..e2f185b2d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-3-s.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-3-s.js
@@ -1,21 +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 ch15/15.3/15.3.4/15.3.4.3/15.3.4.3-3-s.js
- * @description Strict Mode - 'this' value is a boolean which cannot be converted to wrapper objects when the function is called with an array of arguments
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
-
- function fun() {
- return (this instanceof Boolean);
- }
- return !fun.apply(false, Array);
- }
-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 - 'this' value is a boolean which cannot be converted
+ to wrapper objects when the function is called with an array of
+ arguments
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+
+ function fun() {
+ return (this instanceof Boolean);
+ }
+ return !fun.apply(false, Array);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A10.js
index 71c3710fe..b4be64aee 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A10.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.
-/**
- * The Function.prototype.apply.length property has the attribute ReadOnly
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A10.js
- * @description Checking if varying the Function.prototype.apply.length property fails
- */
+/*---
+info: The Function.prototype.apply.length property has the attribute ReadOnly
+description: >
+ Checking if varying the Function.prototype.apply.length property
+ fails
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (!(Function.prototype.apply.hasOwnProperty('length'))) {
@@ -21,4 +22,3 @@ Function.prototype.apply.length = function(){return "shifted";};
if (Function.prototype.apply.length !== obj) {
$ERROR('#2: the Function.prototype.apply length property has the attributes ReadOnly.');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A11.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A11.js
index 8f088e62e..41ec3c7d7 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A11.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A11.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.
-/**
- * The Function.prototype.apply.length property has the attribute DontEnum
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A11.js
- * @description TChecking if enumerating the Function.prototype.apply.length property fails
- */
+/*---
+info: The Function.prototype.apply.length property has the attribute DontEnum
+description: >
+ TChecking if enumerating the Function.prototype.apply.length
+ property fails
+includes: [$FAIL.js]
+---*/
//CHECK#0
if (!(Function.prototype.apply.hasOwnProperty('length'))) {
@@ -24,4 +25,3 @@ for (var p in Function.prototype.apply){
if (p==="length")
$ERROR('#2: the Function.prototype.apply.length property has the attributes DontEnum');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A12.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A12.js
index 85455d5bb..dea36d9a2 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A12.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A12.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.
-/**
- * Function.prototype.apply has not prototype property
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A12.js
- * @description Checking if obtaining the prototype property of Function.prototype.apply fails
- */
+/*---
+info: Function.prototype.apply has not prototype property
+description: >
+ Checking if obtaining the prototype property of
+ Function.prototype.apply fails
+---*/
//CHECK#1
if (Function.prototype.apply.prototype !== undefined) {
$ERROR('#1: Function.prototype.apply has not prototype property'+Function.prototype.apply.prototype);
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A13.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A13.js
index 0f1f087c3..bb5410f30 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A13.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A13.js
@@ -1,11 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A13.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.apply.call(undefined, {}, []);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A14.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A14.js
index a87c26d43..47d7c0d7f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A14.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A14.js
@@ -1,11 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A14.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.apply.call(null, {}, []);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A15.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A15.js
index d4c6c1c65..548570df4 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A15.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A15.js
@@ -1,11 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A15.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.apply.call({}, {}, []);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A16.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A16.js
index 75b0af287..80a96a8a4 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A16.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A16.js
@@ -1,12 +1,14 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If IsCallable(func) is false, then throw a TypeError exception.
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A16.js
- * @description A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case apply should accept it as a valid this value.
- */
+/*---
+info: If IsCallable(func) is false, then throw a TypeError exception.
+description: >
+ A RegExp is not a function, but it may be callable. Iff it is,
+ it's typeof should be 'function', in which case apply should
+ accept it as a valid this value.
+includes: [$FAIL.js]
+---*/
var re = (/x/);
if (typeof re === 'function') {
@@ -22,4 +24,3 @@ if (typeof re === 'function') {
}
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T1.js
index 0a612b7d1..9922f695d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T1.js
@@ -1,13 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The apply method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T1.js
- * @description Calling "apply" method of the object that does not have a [[Call]] property.
- * Prototype of the object is Function()
- */
+/*---
+info: >
+ The apply method performs a function call using the [[Call]] property of
+ the object. If the object does not have a [[Call]] property, a TypeError
+ exception is thrown
+description: >
+ Calling "apply" method of the object that does not have a [[Call]]
+ property. Prototype of the object is Function()
+includes: [$FAIL.js]
+---*/
var proto=Function();
@@ -31,4 +34,3 @@ try {
$ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T2.js
index 406c5c578..7428ee9ab 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T2.js
@@ -1,13 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The apply method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A1_T2.js
- * @description Calling "apply" method of the object that does not have a [[Call]] property.
- * Prototype of the object is Function.prototype
- */
+/*---
+info: >
+ The apply method performs a function call using the [[Call]] property of
+ the object. If the object does not have a [[Call]] property, a TypeError
+ exception is thrown
+description: >
+ Calling "apply" method of the object that does not have a [[Call]]
+ property. Prototype of the object is Function.prototype
+includes: [$FAIL.js]
+---*/
function FACTORY(){};
@@ -29,4 +32,3 @@ try {
$ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T1.js
index 9e771fc82..9489636fe 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_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.
-/**
- * The length property of the apply method is 2
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T1.js
- * @description Checking Function.prototype.apply.length
- */
+/*---
+info: The length property of the apply method is 2
+description: Checking Function.prototype.apply.length
+---*/
//CHECK#1
if (typeof Function.prototype.apply !== "function") {
@@ -22,4 +20,3 @@ if (typeof Function.prototype.apply.length === "undefined") {
if (Function.prototype.apply.length !== 2) {
$ERROR('#3: The length property of the apply method is 2');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T2.js
index f714a10c7..491fbc24f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_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.
-/**
- * The length property of the apply method is 2
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A2_T2.js
- * @description Checking f.apply.length, where f is new Function
- */
+/*---
+info: The length property of the apply method is 2
+description: Checking f.apply.length, where f is new Function
+---*/
var f=new Function;
@@ -24,4 +22,3 @@ if (typeof f.apply.length === "undefined") {
if (f.apply.length !== 2) {
$ERROR('#3: The length property of the apply method is 2');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T1.js
index 0b5908aa4..1720def61 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T1.js
- * @description Not any arguments at apply function
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Not any arguments at apply function
+---*/
Function("this.field=\"strawberry\"").apply();
@@ -14,4 +14,3 @@ Function("this.field=\"strawberry\"").apply();
if (this["field"] !== "strawberry") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T10.js
index 4e7e7b2a9..3b166e327 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T10.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T10.js
- * @description Checking by using eval, no any arguments at apply function
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Checking by using eval, no any arguments at apply function
+---*/
eval(" (function(){this.feat=1}).apply()");
@@ -14,4 +14,3 @@ eval(" (function(){this.feat=1}).apply()");
if (this["feat"] !== 1) {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T2.js
index 9118b69eb..d00335d2d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T2.js
- * @description Argument at apply function is null
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Argument at apply function is null
+---*/
Function("this.field=\"green\"").apply(null);
@@ -14,4 +14,3 @@ Function("this.field=\"green\"").apply(null);
if (this["field"] !== "green") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T3.js
index 279a70ef7..adc4245e9 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T3.js
- * @description Argument at apply function is void 0
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Argument at apply function is void 0
+---*/
Function("this.field=\"battle\"").apply(void 0);
@@ -14,4 +14,3 @@ Function("this.field=\"battle\"").apply(void 0);
if (this["field"] !== "battle") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T4.js
index bba4b3d45..3f21ccb9d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T4.js
- * @description Argument at apply function is undefined
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Argument at apply function is undefined
+---*/
Function("this.field=\"oil\"").apply(undefined);
@@ -14,4 +14,3 @@ Function("this.field=\"oil\"").apply(undefined);
if (this["field"] !== "oil") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T5.js
index 608c81f63..dd419a1ec 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T5.js
- * @description No any arguments at apply function and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ No any arguments at apply function and it called inside function
+ declaration
+---*/
function FACTORY(){
Function("this.feat=\"in da haus\"").apply();
@@ -23,4 +25,3 @@ if (this["feat"] !== "in da haus") {
if (typeof obj.feat !== "undefined") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T6.js
index c02bcd81c..b6efc19f8 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T6.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T6.js
- * @description Argument at apply function is null and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ Argument at apply function is null and it called inside function
+ declaration
+---*/
function FACTORY(){
(function(){this.feat="kamon beyba"}).apply(null);
@@ -23,4 +25,3 @@ if (this["feat"] !== "kamon beyba") {
if (typeof obj.feat !== "undefined") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T7.js
index ca8b3248f..011b37555 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T7.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T7.js
- * @description Argument at apply function is void 0 and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ Argument at apply function is void 0 and it called inside function
+ declaration
+---*/
(function FACTORY(){
Function("this.feat=\"in da haus\"").apply(void 0);
@@ -17,4 +19,3 @@
if (this["feat"] !== "in da haus") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T8.js
index 07a731396..fd4a14cdb 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T8.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T8.js
- * @description Argument at apply function is undefined and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ Argument at apply function is undefined and it called inside
+ function declaration
+---*/
(function FACTORY(){
(function(){this.feat="kamon beyba"}).apply(undefined);
@@ -16,4 +18,3 @@
if (this["feat"] !== "kamon beyba") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T9.js
index 2c4d250ac..9e669b7a6 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T9.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A3_T9.js
- * @description Checking by using eval, argument at apply function is void 0
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Checking by using eval, argument at apply function is void 0
+---*/
eval( " Function(\"this.feat=1\").apply(void 0) " );
@@ -14,4 +14,3 @@ eval( " Function(\"this.feat=1\").apply(void 0) " );
if (this["feat"] !== 1) {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T1.js
index 0ac56c9e7..bb74dea66 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T1.js
- * @description thisArg is number
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is number
+---*/
var obj=1;
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T2.js
index 32d22bd0f..50dc4fddd 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T2.js
- * @description thisArg is boolean true
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is boolean true
+---*/
var obj=true;
@@ -21,5 +21,3 @@ if (typeof obj.touched !== "undefined") {
if (!(retobj["touched"])) {
$ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T3.js
index a2b9ae601..b2b8fbb02 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T3.js
- * @description thisArg is string
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is string
+---*/
var obj="soap";
@@ -21,5 +21,3 @@ if (typeof obj.touched !== "undefined") {
if (!(retobj["touched"])) {
$ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T4.js
index 956f43e7e..0105c9384 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T4.js
- * @description thisArg is function variable that return this
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is function variable that return this
+---*/
f = function(){this.touched= true; return this;};
@@ -23,4 +23,3 @@ if (!(retobj["touched"])) {
}
var obj;
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T5.js
index 871b74c45..cb1e1ed5c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T5.js
- * @description thisArg is function variable
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is function variable
+---*/
var f = function(){this.touched= true;};
@@ -18,4 +18,3 @@ f.apply(obj);
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T6.js
index 31f57cb3d..9bbcee14b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T6.js
- * @description thisArg is new String()
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is new String()
+---*/
var obj=new String("soap");
@@ -16,4 +16,3 @@ var obj=new String("soap");
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T7.js
index 4c0e95e89..ad7a4c135 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T7.js
- * @description thisArg is new Number()
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is new Number()
+---*/
var obj=new Number(1);
@@ -16,5 +16,3 @@ Function("this.touched= true;").apply(obj);
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T8.js
index c0dca08eb..32bd7dc9c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T8.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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A5_T8.js
- * @description thisArg is Function()
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is Function()
+---*/
var obj=Function();
@@ -16,4 +16,3 @@ new Function("this.touched= true; return this;").apply(obj);
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T2.js
index d9e7ee361..ee4784900 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_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 argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T2.js
- * @description argArray is (null,1)
- */
+/*---
+info: >
+ if argArray is neither an array nor an arguments object (see 10.1.8), a
+ TypeError exception is thrown
+description: argArray is (null,1)
+includes: [$FAIL.js]
+---*/
//CHECK#1
try {
@@ -17,4 +18,3 @@ try {
$ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T3.js
index c7b57c7c7..0626d1458 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T3.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 argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A6_T3.js
- * @description argArray is (object,"1,3,4")
- */
+/*---
+info: >
+ if argArray is neither an array nor an arguments object (see 10.1.8), a
+ TypeError exception is thrown
+description: argArray is (object,"1,3,4")
+includes: [$FAIL.js]
+---*/
obj={};
@@ -19,4 +20,3 @@ try {
$ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T1.js
index d888ffb4d..28d5aa4f4 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T1.js
- * @description argArray is (null,[1])
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: argArray is (null,[1])
+---*/
Function("a1,a2,a3","this.shifted=a1;").apply(null,[1]);
@@ -15,5 +14,3 @@ Function("a1,a2,a3","this.shifted=a1;").apply(null,[1]);
if (this["shifted"] !== 1) {
$ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T10.js
index 254ccb5e5..9ad760bcd 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T10.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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T10.js
- * @description argArray is (empty object, arguments), inside function call without declaration used
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: >
+ argArray is (empty object, arguments), inside function call
+ without declaration used
+---*/
var obj={};
@@ -24,5 +25,3 @@ if (obj["shifted"] !== "42") {
if (typeof this["shifted"] !== "undefined") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T2.js
index ef8ee5f54..ef7131d81 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T2.js
- * @description argArray is (null,[1,2,3])
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: argArray is (null,[1,2,3])
+---*/
new Function("a1,a2","a3","this.shifted=a2;").apply(null,[1,2,3]);
@@ -15,5 +14,3 @@ new Function("a1,a2","a3","this.shifted=a2;").apply(null,[1,2,3]);
if (this["shifted"] !== 2) {
$ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T3.js
index cf003fe4b..89fc4331d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T3.js
- * @description argArray is (empty object, new Array("nine","inch","nails"))
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: argArray is (empty object, new Array("nine","inch","nails"))
+---*/
i=0;
@@ -26,5 +25,3 @@ if (obj["shifted"] !== "nine") {
if (typeof this["shifted"] !== "undefined") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T4.js
index 35db7b9c2..0fa633020 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T4.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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T4.js
- * @description argArray is (empty object, ( function(){return arguments;}) ("a","b","c"))
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: >
+ argArray is (empty object, ( function(){return arguments;})
+ ("a","b","c"))
+---*/
i=0;
@@ -26,5 +27,3 @@ if (obj["shifted"] !== "c") {
if (typeof this["shifted"] !== "undefined") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T5.js
index ee656e882..ceb41dc92 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T5.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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T5.js
- * @description argArray is (null, arguments), inside function declaration used
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: argArray is (null, arguments), inside function declaration used
+---*/
function FACTORY(){
Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(null,arguments);
@@ -24,5 +23,3 @@ if (this["shifted"] !== "12") {
if (typeof obj.shifted !== "undefined") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T6.js
index 90ac74272..ae27c8bea 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T6.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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T6.js
- * @description argArray is (this, arguments), inside function declaration used
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: argArray is (this, arguments), inside function declaration used
+---*/
function FACTORY(){
Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(this,arguments);
@@ -24,5 +23,3 @@ if (obj["shifted"] !== "42") {
if (typeof this["shifted"] !== "undefined") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T7.js
index ff85f3462..f2ec55255 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T7.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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T7.js
- * @description argArray is (null, arguments), inside function call without declaration used
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: >
+ argArray is (null, arguments), inside function call without
+ declaration used
+---*/
(function (){
Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(null,arguments);
@@ -17,4 +18,3 @@
if (this["shifted"] !== "12") {
$ERROR('#1: If argArray is either an array or an arguments object, the function is passed the...');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T8.js
index 031b407f7..c5ca86b4f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T8.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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T8.js
- * @description argArray is (this, arguments), inside function call without declaration used
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: >
+ argArray is (this, arguments), inside function call without
+ declaration used
+---*/
(function (){
Function("a1,a2,a3","this.shifted=a1+a2+a3;").apply(this,arguments);
@@ -17,5 +18,3 @@
if (this["shifted"] !== "42") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T9.js
index 39ee45645..ed68fd3ca 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T9.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 argArray is either an array or an arguments object,
- * the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A7_T9.js
- * @description argArray is (empty object, arguments), inside function declaration used
- */
+/*---
+info: >
+ If argArray is either an array or an arguments object,
+ the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint32(argArray.length)-1]
+description: >
+ argArray is (empty object, arguments), inside function declaration
+ used
+---*/
function FACTORY(){
var obj = {};
@@ -26,5 +27,3 @@ if (typeof this["shifted"] !== "undefined") {
if (obj.shifted !== "12") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T1.js
index 6db73fc75..ea65e4557 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_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.
-/**
- * Function.prototype.apply can`t be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T1.js
- * @description Checking if creating "new Function.prototype.apply" fails
- */
+/*---
+info: Function.prototype.apply can`t be used as [[create]] caller
+description: Checking if creating "new Function.prototype.apply" fails
+---*/
try {
obj = new Function.prototype.apply;
@@ -16,4 +14,3 @@ try {
$ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T2.js
index 05cab52c5..9c10c3fc6 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_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.
-/**
- * Function.prototype.apply can`t be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T2.js
- * @description Checking if creating "new Function.prototype.apply()" fails
- */
+/*---
+info: Function.prototype.apply can`t be used as [[create]] caller
+description: Checking if creating "new Function.prototype.apply()" fails
+---*/
try {
obj = new Function.prototype.apply();
@@ -16,4 +14,3 @@ try {
$ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T3.js
index 123948135..e6296a849 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_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.
-/**
- * Function.prototype.apply can`t be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T3.js
- * @description Checking if creating "new Function.apply" fails
- */
+/*---
+info: Function.prototype.apply can`t be used as [[create]] caller
+description: Checking if creating "new Function.apply" fails
+---*/
try {
obj = new Function.apply;
@@ -16,4 +14,3 @@ try {
$ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T4.js
index 751240920..ac56b759c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_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.
-/**
- * Function.prototype.apply can`t be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T4.js
- * @description Checking if creating "new (Function("this.p1=1").apply)" fails
- */
+/*---
+info: Function.prototype.apply can`t be used as [[create]] caller
+description: Checking if creating "new (Function("this.p1=1").apply)" fails
+---*/
try {
obj = new (Function("this.p1=1").apply);
@@ -16,4 +14,3 @@ try {
$ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T5.js
index a69cae1d3..6d1dcc1cb 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_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.
-/**
- * Function.prototype.apply can`t be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T5.js
- * @description Checking if creating "new Function("this.p1=1").apply" fails
- */
+/*---
+info: Function.prototype.apply can`t be used as [[create]] caller
+description: Checking if creating "new Function("this.p1=1").apply" fails
+---*/
try {
FACTORY = Function("this.p1=1").apply;
@@ -17,4 +15,3 @@ try {
$ERROR('#1.1: Function.prototype.apply can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T6.js
index 9e44a4ab5..2aaac1707 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_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.
-/**
- * Function.prototype.apply can`t be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A8_T6.js
- * @description Checking if creating "new (Function("function f(){this.p1=1;};return f").apply())" fails
- */
+/*---
+info: Function.prototype.apply can`t be used as [[create]] caller
+description: >
+ Checking if creating "new (Function("function
+ f(){this.p1=1;};return f").apply())" fails
+---*/
//CHECK#1
try {
@@ -19,4 +19,3 @@ try {
if (obj.p1!== 1) {
$ERROR('#2: Function.prototype.apply can\'t be used as [[create]] caller');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A9.js
index 9ebf423aa..278fcdf12 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A9.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.
-/**
- * The Function.prototype.apply.length property has the attribute DontDelete
- *
- * @path ch15/15.3/15.3.4/15.3.4.3/S15.3.4.3_A9.js
- * @description Checking if deleting the Function.prototype.apply.length property fails
- */
+/*---
+info: The Function.prototype.apply.length property has the attribute DontDelete
+description: >
+ Checking if deleting the Function.prototype.apply.length property
+ fails
+includes: [$FAIL.js]
+---*/
//CHECK#0
if (!(Function.prototype.apply.hasOwnProperty('length'))) {
@@ -22,4 +23,3 @@ if (delete Function.prototype.apply.length) {
if (!(Function.prototype.apply.hasOwnProperty('length'))) {
$FAIL('#2: The Function.prototype.apply.length property has the attributes DontDelete');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-1-s.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-1-s.js
index 9db726a1f..8946fcc0b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-1-s.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-1-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 ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-1-s.js
- * @description Strict Mode - 'this' value is a string which cannot be converted to wrapper objects when the function is called without an array of arguments
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
- function fun() {
- return (this instanceof String);
- }
- return !fun.call("");
- }
-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 - 'this' value is a string which cannot be converted
+ to wrapper objects when the function is called without an array of
+ arguments
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+ function fun() {
+ return (this instanceof String);
+ }
+ return !fun.call("");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-2-s.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-2-s.js
index 7848d3c7b..98d1e0a0e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-2-s.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-2-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 ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-2-s.js
- * @description Strict Mode - 'this' value is a number which cannot be converted to wrapper objects when the function is called without an array argument
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
- function fun() {
- return (this instanceof Number);
- }
- return !fun.call(-12);
- }
-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 - 'this' value is a number which cannot be converted
+ to wrapper objects when the function is called without an array
+ argument
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+ function fun() {
+ return (this instanceof Number);
+ }
+ return !fun.call(-12);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-3-s.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-3-s.js
index 0d965fb67..497744771 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-3-s.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-3-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 ch15/15.3/15.3.4/15.3.4.4/15.3.4.4-3-s.js
- * @description Strict Mode - 'this' value is a boolean which cannot be converted to wrapper objects when the function is called without an array of arguments
- * @onlyStrict
- */
-
-
-function testcase() {
- "use strict";
- function fun() {
- return (this instanceof Boolean);
- }
- return !fun.call(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.
+
+/*---
+description: >
+ Strict Mode - 'this' value is a boolean which cannot be converted
+ to wrapper objects when the function is called without an array of
+ arguments
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ "use strict";
+ function fun() {
+ return (this instanceof Boolean);
+ }
+ return !fun.call(false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A10.js
index ee76d447f..8b055543f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A10.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.
-/**
- * The Function.prototype.call.length property has the attribute ReadOnly
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A10.js
- * @description Checking if varying the Function.prototype.call.length property fails
- */
+/*---
+info: The Function.prototype.call.length property has the attribute ReadOnly
+description: >
+ Checking if varying the Function.prototype.call.length property
+ fails
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (!(Function.prototype.call.hasOwnProperty('length'))) {
@@ -21,4 +22,3 @@ Function.prototype.call.length = function(){return "shifted";};
if (Function.prototype.call.length !== obj) {
$ERROR('#2: the Function.prototype.call length property has the attributes ReadOnly.');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A11.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A11.js
index 987f9ee3e..63399e6bb 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A11.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A11.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.
-/**
- * The Function.prototype.call.length property has the attribute DontEnum
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A11.js
- * @description Checking if enumerating the Function.prototype.call.length property fails
- */
+/*---
+info: The Function.prototype.call.length property has the attribute DontEnum
+description: >
+ Checking if enumerating the Function.prototype.call.length
+ property fails
+includes: [$FAIL.js]
+---*/
//CHECK#0
if (!(Function.prototype.call.hasOwnProperty('length'))) {
@@ -24,4 +25,3 @@ for (p in Function.prototype.call){
if (p==="length")
$ERROR('#2: the Function.prototype.call.length property has the attributes DontEnum');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A12.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A12.js
index c8fbff69a..547bd6f58 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A12.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A12.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.
-/**
- * Function.prototype.call has not prototype property
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A12.js
- * @description Checking if obtaining the prototype property of Function.prototype.call fails
- */
+/*---
+info: Function.prototype.call has not prototype property
+description: >
+ Checking if obtaining the prototype property of
+ Function.prototype.call fails
+---*/
//CHECK#1
if (Function.prototype.call.prototype !== undefined) {
$ERROR('#1: Function.prototype.call has not prototype property'+Function.prototype.call.prototype);
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A13.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A13.js
index 5b08ca218..212c319ab 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A13.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A13.js
@@ -1,11 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A13.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.call.call(undefined, {});
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A14.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A14.js
index 9fde7ac60..f8b50978c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A14.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A14.js
@@ -1,11 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A14.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.call.call(null, {});
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A15.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A15.js
index 56624d8fd..dced623d5 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A15.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A15.js
@@ -1,11 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A15.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.call.call({}, {});
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A16.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A16.js
index c32a02957..40a50e41b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A16.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A16.js
@@ -1,12 +1,14 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If IsCallable(func) is false, then throw a TypeError exception.
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A16.js
- * @description A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case call should accept it as a valid this value.
- */
+/*---
+info: If IsCallable(func) is false, then throw a TypeError exception.
+description: >
+ A RegExp is not a function, but it may be callable. Iff it is,
+ it's typeof should be 'function', in which case call should accept
+ it as a valid this value.
+includes: [$FAIL.js]
+---*/
var re = (/x/);
if (typeof re === 'function') {
@@ -22,4 +24,3 @@ if (typeof re === 'function') {
}
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T1.js
index e9bec0320..d40e6778f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T1.js
@@ -1,13 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The call method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T1.js
- * @description Call "call" method of the object that does not have a [[Call]] property.
- * Prototype of the object is Function()
- */
+/*---
+info: >
+ The call method performs a function call using the [[Call]] property of
+ the object. If the object does not have a [[Call]] property, a TypeError
+ exception is thrown
+description: >
+ Call "call" method of the object that does not have a [[Call]]
+ property. Prototype of the object is Function()
+includes: [$FAIL.js]
+---*/
var proto=Function();
@@ -31,4 +34,3 @@ try {
$ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T2.js
index 637cf20d1..5ff35e76c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T2.js
@@ -1,13 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The call method performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A1_T2.js
- * @description Calling "call" method of the object that does not have a [[Call]] property.
- * Prototype of the object is Function.prototype
- */
+/*---
+info: >
+ The call method performs a function call using the [[Call]] property of
+ the object. If the object does not have a [[Call]] property, a TypeError
+ exception is thrown
+description: >
+ Calling "call" method of the object that does not have a [[Call]]
+ property. Prototype of the object is Function.prototype
+includes: [$FAIL.js]
+---*/
function FACTORY(){};
@@ -29,4 +32,3 @@ try {
$ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T1.js
index c8282a269..214e1d498 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_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.
-/**
- * The length property of the call method is 1
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T1.js
- * @description Checking Function.prototype.call.length
- */
+/*---
+info: The length property of the call method is 1
+description: Checking Function.prototype.call.length
+---*/
//CHECK#1
if (typeof Function.prototype.call !== "function") {
@@ -22,4 +20,3 @@ if (typeof Function.prototype.call.length === "undefined") {
if (Function.prototype.call.length !== 1) {
$ERROR('#3: The length property of the call method is 1');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T2.js
index f76bdc230..ccceca809 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_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.
-/**
- * The length property of the call method is 1
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A2_T2.js
- * @description Checking f.call.length, where f is new Function
- */
+/*---
+info: The length property of the call method is 1
+description: Checking f.call.length, where f is new Function
+---*/
var f=new Function;
@@ -24,4 +22,3 @@ if (typeof f.call.length === "undefined") {
if (f.call.length !== 1) {
$ERROR('#3: The length property of the call method is 1');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T1.js
index 6dcf5ccca..8fd063b2c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T1.js
- * @description Not any arguments at call function
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Not any arguments at call function
+---*/
Function("this.field=\"strawberry\"").call();
@@ -14,4 +14,3 @@ Function("this.field=\"strawberry\"").call();
if (this["field"] !== "strawberry") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T10.js
index 1a8a62569..b07352b87 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T10.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T10.js
- * @description Checking by using eval, no any arguments at call function
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Checking by using eval, no any arguments at call function
+---*/
eval(" (function(){this.feat=1}).call()");
@@ -14,4 +14,3 @@ eval(" (function(){this.feat=1}).call()");
if (this["feat"] !== 1) {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T2.js
index c356ff4aa..2e5208876 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T2.js
- * @description Argument at call function is null
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Argument at call function is null
+---*/
Function("this.field=\"green\"").call(null);
@@ -14,4 +14,3 @@ Function("this.field=\"green\"").call(null);
if (this["field"] !== "green") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T3.js
index 5eb42018e..66b768ddb 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T3.js
- * @description Argument at call function is void 0
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Argument at call function is void 0
+---*/
Function("this.field=\"battle\"").call(void 0);
@@ -14,4 +14,3 @@ Function("this.field=\"battle\"").call(void 0);
if (this["field"] !== "battle") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T4.js
index f643ac429..e0774f76c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T4.js
- * @description Argument at call function is undefined
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Argument at call function is undefined
+---*/
Function("this.field=\"oil\"").call(undefined);
@@ -14,4 +14,3 @@ Function("this.field=\"oil\"").call(undefined);
if (this["field"] !== "oil") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T5.js
index 47f35a67e..0e3473352 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T5.js
- * @description No any arguments at call function and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ No any arguments at call function and it called inside function
+ declaration
+---*/
function FACTORY(){
Function("this.feat=\"in da haus\"").call();
@@ -23,4 +25,3 @@ if (this["feat"] !== "in da haus") {
if (typeof obj.feat !== "undefined") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T6.js
index 25c8fa070..5cb79300c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T6.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T6.js
- * @description Argument at call function is null and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ Argument at call function is null and it called inside function
+ declaration
+---*/
function FACTORY(){
(function(){this.feat="kamon beyba"}).call(null);
@@ -23,4 +25,3 @@ if (this["feat"] !== "kamon beyba") {
if (typeof obj.feat !== "undefined") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T7.js
index 6fa6551a7..d4325b359 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T7.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T7.js
- * @description Argument at call function is void 0 and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ Argument at call function is void 0 and it called inside function
+ declaration
+---*/
(function FACTORY(){
Function("this.feat=\"in da haus\"").call(void 0);
@@ -17,4 +19,3 @@
if (this["feat"] !== "in da haus") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T8.js
index 575230da8..f46e72cd0 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T8.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T8.js
- * @description Argument at call function is undefined and it called inside function declaration
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: >
+ Argument at call function is undefined and it called inside
+ function declaration
+---*/
(function FACTORY(){
(function(){this.feat="kamon beyba"}).call(undefined);
@@ -17,4 +19,3 @@
if (this["feat"] !== "kamon beyba") {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T9.js
index 4efc2e771..773b8fec9 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T9.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.
-/**
- * If thisArg is null or undefined, the called function is passed the global object as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T9.js
- * @description Checking by using eval, argument at call function is void 0
- */
+/*---
+info: >
+ If thisArg is null or undefined, the called function is passed the global
+ object as the this value
+description: Checking by using eval, argument at call function is void 0
+---*/
eval( " Function(\"this.feat=1\").call(void 0) " );
@@ -15,4 +15,3 @@ eval( " Function(\"this.feat=1\").call(void 0) " );
if (this["feat"] !== 1) {
$ERROR('#1: If thisArg is null or undefined, the called function is passed the global object as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T1.js
index f274db083..7dfc3cd20 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T1.js
- * @description thisArg is number
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is number
+---*/
var obj=1;
@@ -21,5 +21,3 @@ if (typeof obj.touched !== "undefined") {
if (!(retobj["touched"])) {
$ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T2.js
index 1e594dd96..e5a7411a8 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T2.js
- * @description thisArg is boolean true
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is boolean true
+---*/
var obj=true;
@@ -21,5 +21,3 @@ if (typeof obj.touched !== "undefined") {
if (!(retobj["touched"])) {
$ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T3.js
index 665bf1010..199e18435 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T3.js
- * @description thisArg is string
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is string
+---*/
var obj="soap";
@@ -21,5 +21,3 @@ if (typeof obj.touched !== "undefined") {
if (!(retobj["touched"])) {
$ERROR('#2: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T4.js
index 05cff1df0..c15b7f9fc 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T4.js
- * @description thisArg is function variable that return this
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is function variable that return this
+---*/
var f = function(){this.touched= true; return this;};
@@ -23,4 +23,3 @@ if (!(retobj["touched"])) {
}
var obj;
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T5.js
index 96795e150..1344686aa 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T5.js
- * @description thisArg is function variable
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is function variable
+---*/
var f = function(){this.touched= true;};
@@ -18,4 +18,3 @@ f.call(obj);
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T6.js
index 127954e68..18ee613cb 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T6.js
- * @description thisArg is new String()
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is new String()
+---*/
var obj=new String("soap");
@@ -16,4 +16,3 @@ var obj=new String("soap");
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T7.js
index f6166f31a..71c786c50 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T7.js
- * @description thisArg is new Number()
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is new Number()
+---*/
var obj=new Number(1);
@@ -16,5 +16,3 @@ Function("this.touched= true;").call(obj);
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T8.js
index f3f6cf18b..246ab4be0 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T8.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.
-/**
- * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T8.js
- * @description thisArg is Function()
- */
+/*---
+info: >
+ If thisArg is not null(defined) the called function is passed
+ ToObject(thisArg) as the this value
+description: thisArg is Function()
+---*/
var obj=Function();
@@ -16,4 +16,3 @@ new Function("this.touched= true; return this;").call(obj);
if (!(obj.touched)) {
$ERROR('#1: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T1.js
index 04b21e57a..d8e00e68b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T1.js
- * @description Argunemts of call function is (null,[1])
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: Argunemts of call function is (null,[1])
+---*/
Function("a1,a2,a3","this.shifted=a1;").call(null,[1]);
@@ -25,5 +24,3 @@ if (this["shifted"].length !== 1) {
if (this["shifted"][0] !== 1) {
$ERROR('#3: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T10.js
index b9b00d1c4..a67340241 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T10.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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T10.js
- * @description Argunemts of call function is (empty object, "", arguments,2), inside function call without declaration used
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (empty object, "", arguments,2),
+ inside function call without declaration used
+---*/
var obj={};
@@ -24,5 +25,3 @@ if (obj["shifted"] !== "42") {
if (typeof this["shifted"] !== "undefined") {
$ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T2.js
index 27afbee73..848ecb4f4 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T2.js
- * @description Argunemts of call function is (null,[3,2,1])
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: Argunemts of call function is (null,[3,2,1])
+---*/
new Function("a1,a2","a3","this.shifted=a1;").call(null,[3,2,1]);
@@ -20,5 +19,3 @@ if (this["shifted"].length !== 3) {
if ((this["shifted"][0] !== 3)||(this["shifted"][1] !== 2)||(this["shifted"][2] !== 1)) {
$ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T3.js
index cc51c178d..b1990fed5 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T3.js
- * @description Argunemts of call function is (empty object, new Array("nine","inch","nails"))
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (empty object, new
+ Array("nine","inch","nails"))
+---*/
var i=0;
@@ -31,5 +32,3 @@ if ((obj["shifted"][0] !== "nine")||(obj["shifted"][1] !== "inch")||(obj["shifte
if (typeof this["shifted"] !== "undefined") {
$ERROR('#3: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T4.js
index 90311787b..729ac7cba 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T4.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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T4.js
- * @description Argunemts of call function is (empty object, ( function(){return arguments;})("a","b","c","d"),"",2)
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (empty object, ( function(){return
+ arguments;})("a","b","c","d"),"",2)
+---*/
var i=0;
@@ -26,5 +27,3 @@ if (obj["shifted"] !== "24") {
if (typeof this["shifted"] !== "undefined") {
$ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T5.js
index 35a6fd846..48d32af5d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T5.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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T5.js
- * @description Argunemts of call function is (null, arguments,"",2), inside function declaration used
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (null, arguments,"",2), inside
+ function declaration used
+---*/
function FACTORY(){
Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(null,arguments,"",2);
@@ -24,5 +25,3 @@ if (this["shifted"] !== "42") {
if (typeof obj.shifted !== "undefined") {
$ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T6.js
index 609c8de87..2e6bc6f5e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T6.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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T6.js
- * @description Argunemts of call function is (this, arguments,"",2), inside function declaration used
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (this, arguments,"",2), inside
+ function declaration used
+---*/
function FACTORY(){
Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(this,arguments,"",2);
@@ -24,5 +25,3 @@ if (obj["shifted"] !== "42") {
if (typeof this["shifted"] !== "undefined") {
$ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T7.js
index 7738e09e0..d38e3a770 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T7.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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T7.js
- * @description Argunemts of call function is (null, arguments,"",2), inside function call without declaration used
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (null, arguments,"",2), inside
+ function call without declaration used
+---*/
(function (){
Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(null,arguments,"",2);
@@ -17,4 +18,3 @@
if (this["shifted"] !== "42") {
$ERROR('#1: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T8.js
index eb00e7f05..290e7c0ab 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T8.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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T8.js
- * @description Argunemts of call function is (this, arguments,"",2), inside function call without declaration used
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (this, arguments,"",2), inside
+ function call without declaration used
+---*/
(function (){
Function("a1,a2,a3","this.shifted=a1.length+a2+a3;").call(this,arguments,"",2);
@@ -17,5 +18,3 @@
if (this["shifted"] !== "42") {
$ERROR('#2: The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs a function call using the [[Call]] property of the object');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T9.js
index ae2abe1cc..3803a21e1 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T9.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.
-/**
- * The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
- * a function call using the [[Call]] property of the object
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A6_T9.js
- * @description Argunemts of call function is (empty object, "", arguments,2), inside function declaration used
- */
+/*---
+info: >
+ The call method takes one or more arguments, thisArg and (optionally) arg1, arg2 etc, and performs
+ a function call using the [[Call]] property of the object
+description: >
+ Argunemts of call function is (empty object, "", arguments,2),
+ inside function declaration used
+---*/
function FACTORY(){
var obj = {};
@@ -26,5 +27,3 @@ if (typeof this["shifted"] !== "undefined") {
if (obj.shifted !== "42") {
$ERROR('#2: If argArray is either an array or an arguments object, the function is passed the...');
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T1.js
index 1c02dbea7..9c368a31e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_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.
-/**
- * Function.prototype.call can't be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T1.js
- * @description Checking if creating "new Function.prototype.call" fails
- */
+/*---
+info: Function.prototype.call can't be used as [[create]] caller
+description: Checking if creating "new Function.prototype.call" fails
+---*/
try {
var obj = new Function.prototype.call;
@@ -16,4 +14,3 @@ try {
$ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T2.js
index 2e6266889..b065bc3e7 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_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.
-/**
- * Function.prototype.call can't be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T2.js
- * @description Checking if creating "new Function.prototype.call()" fails
- */
+/*---
+info: Function.prototype.call can't be used as [[create]] caller
+description: Checking if creating "new Function.prototype.call()" fails
+---*/
try {
var FACTORY = Function.prototype.call;
@@ -17,4 +15,3 @@ try {
$ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T3.js
index 003e84f1c..27f5873bf 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_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.
-/**
- * Function.prototype.call can't be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T3.js
- * @description Checking if creating "new Function.call" fails
- */
+/*---
+info: Function.prototype.call can't be used as [[create]] caller
+description: Checking if creating "new Function.call" fails
+---*/
try {
var obj = new Function.call;
@@ -16,4 +14,3 @@ try {
$ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T4.js
index 34b6a4363..60a62109f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_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.
-/**
- * Function.prototype.call can't be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T4.js
- * @description Checking if creating "new (Function("this.p1=1").call)" fails
- */
+/*---
+info: Function.prototype.call can't be used as [[create]] caller
+description: Checking if creating "new (Function("this.p1=1").call)" fails
+---*/
try {
var obj = new (Function("this.p1=1").call);
@@ -16,4 +14,3 @@ try {
$ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T5.js
index 316ac5815..0e27c361a 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_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.
-/**
- * Function.prototype.call can't be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T5.js
- * @description Checking if creating "new Function("this.p1=1").call" fails
- */
+/*---
+info: Function.prototype.call can't be used as [[create]] caller
+description: Checking if creating "new Function("this.p1=1").call" fails
+---*/
try {
var FACTORY = Function("this.p1=1").call;
@@ -17,4 +15,3 @@ try {
$ERROR('#1.1: Function.prototype.call can\'t be used as [[create]] caller');
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T6.js
index 0911558c4..06270aa94 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_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.
-/**
- * Function.prototype.call can't be used as [[create]] caller
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A7_T6.js
- * @description Checking if creating "new (Function("function f(){this.p1=1;};return f").call())" fails
- */
+/*---
+info: Function.prototype.call can't be used as [[create]] caller
+description: >
+ Checking if creating "new (Function("function
+ f(){this.p1=1;};return f").call())" fails
+---*/
//CHECK#1
try {
@@ -19,4 +19,3 @@ try {
if (obj.p1!== 1) {
$ERROR('#2: Function.prototype.call can\'t be used as [[create]] caller');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A9.js
index 8176bb2f8..6508e1b28 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A9.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.
-/**
- * The Function.prototype.call.length property has the attribute DontDelete
- *
- * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A9.js
- * @description Checking if deleting the Function.prototype.call.length property fails
- */
+/*---
+info: The Function.prototype.call.length property has the attribute DontDelete
+description: >
+ Checking if deleting the Function.prototype.call.length property
+ fails
+includes: [$FAIL.js]
+---*/
//CHECK#0
if (!(Function.prototype.call.hasOwnProperty('length'))) {
@@ -22,4 +23,3 @@ if (delete Function.prototype.call.length) {
if (!(Function.prototype.call.hasOwnProperty('length'))) {
$FAIL('#2: The Function.prototype.call.length property has the attributes DontDelete');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js
index ba29c8188..8c6cb1050 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js
@@ -1,21 +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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js
- * @description [[Call]] - 'F''s [[BoundArgs]] is used as the former part of arguments of calling the [[Call]] internal method of 'F''s [[TargetFunction]] when 'F' is called
- */
-
-
-function testcase() {
- var func = function (x, y, z) {
- return x + y + z;
- };
-
- var newFunc = Function.prototype.bind.call(func, {}, "a", "b", "c");
-
- return newFunc() === "abc";
- }
-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: >
+ [[Call]] - 'F''s [[BoundArgs]] is used as the former part of
+ arguments of calling the [[Call]] internal method of 'F''s
+ [[TargetFunction]] when 'F' is called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x, y, z) {
+ return x + y + z;
+ };
+
+ var newFunc = Function.prototype.bind.call(func, {}, "a", "b", "c");
+
+ return newFunc() === "abc";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js
index 48e266cdc..f4969e23d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js
- * @description [[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function (x) {
- return this === obj && typeof x === "undefined";
- };
-
- var newFunc = Function.prototype.bind.call(func, obj);
-
- return newFunc();
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function (x) {
+ return this === obj && typeof x === "undefined";
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj);
+
+ return newFunc();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js
index 17f074e4c..3294400e6 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js
- * @description [[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function (x) {
- return this === obj && x === 1 && arguments[0] === 1 && arguments.length === 1 && this.prop === "abc";
- };
-
- var newFunc = Function.prototype.bind.call(func, obj);
-
- return newFunc(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: >
+ [[Call]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 1, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function (x) {
+ return this === obj && x === 1 && arguments[0] === 1 && arguments.length === 1 && this.prop === "abc";
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj);
+
+ return newFunc(1);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js
index 4a9b5956d..b0d58e6c3 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js
- * @description [[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 2, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function (x) {
- return this === obj && x === 1 && arguments[1] === 2 &&
- arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
- };
-
- var newFunc = Function.prototype.bind.call(func, obj);
-
- return newFunc(1, 2);
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 2, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function (x) {
+ return this === obj && x === 1 && arguments[1] === 2 &&
+ arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj);
+
+ return newFunc(1, 2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js
index 9757b867a..d1358dcf8 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js
- * @description [[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function (x) {
- return this === obj && x === 1 &&
- arguments[0] === 1 && arguments.length === 1 && this.prop === "abc";
- };
-
- var newFunc = Function.prototype.bind.call(func, obj, 1);
-
- return newFunc();
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 0, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function (x) {
+ return this === obj && x === 1 &&
+ arguments[0] === 1 && arguments.length === 1 && this.prop === "abc";
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj, 1);
+
+ return newFunc();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js
index 8468ad1ef..6d1effcd6 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js
- * @description [[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function (x) {
- return this === obj && x === 1 && arguments[1] === 2
- arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
- };
-
- var newFunc = Function.prototype.bind.call(func, obj, 1);
-
- return newFunc(2);
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 1, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function (x) {
+ return this === obj && x === 1 && arguments[1] === 2
+ arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj, 1);
+
+ return newFunc(2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js
index c5e81944f..fd8ad5698 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js
- * @description [[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 2, length of 'ExtraArgs' is 0, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function (x) {
- return this === obj && x === 1 && arguments[1] === 2 &&
- arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
- };
-
- var newFunc = Function.prototype.bind.call(func, obj, 1, 2);
-
- return newFunc();
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 2, length of 'ExtraArgs' is 0, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function (x) {
+ return this === obj && x === 1 && arguments[1] === 2 &&
+ arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj, 1, 2);
+
+ return newFunc();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js
index 1f2d6da24..c2d42bfb5 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js
- * @description [[Call]] - 'F''s [[BoundThis]] is used as the 'this' value of calling the [[Call]] internal method of 'F''s [[TargetFunction]] when 'F' is called
- */
-
-
-function testcase() {
- var obj = { "prop": "a" };
-
- var func = function () {
- return this;
- };
-
- var newFunc = Function.prototype.bind.call(func, obj);
-
- return newFunc() === obj;
- }
-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: >
+ [[Call]] - 'F''s [[BoundThis]] is used as the 'this' value of
+ calling the [[Call]] internal method of 'F''s [[TargetFunction]]
+ when 'F' is called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { "prop": "a" };
+
+ var func = function () {
+ return this;
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj);
+
+ return newFunc() === obj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js
index 41128642e..5e29c70a5 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js
@@ -1,21 +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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js
- * @description [[Call]] - the provided arguments is used as the latter part of arguments of calling the [[Call]] internal method of 'F''s [[TargetFunction]] when 'F' is called
- */
-
-
-function testcase() {
- var func = function (x, y, z) {
- return z;
- };
-
- var newFunc = Function.prototype.bind.call(func, {}, "a", "b");
-
- return newFunc("c") === "c";
- }
-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: >
+ [[Call]] - the provided arguments is used as the latter part of
+ arguments of calling the [[Call]] internal method of 'F''s
+ [[TargetFunction]] when 'F' is called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x, y, z) {
+ return z;
+ };
+
+ var newFunc = Function.prototype.bind.call(func, {}, "a", "b");
+
+ return newFunc("c") === "c";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js
index e1ef7406c..677ebe679 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js
@@ -1,21 +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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js
- * @description [[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and without 'boundThis'
- */
-
-
-function testcase() {
- var func = function () {
- return arguments.length === 0;
- };
-
- var newFunc = Function.prototype.bind.call(func);
-
- return newFunc();
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 0, and without
+ 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function () {
+ return arguments.length === 0;
+ };
+
+ var newFunc = Function.prototype.bind.call(func);
+
+ return newFunc();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js
index 2f5e6b5d3..df07a1ea3 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js
@@ -1,21 +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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js
- * @description [[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and without 'boundThis'
- */
-
-
-function testcase() {
- var func = function () {
- return arguments[0] === 1;
- };
-
- var newFunc = Function.prototype.bind.call(func);
-
- return newFunc(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: >
+ [[Call]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 1, and without
+ 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function () {
+ return arguments[0] === 1;
+ };
+
+ var newFunc = Function.prototype.bind.call(func);
+
+ return newFunc(1);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js
index b96fba085..33ee79dbb 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js
- * @description [[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function () {
- return this === obj && arguments.length === 0;
- };
-
- var newFunc = Function.prototype.bind.call(func, obj);
-
- return newFunc();
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function () {
+ return this === obj && arguments.length === 0;
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj);
+
+ return newFunc();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js
index bc9559ad3..4044f2ff0 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js
- * @description [[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function () {
- return this === obj && arguments[0] === 1;
- };
-
- var newFunc = Function.prototype.bind.call(func, obj, 1);
-
- return newFunc();
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 0, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function () {
+ return this === obj && arguments[0] === 1;
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj, 1);
+
+ return newFunc();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js
index f24aa0f4b..1369fe74a 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js
- * @description [[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function () {
- return this === obj && arguments[0] === 1;
- };
-
- var newFunc = Function.prototype.bind.call(func, obj);
-
- return newFunc(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: >
+ [[Call]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 1, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function () {
+ return this === obj && arguments[0] === 1;
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj);
+
+ return newFunc(1);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js
index e65169ec1..d9c276888 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.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 ch15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js
- * @description [[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- var func = function () {
- return this === obj && arguments[0] === 1 && arguments[1] === 2;
- };
-
- var newFunc = Function.prototype.bind.call(func, obj, 1);
-
- return newFunc(2);
- }
-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: >
+ [[Call]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 1, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ var func = function () {
+ return this === obj && arguments[0] === 1 && arguments[1] === 2;
+ };
+
+ var newFunc = Function.prototype.bind.call(func, obj, 1);
+
+ return newFunc(2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js
index 4064793c0..d4288641d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js
@@ -1,27 +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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js
- * @description [[Construct]] - 'F''s [[BoundArgs]] is used as the former part of arguments of calling the [[Construct]] internal method of 'F''s [[TargetFunction]] when 'F' is called as constructor
- */
-
-
-function testcase() {
- var func = function (x, y, z) {
- var objResult = {};
- objResult.returnValue = x + y + z;
- objResult.returnVerifyResult = arguments[0] === "a" && arguments.length === 3;
- return objResult;
- };
-
- var NewFunc = Function.prototype.bind.call(func, {}, "a", "b", "c");
-
- var newInstance = new NewFunc();
-
- return newInstance.hasOwnProperty("returnValue") && newInstance.returnValue === "abc" &&
- newInstance.hasOwnProperty("returnVerifyResult") && newInstance.returnVerifyResult === 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: >
+ [[Construct]] - 'F''s [[BoundArgs]] is used as the former part of
+ arguments of calling the [[Construct]] internal method of 'F''s
+ [[TargetFunction]] when 'F' is called as constructor
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x, y, z) {
+ var objResult = {};
+ objResult.returnValue = x + y + z;
+ objResult.returnVerifyResult = arguments[0] === "a" && arguments.length === 3;
+ return objResult;
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {}, "a", "b", "c");
+
+ var newInstance = new NewFunc();
+
+ return newInstance.hasOwnProperty("returnValue") && newInstance.returnValue === "abc" &&
+ newInstance.hasOwnProperty("returnVerifyResult") && newInstance.returnVerifyResult === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js
index 1e797a3a2..11c6c987b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js
- * @description [[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1
- */
-
-
-function testcase() {
- var func = function (x) {
- return new Boolean(arguments.length === 1 && x === 1 && arguments[0] === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {});
-
- var newInstance = new NewFunc(1);
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 1
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x) {
+ return new Boolean(arguments.length === 1 && x === 1 && arguments[0] === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {});
+
+ var newInstance = new NewFunc(1);
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js
index 7df435744..12ea9bec2 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js
- * @description [[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 2
- */
-
-
-function testcase() {
- var func = function (x) {
- return new Boolean(arguments.length === 2 && x === 1 && arguments[1] === 2 && arguments[0] === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {});
-
- var newInstance = new NewFunc(1, 2);
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 2
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x) {
+ return new Boolean(arguments.length === 2 && x === 1 && arguments[1] === 2 && arguments[0] === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {});
+
+ var newInstance = new NewFunc(1, 2);
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js
index 5003a213f..e1d83dbc4 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js
- * @description [[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0
- */
-
-
-function testcase() {
- var func = function (x) {
- return new Boolean(arguments.length === 1 && x === 1 && arguments[0] === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {}, 1);
-
- var newInstance = new NewFunc();
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 0
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x) {
+ return new Boolean(arguments.length === 1 && x === 1 && arguments[0] === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {}, 1);
+
+ var newInstance = new NewFunc();
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js
index 24ca939c6..4b1e1e738 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js
- * @description [[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1
- */
-
-
-function testcase() {
- var func = function (x) {
- return new Boolean(arguments.length === 2 && x === 1 && arguments[1] === 2 && arguments[0] === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {}, 1);
-
- var newInstance = new NewFunc(2);
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 1
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x) {
+ return new Boolean(arguments.length === 2 && x === 1 && arguments[1] === 2 && arguments[0] === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {}, 1);
+
+ var newInstance = new NewFunc(2);
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js
index 9489475f3..7cbfd10dc 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js
- * @description [[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 2, length of 'ExtraArgs' is 0
- */
-
-
-function testcase() {
- var func = function (x) {
- return new Boolean(arguments.length === 2 && x === 1 && arguments[1] === 2 && arguments[0] === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {}, 1, 2);
-
- var newInstance = new NewFunc();
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 2, length of 'ExtraArgs' is 0
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x) {
+ return new Boolean(arguments.length === 2 && x === 1 && arguments[1] === 2 && arguments[0] === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {}, 1, 2);
+
+ var newInstance = new NewFunc();
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js
index 44d424561..2109152d0 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js
@@ -1,27 +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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js
- * @description [[Construct]] - the provided arguments is used as the latter part of arguments of calling the [[Construct]] internal method of 'F''s [[TargetFunction]] when 'F' is called as constructor
- */
-
-
-function testcase() {
- var func = function (x, y, z) {
- var objResult = {};
- objResult.returnValue = x + y + z;
- objResult.returnVerifyResult = arguments[0] === "a" && arguments.length === 3;
- return objResult;
- };
-
- var NewFunc = Function.prototype.bind.call(func, {});
-
- var newInstance = new NewFunc("a", "b", "c");
-
- return newInstance.hasOwnProperty("returnValue") && newInstance.returnValue === "abc" &&
- newInstance.hasOwnProperty("returnVerifyResult") && newInstance.returnVerifyResult === 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: >
+ [[Construct]] - the provided arguments is used as the latter part
+ of arguments of calling the [[Construct]] internal method of 'F''s
+ [[TargetFunction]] when 'F' is called as constructor
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x, y, z) {
+ var objResult = {};
+ objResult.returnValue = x + y + z;
+ objResult.returnVerifyResult = arguments[0] === "a" && arguments.length === 3;
+ return objResult;
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {});
+
+ var newInstance = new NewFunc("a", "b", "c");
+
+ return newInstance.hasOwnProperty("returnValue") && newInstance.returnValue === "abc" &&
+ newInstance.hasOwnProperty("returnVerifyResult") && newInstance.returnVerifyResult === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js
index b355e499e..b4c697a5f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js
- * @description [[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and without 'boundThis'
- */
-
-
-function testcase() {
- var func = function () {
- return new Boolean(arguments.length === 0);
- };
-
- var NewFunc = Function.prototype.bind.call(func);
-
- var newInstance = new NewFunc();
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 0, and without
+ 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function () {
+ return new Boolean(arguments.length === 0);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func);
+
+ var newInstance = new NewFunc();
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js
index 64c97830e..8d82312a8 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js
- * @description [[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and without 'boundThis'
- */
-
-
-function testcase() {
- var func = function () {
- return new Boolean(arguments[0] === 1 && arguments.length === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func);
-
- var newInstance = new NewFunc(1);
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 1, and without
+ 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function () {
+ return new Boolean(arguments[0] === 1 && arguments.length === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func);
+
+ var newInstance = new NewFunc(1);
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js
index 338256f0a..18ddd600d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js
@@ -1,31 +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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js
- * @description [[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'
- */
-
-
-function testcase() {
- var obj = { prop: "abc" };
-
- try {
- Object.prototype.verifyThis = "verifyThis";
- var func = function () {
- return new Boolean(arguments.length === 0 && Object.prototype.toString.call(this) === "[object Object]" &&
- this.verifyThis === "verifyThis");
- };
-
- var NewFunc = Function.prototype.bind.call(func, obj);
-
- var newInstance = new NewFunc();
-
- return newInstance.valueOf();
- } finally {
- delete Object.prototype.verifyThis;
- }
- }
-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: >
+ [[Construct]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop: "abc" };
+
+ try {
+ Object.prototype.verifyThis = "verifyThis";
+ var func = function () {
+ return new Boolean(arguments.length === 0 && Object.prototype.toString.call(this) === "[object Object]" &&
+ this.verifyThis === "verifyThis");
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, obj);
+
+ var newInstance = new NewFunc();
+
+ return newInstance.valueOf();
+ } finally {
+ delete Object.prototype.verifyThis;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js
index a2e0fcd77..9dc06c92f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js
- * @description [[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0
- */
-
-
-function testcase() {
- var func = function () {
- return new Boolean(arguments.length === 1 && arguments[0] === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {}, 1);
-
- var newInstance = new NewFunc();
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 0
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function () {
+ return new Boolean(arguments.length === 1 && arguments[0] === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {}, 1);
+
+ var newInstance = new NewFunc();
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js
index 867308baa..979b7bb40 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js
- * @description [[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1
- */
-
-
-function testcase() {
- var func = function () {
- return new Boolean(arguments.length === 1 && arguments[0] === 1);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {});
-
- var newInstance = new NewFunc(1);
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 1
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function () {
+ return new Boolean(arguments.length === 1 && arguments[0] === 1);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {});
+
+ var newInstance = new NewFunc(1);
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js
index a0ec6fc0c..f7a06cd75 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js
- * @description [[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1
- */
-
-
-function testcase() {
- var func = function () {
- return new Boolean(arguments.length === 2 && arguments[0] === 1 && arguments[1] === 2);
- };
-
- var NewFunc = Function.prototype.bind.call(func, {}, 1);
-
- var newInstance = new NewFunc(2);
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 0, length of
+ 'boundArgs' is 1, length of 'ExtraArgs' is 1
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function () {
+ return new Boolean(arguments.length === 2 && arguments[0] === 1 && arguments[1] === 2);
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {}, 1);
+
+ var newInstance = new NewFunc(2);
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js
index 89b443923..14501aa2a 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.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 ch15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js
- * @description [[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0
- */
-
-
-function testcase() {
- var func = function (x) {
- return new Boolean(arguments.length === 0 && typeof x === "undefined");
- };
-
- var NewFunc = Function.prototype.bind.call(func, {});
-
- var newInstance = new NewFunc();
-
- return newInstance.valueOf() === 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: >
+ [[Construct]] - length of parameters of 'target' is 1, length of
+ 'boundArgs' is 0, length of 'ExtraArgs' is 0
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var func = function (x) {
+ return new Boolean(arguments.length === 0 && typeof x === "undefined");
+ };
+
+ var NewFunc = Function.prototype.bind.call(func, {});
+
+ var newInstance = new NewFunc();
+
+ return newInstance.valueOf() === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-1.js
index 5dba58d7e..0768a5181 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-1.js
- * @description Function.prototype.bind must exist as a function
- */
-
-
-function testcase() {
- var f = Function.prototype.bind;
-
- if (typeof(f) === "function") {
- 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: Function.prototype.bind must exist as a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var f = Function.prototype.bind;
+
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-2.js
index bef4b7b1b..e4d571c0e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-2.js
@@ -1,17 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-0-2.js
- * @description Function.prototype.bind must exist as a function taking 1 parameter
- */
-
-
-function testcase() {
- if (Function.prototype.bind.length === 1) {
- 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: Function.prototype.bind must exist as a function taking 1 parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ if (Function.prototype.bind.length === 1) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-10-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-10-1.js
index d440104df..2b8068e2d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-10-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-10-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-10-1.js
- * @description Function.prototype.bind - internal property [[Class]] of 'F' is set as Function
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- return Object.prototype.toString.call(obj) === "[object Function]";
- }
-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: >
+ Function.prototype.bind - internal property [[Class]] of 'F' is
+ set as Function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ return Object.prototype.toString.call(obj) === "[object Function]";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-11-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-11-1.js
index cb2777e7a..771472192 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-11-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-11-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-11-1.js
- * @description Function.prototype.bind - internal property [[Prototype]] of 'F' is set as Function.prototype
- */
-
-
-function testcase() {
-
- var foo = function () { };
- try {
- Function.prototype.property = 12;
- var obj = foo.bind({});
-
- return obj.property === 12;
- } finally {
- delete Function.prototype.property;
- }
- }
-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: >
+ Function.prototype.bind - internal property [[Prototype]] of 'F'
+ is set as Function.prototype
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+ try {
+ Function.prototype.property = 12;
+ var obj = foo.bind({});
+
+ return obj.property === 12;
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-1.js
index 63a59b19f..a413ace90 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-1.js
- * @description Function.prototype.bind, bound fn has a 'length' own property
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- if (bf.hasOwnProperty('length')) {
- 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: Function.prototype.bind, bound fn has a 'length' own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ if (bf.hasOwnProperty('length')) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-2.js
index f2291dac3..2f6cf8561 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-2.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-2.js
- * @description Function.prototype.bind, 'length' set to remaining number of expected args
- */
-
-
-function testcase() {
- function foo(x, y) { }
- var o = {};
-
- var bf = foo.bind(o);
- if (bf.length === 2) {
- 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: >
+ Function.prototype.bind, 'length' set to remaining number of
+ expected args
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo(x, y) { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ if (bf.length === 2) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-3.js
index 8a1925dec..131cc650f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-3.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-3.js
- * @description Function.prototype.bind, 'length' set to remaining number of expected args (all args prefilled)
- */
-
-
-function testcase() {
- function foo(x, y) { }
- var o = {};
-
- var bf = foo.bind(o, 42, 101);
- if (bf.length === 0) {
- 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: >
+ Function.prototype.bind, 'length' set to remaining number of
+ expected args (all args prefilled)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo(x, y) { }
+ var o = {};
+
+ var bf = foo.bind(o, 42, 101);
+ if (bf.length === 0) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-4.js
index 3fe65667e..7442c2155 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-4.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-4.js
- * @description Function.prototype.bind, 'length' set to remaining number of expected args (target takes 0 args)
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- if (bf.length === 0) {
- 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: >
+ Function.prototype.bind, 'length' set to remaining number of
+ expected args (target takes 0 args)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ if (bf.length === 0) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-5.js
index 2269348f3..76cd3cffe 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-5.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-5.js
- * @description Function.prototype.bind, 'length' set to remaining number of expected args (target provided extra args)
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o, 42);
- if (bf.length === 0) {
- 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: >
+ Function.prototype.bind, 'length' set to remaining number of
+ expected args (target provided extra args)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o, 42);
+ if (bf.length === 0) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-6.js
index bf61a2d46..738e2d6f9 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-6.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-6.js
- * @description Function.prototype.bind, 'length' set to remaining number of expected args
- */
-
-
-function testcase() {
- function foo(x, y) { }
- var o = {};
-
- var bf = foo.bind(o, 42);
- if (bf.length === 1) {
- 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: >
+ Function.prototype.bind, 'length' set to remaining number of
+ expected args
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo(x, y) { }
+ var o = {};
+
+ var bf = foo.bind(o, 42);
+ if (bf.length === 1) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-1.js
index 34e4eef14..97414a9f5 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-1.js
- * @description Function.prototype.bind, 'length' is a data valued own property
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- var desc = Object.getOwnPropertyDescriptor(bf, 'length');
- if (desc.hasOwnProperty('value') === true &&
- desc.hasOwnProperty('get') === false &&
- desc.hasOwnProperty('set') === false) {
- 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: Function.prototype.bind, 'length' is a data valued own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ var desc = Object.getOwnPropertyDescriptor(bf, 'length');
+ if (desc.hasOwnProperty('value') === true &&
+ desc.hasOwnProperty('get') === false &&
+ desc.hasOwnProperty('set') === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-2.js
index 2297286a7..20433efc4 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-2.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-2.js
- * @description Function.prototype.bind, 'length' is a data valued own property with default attributes (false)
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- var desc = Object.getOwnPropertyDescriptor(bf, 'length');
- if (desc.value === 0 &&
- desc.enumerable === false &&
- desc.writable === false &&
- desc.configurable == false) {
- 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: >
+ Function.prototype.bind, 'length' is a data valued own property
+ with default attributes (false)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ var desc = Object.getOwnPropertyDescriptor(bf, 'length');
+ if (desc.value === 0 &&
+ desc.enumerable === false &&
+ desc.writable === false &&
+ desc.configurable == false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-3.js
index e5e332c7f..d62f34d3b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-3.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-3.js
- * @description Function.prototype.bind - The [[Writable]] attribute of length property in F set as false
- */
-
-
-function testcase() {
-
- var canWritable = false;
- var hasProperty = false;
- function foo() { }
- var obj = foo.bind({});
- hasProperty = obj.hasOwnProperty("length");
- obj.length = 100;
- canWritable = (obj.length === 100);
- return hasProperty && !canWritable;
- }
-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: >
+ Function.prototype.bind - The [[Writable]] attribute of length
+ property in F set as false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var canWritable = false;
+ var hasProperty = false;
+ function foo() { }
+ var obj = foo.bind({});
+ hasProperty = obj.hasOwnProperty("length");
+ obj.length = 100;
+ canWritable = (obj.length === 100);
+ return hasProperty && !canWritable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-4.js
index 954e03c68..1d08c65be 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-4.js
- * @description Function.prototype.bind - The [[Enumerable]] attribute of length property in F set as false
- */
-
-
-function testcase() {
-
- var canEnumerable = false;
- var hasProperty = false;
- function foo() { }
- var obj = foo.bind({});
- hasProperty = obj.hasOwnProperty("length");
- for (var prop in obj) {
- if (prop === "length") {
- canEnumerable = true;
- }
- }
- return hasProperty && !canEnumerable;
- }
-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: >
+ Function.prototype.bind - The [[Enumerable]] attribute of length
+ property in F set as false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var canEnumerable = false;
+ var hasProperty = false;
+ function foo() { }
+ var obj = foo.bind({});
+ hasProperty = obj.hasOwnProperty("length");
+ for (var prop in obj) {
+ if (prop === "length") {
+ canEnumerable = true;
+ }
+ }
+ return hasProperty && !canEnumerable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-5.js
index ba9d7d5ab..a6957cd5c 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-5.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-5.js
- * @description Function.prototype.bind - The [[Configurable]] attribute of length property in F set as false
- */
-
-
-function testcase() {
-
- var canConfigurable = false;
- var hasProperty = false;
- function foo() { }
- var obj = foo.bind({});
- hasProperty = obj.hasOwnProperty("length");
- delete obj.caller;
- canConfigurable = !obj.hasOwnProperty("length");
- return hasProperty && !canConfigurable;
- }
-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: >
+ Function.prototype.bind - The [[Configurable]] attribute of length
+ property in F set as false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var canConfigurable = false;
+ var hasProperty = false;
+ function foo() { }
+ var obj = foo.bind({});
+ hasProperty = obj.hasOwnProperty("length");
+ delete obj.caller;
+ canConfigurable = !obj.hasOwnProperty("length");
+ return hasProperty && !canConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-1.js
index db2db9513..5b4dcb9c8 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-1.js
- * @description Function.prototype.bind, [[Extensible]] of the bound fn is true
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- var ex = Object.isExtensible(bf);
- if (ex === true) {
- 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: Function.prototype.bind, [[Extensible]] of the bound fn is true
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ var ex = Object.isExtensible(bf);
+ if (ex === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-2.js
index b7412d54f..fa2ab259a 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-2.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-2.js
- * @description Function.prototype.bind - The [[Extensible]] attribute of internal property in F set as true
- */
-
-
-function testcase() {
-
- function foo() { }
- var obj = foo.bind({});
- obj.property = 12;
- return obj.hasOwnProperty("property");
- }
-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: >
+ Function.prototype.bind - The [[Extensible]] attribute of internal
+ property in F set as true
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function foo() { }
+ var obj = foo.bind({});
+ obj.property = 12;
+ return obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-1.js
index 3c6157285..6402d6377 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-1.js
@@ -1,29 +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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-1.js
- * @description Function.prototype.bind throws TypeError if the Target is not callable (but an instance of Function)
- */
-
-
-function testcase() {
- foo.prototype = Function.prototype;
- // dummy function
- function foo() {}
- var f = new foo();
-
- try {
- f.bind();
- }
- catch (e) {
- if (e instanceof TypeError) {
- 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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: >
+ Function.prototype.bind throws TypeError if the Target is not
+ callable (but an instance of Function)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = Function.prototype;
+ // dummy function
+ function foo() {}
+ var f = new foo();
+
+ try {
+ f.bind();
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-10.js
index 33ccf9e8c..6cf785d51 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-10.js
@@ -1,19 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-10.js
- * @description Function.prototype.bind throws TypeError if 'Target' is undefined
- */
-function testcase() {
- try {
- Function.prototype.bind.call(undefined);
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-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: Function.prototype.bind throws TypeError if 'Target' is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function.prototype.bind.call(undefined);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-11.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-11.js
index 84425babe..ca3e196f9 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-11.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-11.js
@@ -1,19 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-11.js
- * @description Function.prototype.bind throws TypeError if 'Target' is NULL
- */
-function testcase() {
- try {
- Function.prototype.bind.call(null);
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-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: Function.prototype.bind throws TypeError if 'Target' is NULL
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function.prototype.bind.call(null);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-12.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-12.js
index 64be86e10..0eed7c207 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-12.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-12.js
@@ -1,19 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-12.js
- * @description Function.prototype.bind throws TypeError if 'Target' is a boolean
- */
-function testcase() {
- try {
- Function.prototype.bind.call(true);
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-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: Function.prototype.bind throws TypeError if 'Target' is a boolean
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function.prototype.bind.call(true);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-13.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-13.js
index c0dabe21f..ac297f53e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-13.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-13.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
-/// 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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-13.js
- * @description Function.prototype.bind throws TypeError if 'Target' is a number
- */
-function testcase() {
- try {
- Function.prototype.bind.call(5);
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-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
+// 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: Function.prototype.bind throws TypeError if 'Target' is a number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function.prototype.bind.call(5);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-14.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-14.js
index 51ac5f943..d56026562 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-14.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-14.js
@@ -1,19 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-14.js
- * @description Function.prototype.bind throws TypeError if 'Target' is a string
- */
-function testcase() {
- try {
- Function.prototype.bind.call("abc");
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-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: Function.prototype.bind throws TypeError if 'Target' is a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function.prototype.bind.call("abc");
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-15.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-15.js
index 486e77a3f..664f49d6b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-15.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-15.js
@@ -1,21 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-15.js
- * @description Function.prototype.bind throws TypeError if 'Target' is Object without Call internal method
- */
-
-
-function testcase() {
- try {
- Function.prototype.bind.call({});
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-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: >
+ Function.prototype.bind throws TypeError if 'Target' is Object
+ without Call internal method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Function.prototype.bind.call({});
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-16.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-16.js
index 9af267814..cfadb95ec 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-16.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-16.js
@@ -1,22 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-16.js
- * @description Function.prototype.bind - 'Target' is a function
- */
-
-
-function testcase() {
- function testFunc() {}
- try {
- testFunc.bind();
- return true;
- } catch (e) {
- 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.
+
+/*---
+description: Function.prototype.bind - 'Target' is a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function testFunc() {}
+ try {
+ testFunc.bind();
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-2.js
index cadeefde8..769c7f343 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-2.js
@@ -1,29 +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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-2.js
- * @description Function.prototype.bind throws TypeError if the Target is not callable (bind attached to object)
- */
-
-
-function testcase() {
- // dummy function
- function foo() {}
- var f = new foo();
- f.bind = Function.prototype.bind;
-
- try {
- f.bind();
- }
- catch (e) {
- if (e instanceof TypeError) {
- 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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: >
+ Function.prototype.bind throws TypeError if the Target is not
+ callable (bind attached to object)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ // dummy function
+ function foo() {}
+ var f = new foo();
+ f.bind = Function.prototype.bind;
+
+ try {
+ f.bind();
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-3.js
index a59b76a22..6b36cb39b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-3.js
@@ -1,21 +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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-3.js
- * @description Function.prototype.bind allows Target to be a constructor (Number)
- */
-
-
-function testcase() {
- var bnc = Number.bind(null);
- var n = bnc(42);
- if (n === 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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: Function.prototype.bind allows Target to be a constructor (Number)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var bnc = Number.bind(null);
+ var n = bnc(42);
+ if (n === 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-4.js
index 9595be580..86a5c3fd7 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-4.js
@@ -1,21 +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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-4.js
- * @description Function.prototype.bind allows Target to be a constructor (String)
- */
-
-
-function testcase() {
- var bsc = String.bind(null);
- var s = bsc("hello world");
- if (s === "hello world") {
- 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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: Function.prototype.bind allows Target to be a constructor (String)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var bsc = String.bind(null);
+ var s = bsc("hello world");
+ if (s === "hello world") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-5.js
index 760b7bad3..ca030b8f5 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-5.js
@@ -1,21 +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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-5.js
- * @description Function.prototype.bind allows Target to be a constructor (Boolean)
- */
-
-
-function testcase() {
- var bbc = Boolean.bind(null);
- var b = bbc(true);
- if (b === true) {
- 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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: Function.prototype.bind allows Target to be a constructor (Boolean)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var bbc = Boolean.bind(null);
+ var b = bbc(true);
+ if (b === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-6.js
index c58f76684..44b6e0f21 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-6.js
@@ -1,21 +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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-6.js
- * @description Function.prototype.bind allows Target to be a constructor (Object)
- */
-
-
-function testcase() {
- var boc = Object.bind(null);
- var o = boc(42);
- if (o == 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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: Function.prototype.bind allows Target to be a constructor (Object)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var boc = Object.bind(null);
+ var o = boc(42);
+ if (o == 42) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-7.js
index f40385247..69846ed01 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-7.js
@@ -1,24 +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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-7.js
- * @description Function.prototype.bind throws TypeError if the Target is not callable (JSON)
- */
-
-
-function testcase() {
- try {
- JSON.bind();
- }
- catch (e) {
- if (e instanceof TypeError) {
- 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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: >
+ Function.prototype.bind throws TypeError if the Target is not
+ callable (JSON)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ JSON.bind();
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-8.js
index 96b3d395f..fbe540042 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-8.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.
-/**
- * 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target is not callable.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-8.js
- * @description Function.prototype.bind allows Target to be a constructor (Array)
- */
-
-
-function testcase() {
- var bac = Array.bind(null);
- var a = bac(42);
- a.prop = "verifyPropertyExist";
- a[41] = 41;
-
- return a.prop === "verifyPropertyExist" && a[41] === 41 && a.length === 42;
- }
-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: >
+ 15.3.4.5 step 2 specifies that a TypeError must be thrown if the Target
+ is not callable.
+description: Function.prototype.bind allows Target to be a constructor (Array)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var bac = Array.bind(null);
+ var a = bac(42);
+ a.prop = "verifyPropertyExist";
+ a[41] = 41;
+
+ return a.prop === "verifyPropertyExist" && a[41] === 41 && a.length === 42;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-9.js
index 35994e613..96740bea0 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-9.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-9.js
- * @description Function.prototype.bind allows Target to be a constructor (Date)
- */
-
-
-function testcase() {
- var bdc = Date.bind(null);
- var s = bdc(0, 0, 0);
- if (typeof(s) === 'string') {
- 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: Function.prototype.bind allows Target to be a constructor (Date)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var bdc = Date.bind(null);
+ var s = bdc(0, 0, 0);
+ if (typeof(s) === 'string') {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-1.js
index 6baa890d9..b69e287cc 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-1.js
- * @description Function.prototype.bind - 'caller' is defined as one property of 'F'
- */
-
-
-function testcase() {
-
- function foo() { }
- var obj = foo.bind({});
- return obj.hasOwnProperty("caller");
- }
-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: >
+ Function.prototype.bind - 'caller' is defined as one property of
+ 'F'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function foo() { }
+ var obj = foo.bind({});
+ return obj.hasOwnProperty("caller");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-2.js
index 97352a8ac..9077d78a7 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-2.js
@@ -1,22 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-2.js
- * @description Function.prototype.bind - [[Get]] attribute of 'caller' property in 'F' is thrower
- */
-
-
-function testcase() {
-
- function foo() { }
- var obj = foo.bind({});
- try {
- return obj.caller && false;
- } catch (ex) {
- return (ex instanceof TypeError);
- }
- }
-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: >
+ Function.prototype.bind - [[Get]] attribute of 'caller' property
+ in 'F' is thrower
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function foo() { }
+ var obj = foo.bind({});
+ try {
+ return obj.caller && false;
+ } catch (ex) {
+ return (ex instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-3.js
index d627779a3..868be1f04 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-3.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-3.js
- * @description Function.prototype.bind - [[Set]] attribute of 'caller' property in 'F' is thrower
- */
-
-
-function testcase() {
-
- function foo() { }
- var obj = foo.bind({});
- try {
- obj.caller = 12;
- return false;
- } catch (ex) {
- return (ex instanceof TypeError);
- }
- }
-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: >
+ Function.prototype.bind - [[Set]] attribute of 'caller' property
+ in 'F' is thrower
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function foo() { }
+ var obj = foo.bind({});
+ try {
+ obj.caller = 12;
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-4.js
index df5c63681..0b695b452 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-4.js
- * @description Function.prototype.bind - The [[Enumerable]] attribute of 'caller' property in 'F' is false
- */
-
-
-function testcase() {
-
- var canEnumerable = false;
- var hasProperty = false;
- function foo() { }
- var obj = foo.bind({});
- hasProperty = obj.hasOwnProperty("caller");
- for (var prop in obj) {
- if (prop === "caller") {
- canEnumerable = true;
- }
- }
- return hasProperty && !canEnumerable;
- }
-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: >
+ Function.prototype.bind - The [[Enumerable]] attribute of 'caller'
+ property in 'F' is false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var canEnumerable = false;
+ var hasProperty = false;
+ function foo() { }
+ var obj = foo.bind({});
+ hasProperty = obj.hasOwnProperty("caller");
+ for (var prop in obj) {
+ if (prop === "caller") {
+ canEnumerable = true;
+ }
+ }
+ return hasProperty && !canEnumerable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-5.js
index e5ff88537..1377dbcd4 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-5.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-5.js
- * @description Function.prototype.bind - The [[Configurable]] attribute of 'caller' property in 'F' is false
- */
-
-
-function testcase() {
-
- var canConfigurable = false;
- var hasProperty = false;
- function foo() { }
- var obj = foo.bind({});
- hasProperty = obj.hasOwnProperty("caller");
- delete obj.caller;
- canConfigurable = obj.hasOwnProperty("caller");
- return hasProperty && canConfigurable;
- }
-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: >
+ Function.prototype.bind - The [[Configurable]] attribute of
+ 'caller' property in 'F' is false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var canConfigurable = false;
+ var hasProperty = false;
+ function foo() { }
+ var obj = foo.bind({});
+ hasProperty = obj.hasOwnProperty("caller");
+ delete obj.caller;
+ canConfigurable = obj.hasOwnProperty("caller");
+ return hasProperty && canConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-1.js
index 2f4f76dff..a44f29d9e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-1.js
- * @description Function.prototype.bind - 'arguments' is defined as one property of 'F'
- */
-
-
-function testcase() {
-
- function foo() { }
- var obj = foo.bind({});
- return obj.hasOwnProperty("arguments");
- }
-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: >
+ Function.prototype.bind - 'arguments' is defined as one property
+ of 'F'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function foo() { }
+ var obj = foo.bind({});
+ return obj.hasOwnProperty("arguments");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-2.js
index 79b87cd9e..fde9b0460 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-2.js
@@ -1,22 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-2.js
- * @description Function.prototype.bind - [[Get]] attribute of 'arguments' property in 'F' is thrower
- */
-
-
-function testcase() {
-
- function foo() { }
- var obj = foo.bind({});
- try {
- return obj.arguments && false;
- } catch (ex) {
- return (ex instanceof TypeError);
- }
- }
-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: >
+ Function.prototype.bind - [[Get]] attribute of 'arguments'
+ property in 'F' is thrower
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function foo() { }
+ var obj = foo.bind({});
+ try {
+ return obj.arguments && false;
+ } catch (ex) {
+ return (ex instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-3.js
index 859b996fc..0b3a7948e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-3.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-3.js
- * @description Function.prototype.bind - [[Set]] attribute of 'arguments' property in 'F' is thrower
- */
-
-
-function testcase() {
-
- function foo() { }
- var obj = foo.bind({});
- try {
- obj.arguments = 12;
- return false;
- } catch (ex) {
- return (ex instanceof TypeError);
- }
- }
-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: >
+ Function.prototype.bind - [[Set]] attribute of 'arguments'
+ property in 'F' is thrower
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function foo() { }
+ var obj = foo.bind({});
+ try {
+ obj.arguments = 12;
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-4.js
index 1f2b9b5af..ad0b1a23e 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-4.js
- * @description Function.prototype.bind - The [[Enumerable]] attribute of 'arguments' property in 'F' is false
- */
-
-
-function testcase() {
-
- var canEnumerable = false;
- var hasProperty = false;
- function foo() { }
- var obj = foo.bind({});
- hasProperty = obj.hasOwnProperty("arguments");
- for (var prop in obj) {
- if (prop === "arguments") {
- canEnumerable = true;
- }
- }
- return hasProperty && !canEnumerable;
- }
-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: >
+ Function.prototype.bind - The [[Enumerable]] attribute of
+ 'arguments' property in 'F' is false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var canEnumerable = false;
+ var hasProperty = false;
+ function foo() { }
+ var obj = foo.bind({});
+ hasProperty = obj.hasOwnProperty("arguments");
+ for (var prop in obj) {
+ if (prop === "arguments") {
+ canEnumerable = true;
+ }
+ }
+ return hasProperty && !canEnumerable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-5.js
index fb5772d60..b8c4d86cb 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-5.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-5.js
- * @description Function.prototype.bind - The [[Configurable]] attribute of 'arguments' property in 'F' is false
- */
-
-
-function testcase() {
-
- var canConfigurable = false;
- var hasProperty = false;
- function foo() { }
- var obj = foo.bind({});
- hasProperty = obj.hasOwnProperty("arguments");
- delete obj.caller;
- canConfigurable = !obj.hasOwnProperty("arguments");
- return hasProperty && !canConfigurable;
- }
-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: >
+ Function.prototype.bind - The [[Configurable]] attribute of
+ 'arguments' property in 'F' is false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var canConfigurable = false;
+ var hasProperty = false;
+ function foo() { }
+ var obj = foo.bind({});
+ hasProperty = obj.hasOwnProperty("arguments");
+ delete obj.caller;
+ canConfigurable = !obj.hasOwnProperty("arguments");
+ return hasProperty && !canConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-3-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-3-1.js
index 919b1a01f..6ba9305b8 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-3-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-3-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-3-1.js
- * @description Function.prototype.bind - each arg is defined in A in list order
- */
-
-
-function testcase() {
-
- var foo = function (x, y) {
- return new Boolean((x + y) === "ab" && arguments[0] === "a" &&
- arguments[1] === "b" && arguments.length === 2);
- };
-
- var obj = foo.bind({}, "a", "b");
- return obj()==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: Function.prototype.bind - each arg is defined in A in list order
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function (x, y) {
+ return new Boolean((x + y) === "ab" && arguments[0] === "a" &&
+ arguments[1] === "b" && arguments.length === 2);
+ };
+
+ var obj = foo.bind({}, "a", "b");
+ return obj()==true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-1.js
index acc864358..db3e6de19 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-1.js
- * @description Function.prototype.bind - F can get own data property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- obj.property = 12;
- return obj.property === 12;
- }
-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: Function.prototype.bind - F can get own data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ obj.property = 12;
+ return obj.property === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-10.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-10.js
index 32f349895..2d984ed8d 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-10.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-10.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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-10.js
- * @description Function.prototype.bind - F can get own accessor property without a get function that overrides an inherited accessor property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- try {
- Object.defineProperty(Function.prototype, "property", {
- get: function () {
- return 3;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "property", {
- set: function () { }
- });
- return typeof (obj.property) === "undefined";
- } finally {
- delete Function.prototype.property;
- }
- }
-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: >
+ Function.prototype.bind - F can get own accessor property without
+ a get function that overrides an inherited accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ try {
+ Object.defineProperty(Function.prototype, "property", {
+ get: function () {
+ return 3;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "property", {
+ set: function () { }
+ });
+ return typeof (obj.property) === "undefined";
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-11.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-11.js
index ec08f1129..c5041152b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-11.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-11.js
@@ -1,27 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-11.js
- * @description Function.prototype.bind - F can get inherited accessor property without a get function
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- try {
- Object.defineProperty(Function.prototype, "property", {
- set: function () { },
- configurable: true
- });
- return typeof (obj.property) === "undefined";
- } finally {
- delete Function.prototype.property;
- }
- }
-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: >
+ Function.prototype.bind - F can get inherited accessor property
+ without a get function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ try {
+ Object.defineProperty(Function.prototype, "property", {
+ set: function () { },
+ configurable: true
+ });
+ return typeof (obj.property) === "undefined";
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-12.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-12.js
index 1071f6462..60eca15fa 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-12.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-12.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-12.js
- * @description Function.prototype.bind - F cannot get property which doesn't exist
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- return typeof (obj.property) === "undefined";
- }
-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: Function.prototype.bind - F cannot get property which doesn't exist
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ return typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-2.js
index 465322918..7d6f87b67 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-2.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-2.js
- * @description Function.prototype.bind - F can get inherited data property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- try {
- Function.prototype.property = 12;
- return obj.property === 12;
- } finally {
- delete Function.prototype.property;
- }
- }
-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: Function.prototype.bind - F can get inherited data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ try {
+ Function.prototype.property = 12;
+ return obj.property === 12;
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-3.js
index 18570e273..b106908c0 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-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.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-3.js
- * @description Function.prototype.bind - F can get own data property that overrides an inherited data property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
-
- try {
- Function.prototype.property = 3;
- obj.property = 12;
- return obj.property === 12;
- } finally {
- delete Function.prototype.property;
- }
- }
-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: >
+ Function.prototype.bind - F can get own data property that
+ overrides an inherited data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+
+ try {
+ Function.prototype.property = 3;
+ obj.property = 12;
+ return obj.property === 12;
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-4.js
index ef687d6fd..357c005fe 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-4.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-4.js
- * @description Function.prototype.bind - F can get own data property that overrides an inherited accessor property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- try {
- Object.defineProperty(Function.prototype, "property", {
- get: function () {
- return 3;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "property", {
- value: 12
- });
-
- return obj.property === 12;
- } finally {
- delete Function.prototype.property;
- }
- }
-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: >
+ Function.prototype.bind - F can get own data property that
+ overrides an inherited accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ try {
+ Object.defineProperty(Function.prototype, "property", {
+ get: function () {
+ return 3;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "property", {
+ value: 12
+ });
+
+ return obj.property === 12;
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-5.js
index c98325793..b51137416 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-5.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-5.js
- * @description Function.prototype.bind - F can get own accessor property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- Object.defineProperty(obj, "property", {
- get: function () {
- return 12;
- }
- });
- return obj.property === 12;
- }
-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: Function.prototype.bind - F can get own accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 12;
+ }
+ });
+ return obj.property === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-6.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-6.js
index 3cff59da8..3240abd31 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-6.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-6.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-6.js
- * @description Function.prototype.bind - F can get inherited accessor property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- try {
- Object.defineProperty(Function.prototype, "property", {
- get: function () {
- return 12;
- },
- configurable: true
- });
- return obj.property === 12;
- } finally {
- delete Function.prototype.property;
- }
- }
-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: Function.prototype.bind - F can get inherited accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ try {
+ Object.defineProperty(Function.prototype, "property", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+ return obj.property === 12;
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js
index f41fe83a2..b428c3e21 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js
@@ -1,29 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js
- * @description Function.prototype.bind - F can get own accessor property that overrides an inherited data property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- try {
- Function.prototype.property = 3;
- Object.defineProperty(obj, "property", {
- get: function () {
- return 12;
- }
- });
- return obj.property === 12;
- } finally {
- delete Function.prototype.property;
- }
- }
-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: >
+ Function.prototype.bind - F can get own accessor property that
+ overrides an inherited data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ try {
+ Function.prototype.property = 3;
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 12;
+ }
+ });
+ return obj.property === 12;
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-8.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-8.js
index 2165355cc..3e4647a15 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-8.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-8.js
@@ -1,35 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-8.js
- * @description Function.prototype.bind - F can get own accessor property that overrides an inherited accessor property
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- try {
- Object.defineProperty(Function.prototype, "property", {
- get: function () {
- return 3;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return 12;
- }
- });
- return obj.property === 12;
- } finally {
- delete Function.prototype.property;
- }
- }
-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: >
+ Function.prototype.bind - F can get own accessor property that
+ overrides an inherited accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ try {
+ Object.defineProperty(Function.prototype, "property", {
+ get: function () {
+ return 3;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 12;
+ }
+ });
+ return obj.property === 12;
+ } finally {
+ delete Function.prototype.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-9.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-9.js
index 8c2d6fd24..b1895009b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-9.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-9.js
@@ -1,22 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-9.js
- * @description Function.prototype.bind - F can get own accessor property without a get function
- */
-
-
-function testcase() {
-
- var foo = function () { };
-
- var obj = foo.bind({});
- Object.defineProperty(obj, "property", {
- set: function () {}
- });
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-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: >
+ Function.prototype.bind - F can get own accessor property without
+ a get function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var foo = function () { };
+
+ var obj = foo.bind({});
+ Object.defineProperty(obj, "property", {
+ set: function () {}
+ });
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-1.js
index 4b6b7ded4..f8641bc43 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-1.js
- * @description Function.prototype.bind, type of bound function must be 'function'
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- if (typeof(bf) === 'function') {
- 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: Function.prototype.bind, type of bound function must be 'function'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ if (typeof(bf) === 'function') {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-2.js
index 65db6d625..c7704a9e7 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-2.js
@@ -1,22 +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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-8-2.js
- * @description Function.prototype.bind, [[Class]] of bound function must be 'Function'
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- var s = Object.prototype.toString.call(bf);
- if (s === '[object Function]') {
- 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: >
+ Function.prototype.bind, [[Class]] of bound function must be
+ 'Function'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ var s = Object.prototype.toString.call(bf);
+ if (s === '[object Function]') {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-1.js
index b0fa31606..ac2b0c8da 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-1.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-1.js
- * @description Function.prototype.bind, [[Prototype]] is Function.prototype
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- if (Function.prototype.isPrototypeOf(bf)) {
- 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: Function.prototype.bind, [[Prototype]] is Function.prototype
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ if (Function.prototype.isPrototypeOf(bf)) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-2.js
index 8cff9369a..a15848d8b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-2.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 ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-9-2.js
- * @description Function.prototype.bind, [[Prototype]] is Function.prototype (using getPrototypeOf)
- */
-
-
-function testcase() {
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- if (Object.getPrototypeOf(bf) === Function.prototype) {
- 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: >
+ Function.prototype.bind, [[Prototype]] is Function.prototype
+ (using getPrototypeOf)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function foo() { }
+ var o = {};
+
+ var bf = foo.bind(o);
+ if (Object.getPrototypeOf(bf) === Function.prototype) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A1.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A1.js
index 65af32d2b..d4d1d582f 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A1.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A1.js
@@ -1,16 +1,13 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "caller" of bound function is poisoned (step 20)
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A1.js
- * @description A bound function should fail to find its "caller"
- * @negative TypeError
- */
+/*---
+info: "\"caller\" of bound function is poisoned (step 20)"
+description: A bound function should fail to find its "caller"
+negative: TypeError
+---*/
function foo() { return bar.caller; }
var bar = foo.bind({});
function baz() { return bar(); }
baz();
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A13.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A13.js
index 93892e868..791529e46 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A13.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A13.js
@@ -1,12 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A13.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.bind.call(undefined, {});
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A14.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A14.js
index 3fae6b26b..4bc49284b 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A14.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A14.js
@@ -1,12 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A14.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.bind.call(null, {});
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A15.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A15.js
index 25ac3d72a..03ba2d6be 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A15.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A15.js
@@ -1,12 +1,9 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A15.js
- * @description If IsCallable(func) is false, then throw a TypeError exception.
- * @negative TypeError
- */
+/*---
+description: If IsCallable(func) is false, then throw a TypeError exception.
+negative: TypeError
+---*/
Function.prototype.bind.call({}, {});
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A16.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A16.js
index d3336de71..4dc1a7ae2 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A16.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A16.js
@@ -1,12 +1,14 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If IsCallable(func) is false, then throw a TypeError exception.
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A16.js
- * @description A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case bind should accept it as a valid this value.
- */
+/*---
+info: If IsCallable(func) is false, then throw a TypeError exception.
+description: >
+ A RegExp is not a function, but it may be callable. Iff it is,
+ it's typeof should be 'function', in which case bind should accept
+ it as a valid this value.
+includes: [$FAIL.js]
+---*/
var re = (/x/);
if (typeof re === 'function') {
@@ -22,4 +24,3 @@ if (typeof re === 'function') {
}
}
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A2.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A2.js
index 7d94c7755..15defb8f8 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A2.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A2.js
@@ -1,16 +1,13 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "arguments" of bound function is poisoned (step 21)
- *
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A2.js
- * @description a bound function should fail to find the bound function "arguments"
- * @negative TypeError
- */
+/*---
+info: "\"arguments\" of bound function is poisoned (step 21)"
+description: a bound function should fail to find the bound function "arguments"
+negative: TypeError
+---*/
function foo() { return bar.arguments; }
var bar = foo.bind({});
function baz() { return bar(); }
baz();
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A3.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A3.js
index d0cd6bbaf..216eb0c63 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A3.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A3.js
@@ -1,12 +1,10 @@
// Copyright 2011 Google Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A3.js
- * @description Function.prototype.bind must exist
- */
+/*---
+description: Function.prototype.bind must exist
+---*/
if (!('bind' in Function.prototype)) {
$ERROR('Function.prototype.bind is missing');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A4.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A4.js
index 719fdb531..f38eab829 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A4.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A4.js
@@ -1,11 +1,11 @@
// Copyright 2011 Google Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A4.js
- * @description Function.prototype.bind call the original's internal
- * [[Call]] method rather than its .apply method.
- */
+/*---
+description: >
+ Function.prototype.bind call the original's internal [[Call]]
+ method rather than its .apply method.
+---*/
function foo() {}
@@ -14,4 +14,3 @@ foo.apply = function() {
$ERROR("Function.prototype.bind called original's .apply method");
};
b(55, 66);
-
diff --git a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A5.js b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A5.js
index c80624e16..b09950015 100644
--- a/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A5.js
+++ b/test/suite/ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A5.js
@@ -1,11 +1,11 @@
// Copyright 2011 Google Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.3/15.3.4/15.3.4.5/S15.3.4.5_A5.js
- * @description Function.prototype.bind must curry [[Construct]] as
- * well as [[Call]].
- */
+/*---
+description: >
+ Function.prototype.bind must curry [[Construct]] as well as
+ [[Call]].
+---*/
function construct(f, args) {
var bound = Function.prototype.bind.apply(f, [null].concat(args));
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4.1_A1_T1.js b/test/suite/ch15/15.3/15.3.4/S15.3.4.1_A1_T1.js
index f41d2d94a..53063d157 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4.1_A1_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4.1_A1_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 initial value of Function.prototype.constructor is the built-in Function constructor
- *
- * @path ch15/15.3/15.3.4/S15.3.4.1_A1_T1.js
- * @description Checking Function.prototype.constructor
- */
+/*---
+info: >
+ The initial value of Function.prototype.constructor is the built-in
+ Function constructor
+description: Checking Function.prototype.constructor
+---*/
//CHECK#1
if (Function.prototype.constructor !== Function) {
$ERROR('#1: The initial value of Function.prototype.constructor is the built-in Function constructor');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A1.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A1.js
index f73e867b7..27576ea16 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A1.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_A1.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 Function prototype object is itself a Function object (its [[Class]] is "Function")
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A1.js
- * @description Object.prototype.toString returns [object+[[Class]]+]
- */
+/*---
+info: >
+ The Function prototype object is itself a Function object (its [[Class]]
+ is "Function")
+description: Object.prototype.toString returns [object+[[Class]]+]
+---*/
if (Object.prototype.toString.call(Function.prototype) !== "[object Function]") {
$ERROR('#2: The Function prototype object is itself a Function ' +
'object (its [[Class]] is "Function") (15.3.4)');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T1.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T1.js
index 8a9e9cf66..30f64d762 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_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.
-/**
- * The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A2_T1.js
- * @description Call Function.prototype()
- */
+/*---
+info: >
+ The Function prototype object is itself a Function object that, when
+ invoked, accepts any arguments and returns undefined
+description: Call Function.prototype()
+---*/
//CHECK#1
try {
@@ -16,4 +16,3 @@ try {
} catch (e) {
$ERROR('#1.1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined: '+e);
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T2.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T2.js
index bbf5ac5ef..7a9a11258 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_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.
-/**
- * The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A2_T2.js
- * @description Call Function.prototype(null,void 0)
- */
+/*---
+info: >
+ The Function prototype object is itself a Function object that, when
+ invoked, accepts any arguments and returns undefined
+description: Call Function.prototype(null,void 0)
+---*/
//CHECK#1
try {
@@ -16,4 +16,3 @@ try {
} catch (e) {
$ERROR('#1.1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined: '+e);
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T3.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T3.js
index d01ed8e37..48e5b5838 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A2_T3.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_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.
-/**
- * The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A2_T3.js
- * @description Call Function.prototype(x), where x is undefined variable
- */
+/*---
+info: >
+ The Function prototype object is itself a Function object that, when
+ invoked, accepts any arguments and returns undefined
+description: Call Function.prototype(x), where x is undefined variable
+---*/
//CHECK#1
try {
@@ -17,5 +17,3 @@ try {
} catch (e) {
$ERROR('#1.1: The Function prototype object is itself a Function object that, when invoked, accepts any arguments and returns undefined: '+e);
}
-
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T1.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T1.js
index 0c0dd8bf4..2dd037682 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T1.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T1.js
@@ -1,16 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.4)
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A3_T1.js
- * @description Checking prototype of Function.prototype
- */
+/*---
+info: >
+ The value of the internal [[Prototype]] property of the Function
+ prototype object is the Object prototype object (15.3.4)
+description: Checking prototype of Function.prototype
+---*/
if (Object.getPrototypeOf(Function.prototype) !== Object.prototype) {
$ERROR('#1: The value of the internal [[Prototype]] property of ' +
'the Function prototype object is the Object prototype ' +
'object (15.3.4)');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T2.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T2.js
index c76ebc759..1f250812a 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_T2.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_A3_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.
-/**
- * The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.2.1)
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A3_T2.js
- * @description Add new property to Object.prototype and check it at Function.prototype
- */
+/*---
+info: >
+ The value of the internal [[Prototype]] property of the Function
+ prototype object is the Object prototype object (15.3.2.1)
+description: >
+ Add new property to Object.prototype and check it at
+ Function.prototype
+---*/
Object.prototype.indicator = 1;
@@ -14,4 +16,3 @@ Object.prototype.indicator = 1;
if (Function.prototype.indicator!==1) {
$ERROR('#1: The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.2.1)');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A4.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A4.js
index 39b96039a..b314dd8a2 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A4.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_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.
-/**
- * The Function prototype object does not have a valueOf property of its own. however, it inherits the valueOf property from the Object prototype Object
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A4.js
- * @description Checking valueOf property at Function.prototype
- */
+/*---
+info: >
+ The Function prototype object does not have a valueOf property of its
+ own. however, it inherits the valueOf property from the Object prototype
+ Object
+description: Checking valueOf property at Function.prototype
+---*/
//CHECK#1
if (Function.prototype.hasOwnProperty("valueOf") !== false) {
@@ -22,4 +23,3 @@ if (typeof Function.prototype.valueOf === "undefined") {
if (Function.prototype.valueOf !== Object.prototype.valueOf) {
$ERROR('#3: however, it inherits the valueOf property from the Object prototype Object');
}
-
diff --git a/test/suite/ch15/15.3/15.3.4/S15.3.4_A5.js b/test/suite/ch15/15.3/15.3.4/S15.3.4_A5.js
index d26add206..81f62eb3b 100644
--- a/test/suite/ch15/15.3/15.3.4/S15.3.4_A5.js
+++ b/test/suite/ch15/15.3/15.3.4/S15.3.4_A5.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.
-/**
- * The Function prototype object is itself a Function object without [[create]] property
- *
- * @path ch15/15.3/15.3.4/S15.3.4_A5.js
- * @description Checking if creating "new Function.prototype object" fails
- */
+/*---
+info: >
+ The Function prototype object is itself a Function object without
+ [[create]] property
+description: Checking if creating "new Function.prototype object" fails
+includes:
+ - $PRINT.js
+ - $FAIL.js
+---*/
//CHECK#
try {
@@ -16,4 +19,3 @@ try {
$PRINT("#1.1: The Function prototype object is itself a Function object without [[create]] property "+e);
}
-