aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.4/15.4.4/15.4.4.17
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.4/15.4.4/15.4.4.17')
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-1.js36
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-2.js34
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-1.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-10.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-11.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-12.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-13.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-14.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-15.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-2.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-3.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-4.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-5.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-6.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-7.js38
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-8.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-9.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-1.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-10.js84
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-11.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-12.js83
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-13.js74
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-14.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-15.js74
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-17.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-18.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-19.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-2.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-3.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-4.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-5.js94
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-6.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-7.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-8.js86
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-9.js100
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-1.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-10.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-11.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-12.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-13.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-14.js58
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-15.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-16.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-17.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-18.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-19.js78
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-2.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-20.js78
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-21.js91
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-22.js95
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-23.js106
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-24.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-25.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-28.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-29.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-3.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-4.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-5.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-6.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-7.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-8.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-9.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-1.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-10.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-11.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-12.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-15.js80
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-2.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-3.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-4.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-5.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-6.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-7.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-8.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-9.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-10.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-11.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-12.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-13.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-14.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-15.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-16.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-17.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-18.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-19.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-2.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-21.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-22.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-23.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-24.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-25.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-3.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-4.js58
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-5.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-6.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-7.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-9.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-1.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-2.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-3.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-4.js58
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-5.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-6.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-8.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-9.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-1.js58
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-10.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-11.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-12.js77
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-13.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-14.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-15.js88
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-16.js82
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-2.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-3.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-4.js80
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-5.js78
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-6.js84
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-7.js84
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-8.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-9.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-1.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-10.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-11.js83
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-12.js78
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-13.js99
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-14.js90
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-15.js82
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-16.js74
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-17.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-18.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-19.js69
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-2.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-20.js73
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-21.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-22.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-23.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-25.js57
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-26.js73
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-27.js81
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-28.js90
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-29.js90
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-3.js71
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-30.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-31.js78
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-4.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-5.js91
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-6.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-7.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-8.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-9.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-1.js58
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-11.js38
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-12.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-13.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-16.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-17.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-18.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-19.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-2.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-20.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-21.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-22.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-23.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-3.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-4.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-5.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-6.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-7.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-8.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-9.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-1.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-10.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-11.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-12.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-13.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-14.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-15.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-16.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-17.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-18.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-19.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-2.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-20.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-21.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-22.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-23.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-24.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-25.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-26.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-28.js94
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-29.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-3.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-4.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-5.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-6.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-7.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-8.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-9.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-1.js38
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-10.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-11.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-12.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-13.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-2.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-3.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-4.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-5.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-6.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-7.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-8.js82
214 files changed, 6409 insertions, 6106 deletions
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-1.js
index d5cfd8392..9966e7679 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-1.js
@@ -1,18 +1,18 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-1.js
- * @description Array.prototype.some must exist as a function
- */
-
-
-function testcase() {
- var f = Array.prototype.some;
- 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: Array.prototype.some must exist as a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var f = Array.prototype.some;
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-2.js
index 7dd7cbd4c..4cbbc2d26 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-0-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-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.4/15.4.4/15.4.4.17/15.4.4.17-0-2.js
- * @description Array.prototype.some.length must be 1
- */
-
-
-function testcase() {
- if (Array.prototype.some.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: Array.prototype.some.length must be 1
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ if (Array.prototype.some.length === 1) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-1.js
index 386fdaa9d..47167fcc2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-1.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-1.js
- * @description Array.prototype.some applied to undefined throws a TypeError
- */
-
-
-function testcase() {
- try {
- Array.prototype.some.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: Array.prototype.some applied to undefined throws a TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Array.prototype.some.call(undefined);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-10.js
index f255d37a1..1158857a2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-10.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-10.js
- * @description Array.prototype.some applied to the Math object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return '[object Math]' === Object.prototype.toString.call(obj);
- }
-
- try {
- Math.length = 1;
- Math[0] = 1;
- return Array.prototype.some.call(Math, callbackfn);
- } finally {
- delete Math[0];
- delete Math.length;
- }
- }
-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: Array.prototype.some applied to the Math object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return '[object Math]' === Object.prototype.toString.call(obj);
+ }
+
+ try {
+ Math.length = 1;
+ Math[0] = 1;
+ return Array.prototype.some.call(Math, callbackfn);
+ } finally {
+ delete Math[0];
+ delete Math.length;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-11.js
index 37d08eed8..3197786c9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-11.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.4/15.4.4/15.4.4.17/15.4.4.17-1-11.js
- * @description Array.prototype.some applied to Date object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof Date;
- }
-
- var obj = new Date();
- obj.length = 2;
- obj[0] = 11;
- obj[1] = 9;
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to Date object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Date;
+ }
+
+ var obj = new Date();
+ obj.length = 2;
+ obj[0] = 11;
+ obj[1] = 9;
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-12.js
index dc8e9aafc..77bdd2877 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-12.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.4/15.4.4/15.4.4.17/15.4.4.17-1-12.js
- * @description Array.prototype.some applied to RegExp object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof RegExp;
- }
-
- var obj = new RegExp();
- obj.length = 2;
- obj[0] = 11;
- obj[1] = 9;
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to RegExp object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof RegExp;
+ }
+
+ var obj = new RegExp();
+ obj.length = 2;
+ obj[0] = 11;
+ obj[1] = 9;
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-13.js
index 8f06254c2..bc463a575 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-13.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-13.js
- * @description Array.prototype.some applied to the JSON object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return '[object JSON]' === Object.prototype.toString.call(obj);
- }
-
- try {
- JSON.length = 1;
- JSON[0] = 1;
- return Array.prototype.some.call(JSON, callbackfn);
- } finally {
- delete JSON.length;
- delete JSON[0];
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some applied to the JSON object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return '[object JSON]' === Object.prototype.toString.call(obj);
+ }
+
+ try {
+ JSON.length = 1;
+ JSON[0] = 1;
+ return Array.prototype.some.call(JSON, callbackfn);
+ } finally {
+ delete JSON.length;
+ delete JSON[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-14.js
index 8adadc150..587b63240 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-14.js
@@ -1,23 +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.4/15.4.4/15.4.4.17/15.4.4.17-1-14.js
- * @description Array.prototype.some applied to Error object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof Error;
- }
-
- var obj = new Error();
- obj.length = 1;
- obj[0] = 1;
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to Error object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Error;
+ }
+
+ var obj = new Error();
+ obj.length = 1;
+ obj[0] = 1;
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-15.js
index 8edabbce6..d0ef01941 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-15.js
@@ -1,23 +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.4/15.4.4/15.4.4.17/15.4.4.17-1-15.js
- * @description Array.prototype.some applied to the Arguments object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return '[object Arguments]' === Object.prototype.toString.call(obj);
- }
-
- var obj = (function () {
- return arguments;
- }("a", "b"));
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to the Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return '[object Arguments]' === Object.prototype.toString.call(obj);
+ }
+
+ var obj = (function () {
+ return arguments;
+ }("a", "b"));
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-2.js
index b9b6ace52..ec05433aa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-2.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.4/15.4.4/15.4.4.17/15.4.4.17-1-2.js
- * @description Array.prototype.some applied to null throws a TypeError
- */
-
-
-function testcase() {
- try {
- Array.prototype.some.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: Array.prototype.some applied to null throws a TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Array.prototype.some.call(null);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-3.js
index 464db23a4..270bc1424 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-3.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-3.js
- * @description Array.prototype.some applied to boolean primitive
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof Boolean;
- }
-
- try {
- Boolean.prototype[0] = 1;
- Boolean.prototype.length = 1;
- return Array.prototype.some.call(false, callbackfn);
- } finally {
- delete Boolean.prototype[0];
- delete Boolean.prototype.length;
- }
- }
-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: Array.prototype.some applied to boolean primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Boolean;
+ }
+
+ try {
+ Boolean.prototype[0] = 1;
+ Boolean.prototype.length = 1;
+ return Array.prototype.some.call(false, callbackfn);
+ } finally {
+ delete Boolean.prototype[0];
+ delete Boolean.prototype.length;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-4.js
index ea1cc1d1c..3b2172f1c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-4.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.4/15.4.4/15.4.4.17/15.4.4.17-1-4.js
- * @description Array.prototype.some applied to Boolean object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof Boolean;
- }
-
- var obj = new Boolean(true);
- obj.length = 2;
- obj[0] = 11;
- obj[1] = 9;
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to Boolean object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Boolean;
+ }
+
+ var obj = new Boolean(true);
+ obj.length = 2;
+ obj[0] = 11;
+ obj[1] = 9;
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-5.js
index 4891b48b0..4aca1b86d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-5.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-5.js
- * @description Array.prototype.some applied to number primitive
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof Number;
- }
-
- try {
- Number.prototype[1] = true;
- Number.prototype.length = 2;
-
- return Array.prototype.some.call(5, callbackfn);
- } finally {
- delete Number.prototype[1];
- delete Number.prototype.length;
- }
- }
-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: Array.prototype.some applied to number primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Number;
+ }
+
+ try {
+ Number.prototype[1] = true;
+ Number.prototype.length = 2;
+
+ return Array.prototype.some.call(5, callbackfn);
+ } finally {
+ delete Number.prototype[1];
+ delete Number.prototype.length;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-6.js
index a88ffa329..ecb0fe6fa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-6.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.4/15.4.4/15.4.4.17/15.4.4.17-1-6.js
- * @description Array.prototype.some applied to Number object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof Number;
- }
-
- var obj = new Number(-128);
- obj.length = 2;
- obj[0] = 11;
- obj[1] = 9;
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to Number object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Number;
+ }
+
+ var obj = new Number(-128);
+ obj.length = 2;
+ obj[0] = 11;
+ obj[1] = 9;
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-7.js
index b516a2268..dfa230012 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-7.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.4/15.4.4/15.4.4.17/15.4.4.17-1-7.js
- * @description Array.prototype.some applied to applied to string primitive
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof String;
- }
-
- return Array.prototype.some.call("hello\nw_orld\\!", callbackfn);
- }
-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: Array.prototype.some applied to applied to string primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof String;
+ }
+
+ return Array.prototype.some.call("hello\nw_orld\\!", callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-8.js
index f9dc1b2c5..753fabc3d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-8.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.4/15.4.4/15.4.4.17/15.4.4.17-1-8.js
- * @description Array.prototype.some applied to String object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof String;
- }
-
- var obj = new String("hello\nw_orld\\!");
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to String object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof String;
+ }
+
+ var obj = new String("hello\nw_orld\\!");
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-9.js
index 1009d7650..c68e1eb2d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-1-9.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.4/15.4.4/15.4.4.17/15.4.4.17-1-9.js
- * @description Array.prototype.some applied to Function object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return obj instanceof Function;
- }
-
- var obj = function (a, b) {
- return a + b;
- };
- obj[0] = 11;
- obj[1] = 9;
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: Array.prototype.some applied to Function object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Function;
+ }
+
+ var obj = function (a, b) {
+ return a + b;
+ };
+ obj[0] = 11;
+ obj[1] = 9;
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-1.js
index 1ad5c6d1e..e233cf531 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-1.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-1.js
- * @description Array.prototype.some - 'length' is own data property on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = {
- 0: 9,
- 1: 11,
- 2: 12,
- length: 2
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is own data property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = {
+ 0: 9,
+ 1: 11,
+ 2: 12,
+ length: 2
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-10.js
index 89bc36615..26bdd542b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-10.js
@@ -1,41 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-2-10.js
- * @description Array.prototype.some - 'length' is an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "length", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child[0] = 9;
- child[1] = 11;
- child[2] = 12;
-
- return Array.prototype.some.call(child, callbackfn1) &&
- !Array.prototype.some.call(child, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is an inherited accessor property
+ on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "length", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child[0] = 9;
+ child[1] = 11;
+ child[2] = 12;
+
+ return Array.prototype.some.call(child, callbackfn1) &&
+ !Array.prototype.some.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-11.js
index 96bf7e815..97f64d60c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-11.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-11.js
- * @description Array.prototype.some - 'length' is an own accessor property without a get function on an Array-like object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = {
- 0: 11,
- 1: 12
- };
- Object.defineProperty(obj, "length", {
- set: function () { },
- configurable: true
- });
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - 'length' is an own accessor property
+ without a get function on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = {
+ 0: 11,
+ 1: 12
+ };
+ Object.defineProperty(obj, "length", {
+ set: function () { },
+ configurable: true
+ });
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-12.js
index d0b5c31e3..e17a69e6d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-12.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-2-12.js
- * @description Array.prototype.some - 'length' is own accessor property without a get function that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- try {
- Object.defineProperty(Object.prototype, "length", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- var obj = { 0: 11, 1: 12 };
- Object.defineProperty(obj, "length", {
- set: function () { },
- configurable: true
- });
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- } finally {
- delete Object.prototype.length;
- }
-
- }
-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: >
+ Array.prototype.some - 'length' is own accessor property without a
+ get function that overrides an inherited accessor property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ try {
+ Object.defineProperty(Object.prototype, "length", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ var obj = { 0: 11, 1: 12 };
+ Object.defineProperty(obj, "length", {
+ set: function () { },
+ configurable: true
+ });
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ } finally {
+ delete Object.prototype.length;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-13.js
index 5fc7a68da..f10bab2a9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-13.js
@@ -1,36 +1,38 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-2-13.js
- * @description Array.prototype.some - 'length' is inherited accessor property without a get function on an Array-like object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var proto = {};
- Object.defineProperty(proto, "length", {
- set: function () { },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child[0] = 11;
- child[1] = 12;
-
- return !Array.prototype.some.call(child, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - 'length' is inherited accessor property
+ without a get function on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var proto = {};
+ Object.defineProperty(proto, "length", {
+ set: function () { },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child[0] = 11;
+ child[1] = 12;
+
+ return !Array.prototype.some.call(child, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-14.js
index 98e0b09bb..55e1d06c7 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-14.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.4/15.4.4/15.4.4.17/15.4.4.17-2-14.js
- * @description Array.prototype.some - 'length' property doesn't exist on an Array-like object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, 1: 12 };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - 'length' property doesn't exist on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, 1: 12 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-15.js
index 2b711ada2..05fa8d478 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-15.js
@@ -1,36 +1,38 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-2-15.js
- * @description Array.prototype.some - 'length' is property of the global object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- try {
- var oldLen = fnGlobalObject().length;
- fnGlobalObject()[0] = 9;
- fnGlobalObject()[1] = 11;
- fnGlobalObject()[2] = 12;
- fnGlobalObject().length = 2;
- return Array.prototype.some.call(fnGlobalObject(), callbackfn1) &&
- !Array.prototype.some.call(fnGlobalObject(), callbackfn2);
- } finally {
- delete fnGlobalObject()[0];
- delete fnGlobalObject()[1];
- delete fnGlobalObject()[2];
- fnGlobalObject().length = oldLen;
- }
- }
-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: Array.prototype.some - 'length' is property of the global object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ try {
+ var oldLen = fnGlobalObject().length;
+ fnGlobalObject()[0] = 9;
+ fnGlobalObject()[1] = 11;
+ fnGlobalObject()[2] = 12;
+ fnGlobalObject().length = 2;
+ return Array.prototype.some.call(fnGlobalObject(), callbackfn1) &&
+ !Array.prototype.some.call(fnGlobalObject(), callbackfn2);
+ } finally {
+ delete fnGlobalObject()[0];
+ delete fnGlobalObject()[1];
+ delete fnGlobalObject()[2];
+ fnGlobalObject().length = oldLen;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-17.js
index 486f6ae83..ee0d4c0a2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-17.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.4/15.4.4/15.4.4.17/15.4.4.17-2-17.js
- * @description Array.prototype.some applied to the Arguments object which implements its own property get method
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var func = function (a, b) {
- arguments[2] = 12;
- return Array.prototype.some.call(arguments, callbackfn1) &&
- !Array.prototype.some.call(arguments, callbackfn2);
- };
-
- return func(9, 11);
- }
-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: >
+ Array.prototype.some applied to the Arguments object which
+ implements its own property get method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var func = function (a, b) {
+ arguments[2] = 12;
+ return Array.prototype.some.call(arguments, callbackfn1) &&
+ !Array.prototype.some.call(arguments, callbackfn2);
+ };
+
+ return func(9, 11);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-18.js
index 75ceff7b8..14e45e7a6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-18.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-18.js
- * @description Array.prototype.some applied to String object which implements its own property get method
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return parseInt(val, 10) > 1;
- }
-
- function callbackfn2(val, idx, obj) {
- return parseInt(val, 10) > 2;
- }
-
- var str = new String("12");
- try {
- String.prototype[2] = "3";
- return Array.prototype.some.call(str, callbackfn1) &&
- !Array.prototype.some.call(str, callbackfn2);
- } finally {
- delete String.prototype[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: >
+ Array.prototype.some applied to String object which implements its
+ own property get method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return parseInt(val, 10) > 1;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return parseInt(val, 10) > 2;
+ }
+
+ var str = new String("12");
+ try {
+ String.prototype[2] = "3";
+ return Array.prototype.some.call(str, callbackfn1) &&
+ !Array.prototype.some.call(str, callbackfn2);
+ } finally {
+ delete String.prototype[2];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-19.js
index 29c3a9565..6becf0f81 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-19.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.4/15.4.4/15.4.4.17/15.4.4.17-2-19.js
- * @description Array.prototype.some applied to Function object which implements its own property get method
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var fun = function (a, b) {
- return a + b;
- };
- fun[0] = 9;
- fun[1] = 11;
- fun[2] = 12;
-
- return Array.prototype.some.call(fun, callbackfn1) &&
- !Array.prototype.some.call(fun, callbackfn2);
- }
-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: >
+ Array.prototype.some applied to Function object which implements
+ its own property get method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var fun = function (a, b) {
+ return a + b;
+ };
+ fun[0] = 9;
+ fun[1] = 11;
+ fun[2] = 12;
+
+ return Array.prototype.some.call(fun, callbackfn1) &&
+ !Array.prototype.some.call(fun, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-2.js
index 0fe733308..e8ee55e8e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-2.js
@@ -1,30 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-2.js
- * @description Array.prototype.some - 'length' is own data property on an Array
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- try {
- Array.prototype[2] = 12;
-
- return [9, 11].some(callbackfn1) &&
- ![9, 11].some(callbackfn2);
- } finally {
- delete Array.prototype[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: Array.prototype.some - 'length' is own data property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ try {
+ Array.prototype[2] = 12;
+
+ return [9, 11].some(callbackfn1) &&
+ ![9, 11].some(callbackfn2);
+ } finally {
+ delete Array.prototype[2];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-3.js
index 389e73d6e..e272f1408 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-3.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.4/15.4.4/15.4.4.17/15.4.4.17-2-3.js
- * @description Array.prototype.some - 'length' is an own data property that overrides an inherited data property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var proto = { length: 3 };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 2;
- child[0] = 9;
- child[1] = 11;
- child[2] = 12;
-
- return Array.prototype.some.call(child, callbackfn1) &&
- !Array.prototype.some.call(child, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is an own data property that
+ overrides an inherited data property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var proto = { length: 3 };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 2;
+ child[0] = 9;
+ child[1] = 11;
+ child[2] = 12;
+
+ return Array.prototype.some.call(child, callbackfn1) &&
+ !Array.prototype.some.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-4.js
index 4d255e167..e9c6734a9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-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.4/15.4.4/15.4.4.17/15.4.4.17-2-4.js
- * @description Array.prototype.some - 'length' is an own data property that overrides an inherited data property on an array
- */
-
-
-function testcase() {
- var arrProtoLen = 0;
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- try {
- arrProtoLen = Array.prototype.length;
- Array.prototype.length = 0;
- Array.prototype[2] = 12;
-
- return [9, 11].some(callbackfn1) &&
- ![9, 11].some(callbackfn2);
- } finally {
- Array.prototype.length = arrProtoLen;
- delete Array.prototype[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: >
+ Array.prototype.some - 'length' is an own data property that
+ overrides an inherited data property on an array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrProtoLen = 0;
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ try {
+ arrProtoLen = Array.prototype.length;
+ Array.prototype.length = 0;
+ Array.prototype[2] = 12;
+
+ return [9, 11].some(callbackfn1) &&
+ ![9, 11].some(callbackfn2);
+ } finally {
+ Array.prototype.length = arrProtoLen;
+ delete Array.prototype[2];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-5.js
index 99fa41506..2df4e7ce8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-5.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-2-5.js
- * @description Array.prototype.some - 'length' is an own data property that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "length", {
- get: function () {
- return 3;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "length", {
- value: 2,
- configurable: true
- });
-
- child[0] = 9;
- child[1] = 11;
- child[2] = 12;
-
- return Array.prototype.some.call(child, callbackfn1) &&
- !Array.prototype.some.call(child, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is an own data property that
+ overrides an inherited accessor property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "length", {
+ get: function () {
+ return 3;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "length", {
+ value: 2,
+ configurable: true
+ });
+
+ child[0] = 9;
+ child[1] = 11;
+ child[2] = 12;
+
+ return Array.prototype.some.call(child, callbackfn1) &&
+ !Array.prototype.some.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-6.js
index faf766a32..0790b7499 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-6.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.4/15.4.4/15.4.4.17/15.4.4.17-2-6.js
- * @description Array.prototype.some - 'length' is an inherited data property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var proto = { length: 2 };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child[0] = 9;
- child[1] = 11;
- child[2] = 12;
-
- return Array.prototype.some.call(child, callbackfn1) &&
- !Array.prototype.some.call(child, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is an inherited data property on
+ an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var proto = { length: 2 };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child[0] = 9;
+ child[1] = 11;
+ child[2] = 12;
+
+ return Array.prototype.some.call(child, callbackfn1) &&
+ !Array.prototype.some.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-7.js
index c4ea2cdab..7cfc7f102 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-7.js
@@ -1,37 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-7.js
- * @description Array.prototype.some - 'length' is an own accessor property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { };
-
- Object.defineProperty(obj, "length", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- obj[0] = 9;
- obj[1] = 11;
- obj[2] = 12;
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is an own accessor property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { };
+
+ Object.defineProperty(obj, "length", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ obj[0] = 9;
+ obj[1] = 11;
+ obj[2] = 12;
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-8.js
index bbb7d2d56..a7dc10cab 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-8.js
@@ -1,42 +1,44 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-2-8.js
- * @description Array.prototype.some - 'length' is an own accessor property that overrides an inherited data property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var proto = { length: 3 };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
-
- Object.defineProperty(child, "length", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- child[0] = 9;
- child[1] = 11;
- child[2] = 12;
-
- return Array.prototype.some.call(child, callbackfn1) &&
- !Array.prototype.some.call(child, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is an own accessor property that
+ overrides an inherited data property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var proto = { length: 3 };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ Object.defineProperty(child, "length", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ child[0] = 9;
+ child[1] = 11;
+ child[2] = 12;
+
+ return Array.prototype.some.call(child, callbackfn1) &&
+ !Array.prototype.some.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-9.js
index bd5c17766..d83044adf 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-2-9.js
@@ -1,49 +1,51 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-2-9.js
- * @description Array.prototype.some - 'length' is an own accessor property that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "length", {
- get: function () {
- return 3;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
-
- Object.defineProperty(child, "length", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- child[0] = 9;
- child[1] = 11;
- child[2] = 12;
-
- return Array.prototype.some.call(child, callbackfn1) &&
- !Array.prototype.some.call(child, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is an own accessor property that
+ overrides an inherited accessor property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "length", {
+ get: function () {
+ return 3;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ Object.defineProperty(child, "length", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ child[0] = 9;
+ child[1] = 11;
+ child[2] = 12;
+
+ return Array.prototype.some.call(child, callbackfn1) &&
+ !Array.prototype.some.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-1.js
index 7d1d42a63..88cacdf2c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-1.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-3-1.js
- * @description Array.prototype.some - value of 'length' is undefined
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, length: undefined };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - value of 'length' is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, length: undefined };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-10.js
index d532386d6..3110add83 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-10.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-3-10.js
- * @description Array.prototype.some - value of 'length' is a number (value is NaN)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, length: NaN };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - value of 'length' is a number (value is NaN)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, length: NaN };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-11.js
index b254d22be..efa4f2852 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-11.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.4/15.4.4/15.4.4.17/15.4.4.17-3-11.js
- * @description Array.prototype.some - 'length' is a string containing a positive number
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: "2" };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is a string containing a positive
+ number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: "2" };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-12.js
index 83d280f6d..ce8ae4685 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-12.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.4/15.4.4/15.4.4.17/15.4.4.17-3-12.js
- * @description Array.prototype.some - 'length' is a string containing a negative number
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: "-4294967294" };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is a string containing a negative
+ number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: "-4294967294" };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-13.js
index 85c3efb6c..7a172fcd8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-13.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.4/15.4.4/15.4.4.17/15.4.4.17-3-13.js
- * @description Array.prototype.some - 'length' is a string containing a decimal number
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: "2.5" };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is a string containing a decimal
+ number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: "2.5" };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-14.js
index 4d42107cb..1ba6d027e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-14.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.4/15.4.4/15.4.4.17/15.4.4.17-3-14.js
- * @description Array.prototype.some - 'length' is a string containing +/-Infinity
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var objOne = { 0: 11, length: "Infinity" };
- var objTwo = { 0: 11, length: "+Infinity" };
- var objThree = { 0: 11, length: "-Infinity" };
-
- return !Array.prototype.some.call(objOne, callbackfn) &&
- !Array.prototype.some.call(objTwo, callbackfn) &&
- !Array.prototype.some.call(objThree, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - 'length' is a string containing +/-Infinity
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var objOne = { 0: 11, length: "Infinity" };
+ var objTwo = { 0: 11, length: "+Infinity" };
+ var objThree = { 0: 11, length: "-Infinity" };
+
+ return !Array.prototype.some.call(objOne, callbackfn) &&
+ !Array.prototype.some.call(objTwo, callbackfn) &&
+ !Array.prototype.some.call(objThree, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-15.js
index fe2815d48..e0d3dae19 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-15.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.4/15.4.4/15.4.4.17/15.4.4.17-3-15.js
- * @description Array.prototype.some - 'length' is a string containing an exponential number
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: "2E0" };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is a string containing an
+ exponential number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: "2E0" };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-16.js
index 96bf6c4e7..6ca2fccac 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-16.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-16.js
- * @description Array.prototype.some - 'length' is a string containing a hex number
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: "0x0002" };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: Array.prototype.some - 'length' is a string containing a hex number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: "0x0002" };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-17.js
index b620c5ee1..21b6b3d2f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-17.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.4/15.4.4/15.4.4.17/15.4.4.17-3-17.js
- * @description Array.prototype.some - 'length' is a string containing a number with leading zeros
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: "0002.00" };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - 'length' is a string containing a number
+ with leading zeros
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: "0002.00" };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-18.js
index d03e440a5..52b688a9f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-18.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.4/15.4.4/15.4.4.17/15.4.4.17-3-18.js
- * @description Array.prototype.some - value of 'length' is a string that can't convert to a number
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, 1: 21, length: "two" };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - value of 'length' is a string that can't
+ convert to a number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, 1: 21, length: "two" };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-19.js
index d5b69fa62..a334d65dc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-19.js
@@ -1,38 +1,40 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-3-19.js
- * @description Array.prototype.some - value of 'length' is an Object which has an own toString method
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var toStringAccessed = false;
- var obj = {
- 0: 9,
- 1: 11,
- 2: 12,
-
- length: {
- toString: function () {
- toStringAccessed = true;
- return '2';
- }
- }
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2) && toStringAccessed;
- }
-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: >
+ Array.prototype.some - value of 'length' is an Object which has an
+ own toString method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var toStringAccessed = false;
+ var obj = {
+ 0: 9,
+ 1: 11,
+ 2: 12,
+
+ length: {
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ }
+ }
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2) && toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-2.js
index c72d55cd5..2c8e9e602 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-2.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-2.js
- * @description Array.prototype.some on an Array-like object if 'length' is 1 (length overridden to true(type conversion))
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 11, 1: 12, length: true };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some on an Array-like object if 'length' is 1
+ (length overridden to true(type conversion))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 11, 1: 12, length: true };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-20.js
index 698a10b66..96e35f194 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-20.js
@@ -1,38 +1,40 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-3-20.js
- * @description Array.prototype.some - value of 'length' is an Object which has an own valueOf method
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var valueOfAccessed = false;
-
- var obj = {
- 0: 9,
- 1: 11,
- 2: 12,
- length: {
- valueOf: function () {
- valueOfAccessed = true;
- return 2;
- }
- }
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2) && valueOfAccessed;
- }
-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: >
+ Array.prototype.some - value of 'length' is an Object which has an
+ own valueOf method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var valueOfAccessed = false;
+
+ var obj = {
+ 0: 9,
+ 1: 11,
+ 2: 12,
+ length: {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return 2;
+ }
+ }
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2) && valueOfAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-21.js
index b6f1f2e82..6d4cd707a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-21.js
@@ -1,44 +1,47 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-3-21.js
- * @description Array.prototype.some - 'length' is an object that has an own valueOf method that returns an object and toString method that returns a string
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- var obj = {
- 0: 9,
- 1: 11,
- 2: 12,
- length: {
- valueOf: function () {
- valueOfAccessed = true;
- return {};
- },
- toString: function () {
- toStringAccessed = true;
- return '2';
- }
- }
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2) &&
- valueOfAccessed && toStringAccessed;
- }
-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: >
+ Array.prototype.some - 'length' is an object that has an own
+ valueOf method that returns an object and toString method that
+ returns a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ var obj = {
+ 0: 9,
+ 1: 11,
+ 2: 12,
+ length: {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return {};
+ },
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ }
+ }
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2) &&
+ valueOfAccessed && toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-22.js
index e8726b572..275429850 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-22.js
@@ -1,46 +1,49 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-3-22.js
- * @description Array.prototype.some throws TypeError exception when 'length' is an object with toString and valueOf methods that don�t return primitive values
- */
-
-
-function testcase() {
-
- var callbackfnAccessed = false;
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- function callbackfn(val, idx, obj) {
- callbackfnAccessed = true;
- return val > 10;
- }
-
- var obj = {
- 0: 11,
- 1: 12,
-
- length: {
- valueOf: function () {
- valueOfAccessed = true;
- return {};
- },
- toString: function () {
- toStringAccessed = true;
- return {};
- }
- }
- };
-
- try {
- Array.prototype.some.call(obj, callbackfn);
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && toStringAccessed && valueOfAccessed && !callbackfnAccessed;
- }
- }
-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: >
+ Array.prototype.some throws TypeError exception when 'length' is
+ an object with toString and valueOf methods that don�t return
+ primitive values
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callbackfnAccessed = false;
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ function callbackfn(val, idx, obj) {
+ callbackfnAccessed = true;
+ return val > 10;
+ }
+
+ var obj = {
+ 0: 11,
+ 1: 12,
+
+ length: {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return {};
+ },
+ toString: function () {
+ toStringAccessed = true;
+ return {};
+ }
+ }
+ };
+
+ try {
+ Array.prototype.some.call(obj, callbackfn);
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && toStringAccessed && valueOfAccessed && !callbackfnAccessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-23.js
index 0d3e71087..edfd1a604 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-23.js
@@ -1,52 +1,54 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-3-23.js
- * @description Array.prototype.some uses inherited valueOf method when 'length' is an object with an own toString and inherited valueOf methods
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var valueOfAccessed = false;
- var toStringAccessed = false;
-
- var proto = {
- valueOf: function () {
- valueOfAccessed = true;
- return 2;
- }
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
-
- child.toString = function () {
- toStringAccessed = true;
- return '1';
- };
-
- var obj = {
- 0: 9,
- 1: 11,
- 2: 12,
- length: child
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2) &&
- valueOfAccessed && !toStringAccessed;
- }
-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: >
+ Array.prototype.some uses inherited valueOf method when 'length'
+ is an object with an own toString and inherited valueOf methods
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var valueOfAccessed = false;
+ var toStringAccessed = false;
+
+ var proto = {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return 2;
+ }
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ child.toString = function () {
+ toStringAccessed = true;
+ return '1';
+ };
+
+ var obj = {
+ 0: 9,
+ 1: 11,
+ 2: 12,
+ length: child
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2) &&
+ valueOfAccessed && !toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-24.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-24.js
index 412c09c02..21a817678 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-24.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-24.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.4/15.4.4/15.4.4.17/15.4.4.17-3-24.js
- * @description Array.prototype.some - value of 'length' is a positive non-integer, ensure truncation occurs in the proper direction
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = {
- 0: 9,
- 10: 11,
- 11: 12,
- length: 11.5
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - value of 'length' is a positive
+ non-integer, ensure truncation occurs in the proper direction
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = {
+ 0: 9,
+ 10: 11,
+ 11: 12,
+ length: 11.5
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-25.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-25.js
index e4b327eaa..186d70f70 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-25.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-25.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.4/15.4.4/15.4.4.17/15.4.4.17-3-25.js
- * @description Array.prototype.some - value of 'length' is a negative non-integer, ensure truncation occurs in the proper direction
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = {
- 0: 9,
- 1: 11,
- 2: 12,
- length: -4294967294.5
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - value of 'length' is a negative
+ non-integer, ensure truncation occurs in the proper direction
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = {
+ 0: 9,
+ 1: 11,
+ 2: 12,
+ length: -4294967294.5
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-28.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-28.js
index b32cd4b4c..6a4daa072 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-28.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-28.js
@@ -1,28 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-28.js
- * @description Array.prototype.some - value of 'length' is boundary value (2^32)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = {
- 0: 12,
- length: 4294967296
- };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - value of 'length' is boundary value (2^32)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = {
+ 0: 12,
+ length: 4294967296
+ };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-29.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-29.js
index 129eccf43..e4a0353e4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-29.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-29.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-29.js
- * @description Array.prototype.some - value of 'length' is boundary value (2^32 + 1)
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = {
- 0: 11,
- 1: 12,
- length: 4294967297
- };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - value of 'length' is boundary value (2^32 +
+ 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = {
+ 0: 11,
+ 1: 12,
+ length: 4294967297
+ };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-3.js
index cb55d4f01..9fd8e6925 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-3.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-3-3.js
- * @description Array.prototype.some - value of 'length' is a number (value is 0)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, length: 0 };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - value of 'length' is a number (value is 0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, length: 0 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-4.js
index 49e795c86..67e963db2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-4.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-3-4.js
- * @description Array.prototype.some - value of 'length' is a number (value is +0)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, length: +0 };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - value of 'length' is a number (value is +0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, length: +0 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-5.js
index fb04529ff..9c8142f21 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-5.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-3-5.js
- * @description Array.prototype.some - value of 'length' is a number (value is -0)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, length: -0 };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - value of 'length' is a number (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, length: -0 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-6.js
index df5ae2437..0fef8ba23 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-6.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-6.js
- * @description Array.prototype.some - value of 'length' is a number (value is positive)
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: 2 };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - value of 'length' is a number (value is
+ positive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: 2 };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-7.js
index e6d638708..d7d6d8c02 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-7.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-7.js
- * @description Array.prototype.some - value of 'length' is a number (value is negative)
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = { 0: 9, 1: 11, 2: 12, length: -4294967294 };
-
- return Array.prototype.some.call(obj, callbackfn1) &&
- !Array.prototype.some.call(obj, callbackfn2);
- }
-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: >
+ Array.prototype.some - value of 'length' is a number (value is
+ negative)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = { 0: 9, 1: 11, 2: 12, length: -4294967294 };
+
+ return Array.prototype.some.call(obj, callbackfn1) &&
+ !Array.prototype.some.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-8.js
index fff966b22..2f63c0211 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-8.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.4/15.4.4/15.4.4.17/15.4.4.17-3-8.js
- * @description Array.prototype.some - value of 'length' is a number (value is Infinity)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, length: Infinity };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - value of 'length' is a number (value is
+ Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, length: Infinity };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-9.js
index 88d1e3f6c..b03c751c9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-3-9.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.4/15.4.4/15.4.4.17/15.4.4.17-3-9.js
- * @description Array.prototype.some - value of 'length' is a number (value is -Infinity)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, length: -Infinity };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - value of 'length' is a number (value is
+ -Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, length: -Infinity };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-1.js
index ea7aeddad..f4a2ffece 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-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.4/15.4.4/15.4.4.17/15.4.4.17-4-1.js
- * @description Array.prototype.some throws TypeError if callbackfn is undefined
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.some();
- }
- 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.
+
+/*---
+description: Array.prototype.some throws TypeError if callbackfn is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.some();
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-10.js
index 10e455696..1b738a873 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-10.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-10.js
- * @description Array.prototype.some - the exception is not thrown if exception was thrown by step 2
- */
-
-
-function testcase() {
-
- var obj = { 0: 11, 1: 12 };
-
- Object.defineProperty(obj, "length", {
- get: function () {
- throw new SyntaxError();
- },
- configurable: true
- });
-
- try {
- Array.prototype.some.call(obj, undefined);
- 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: >
+ Array.prototype.some - the exception is not thrown if exception
+ was thrown by step 2
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { 0: 11, 1: 12 };
+
+ Object.defineProperty(obj, "length", {
+ get: function () {
+ throw new SyntaxError();
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype.some.call(obj, undefined);
+ return false;
+ } catch (ex) {
+ return !(ex instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-11.js
index a25f6772b..789820796 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-11.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.4/15.4.4/15.4.4.17/15.4.4.17-4-11.js
- * @description Array.prototype.some - the exception is not thrown if exception was thrown by step 3
- */
-
-
-function testcase() {
-
- var obj = { 0: 11, 1: 12 };
-
- Object.defineProperty(obj, "length", {
- get: function () {
- return {
- toString: function () {
- throw new SyntaxError();
- }
- };
- },
- configurable: true
- });
-
- try {
- Array.prototype.some.call(obj, undefined);
- 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: >
+ Array.prototype.some - the exception is not thrown if exception
+ was thrown by step 3
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { 0: 11, 1: 12 };
+
+ Object.defineProperty(obj, "length", {
+ get: function () {
+ return {
+ toString: function () {
+ throw new SyntaxError();
+ }
+ };
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype.some.call(obj, undefined);
+ return false;
+ } catch (ex) {
+ return !(ex instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-12.js
index 9c641109c..41026784d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-12.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.4/15.4.4/15.4.4.17/15.4.4.17-4-12.js
- * @description Array.prototype.some - 'callbackfn' is a function
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
-
- return [9, 11].some(callbackfn);
- }
-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: Array.prototype.some - 'callbackfn' is a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return val > 10;
+ }
+
+ return [9, 11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-15.js
index 477232ab3..9c1c405d3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-15.js
@@ -1,39 +1,41 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-4-15.js
- * @description Array.prototype.some - calling with no callbackfn is the same as passing undefined for callbackfn
- */
-
-
-function testcase() {
- var obj = { };
- var lengthAccessed = false;
- var loopAccessed = false;
-
- Object.defineProperty(obj, "length", {
- get: function () {
- lengthAccessed = true;
- return 20;
- },
- configurable: true
- });
- Object.defineProperty(obj, "0", {
- get: function () {
- loopAccessed = true;
- return 10;
- },
- configurable: true
- });
-
- try {
- Array.prototype.some.call(obj);
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && lengthAccessed && !loopAccessed;
- }
- }
-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: >
+ Array.prototype.some - calling with no callbackfn is the same as
+ passing undefined for callbackfn
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+ var lengthAccessed = false;
+ var loopAccessed = false;
+
+ Object.defineProperty(obj, "length", {
+ get: function () {
+ lengthAccessed = true;
+ return 20;
+ },
+ configurable: true
+ });
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ loopAccessed = true;
+ return 10;
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype.some.call(obj);
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && lengthAccessed && !loopAccessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-2.js
index c2f9ec7b0..07625dbaa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-2.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-2.js
- * @description Array.prototype.some throws ReferenceError if callbackfn is unreferenced
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.some(foo);
- }
- catch(e) {
- if(e instanceof ReferenceError)
- 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: >
+ Array.prototype.some throws ReferenceError if callbackfn is
+ unreferenced
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.some(foo);
+ }
+ catch(e) {
+ if(e instanceof ReferenceError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-3.js
index 2d38ca538..771e809bb 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-3.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.4/15.4.4/15.4.4.17/15.4.4.17-4-3.js
- * @description Array.prototype.some throws TypeError if callbackfn is null
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.some(null);
- }
- 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.
+
+/*---
+description: Array.prototype.some throws TypeError if callbackfn is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.some(null);
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-4.js
index 52f5381ba..e0aeafe4e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-4.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.4/15.4.4/15.4.4.17/15.4.4.17-4-4.js
- * @description Array.prototype.some throws TypeError if callbackfn is boolean
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.some(true);
- }
- 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.
+
+/*---
+description: Array.prototype.some throws TypeError if callbackfn is boolean
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.some(true);
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-5.js
index 6136442d4..fc99cd0c0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-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.4/15.4.4/15.4.4.17/15.4.4.17-4-5.js
- * @description Array.prototype.some throws TypeError if callbackfn is number
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.some(5);
- }
- 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.
+
+/*---
+description: Array.prototype.some throws TypeError if callbackfn is number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.some(5);
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-6.js
index 7172568f9..c89a41941 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-6.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.4/15.4.4/15.4.4.17/15.4.4.17-4-6.js
- * @description Array.prototype.some throws TypeError if callbackfn is string
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.some("abc");
- }
- 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.
+
+/*---
+description: Array.prototype.some throws TypeError if callbackfn is string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.some("abc");
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-7.js
index cce973d6d..bb5c58e2d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-7.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.4/15.4.4/15.4.4.17/15.4.4.17-4-7.js
- * @description Array.prototype.some throws TypeError if callbackfn is Object without a Call internal method
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.some(new Object());
- }
- 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.
+
+/*---
+description: >
+ Array.prototype.some throws TypeError if callbackfn is Object
+ without a Call internal method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.some(new Object());
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-8.js
index d6147908d..b0c5119f1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-8.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.4/15.4.4/15.4.4.17/15.4.4.17-4-8.js
- * @description Array.prototype.some - side effects produced by step 2 are visible when an exception occurs
- */
-
-
-function testcase() {
-
- var obj = { 0: 11, 1: 12 };
-
- var accessed = false;
-
- Object.defineProperty(obj, "length", {
- get: function () {
- accessed = true;
- return 2;
- },
- configurable: true
- });
-
- try {
- Array.prototype.some.call(obj, null);
- return false;
- } catch (ex) {
- return ex instanceof TypeError && accessed;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - side effects produced by step 2 are visible
+ when an exception occurs
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { 0: 11, 1: 12 };
+
+ var accessed = false;
+
+ Object.defineProperty(obj, "length", {
+ get: function () {
+ accessed = true;
+ return 2;
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype.some.call(obj, null);
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError && accessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-9.js
index 9e89187b4..ab2972bd3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-9.js
@@ -1,37 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-4-9.js
- * @description Array.prototype.some - side effects produced by step 3 are visible when an exception occurs
- */
-
-
-function testcase() {
-
- var obj = { 0: 11, 1: 12 };
-
- var accessed = false;
-
- Object.defineProperty(obj, "length", {
- get: function () {
- return {
- toString: function () {
- accessed = true;
- return "2";
- }
- };
- },
- configurable: true
- });
-
- try {
- Array.prototype.some.call(obj, null);
- return false;
- } catch (ex) {
- return ex instanceof TypeError && accessed;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - side effects produced by step 3 are visible
+ when an exception occurs
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { 0: 11, 1: 12 };
+
+ var accessed = false;
+
+ Object.defineProperty(obj, "length", {
+ get: function () {
+ return {
+ toString: function () {
+ accessed = true;
+ return "2";
+ }
+ };
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype.some.call(obj, null);
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError && accessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s.js
index 336c37514..165acc6c5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-5-1-s.js
- * @description Array.prototype.some - thisArg not passed to strict callbackfn
- * @onlyStrict
- */
-
-
-function testcase() {
- var innerThisCorrect = false;
-
- function callbackfn(val, idx, obj) {
- "use strict";
- innerThisCorrect = this===undefined;
- return true;
- }
-
- [1].some(callbackfn);
- return innerThisCorrect;
- }
-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: Array.prototype.some - thisArg not passed to strict callbackfn
+flags: [onlyStrict]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var innerThisCorrect = false;
+
+ function callbackfn(val, idx, obj) {
+ "use strict";
+ innerThisCorrect = this===undefined;
+ return true;
+ }
+
+ [1].some(callbackfn);
+ return innerThisCorrect;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js
index 9c7fe55eb..f28fa9303 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-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.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js
- * @description Array.prototype.some - thisArg is passed
- */
-
-
-function testcase() {
- this._15_4_4_17_5_1 = false;
- var _15_4_4_17_5_1 = true;
-
- function callbackfn(val, idx, obj) {
- return this._15_4_4_17_5_1;
- }
- var arr = [1];
- return !arr.some(callbackfn);
- }
-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: Array.prototype.some - thisArg is passed
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ this._15_4_4_17_5_1 = false;
+ var _15_4_4_17_5_1 = true;
+
+ function callbackfn(val, idx, obj) {
+ return this._15_4_4_17_5_1;
+ }
+ var arr = [1];
+ return !arr.some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-10.js
index f27bb7abc..542461418 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-10.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.4/15.4.4/15.4.4.17/15.4.4.17-5-10.js
- * @description Array.prototype.some - Array Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objArray = [];
-
- function callbackfn(val, idx, obj) {
- return this === objArray;
- }
-
- return [11].some(callbackfn, objArray);
- }
-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: Array.prototype.some - Array Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objArray = [];
+
+ function callbackfn(val, idx, obj) {
+ return this === objArray;
+ }
+
+ return [11].some(callbackfn, objArray);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-11.js
index 21cf5d02b..d141cd441 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-11.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.4/15.4.4/15.4.4.17/15.4.4.17-5-11.js
- * @description Array.prototype.some - String object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objString = new String();
-
- function callbackfn(val, idx, obj) {
- return this === objString;
- }
-
- return [11].some(callbackfn, objString);
- }
-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: Array.prototype.some - String object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objString = new String();
+
+ function callbackfn(val, idx, obj) {
+ return this === objString;
+ }
+
+ return [11].some(callbackfn, objString);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-12.js
index 5d168528e..1c097c95f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-12.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.4/15.4.4/15.4.4.17/15.4.4.17-5-12.js
- * @description Array.prototype.some - Boolean object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objBoolean = new Boolean();
-
- function callbackfn(val, idx, obj) {
- return this === objBoolean;
- }
-
- return [11].some(callbackfn, objBoolean);
- }
-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: Array.prototype.some - Boolean object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objBoolean = new Boolean();
+
+ function callbackfn(val, idx, obj) {
+ return this === objBoolean;
+ }
+
+ return [11].some(callbackfn, objBoolean);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-13.js
index 137324384..e9440b9db 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-13.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.4/15.4.4/15.4.4.17/15.4.4.17-5-13.js
- * @description Array.prototype.some - Number object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objNumber = new Number();
-
- function callbackfn(val, idx, obj) {
- return this === objNumber;
- }
-
- return [11].some(callbackfn, objNumber);
- }
-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: Array.prototype.some - Number object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objNumber = new Number();
+
+ function callbackfn(val, idx, obj) {
+ return this === objNumber;
+ }
+
+ return [11].some(callbackfn, objNumber);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-14.js
index d26f0cf3f..3d9e3113e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-14.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.4/15.4.4/15.4.4.17/15.4.4.17-5-14.js
- * @description Array.prototype.some - the Math object can be used as thisArg
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this === Math;
- }
-
- return [11].some(callbackfn, Math);
- }
-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: Array.prototype.some - the Math object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this === Math;
+ }
+
+ return [11].some(callbackfn, Math);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-15.js
index cad92a2dc..c500f7bd5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-15.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.4/15.4.4/15.4.4.17/15.4.4.17-5-15.js
- * @description Array.prototype.some - Date object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objDate = new Date();
-
- function callbackfn(val, idx, obj) {
- return this === objDate;
- }
-
- return [11].some(callbackfn, objDate);
- }
-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: Array.prototype.some - Date object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objDate = new Date();
+
+ function callbackfn(val, idx, obj) {
+ return this === objDate;
+ }
+
+ return [11].some(callbackfn, objDate);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-16.js
index e3fcd32cd..97c9cd9d4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-16.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.4/15.4.4/15.4.4.17/15.4.4.17-5-16.js
- * @description Array.prototype.some - RegExp object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objRegExp = new RegExp();
-
- function callbackfn(val, idx, obj) {
- return this === objRegExp;
- }
-
- return [11].some(callbackfn, objRegExp);
- }
-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: Array.prototype.some - RegExp object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objRegExp = new RegExp();
+
+ function callbackfn(val, idx, obj) {
+ return this === objRegExp;
+ }
+
+ return [11].some(callbackfn, objRegExp);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-17.js
index 1c3bfd14d..fb375e29b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-17.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.4/15.4.4/15.4.4.17/15.4.4.17-5-17.js
- * @description Array.prototype.some - the JSON object can be used as thisArg
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this === JSON;
- }
-
- return [11].some(callbackfn, JSON);
- }
-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: Array.prototype.some - the JSON object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this === JSON;
+ }
+
+ return [11].some(callbackfn, JSON);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-18.js
index ff3179972..aacb61331 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-18.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.4/15.4.4/15.4.4.17/15.4.4.17-5-18.js
- * @description Array.prototype.some - Error object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objError = new RangeError();
-
- function callbackfn(val, idx, obj) {
- return this === objError;
- }
-
- return [11].some(callbackfn, objError);
- }
-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: Array.prototype.some - Error object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objError = new RangeError();
+
+ function callbackfn(val, idx, obj) {
+ return this === objError;
+ }
+
+ return [11].some(callbackfn, objError);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-19.js
index 598f9e777..63521acee 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-19.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-19.js
- * @description Array.prototype.some - the Arguments object can be used as thisArg
- */
-
-
-function testcase() {
-
- var arg;
-
- function callbackfn(val, idx, obj) {
- return this === arg;
- }
-
- (function fun() {
- arg = arguments;
- }(1, 2, 3));
-
- return [11].some(callbackfn, arg);
- }
-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: Array.prototype.some - the Arguments object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arg;
+
+ function callbackfn(val, idx, obj) {
+ return this === arg;
+ }
+
+ (function fun() {
+ arg = arguments;
+ }(1, 2, 3));
+
+ return [11].some(callbackfn, arg);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-2.js
index 1519a2f69..812945fe6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-2.js
@@ -1,26 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-2.js
- * @description Array.prototype.some - thisArg is Object
- */
-
-
-function testcase() {
- var res = false;
- var o = new Object();
- o.res = true;
- function callbackfn(val, idx, obj)
- {
- return this.res;
- }
-
- var arr = [1];
- if(arr.some(callbackfn, o) === 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: Array.prototype.some - thisArg is Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var res = false;
+ var o = new Object();
+ o.res = true;
+ function callbackfn(val, idx, obj)
+ {
+ return this.res;
+ }
+
+ var arr = [1];
+ if(arr.some(callbackfn, o) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-21.js
index d2637f05b..c34cb5e87 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-21.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.4/15.4.4/15.4.4.17/15.4.4.17-5-21.js
- * @description Array.prototype.some - the global object can be used as thisArg
- */
-
-
-function testcase() {
-
-
- function callbackfn(val, idx, obj) {
- return this === fnGlobalObject();
- }
-
- return [11].some(callbackfn, fnGlobalObject());
- }
-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: Array.prototype.some - the global object can be used as thisArg
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+
+ function callbackfn(val, idx, obj) {
+ return this === fnGlobalObject();
+ }
+
+ return [11].some(callbackfn, fnGlobalObject());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-22.js
index 8983ffe33..ca6b9f9d5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-22.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.4/15.4.4/15.4.4.17/15.4.4.17-5-22.js
- * @description Array.prototype.some - boolean primitive can be used as thisArg
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this.valueOf() === false;
- }
-
- return [11].some(callbackfn, 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: Array.prototype.some - boolean primitive can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this.valueOf() === false;
+ }
+
+ return [11].some(callbackfn, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-23.js
index 9c44b2441..e827d549b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-23.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.4/15.4.4/15.4.4.17/15.4.4.17-5-23.js
- * @description Array.prototype.some - number primitive can be used as thisArg
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this.valueOf() === 101;
- }
-
- return [11].some(callbackfn, 101);
- }
-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: Array.prototype.some - number primitive can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this.valueOf() === 101;
+ }
+
+ return [11].some(callbackfn, 101);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-24.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-24.js
index a23fa3d17..9483a75da 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-24.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-24.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.4/15.4.4/15.4.4.17/15.4.4.17-5-24.js
- * @description Array.prototype.some - string primitive can be used as thisArg
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this.valueOf() === "abc";
- }
-
- return [11].some(callbackfn, "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: Array.prototype.some - string primitive can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this.valueOf() === "abc";
+ }
+
+ return [11].some(callbackfn, "abc");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-25.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-25.js
index 7daa878b9..008d9e517 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-25.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-25.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-5-25.js
- * @description Array.prototype.some - thisArg not passed
- */
-
-
-function testcase() {
- function innerObj() {
- this._15_4_4_17_5_25 = true;
- var _15_4_4_17_5_25 = false;
-
- function callbackfn(val, idx, obj) {
- return this._15_4_4_17_5_25;
- }
- var arr = [1];
- this.retVal = !arr.some(callbackfn);
- }
- return new innerObj().retVal;
- }
-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: Array.prototype.some - thisArg not passed
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function innerObj() {
+ this._15_4_4_17_5_25 = true;
+ var _15_4_4_17_5_25 = false;
+
+ function callbackfn(val, idx, obj) {
+ return this._15_4_4_17_5_25;
+ }
+ var arr = [1];
+ this.retVal = !arr.some(callbackfn);
+ }
+ return new innerObj().retVal;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-3.js
index dc0560fec..5fa5a8e27 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-3.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-3.js
- * @description Array.prototype.some - thisArg is Array
- */
-
-
-function testcase() {
- var res = false;
- var a = new Array();
- a.res = true;
- function callbackfn(val, idx, obj)
- {
- return this.res;
- }
-
- var arr = [1];
-
- if(arr.some(callbackfn, a) === 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: Array.prototype.some - thisArg is Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var res = false;
+ var a = new Array();
+ a.res = true;
+ function callbackfn(val, idx, obj)
+ {
+ return this.res;
+ }
+
+ var arr = [1];
+
+ if(arr.some(callbackfn, a) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-4.js
index 80b7f542f..e6dac838b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-4.js
@@ -1,28 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-4.js
- * @description Array.prototype.some - thisArg is object from object template(prototype)
- */
-
-
-function testcase() {
- var res = false;
- function callbackfn(val, idx, obj)
- {
- return this.res;
- }
-
- function foo(){}
- foo.prototype.res = true;
- var f = new foo();
- var arr = [1];
-
- if(arr.some(callbackfn,f) === 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: >
+ Array.prototype.some - thisArg is object from object
+ template(prototype)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var res = false;
+ function callbackfn(val, idx, obj)
+ {
+ return this.res;
+ }
+
+ function foo(){}
+ foo.prototype.res = true;
+ var f = new foo();
+ var arr = [1];
+
+ if(arr.some(callbackfn,f) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-5.js
index 5cbebe892..86663ddf1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-5.js
@@ -1,28 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-5.js
- * @description Array.prototype.some - thisArg is object from object template
- */
-
-
-function testcase() {
- var res = false;
- function callbackfn(val, idx, obj)
- {
- return this.res;
- }
-
- function foo(){}
- var f = new foo();
- f.res = true;
- var arr = [1];
-
- if(arr.some(callbackfn,f) === 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: Array.prototype.some - thisArg is object from object template
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var res = false;
+ function callbackfn(val, idx, obj)
+ {
+ return this.res;
+ }
+
+ function foo(){}
+ var f = new foo();
+ f.res = true;
+ var arr = [1];
+
+ if(arr.some(callbackfn,f) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-6.js
index 62c8f8b58..353fd8ce3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-6.js
@@ -1,27 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-6.js
- * @description Array.prototype.some - thisArg is function
- */
-
-
-function testcase() {
- var res = false;
- function callbackfn(val, idx, obj)
- {
- return this.res;
- }
-
- function foo(){}
- foo.res = true;
- var arr = [1];
-
- if(arr.some(callbackfn,foo) === 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: Array.prototype.some - thisArg is function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var res = false;
+ function callbackfn(val, idx, obj)
+ {
+ return this.res;
+ }
+
+ function foo(){}
+ foo.res = true;
+ var arr = [1];
+
+ if(arr.some(callbackfn,foo) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-7.js
index 3606d8912..e00b8d615 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-7.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-7.js
- * @description Array.prototype.some - built-in functions can be used as thisArg
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this === eval;
- }
-
- return [11].some(callbackfn, eval);
- }
-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: Array.prototype.some - built-in functions can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this === eval;
+ }
+
+ return [11].some(callbackfn, eval);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-9.js
index 45ccbf746..67a2f8132 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-9.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.4/15.4.4/15.4.4.17/15.4.4.17-5-9.js
- * @description Array.prototype.some - Function Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var objFunction = function () { };
-
- function callbackfn(val, idx, obj) {
- return this === objFunction;
- }
-
- return [11].some(callbackfn, objFunction);
- }
-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: Array.prototype.some - Function Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var objFunction = function () { };
+
+ function callbackfn(val, idx, obj) {
+ return this === objFunction;
+ }
+
+ return [11].some(callbackfn, objFunction);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-1.js
index 6917c7491..bade53fc2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-1.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.4/15.4.4/15.4.4.17/15.4.4.17-7-1.js
- * @description Array.prototype.some considers new elements added to array after it is called
- */
-
-
-function testcase() {
- var calledForThree = false;
-
- function callbackfn(val, idx, obj)
- {
- arr[2] = 3;
- if(val !== 3)
- calledForThree = true;
-
- return false;
- }
-
- var arr = [1,2,,4,5];
-
- var val = arr.some(callbackfn);
- return calledForThree;
- }
-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: >
+ Array.prototype.some considers new elements added to array after
+ it is called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var calledForThree = false;
+
+ function callbackfn(val, idx, obj)
+ {
+ arr[2] = 3;
+ if(val !== 3)
+ calledForThree = true;
+
+ return false;
+ }
+
+ var arr = [1,2,,4,5];
+
+ var val = arr.some(callbackfn);
+ return calledForThree;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-2.js
index 6761964aa..3eab73c7d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-2.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.4/15.4.4/15.4.4.17/15.4.4.17-7-2.js
- * @description Array.prototype.some considers new value of elements in array after it is called
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- arr[4] = 6;
- if(val < 6)
- return false;
- else
- return true;
- }
-
- var arr = [1,2,3,4,5];
-
- if(arr.some(callbackfn) === 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: >
+ Array.prototype.some considers new value of elements in array
+ after it is called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ arr[4] = 6;
+ if(val < 6)
+ return false;
+ else
+ return true;
+ }
+
+ var arr = [1,2,3,4,5];
+
+ if(arr.some(callbackfn) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-3.js
index 7f07194de..1f0d6125e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-3.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.4/15.4.4/15.4.4.17/15.4.4.17-7-3.js
- * @description Array.prototype.some doesn't visit deleted elements in array after it is called
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- delete arr[2];
- if(val !== 3)
- return false;
- else
- return true;
- }
-
- var arr = [1,2,3,4,5];
-
- if(arr.some(callbackfn) === 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: >
+ Array.prototype.some doesn't visit deleted elements in array after
+ it is called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ delete arr[2];
+ if(val !== 3)
+ return false;
+ else
+ return true;
+ }
+
+ var arr = [1,2,3,4,5];
+
+ if(arr.some(callbackfn) === false)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-4.js
index 32a97f5d0..b7f7873b2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-4.js
@@ -1,28 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-4.js
- * @description Array.prototype.some doesn't visit deleted elements when Array.length is decreased
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- arr.length = 3;
- if(val < 4)
- return false;
- else
- return true;
- }
-
- var arr = [1,2,3,4,6];
-
- if(arr.some(callbackfn) === 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: >
+ Array.prototype.some doesn't visit deleted elements when
+ Array.length is decreased
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ arr.length = 3;
+ if(val < 4)
+ return false;
+ else
+ return true;
+ }
+
+ var arr = [1,2,3,4,6];
+
+ if(arr.some(callbackfn) === false)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-5.js
index 46b5f6508..8ffd95609 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-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.4/15.4.4/15.4.4.17/15.4.4.17-7-5.js
- * @description Array.prototype.some doesn't consider newly added elements in sparse array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- arr[1000] = 5;
- if(val < 5)
- return false;
- else
- return true;
- }
-
- var arr = new Array(10);
- arr[1] = 1;
- arr[2] = 2;
-
- if(arr.some(callbackfn) === 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: >
+ Array.prototype.some doesn't consider newly added elements in
+ sparse array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ arr[1000] = 5;
+ if(val < 5)
+ return false;
+ else
+ return true;
+ }
+
+ var arr = new Array(10);
+ arr[1] = 1;
+ arr[2] = 2;
+
+ if(arr.some(callbackfn) === false)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-6.js
index 91c75fa1a..93cac5b98 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-6.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-6.js
- * @description Array.prototype.some visits deleted element in array after the call when same index is also present in prototype
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- delete arr[4];
- if(val < 5)
- return false;
- else
- return true;
- }
-
-
- Array.prototype[4] = 5;
- var arr = [1,2,3,4,5];
-
- var res = arr.some(callbackfn) ;
- delete Array.prototype[4];
- if(res === 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: >
+ Array.prototype.some visits deleted element in array after the
+ call when same index is also present in prototype
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ delete arr[4];
+ if(val < 5)
+ return false;
+ else
+ return true;
+ }
+
+
+ Array.prototype[4] = 5;
+ var arr = [1,2,3,4,5];
+
+ var res = arr.some(callbackfn) ;
+ delete Array.prototype[4];
+ if(res === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-8.js
index 576e39f56..3a5e91a87 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-8.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-8.js
- * @description Array.prototype.some - no observable effects occur if length is 0
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, 1: 12, length: 0 };
-
- return !Array.prototype.some.call(obj, callbackfn) && !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - no observable effects occur if length is 0
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = { 0: 11, 1: 12, length: 0 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-9.js
index 9e8956d27..cdec235c6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-9.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.4/15.4.4/15.4.4.17/15.4.4.17-7-9.js
- * @description Array.prototype.some - modifications to length don't change number of iterations
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- return val > 10;
- }
-
- var obj = { 0: 9, 2: 12, length: 3 };
-
- Object.defineProperty(obj, "1", {
- get: function () {
- obj.length = 2;
- return 8;
- },
- configurable: true
- });
-
- return Array.prototype.some.call(obj, callbackfn) && called === 3;
- }
-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: >
+ Array.prototype.some - modifications to length don't change number
+ of iterations
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ return val > 10;
+ }
+
+ var obj = { 0: 9, 2: 12, length: 3 };
+
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ obj.length = 2;
+ return 8;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(obj, callbackfn) && called === 3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-1.js
index ea8974ec7..2b4ccf349 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-1.js
@@ -1,28 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-1.js
- * @description Array.prototype.some - callbackfn not called for indexes never been assigned values
- */
-
-
-function testcase() {
-
- var callCnt = 0;
- function callbackfn(val, idx, obj)
- {
- callCnt++;
- return false;
- }
-
- var arr = new Array(10);
- arr[1] = undefined;
- arr.some(callbackfn);
- if(callCnt === 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: >
+ Array.prototype.some - callbackfn not called for indexes never
+ been assigned values
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0;
+ function callbackfn(val, idx, obj)
+ {
+ callCnt++;
+ return false;
+ }
+
+ var arr = new Array(10);
+ arr[1] = undefined;
+ arr.some(callbackfn);
+ if(callCnt === 1)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-10.js
index a0d895340..fcc3e6252 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-10.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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-10.js
- * @description Array.prototype.some - deleting property of prototype causes prototype index property not to be visited on an Array-like Object
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return idx === 1;
- }
- var arr = { 2: 2, length: 20 };
-
- Object.defineProperty(arr, "0", {
- get: function () {
- delete Object.prototype[1];
- return 0;
- },
- configurable: true
- });
-
- try {
- Object.prototype[1] = 1;
- return !Array.prototype.some.call(arr, callbackfn) && accessed;
- } finally {
- delete Object.prototype[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: >
+ Array.prototype.some - deleting property of prototype causes
+ prototype index property not to be visited on an Array-like Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return idx === 1;
+ }
+ var arr = { 2: 2, length: 20 };
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ delete Object.prototype[1];
+ return 0;
+ },
+ configurable: true
+ });
+
+ try {
+ Object.prototype[1] = 1;
+ return !Array.prototype.some.call(arr, callbackfn) && accessed;
+ } finally {
+ delete Object.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-11.js
index 756c274fb..11ee839d5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-11.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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-11.js
- * @description Array.prototype.some - deleting property of prototype causes prototype index property not to be visited on an Array
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return idx === 1;
- }
- var arr = [0, , 2];
-
- Object.defineProperty(arr, "0", {
- get: function () {
- delete Array.prototype[1];
- return 0;
- },
- configurable: true
- });
-
- try {
- Array.prototype[1] = 1;
- return !arr.some(callbackfn) && accessed;
- } finally {
- delete Array.prototype[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: >
+ Array.prototype.some - deleting property of prototype causes
+ prototype index property not to be visited on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return idx === 1;
+ }
+ var arr = [0, , 2];
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ delete Array.prototype[1];
+ return 0;
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype[1] = 1;
+ return !arr.some(callbackfn) && accessed;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-12.js
index efe23f1b3..6fe453581 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-12.js
@@ -1,37 +1,40 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-12.js
- * @description Array.prototype.some - deleting own property with prototype property causes prototype index property to be visited on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 1 && val === 1) {
- return true;
- } else {
- return false;
- }
- }
- var arr = { 0: 0, 1: 111, 2: 2, length: 10 };
-
- Object.defineProperty(arr, "0", {
- get: function () {
- delete arr[1];
- return 0;
- },
- configurable: true
- });
-
- try {
- Object.prototype[1] = 1;
- return Array.prototype.some.call(arr, callbackfn);
- } finally {
- delete Object.prototype[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: >
+ Array.prototype.some - deleting own property with prototype
+ property causes prototype index property to be visited on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 1 && val === 1) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ var arr = { 0: 0, 1: 111, 2: 2, length: 10 };
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ delete arr[1];
+ return 0;
+ },
+ configurable: true
+ });
+
+ try {
+ Object.prototype[1] = 1;
+ return Array.prototype.some.call(arr, callbackfn);
+ } finally {
+ delete Object.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-13.js
index fd808a240..22c0b0ee7 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-13.js
@@ -1,37 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-13.js
- * @description Array.prototype.some - deleting own property with prototype property causes prototype index property to be visited on an Array
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 1 && val === 1) {
- return true;
- } else {
- return false;
- }
- }
- var arr = [0, 111, 2];
-
- Object.defineProperty(arr, "0", {
- get: function () {
- delete arr[1];
- return 0;
- },
- configurable: true
- });
-
- try {
- Array.prototype[1] = 1;
- return arr.some(callbackfn);
- } finally {
- delete Array.prototype[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: >
+ Array.prototype.some - deleting own property with prototype
+ property causes prototype index property to be visited on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 1 && val === 1) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ var arr = [0, 111, 2];
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ delete arr[1];
+ return 0;
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype[1] = 1;
+ return arr.some(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-14.js
index cb559d484..7134bedba 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-14.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-14.js
- * @description Array.prototype.some - decreasing length of array causes index property not to be visited
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return idx === 3;
- }
- var arr = [0, 1, 2, "last"];
-
- Object.defineProperty(arr, "0", {
- get: function () {
- arr.length = 3;
- return 0;
- },
- configurable: true
- });
-
- return !arr.some(callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - decreasing length of array causes index
+ property not to be visited
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return idx === 3;
+ }
+ var arr = [0, 1, 2, "last"];
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ arr.length = 3;
+ return 0;
+ },
+ configurable: true
+ });
+
+ return !arr.some(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-15.js
index 045027618..a7777b039 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-15.js
@@ -1,43 +1,45 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-15.js
- * @description Array.prototype.some - decreasing length of array with prototype property causes prototype index property to be visited
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 2 && val === "prototype") {
- return true;
- } else {
- return false;
- }
- }
- var arr = [0, 1, 2];
-
- try {
- Object.defineProperty(Array.prototype, "2", {
- get: function () {
- return "prototype";
- },
- configurable: true
- });
-
- Object.defineProperty(arr, "1", {
- get: function () {
- arr.length = 2;
- return 1;
- },
- configurable: true
- });
-
- return arr.some(callbackfn);
- } finally {
- delete Array.prototype[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: >
+ Array.prototype.some - decreasing length of array with prototype
+ property causes prototype index property to be visited
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 2 && val === "prototype") {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ var arr = [0, 1, 2];
+
+ try {
+ Object.defineProperty(Array.prototype, "2", {
+ get: function () {
+ return "prototype";
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ arr.length = 2;
+ return 1;
+ },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ } finally {
+ delete Array.prototype[2];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-16.js
index f339237a4..c32b87a54 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-16.js
@@ -1,40 +1,42 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-16.js
- * @description Array.prototype.some - decreasing length of array does not delete non-configurable properties
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 2 && val === "unconfigurable") {
- return true;
- } else {
- return false;
- }
- }
-
- var arr = [0, 1, 2];
-
- Object.defineProperty(arr, "2", {
- get: function () {
- return "unconfigurable";
- },
- configurable: false
- });
-
- Object.defineProperty(arr, "1", {
- get: function () {
- arr.length = 2;
- return 1;
- },
- configurable: true
- });
-
- return arr.some(callbackfn);
- }
-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: >
+ Array.prototype.some - decreasing length of array does not delete
+ non-configurable properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 2 && val === "unconfigurable") {
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ var arr = [0, 1, 2];
+
+ Object.defineProperty(arr, "2", {
+ get: function () {
+ return "unconfigurable";
+ },
+ configurable: false
+ });
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ arr.length = 2;
+ return 1;
+ },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-2.js
index 51da53bdc..18627585a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-2.js
@@ -1,33 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-2.js
- * @description Array.prototype.some - added properties in step 2 are visible here
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 2 && val === "length") {
- return true;
- } else {
- return false;
- }
- }
-
- var arr = { };
-
- Object.defineProperty(arr, "length", {
- get: function () {
- arr[2] = "length";
- return 3;
- },
- configurable: true
- });
-
- return Array.prototype.some.call(arr, callbackfn);
- }
-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: Array.prototype.some - added properties in step 2 are visible here
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 2 && val === "length") {
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ var arr = { };
+
+ Object.defineProperty(arr, "length", {
+ get: function () {
+ arr[2] = "length";
+ return 3;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(arr, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-3.js
index 242420ecf..e65160359 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-3.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-3.js
- * @description Array.prototype.some - deleted properties in step 2 are visible here
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return idx === 2;
- }
- var arr = { 2: 6.99, 8: 19};
-
- Object.defineProperty(arr, "length", {
- get: function () {
- delete arr[2];
- return 10;
- },
- configurable: true
- });
-
- return !Array.prototype.some.call(arr, callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - deleted properties in step 2 are visible
+ here
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return idx === 2;
+ }
+ var arr = { 2: 6.99, 8: 19};
+
+ Object.defineProperty(arr, "length", {
+ get: function () {
+ delete arr[2];
+ return 10;
+ },
+ configurable: true
+ });
+
+ return !Array.prototype.some.call(arr, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-4.js
index f68310245..f9fdd08ae 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-4.js
@@ -1,39 +1,41 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-4.js
- * @description Array.prototype.some - properties added into own object after current position are visited on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1 && val === 1) {
- return true;
- } else {
- return false;
- }
- }
-
- var arr = { length: 2 };
-
- Object.defineProperty(arr, "0", {
- get: function () {
- Object.defineProperty(arr, "1", {
- get: function () {
- return 1;
- },
- configurable: true
- });
- return 0;
- },
- configurable: true
- });
-
- return Array.prototype.some.call(arr, callbackfn);
- }
-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: >
+ Array.prototype.some - properties added into own object after
+ current position are visited on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1 && val === 1) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ var arr = { length: 2 };
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: true
+ });
+ return 0;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(arr, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-5.js
index 49cae2ad6..e4e858d48 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-5.js
@@ -1,38 +1,40 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-5.js
- * @description Array.prototype.some - properties added into own object after current position are visited on an Array
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 1 && val === 1) {
- return true;
- } else {
- return false;
- }
- }
-
- var arr = [0, , 2];
-
- Object.defineProperty(arr, "0", {
- get: function () {
- Object.defineProperty(arr, "1", {
- get: function () {
- return 1;
- },
- configurable: true
- });
- return 0;
- },
- configurable: true
- });
-
- return arr.some(callbackfn);
- }
-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: >
+ Array.prototype.some - properties added into own object after
+ current position are visited on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 1 && val === 1) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ var arr = [0, , 2];
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: true
+ });
+ return 0;
+ },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-6.js
index 5e6be5963..a70f16d4c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-6.js
@@ -1,41 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-6.js
- * @description Array.prototype.some - properties can be added to prototype after current position are visited on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 1 && val === 6.99) {
- return true;
- } else {
- return false;
- }
- }
- var arr = { length: 2 };
-
- Object.defineProperty(arr, "0", {
- get: function () {
- Object.defineProperty(Object.prototype, "1", {
- get: function () {
- return 6.99;
- },
- configurable: true
- });
- return 0;
- },
- configurable: true
- });
-
- try {
- return Array.prototype.some.call(arr, callbackfn);
- } finally {
- delete Object.prototype[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: >
+ Array.prototype.some - properties can be added to prototype after
+ current position are visited on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 1 && val === 6.99) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ var arr = { length: 2 };
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ Object.defineProperty(Object.prototype, "1", {
+ get: function () {
+ return 6.99;
+ },
+ configurable: true
+ });
+ return 0;
+ },
+ configurable: true
+ });
+
+ try {
+ return Array.prototype.some.call(arr, callbackfn);
+ } finally {
+ delete Object.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-7.js
index 295e7cd61..efeca4e15 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-7.js
@@ -1,41 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-b-7.js
- * @description Array.prototype.some - properties can be added to prototype after current position are visited on an Array
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 1 && val === 6.99) {
- return true;
- } else {
- return false;
- }
- }
- var arr = [0, , 2];
-
- Object.defineProperty(arr, "0", {
- get: function () {
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 6.99;
- },
- configurable: true
- });
- return 0;
- },
- configurable: true
- });
-
- try {
- return arr.some(callbackfn);
- } finally {
- delete Array.prototype[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: >
+ Array.prototype.some - properties can be added to prototype after
+ current position are visited on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 1 && val === 6.99) {
+ return true;
+ } else {
+ return false;
+ }
+ }
+ var arr = [0, , 2];
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 6.99;
+ },
+ configurable: true
+ });
+ return 0;
+ },
+ configurable: true
+ });
+
+ try {
+ return arr.some(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-8.js
index 36ffa98fd..8c7be2bf0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-8.js
@@ -1,37 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-8.js
- * @description Array.prototype.some - deleting own property causes index property not to be visited on an Array-like object
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return idx === 1;
- }
- var arr = { length: 2 };
-
- Object.defineProperty(arr, "1", {
- get: function () {
- return 6.99;
- },
- configurable: true
- });
-
- Object.defineProperty(arr, "0", {
- get: function () {
- delete arr[1];
- return 0;
- },
- configurable: true
- });
-
- return !Array.prototype.some.call(arr, callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - deleting own property causes index property
+ not to be visited on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return idx === 1;
+ }
+ var arr = { length: 2 };
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 6.99;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ delete arr[1];
+ return 0;
+ },
+ configurable: true
+ });
+
+ return !Array.prototype.some.call(arr, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-9.js
index 50dba00d9..93cdd434d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-9.js
@@ -1,37 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-b-9.js
- * @description Array.prototype.some - deleting own property causes index property not to be visited on an Array
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return idx === 1;
- }
- var arr = [1, 2];
-
- Object.defineProperty(arr, "1", {
- get: function () {
- return "6.99";
- },
- configurable: true
- });
-
- Object.defineProperty(arr, "0", {
- get: function () {
- delete arr[1];
- return 0;
- },
- configurable: true
- });
-
- return !arr.some(callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - deleting own property causes index property
+ not to be visited on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return idx === 1;
+ }
+ var arr = [1, 2];
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return "6.99";
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ delete arr[1];
+ return 0;
+ },
+ configurable: true
+ });
+
+ return !arr.some(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-1.js
index e066f74d7..41618dacd 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-1.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-1.js
- * @description Array.prototype.some - element to be retrieved is own data property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = {};
-
- function callbackfn(val, idx, obj) {
- if (idx === 5) {
- return val === kValue;
- }
- return false;
- }
-
- var obj = { 5: kValue, length: 100 };
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own data
+ property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = {};
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 5) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var obj = { 5: kValue, length: 100 };
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-10.js
index 3fd874265..d856bb4ec 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-10.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-10.js
- * @description Array.prototype.some - element to be retrieved is own accessor property on an Array
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 10) {
- return val === kValue;
- }
- return false;
- }
-
- var arr = [];
-
- Object.defineProperty(arr, "10", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
- return arr.some(callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 10) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var arr = [];
+
+ Object.defineProperty(arr, "10", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-11.js
index a43840438..c4cb31ca2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-11.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-11.js
- * @description Array.prototype.some - element to be retrieved is own accessor property that overrides an inherited data property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === kValue;
- }
- return false;
- }
-
- var proto = { 1: 6 };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 10;
-
- Object.defineProperty(child, "1", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
- return Array.prototype.some.call(child, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property that overrides an inherited data property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var proto = { 1: 6 };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 10;
+
+ Object.defineProperty(child, "1", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-12.js
index 2c84c818e..b49511839 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-12.js
@@ -1,38 +1,40 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-12.js
- * @description Array.prototype.some - element to be retrieved is own accessor property that overrides an inherited data property on an Array
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === kValue;
- }
- return false;
- }
-
- var arr = [];
- try {
- Array.prototype[1] = 100;
- Object.defineProperty(arr, "1", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
- return arr.some(callbackfn);
- } finally {
- delete Array.prototype[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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property that overrides an inherited data property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var arr = [];
+ try {
+ Array.prototype[1] = 100;
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-13.js
index a268dea26..338bd9d3c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-13.js
@@ -1,48 +1,51 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-13.js
- * @description Array.prototype.some - element to be retrieved is own accessor property that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === kValue;
- }
- return false;
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "1", {
- get: function () {
- return 5;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 10;
-
- Object.defineProperty(child, "1", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
-
- return Array.prototype.some.call(child, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property that overrides an inherited accessor property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "1", {
+ get: function () {
+ return 5;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 10;
+
+ Object.defineProperty(child, "1", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+
+ return Array.prototype.some.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-14.js
index cc24841ee..3f78f2aca 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-14.js
@@ -1,44 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-14.js
- * @description Array.prototype.some - element to be retrieved is own accessor property that overrides an inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === kValue;
- }
- return false;
- }
-
- var arr = [];
- Object.defineProperty(arr, "1", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
- try {
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 10;
- },
- configurable: true
- });
-
- return arr.some(callbackfn);
- } finally {
- delete Array.prototype[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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property that overrides an inherited accessor property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var arr = [];
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+ try {
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 10;
+ },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-15.js
index 7a5d565fb..aa9a14a51 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-15.js
@@ -1,40 +1,42 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-15.js
- * @description Array.prototype.some - element to be retrieved is inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === kValue;
- }
- return false;
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "1", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 20;
-
- return Array.prototype.some.call(child, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is inherited
+ accessor property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "1", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 20;
+
+ return Array.prototype.some.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-16.js
index 36adbb201..ccf46806d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-16.js
@@ -1,36 +1,38 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-16.js
- * @description Array.prototype.some - element to be retrieved is inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === kValue;
- }
- return false;
- }
-
- try {
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
- return [, , ].some(callbackfn);
- } finally {
- delete Array.prototype[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: >
+ Array.prototype.some - element to be retrieved is inherited
+ accessor property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ try {
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+ return [, , ].some(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-17.js
index d250054e9..3a207158f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-17.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-17.js
- * @description Array.prototype.some - element to be retrieved is own accessor property without a get function on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return typeof val === "undefined";
- }
- return false;
- }
-
- var obj = { length: 2 };
- Object.defineProperty(obj, "1", {
- set: function () { },
- configurable: true
- });
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property without a get function on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return typeof val === "undefined";
+ }
+ return false;
+ }
+
+ var obj = { length: 2 };
+ Object.defineProperty(obj, "1", {
+ set: function () { },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-18.js
index 6f99d6ff9..62b5b3401 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-18.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-18.js
- * @description Array.prototype.some - element to be retrieved is own accessor property without a get function on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return typeof val === "undefined";
- }
- return false;
- }
-
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- set: function () { },
- configurable: true
- });
-
- return arr.some(callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property without a get function on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return typeof val === "undefined";
+ }
+ return false;
+ }
+
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-19.js
index 86bb7650a..c230ac72c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-19.js
@@ -1,33 +1,36 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-19.js
- * @description Array.prototype.some - element to be retrieved is own accessor property without a get function that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return typeof val === "undefined";
- }
- return false;
- }
-
- var obj = { length: 2 };
- Object.defineProperty(obj, "1", {
- set: function () { },
- configurable: true
- });
- try {
- Object.prototype[1] = 10;
- return Array.prototype.some.call(obj, callbackfn);
- } finally {
- delete Object.prototype[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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property without a get function that overrides an inherited
+ accessor property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return typeof val === "undefined";
+ }
+ return false;
+ }
+
+ var obj = { length: 2 };
+ Object.defineProperty(obj, "1", {
+ set: function () { },
+ configurable: true
+ });
+ try {
+ Object.prototype[1] = 10;
+ return Array.prototype.some.call(obj, callbackfn);
+ } finally {
+ delete Object.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-2.js
index dc10a8e64..139741128 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-2.js
- * @description Array.prototype.some - element to be retrieved is own data property on an Array
- */
-
-
-function testcase() {
-
- var kValue = {};
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return kValue === val;
- }
- return false;
- }
-
- return [kValue].some(callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own data
+ property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = {};
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return kValue === val;
+ }
+ return false;
+ }
+
+ return [kValue].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-20.js
index 5f4636293..3d705caa4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-20.js
@@ -1,35 +1,38 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-20.js
- * @description Array.prototype.some - element to be retrieved is own accessor property without a get function that overrides an inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return typeof val === "undefined";
- }
- return false;
- }
-
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- set: function () { },
- configurable: true
- });
-
- try {
- Array.prototype[0] = 100;
- return arr.some(callbackfn);
- } finally {
- delete Array.prototype[0];
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property without a get function that overrides an inherited
+ accessor property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return typeof val === "undefined";
+ }
+ return false;
+ }
+
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ try {
+ Array.prototype[0] = 100;
+ return arr.some(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-21.js
index fe9014c42..708d359f5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-21.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-21.js
- * @description Array.prototype.some - element to be retrieved is inherited accessor property without a get function on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return typeof val === "undefined";
- }
- return false;
- }
-
- var proto = {};
- Object.defineProperty(proto, "1", {
- set: function () { },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 2;
-
- return Array.prototype.some.call(child, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is inherited
+ accessor property without a get function on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return typeof val === "undefined";
+ }
+ return false;
+ }
+
+ var proto = {};
+ Object.defineProperty(proto, "1", {
+ set: function () { },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 2;
+
+ return Array.prototype.some.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-22.js
index 330abe746..187a918a9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-22.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-22.js
- * @description Array.prototype.some - element to be retrieved is inherited accessor property without a get function on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return typeof val === "undefined";
- }
- return false;
- }
-
- try {
- Object.defineProperty(Array.prototype, "0", {
- set: function () { },
- configurable: true
- });
-
- return [, ].some(callbackfn);
- } finally {
- delete Array.prototype[0];
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - element to be retrieved is inherited
+ accessor property without a get function on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return typeof val === "undefined";
+ }
+ return false;
+ }
+
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ return [, ].some(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-23.js
index 6c4a2eadd..e0e6e6e5a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-23.js
@@ -1,31 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-23.js
- * @description Array.prototype.some - This object is an global object which contains index property
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === 11;
- }
- return false;
- }
-
- try {
- var oldLen = fnGlobalObject().length;
- fnGlobalObject()[0] = 11;
- fnGlobalObject().length = 1;
- return Array.prototype.some.call(fnGlobalObject(), callbackfn);
- } finally {
- delete fnGlobalObject()[0];
- fnGlobalObject().length = oldLen;
- }
- }
-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: >
+ Array.prototype.some - This object is an global object which
+ contains index property
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === 11;
+ }
+ return false;
+ }
+
+ try {
+ var oldLen = fnGlobalObject().length;
+ fnGlobalObject()[0] = 11;
+ fnGlobalObject().length = 1;
+ return Array.prototype.some.call(fnGlobalObject(), callbackfn);
+ } finally {
+ delete fnGlobalObject()[0];
+ fnGlobalObject().length = oldLen;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-25.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-25.js
index 718887e86..b05ab2a15 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-25.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-25.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-25.js
- * @description Array.prototype.some - This object is the Arguments object which implements its own property get method (number of arguments is less than number of parameters)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === 11;
- }
- return false;
- }
-
- var func = function (a, b) {
- return Array.prototype.some.call(arguments, callbackfn);
- };
-
- return func(11);
- }
-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: >
+ Array.prototype.some - This object is the Arguments object which
+ implements its own property get method (number of arguments is
+ less than number of parameters)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === 11;
+ }
+ return false;
+ }
+
+ var func = function (a, b) {
+ return Array.prototype.some.call(arguments, callbackfn);
+ };
+
+ return func(11);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-26.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-26.js
index b5c29c830..431d829d2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-26.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-26.js
@@ -1,35 +1,38 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-26.js
- * @description Array.prototype.some - This object is the Arguments object which implements its own property get method (number of arguments equals number of parameters)
- */
-
-
-function testcase() {
-
- var firstResult = false;
- var secondResult = false;
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- firstResult = (val === 11);
- return false;
- } else if (idx === 1) {
- secondResult = (val === 9);
- return false;
- } else {
- return true;
- }
- }
-
- var func = function (a, b) {
- return Array.prototype.some.call(arguments, callbackfn);
- };
-
- return !func(11, 9) && firstResult && secondResult;
- }
-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: >
+ Array.prototype.some - This object is the Arguments object which
+ implements its own property get method (number of arguments equals
+ number of parameters)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var firstResult = false;
+ var secondResult = false;
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ firstResult = (val === 11);
+ return false;
+ } else if (idx === 1) {
+ secondResult = (val === 9);
+ return false;
+ } else {
+ return true;
+ }
+ }
+
+ var func = function (a, b) {
+ return Array.prototype.some.call(arguments, callbackfn);
+ };
+
+ return !func(11, 9) && firstResult && secondResult;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-27.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-27.js
index d82901b60..155f00e04 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-27.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-27.js
@@ -1,39 +1,42 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-27.js
- * @description Array.prototype.some - This object is the Arguments object which implements its own property get method (number of arguments is greater than number of parameters)
- */
-
-
-function testcase() {
-
- var firstResult = false;
- var secondResult = false;
- var thirdResult = false;
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- firstResult = (val === 11);
- return false;
- } else if (idx === 1) {
- secondResult = (val === 12);
- return false;
- } else if (idx === 2) {
- thirdResult = (val === 9);
- return false;
- } else {
- return true;
- }
- }
-
- var func = function (a, b) {
- return Array.prototype.some.call(arguments, callbackfn);
- };
-
- return !func(11, 12, 9) && firstResult && secondResult && thirdResult;
- }
-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: >
+ Array.prototype.some - This object is the Arguments object which
+ implements its own property get method (number of arguments is
+ greater than number of parameters)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var firstResult = false;
+ var secondResult = false;
+ var thirdResult = false;
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ firstResult = (val === 11);
+ return false;
+ } else if (idx === 1) {
+ secondResult = (val === 12);
+ return false;
+ } else if (idx === 2) {
+ thirdResult = (val === 9);
+ return false;
+ } else {
+ return true;
+ }
+ }
+
+ var func = function (a, b) {
+ return Array.prototype.some.call(arguments, callbackfn);
+ };
+
+ return !func(11, 12, 9) && firstResult && secondResult && thirdResult;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-28.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-28.js
index 047c90172..a70db967c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-28.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-28.js
@@ -1,44 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-28.js
- * @description Array.prototype.some - element changed by getter on previous iterations is observed on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === 12;
- }
- return false;
- }
-
- var arr = [];
- var helpVerifyVar = 11;
-
- Object.defineProperty(arr, "1", {
- get: function () {
- return helpVerifyVar;
- },
- set: function (args) {
- helpVerifyVar = args;
- },
- configurable: true
- });
-
- Object.defineProperty(arr, "0", {
- get: function () {
- arr[1] = 12;
- return 9;
- },
- configurable: true
- });
-
- return arr.some(callbackfn);
- }
-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: >
+ Array.prototype.some - element changed by getter on previous
+ iterations is observed on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === 12;
+ }
+ return false;
+ }
+
+ var arr = [];
+ var helpVerifyVar = 11;
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return helpVerifyVar;
+ },
+ set: function (args) {
+ helpVerifyVar = args;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ arr[1] = 12;
+ return 9;
+ },
+ configurable: true
+ });
+
+ return arr.some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-29.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-29.js
index 8ad58b4ca..08fce5412 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-29.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-29.js
@@ -1,44 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-29.js
- * @description Array.prototype.some - element changed by getter on previous iterations on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === 12;
- }
- return false;
- }
-
- var obj = { length: 2 };
- var helpVerifyVar = 11;
-
- Object.defineProperty(obj, "1", {
- get: function () {
- return helpVerifyVar;
- },
- set: function (args) {
- helpVerifyVar = args;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- get: function () {
- obj[1] = 12;
- return 11;
- },
- configurable: true
- });
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: >
+ Array.prototype.some - element changed by getter on previous
+ iterations on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === 12;
+ }
+ return false;
+ }
+
+ var obj = { length: 2 };
+ var helpVerifyVar = 11;
+
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ return helpVerifyVar;
+ },
+ set: function (args) {
+ helpVerifyVar = args;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ obj[1] = 12;
+ return 11;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-3.js
index 009ec3149..f037fd351 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-3.js
@@ -1,34 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-3.js
- * @description Array.prototype.some - element to be retrieved is own data property that overrides an inherited data property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 5) {
- return val === kValue;
- }
- return false;
- }
-
- var proto = { 5: 100 };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child[5] = kValue;
- child.length = 10;
-
- return Array.prototype.some.call(child, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own data
+ property that overrides an inherited data property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 5) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var proto = { 5: 100 };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child[5] = kValue;
+ child.length = 10;
+
+ return Array.prototype.some.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-30.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-30.js
index 861c8fdb8..270ddcbde 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-30.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-30.js
@@ -1,37 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-30.js
- * @description Array.prototype.some - unhandled exceptions happened in getter terminate iteration on an Array-like object
- */
-
-
-function testcase() {
-
- var accessed = false;
- function callbackfn(val, idx, obj) {
- if (idx > 1) {
- accessed = true;
- }
- return true;
- }
-
- var obj = { length: 20 };
- Object.defineProperty(obj, "1", {
- get: function () {
- throw new RangeError("unhandle exception happened in getter");
- },
- configurable: true
- });
-
- try {
- Array.prototype.some.call(obj, callbackfn);
- return false;
- } catch (ex) {
- return ex instanceof RangeError && !accessed;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - unhandled exceptions happened in getter
+ terminate iteration on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ if (idx > 1) {
+ accessed = true;
+ }
+ return true;
+ }
+
+ var obj = { length: 20 };
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ throw new RangeError("unhandle exception happened in getter");
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype.some.call(obj, callbackfn);
+ return false;
+ } catch (ex) {
+ return ex instanceof RangeError && !accessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-31.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-31.js
index 7f5e6bfab..88b9b6f0b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-31.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-31.js
@@ -1,38 +1,40 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-31.js
- * @description Array.prototype.some - unhandled exceptions happened in getter terminate iteration on an Array
- */
-
-
-function testcase() {
-
- var accessed = false;
- function callbackfn(val, idx, obj) {
- if (idx > 0) {
- accessed = true;
- }
- return true;
- }
-
- var arr = [];
- arr[10] = 100;
- Object.defineProperty(arr, "0", {
- get: function () {
- throw new RangeError("unhandle exception happened in getter");
- },
- configurable: true
- });
-
- try {
- arr.some(callbackfn);
- return false;
- } catch (ex) {
- return ex instanceof RangeError && !accessed;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - unhandled exceptions happened in getter
+ terminate iteration on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ if (idx > 0) {
+ accessed = true;
+ }
+ return true;
+ }
+
+ var arr = [];
+ arr[10] = 100;
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ throw new RangeError("unhandle exception happened in getter");
+ },
+ configurable: true
+ });
+
+ try {
+ arr.some(callbackfn);
+ return false;
+ } catch (ex) {
+ return ex instanceof RangeError && !accessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-4.js
index 8fe393cb3..a54e3b7d8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-4.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-4.js
- * @description Array.prototype.some - element to be retrieved is own data property that overrides an inherited data property on an Array
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === kValue;
- }
- return false;
- }
-
- try {
- Array.prototype[0] = 11;
-
- return [kValue].some(callbackfn);
- } finally {
- delete Array.prototype[0];
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - element to be retrieved is own data
+ property that overrides an inherited data property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ try {
+ Array.prototype[0] = 11;
+
+ return [kValue].some(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-5.js
index ffd775ab8..46a24f2f3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-5.js
@@ -1,44 +1,47 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-5.js
- * @description Array.prototype.some - element to be retrieved is own data property that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = 1000;
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === kValue;
- }
- return false;
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "0", {
- get: function () {
- return 5;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 2;
- Object.defineProperty(child, "0", {
- value: kValue,
- configurable: true
- });
-
- return Array.prototype.some.call(child, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own data
+ property that overrides an inherited accessor property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = 1000;
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "0", {
+ get: function () {
+ return 5;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 2;
+ Object.defineProperty(child, "0", {
+ value: kValue,
+ configurable: true
+ });
+
+ return Array.prototype.some.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-6.js
index 0f29ceff4..57160eacb 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-6.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-6.js
- * @description Array.prototype.some - element to be retrieved is own data property that overrides an inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- var kValue = 1000;
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === kValue;
- }
- return false;
- }
-
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 9;
- },
- configurable: true
- });
- return [kValue].some(callbackfn);
- } finally {
- delete Array.prototype[0];
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - element to be retrieved is own data
+ property that overrides an inherited accessor property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = 1000;
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 9;
+ },
+ configurable: true
+ });
+ return [kValue].some(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-7.js
index fe8d2655c..8d3faf80e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-7.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-7.js
- * @description Array.prototype.some - element to be retrieved is inherited data property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = 'abc';
-
- function callbackfn(val, idx, obj) {
- if (5 === idx) {
- return kValue === val;
- }
- return false;
- }
-
- var proto = { 5: kValue };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 10;
-
- return Array.prototype.some.call(child, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is inherited data
+ property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = 'abc';
+
+ function callbackfn(val, idx, obj) {
+ if (5 === idx) {
+ return kValue === val;
+ }
+ return false;
+ }
+
+ var proto = { 5: kValue };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 10;
+
+ return Array.prototype.some.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-8.js
index 05019ff47..064dab3ba 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-8.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-8.js
- * @description Array.prototype.some - element to be retrieved is inherited data property on an Array
- */
-
-
-function testcase() {
-
- var kValue = {};
-
- function callbackfn(val, idx, obj) {
- if (0 === idx) {
- return kValue === val;
- }
- return false;
- }
-
- try {
- Array.prototype[0] = kValue;
-
- return [, ].some(callbackfn);
- } finally {
- delete Array.prototype[0];
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - element to be retrieved is inherited data
+ property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = {};
+
+ function callbackfn(val, idx, obj) {
+ if (0 === idx) {
+ return kValue === val;
+ }
+ return false;
+ }
+
+ try {
+ Array.prototype[0] = kValue;
+
+ return [, ].some(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-9.js
index 56968d3bd..46753dd8c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-9.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-i-9.js
- * @description Array.prototype.some - element to be retrieved is own accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = "abc";
-
- function callbackfn(val, idx, obj) {
- if (idx === 10) {
- return val === kValue;
- }
- return false;
- }
-
- var obj = { length: 20 };
-
- Object.defineProperty(obj, "10", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: >
+ Array.prototype.some - element to be retrieved is own accessor
+ property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kValue = "abc";
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 10) {
+ return val === kValue;
+ }
+ return false;
+ }
+
+ var obj = { length: 20 };
+
+ Object.defineProperty(obj, "10", {
+ get: function () {
+ return kValue;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-1.js
index 7b7034883..8dd328d77 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-1.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-1.js
- * @description Array.prototype.some - callbackfn called with correct parameters
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- if(obj[idx] === val)
- return false;
- else
- return true;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
-
- if(arr.some(callbackfn) === 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: Array.prototype.some - callbackfn called with correct parameters
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ if(obj[idx] === val)
+ return false;
+ else
+ return true;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+
+ if(arr.some(callbackfn) === false)
+ return true;
+
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.js
index 0ee7e2340..6a6c3b120 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.js
- * @description Array.prototype.some - callbackfn is called with 1 formal parameter
- */
-
-
-function testcase() {
-
- function callbackfn(val) {
- return val > 10;
- }
-
- return [11, 12].some(callbackfn);
- }
-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: Array.prototype.some - callbackfn is called with 1 formal parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val) {
+ return val > 10;
+ }
+
+ return [11, 12].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-11.js
index a519e2d09..ede414ea6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-11.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-11.js
- * @description Array.prototype.some - callbackfn is called with 2 formal parameter
- */
-
-
-function testcase() {
- function callbackfn(val, idx) {
- return val > 10 && arguments[2][idx] === val;
- }
-
- return [9, 12].some(callbackfn);
- }
-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: Array.prototype.some - callbackfn is called with 2 formal parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx) {
+ return val > 10 && arguments[2][idx] === val;
+ }
+
+ return [9, 12].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-12.js
index 901055a51..cb6e2d736 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-12.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-12.js
- * @description Array.prototype.some - callbackfn is called with 3 formal parameter
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return val > 10 && obj[idx] === val;
- }
-
- return [9, 12].some(callbackfn);
- }
-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: Array.prototype.some - callbackfn is called with 3 formal parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return val > 10 && obj[idx] === val;
+ }
+
+ return [9, 12].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-13.js
index bee73a081..351d5dbd0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-13.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-13.js
- * @description Array.prototype.some - callbackfn that uses arguments object to get parameter value
- */
-
-
-function testcase() {
-
- function callbackfn() {
- return arguments[2][arguments[1]] === arguments[0];
- }
-
- return [9, 12].some(callbackfn);
- }
-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: >
+ Array.prototype.some - callbackfn that uses arguments object to
+ get parameter value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn() {
+ return arguments[2][arguments[1]] === arguments[0];
+ }
+
+ return [9, 12].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-16.js
index a1b6579f6..419d997ae 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-16.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-16.js
- * @description Array.prototype.some - 'this' of 'callback' is a Boolean object when 'T' is not an object ('T' is a boolean primitive)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this.valueOf() === false;
- }
-
- var obj = { 0: 11, length: 1 };
-
- return Array.prototype.some.call(obj, callbackfn, 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: >
+ Array.prototype.some - 'this' of 'callback' is a Boolean object
+ when 'T' is not an object ('T' is a boolean primitive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this.valueOf() === false;
+ }
+
+ var obj = { 0: 11, length: 1 };
+
+ return Array.prototype.some.call(obj, callbackfn, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-17.js
index 68075c668..112652ede 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-17.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-17.js
- * @description Array.prototype.some - 'this' of 'callbackfn' is a Number object when T is not an object (T is a number primitive)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this.valueOf() === 5;
- }
-
- var obj = { 0: 11, length: 1 };
-
- return Array.prototype.some.call(obj, callbackfn, 5);
- }
-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: >
+ Array.prototype.some - 'this' of 'callbackfn' is a Number object
+ when T is not an object (T is a number primitive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this.valueOf() === 5;
+ }
+
+ var obj = { 0: 11, length: 1 };
+
+ return Array.prototype.some.call(obj, callbackfn, 5);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-18.js
index 48d8462e0..aa5813529 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-18.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-18.js
- * @description Array.prototype.some - 'this' of 'callbackfn' is an String object when T is not an object (T is a string primitive)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return this.valueOf() === "hello!";
- }
-
- var obj = { 0: 11, 1: 9, length: 2 };
-
- return Array.prototype.some.call(obj, callbackfn, "hello!");
- }
-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: >
+ Array.prototype.some - 'this' of 'callbackfn' is an String object
+ when T is not an object (T is a string primitive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return this.valueOf() === "hello!";
+ }
+
+ var obj = { 0: 11, 1: 9, length: 2 };
+
+ return Array.prototype.some.call(obj, callbackfn, "hello!");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-19.js
index a8b33cf01..61b2a4829 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-19.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-19.js
- * @description Array.prototype.some - non-indexed properties are not called
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- return val === 11;
- }
-
- var obj = { 0: 9, 10: 8, non_index_property: 11, length: 20 };
-
- return !Array.prototype.some.call(obj, callbackfn) && (2 === called);
- }
-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: Array.prototype.some - non-indexed properties are not called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ return val === 11;
+ }
+
+ var obj = { 0: 9, 10: 8, non_index_property: 11, length: 20 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && (2 === called);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-2.js
index 2d4f7318f..70029033f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-2.js
@@ -1,30 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-2.js
- * @description Array.prototype.some - callbackfn takes 3 arguments
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- if(arguments.length === 3) //verify if callbackfn was called with 3 parameters
- return false;
- else
- return true;
- }
-
- var arr = [0,1,true,null,new Object(),"five"];
- arr[999999] = -6.6;
-
- if(arr.some(callbackfn) === 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: Array.prototype.some - callbackfn takes 3 arguments
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ if(arguments.length === 3) //verify if callbackfn was called with 3 parameters
+ return false;
+ else
+ return true;
+ }
+
+ var arr = [0,1,true,null,new Object(),"five"];
+ arr[999999] = -6.6;
+
+ if(arr.some(callbackfn) === false)
+ return true;
+
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-20.js
index b54dfd16e..ceb509fc6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-20.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-20.js
- * @description Array.prototype.some - callbackfn called with correct parameters (thisArg is correct)
- */
-
-
-function testcase() {
-
- var thisArg = { threshold: 10 };
-
- function callbackfn(val, idx, obj) {
- return this === thisArg;
- }
-
- var obj = { 0: 11, length: 2 };
-
- return Array.prototype.some.call(obj, callbackfn, thisArg);
- }
-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: >
+ Array.prototype.some - callbackfn called with correct parameters
+ (thisArg is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var thisArg = { threshold: 10 };
+
+ function callbackfn(val, idx, obj) {
+ return this === thisArg;
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return Array.prototype.some.call(obj, callbackfn, thisArg);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-21.js
index 58b33eda5..30cbe6e55 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-21.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-21.js
- * @description Array.prototype.some - callbackfn called with correct parameters (kValue is correct)
- */
-
-
-function testcase() {
-
- var firstIndex = false;
- var secondIndex = false;
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- firstIndex = (val === 11);
- return false;
- }
- if (idx === 1) {
- secondIndex = (val === 12);
- return false;
- }
- }
-
- var obj = { 0: 11, 1: 12, length: 2 };
-
- return !Array.prototype.some.call(obj, callbackfn) && firstIndex && secondIndex;
- }
-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: >
+ Array.prototype.some - callbackfn called with correct parameters
+ (kValue is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var firstIndex = false;
+ var secondIndex = false;
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ firstIndex = (val === 11);
+ return false;
+ }
+ if (idx === 1) {
+ secondIndex = (val === 12);
+ return false;
+ }
+ }
+
+ var obj = { 0: 11, 1: 12, length: 2 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && firstIndex && secondIndex;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-22.js
index 47e8f135d..f096258c0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-22.js
@@ -1,32 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-22.js
- * @description Array.prototype.some - callbackfn called with correct parameters (the index k is correct)
- */
-
-
-function testcase() {
-
- var firstIndex = false;
- var secondIndex = false;
-
- function callbackfn(val, idx, obj) {
- if (val === 11) {
- firstIndex = (idx === 0);
- return false;
- }
- if (val === 12) {
- secondIndex = (idx === 1);
- return false;
- }
- }
-
- var obj = { 0: 11, 1: 12, length: 2 };
-
- return !Array.prototype.some.call(obj, callbackfn) && firstIndex && secondIndex;
- }
-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: >
+ Array.prototype.some - callbackfn called with correct parameters
+ (the index k is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var firstIndex = false;
+ var secondIndex = false;
+
+ function callbackfn(val, idx, obj) {
+ if (val === 11) {
+ firstIndex = (idx === 0);
+ return false;
+ }
+ if (val === 12) {
+ secondIndex = (idx === 1);
+ return false;
+ }
+ }
+
+ var obj = { 0: 11, 1: 12, length: 2 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && firstIndex && secondIndex;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-23.js
index 1a78d65aa..75a41bd46 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-23.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-23.js
- * @description Array.prototype.some - callbackfn called with correct parameters (this object O is correct)
- */
-
-
-function testcase() {
-
- var obj = { 0: 11, 1: 12, length: 2 };
-
- function callbackfn(val, idx, o) {
- return obj === o;
- }
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: >
+ Array.prototype.some - callbackfn called with correct parameters
+ (this object O is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { 0: 11, 1: 12, length: 2 };
+
+ function callbackfn(val, idx, o) {
+ return obj === o;
+ }
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-3.js
index 1f17b36be..0ee6556b8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-3.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-3.js
- * @description Array.prototype.some immediately returns true if callbackfn returns true
- */
-
-
-function testcase() {
-
- var callCnt = 0;
- function callbackfn(val, idx, obj)
- {
- callCnt++;
- if(idx > 5)
- return true;
- else
- return false;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
-
- if(arr.some(callbackfn) === true && callCnt === 7)
- 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: >
+ Array.prototype.some immediately returns true if callbackfn
+ returns true
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0;
+ function callbackfn(val, idx, obj)
+ {
+ callCnt++;
+ if(idx > 5)
+ return true;
+ else
+ return false;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+
+ if(arr.some(callbackfn) === true && callCnt === 7)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-4.js
index 4040c38b0..bada0d2b9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-4.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-4.js
- * @description Array.prototype.some - k values are passed in ascending numeric order
- */
-
-
-function testcase() {
-
- var arr = [0, 1, 2, 3, 4, 5];
- var lastIdx = 0;
- var called = 0;
-
- function callbackfn(val, idx, o) {
- called++;
- if (lastIdx !== idx) {
- return true;
- } else {
- lastIdx++;
- return false;
- }
- }
-
- return !arr.some(callbackfn) && arr.length === called;
- }
-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: >
+ Array.prototype.some - k values are passed in ascending numeric
+ order
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1, 2, 3, 4, 5];
+ var lastIdx = 0;
+ var called = 0;
+
+ function callbackfn(val, idx, o) {
+ called++;
+ if (lastIdx !== idx) {
+ return true;
+ } else {
+ lastIdx++;
+ return false;
+ }
+ }
+
+ return !arr.some(callbackfn) && arr.length === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-5.js
index 5fe6816a6..17bd7c7b7 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-5.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-5.js
- * @description Array.prototype.some - k values are accessed during each iteration and not prior to starting the loop
- */
-
-
-function testcase() {
-
- var kIndex = [];
-
- //By below way, we could verify that k would be setted as 0, 1, ..., length - 1 in order, and each value will be setted one time.
- function callbackfn(val, idx, obj) {
- //Each position should be visited one time, which means k is accessed one time during iterations.
- if (typeof kIndex[idx] === "undefined") {
- //when current position is visited, its previous index should has been visited.
- if (idx !== 0 && typeof kIndex[idx - 1] === "undefined") {
- return true;
- }
- kIndex[idx] = 1;
- return false;
- } else {
- return true;
- }
- }
-
- return ![11, 12, 13, 14].some(callbackfn, 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: >
+ Array.prototype.some - k values are accessed during each iteration
+ and not prior to starting the loop
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var kIndex = [];
+
+ //By below way, we could verify that k would be setted as 0, 1, ..., length - 1 in order, and each value will be setted one time.
+ function callbackfn(val, idx, obj) {
+ //Each position should be visited one time, which means k is accessed one time during iterations.
+ if (typeof kIndex[idx] === "undefined") {
+ //when current position is visited, its previous index should has been visited.
+ if (idx !== 0 && typeof kIndex[idx - 1] === "undefined") {
+ return true;
+ }
+ kIndex[idx] = 1;
+ return false;
+ } else {
+ return true;
+ }
+ }
+
+ return ![11, 12, 13, 14].some(callbackfn, undefined);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-6.js
index 00ae35c9a..c20267391 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-6.js
@@ -1,23 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-6.js
- * @description Array.prototype.some - arguments to callbackfn are self consistent
- */
-
-
-function testcase() {
-
- var obj = { 0: 11, length: 1 };
- var thisArg = {};
-
- function callbackfn() {
- return this === thisArg && arguments[0] === 11 && arguments[1] === 0 && arguments[2] === obj;
- }
-
- return Array.prototype.some.call(obj, callbackfn, thisArg);
- }
-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: Array.prototype.some - arguments to callbackfn are self consistent
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { 0: 11, length: 1 };
+ var thisArg = {};
+
+ function callbackfn() {
+ return this === thisArg && arguments[0] === 11 && arguments[1] === 0 && arguments[2] === obj;
+ }
+
+ return Array.prototype.some.call(obj, callbackfn, thisArg);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-7.js
index 0a2c1a95d..38287d7d1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-7.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-7.js
- * @description Array.prototype.some - unhandled exceptions happened in callbackfn terminate iteration
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- if (idx > 0) {
- accessed = true;
- }
- if (idx === 0) {
- throw new Error("Exception occurred in callbackfn");
- }
- return false;
- }
-
- var obj = { 0: 9, 1: 100, 10: 11, length: 20 };
-
- try {
- Array.prototype.some.call(obj, callbackfn);
- return false;
- } catch (ex) {
- return ex instanceof Error && !accessed;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - unhandled exceptions happened in callbackfn
+ terminate iteration
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ if (idx > 0) {
+ accessed = true;
+ }
+ if (idx === 0) {
+ throw new Error("Exception occurred in callbackfn");
+ }
+ return false;
+ }
+
+ var obj = { 0: 9, 1: 100, 10: 11, length: 20 };
+
+ try {
+ Array.prototype.some.call(obj, callbackfn);
+ return false;
+ } catch (ex) {
+ return ex instanceof Error && !accessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-8.js
index 84aa687a5..0f1757d9c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-8.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-8.js
- * @description Array.prototype.some - element changed by callbackfn on previous iterations is observed
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- obj[idx + 1] = 11;
- }
- return val > 10;
- }
-
- var obj = { 0: 9, 1: 8, length: 2 };
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: >
+ Array.prototype.some - element changed by callbackfn on previous
+ iterations is observed
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ obj[idx + 1] = 11;
+ }
+ return val > 10;
+ }
+
+ var obj = { 0: 9, 1: 8, length: 2 };
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-9.js
index bb35f76f4..cdc806659 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-9.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-9.js
- * @description Array.prototype.some - callbackfn is called with 0 formal parameter
- */
-
-
-function testcase() {
-
- function callbackfn() {
- return true;
- }
-
- return [11, 12].some(callbackfn);
- }
-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: Array.prototype.some - callbackfn is called with 0 formal parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn() {
+ return true;
+ }
+
+ return [11, 12].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-1.js
index 1706f71f9..59951bcdc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-1.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-1.js
- * @description Array.prototype.some - return value of callbackfn is undefined
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return undefined;
- }
-
- var obj = { 0: 11, length: 2 };
-
- return !Array.prototype.some.call(obj, callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - return value of callbackfn is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return undefined;
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-10.js
index 37f0e47e1..402d95223 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-10.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-10.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is Infinity)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return Infinity;
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return Infinity;
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-11.js
index 81cc084c3..9f8e4c485 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-11.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-11.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is -Infinity)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return -Infinity;
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is -Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return -Infinity;
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-12.js
index 58ba03dfe..bc6ff2af0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-12.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is NaN)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return NaN;
- }
-
- return ![11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is NaN)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return NaN;
+ }
+
+ return ![11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-13.js
index d22da9c92..c3b746779 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-13.js
- * @description Array.prototype.some - return value of callbackfn is an empty string
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return "";
- }
-
- return ![11].some(callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - return value of callbackfn is an empty
+ string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return "";
+ }
+
+ return ![11].some(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-14.js
index 57d8c6464..6c5c7bb5e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-14.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-14.js
- * @description Array.prototype.some - return value of callbackfn is a non-empty string
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return "non-empty string";
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a non-empty
+ string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return "non-empty string";
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-15.js
index d09eff068..b761c15fa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-15.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-15.js
- * @description Array.prototype.some - return value of callbackfn is Function object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return function () { };
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is Function
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return function () { };
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-16.js
index 0a3818d5e..d9f545283 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-16.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-16.js
- * @description Array.prototype.some - return value of callbackfn is an Array object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return new Array(10);
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is an Array
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return new Array(10);
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-17.js
index 8d7517f2d..0d504a5c9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-17.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-17.js
- * @description Array.prototype.some - return value of callbackfn is a String object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return new String();
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a String
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return new String();
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-18.js
index 12047df14..3487b23d4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-18.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-18.js
- * @description Array.prototype.some - return value of callbackfn is a Boolean object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return new Boolean();
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a Boolean
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return new Boolean();
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-19.js
index a7e06bc88..f1d48c4af 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-19.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-19.js
- * @description Array.prototype.some - return value of callbackfn is a Number object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return new Number();
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a Number
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return new Number();
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-2.js
index eb5a95822..f8600b6c6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-2.js
@@ -1,25 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-2.js
- * @description Array.prototype.some - return value of callbackfn is null
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return null;
- }
-
- var obj = { 0: 11, length: 2 };
-
- return !Array.prototype.some.call(obj, callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.prototype.some - return value of callbackfn is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return null;
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-20.js
index 335e0dce8..cf6f9961b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-20.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-20.js
- * @description Array.prototype.some - return value of callbackfn is the Math object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return Math;
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is the Math
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return Math;
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-21.js
index 82b6e5f58..503b836f0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-21.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-21.js
- * @description Array.prototype.some - return value of callbackfn is a Date object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return new Date();
- }
-
- return [11].some(callbackfn);
- }
-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: Array.prototype.some - return value of callbackfn is a Date object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return new Date();
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-22.js
index 70b9f8b5e..3888aa692 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-22.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-22.js
- * @description Array.prototype.some - return value of callbackfn is a RegExp object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return new RegExp();
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a RegExp
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return new RegExp();
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-23.js
index ec6d3e9fc..c0f40fa93 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-23.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-23.js
- * @description Array.prototype.some - return value of callbackfn is the JSON object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return JSON;
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is the JSON
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return JSON;
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-24.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-24.js
index 69fae8870..1ebadddea 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-24.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-24.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-24.js
- * @description Array.prototype.some - return value of callbackfn is an Error object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return new EvalError();
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is an Error
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return new EvalError();
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-25.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-25.js
index 29fc84007..2a130a366 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-25.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-25.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-25.js
- * @description Array.prototype.some - return value of callbackfn is the Arguments object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return arguments;
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is the Arguments
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return arguments;
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-26.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-26.js
index f0e5dfe14..08cdbe012 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-26.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-26.js
@@ -1,20 +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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-26.js
- * @description Array.prototype.some - return value of callbackfn is the global object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return fnGlobalObject();
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is the global
+ object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return fnGlobalObject();
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-28.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-28.js
index 619587d69..aa30f6d0d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-28.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-28.js
@@ -1,47 +1,47 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-28.js
- * @description Array.prototype.some - true prevents further side effects
- */
-
-
-function testcase() {
- var result = false;
- function callbackfn(val, idx, obj) {
- if (idx > 1) {
- result = true;
- }
- return val > 10;
- }
-
- var obj = { length: 20 };
-
- Object.defineProperty(obj, "0", {
- get: function () {
- return 8;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "1", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "2", {
- get: function () {
- result = true;
- return 11;
- },
- configurable: true
- });
-
- return Array.prototype.some.call(obj, callbackfn) && !result;
- }
-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: Array.prototype.some - true prevents further side effects
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var result = false;
+ function callbackfn(val, idx, obj) {
+ if (idx > 1) {
+ result = true;
+ }
+ return val > 10;
+ }
+
+ var obj = { length: 20 };
+
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return 8;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "2", {
+ get: function () {
+ result = true;
+ return 11;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.some.call(obj, callbackfn) && !result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-29.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-29.js
index a33b60fa4..5c17f2c43 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-29.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-29.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-29.js
- * @description Array.prototype.some - return value (new Boolean(false)) of callbackfn is treated as true value
- */
-
-
-function testcase() {
-
- function callbackfn() {
- return new Boolean(false);
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value (new Boolean(false)) of
+ callbackfn is treated as true value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn() {
+ return new Boolean(false);
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-3.js
index d5df0d0aa..b3ebc9d78 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-3.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-3.js
- * @description Array.prototype.some - return value of callbackfn is a boolean (value is false)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return false;
- }
-
- var obj = { 0: 11, length: 2 };
-
- return !Array.prototype.some.call(obj, callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - return value of callbackfn is a boolean
+ (value is false)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return false;
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return !Array.prototype.some.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-4.js
index 10986750c..c45972f35 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-4.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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-4.js
- * @description Array.prototype.some - return value of callbackfn is a boolean (value is true)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return true;
- }
-
- var obj = { 0: 11, length: 2 };
-
- return Array.prototype.some.call(obj, callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a boolean
+ (value is true)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return true;
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return Array.prototype.some.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-5.js
index 80c690bea..0ac567fec 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-5.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is 0)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return 0;
- }
-
- return ![11].some(callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is 0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return 0;
+ }
+
+ return ![11].some(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-6.js
index 15802078e..95fd916f7 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-6.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is +0)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return +0;
- }
-
- return ![11].some(callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is +0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return +0;
+ }
+
+ return ![11].some(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-7.js
index e918f4d1a..4450627d8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-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.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-7.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is -0)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return -0;
- }
-
- return ![11].some(callbackfn) && accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return -0;
+ }
+
+ return ![11].some(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-8.js
index 6e701e9b7..4694f3163 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-8.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-8.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is positive number)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return 5;
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is positive number)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return 5;
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-9.js
index 3ed5dbac5..c8a3c7e63 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-9.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-iii-9.js
- * @description Array.prototype.some - return value of callbackfn is a number (value is negative number)
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return -5;
- }
-
- return [11].some(callbackfn);
- }
-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: >
+ Array.prototype.some - return value of callbackfn is a number
+ (value is negative number)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return -5;
+ }
+
+ return [11].some(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-1.js
index ef0929008..00865acb7 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-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.4/15.4.4/15.4.4.17/15.4.4.17-8-1.js
- * @description Array.prototype.some returns false if 'length' is 0 (empty array)
- */
-
-
-function testcase() {
- function cb(){}
- var i = [].some(cb);
- if (i === 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: Array.prototype.some returns false if 'length' is 0 (empty array)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function cb(){}
+ var i = [].some(cb);
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-10.js
index a15013d34..227223e36 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-10.js
@@ -1,31 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-10.js
- * @description Array.prototype.some - subclassed array when length is reduced
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
- f.length = 2;
-
- function cb(val)
- {
- if(val > 2)
- return true;
- else
- return false;
- }
- var i = f.some(cb);
-
- if (i === 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: Array.prototype.some - subclassed array when length is reduced
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+ f.length = 2;
+
+ function cb(val)
+ {
+ if(val > 2)
+ return true;
+ else
+ return false;
+ }
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-11.js
index 53c4ab32b..fb7aa2761 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-11.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.4/15.4.4/15.4.4.17/15.4.4.17-8-11.js
- * @description Array.prototype.some returns false when all calls to callbackfn return false
- */
-
-
-function testcase() {
-
- var callCnt = 0;
- function callbackfn(val, idx, obj)
- {
- callCnt++;
- return false;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
-
- if(arr.some(callbackfn) === false && callCnt === 10)
- 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: >
+ Array.prototype.some returns false when all calls to callbackfn
+ return false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0;
+ function callbackfn(val, idx, obj)
+ {
+ callCnt++;
+ return false;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+
+ if(arr.some(callbackfn) === false && callCnt === 10)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-12.js
index 280406b79..50e006142 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-12.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-12.js
- * @description Array.prototype.some doesn't mutate the array on which it is called on
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- return true;
- }
- var arr = [1,2,3,4,5];
- arr.some(callbackfn);
- if(arr[0] === 1 &&
- arr[1] === 2 &&
- arr[2] === 3 &&
- arr[3] === 4 &&
- arr[4] === 5)
- {
- 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: >
+ Array.prototype.some doesn't mutate the array on which it is
+ called on
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ return true;
+ }
+ var arr = [1,2,3,4,5];
+ arr.some(callbackfn);
+ if(arr[0] === 1 &&
+ arr[1] === 2 &&
+ arr[2] === 3 &&
+ arr[3] === 4 &&
+ arr[4] === 5)
+ {
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-13.js
index 972789a39..49965ddfc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-13.js
@@ -1,28 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-13.js
- * @description Array.prototype.some doesn't visit expandos
- */
-
-
-function testcase() {
-
- var callCnt = 0;
- function callbackfn(val, idx, obj)
- {
- callCnt++;
- return false;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
- arr["i"] = 10;
- arr[true] = 11;
-
- if(arr.some(callbackfn) === false && callCnt === 10)
- 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: Array.prototype.some doesn't visit expandos
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0;
+ function callbackfn(val, idx, obj)
+ {
+ callCnt++;
+ return false;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+ arr["i"] = 10;
+ arr[true] = 11;
+
+ if(arr.some(callbackfn) === false && callCnt === 10)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-2.js
index 5d614112d..254f23a72 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-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.4/15.4.4/15.4.4.17/15.4.4.17-8-2.js
- * @description Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden to null (type conversion))
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
- f.length = null;
-
- function cb(){}
- var i = f.some(cb);
-
- if (i === 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: >
+ Array.prototype.some returns false if 'length' is 0 (subclassed
+ Array, length overridden to null (type conversion))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+ f.length = null;
+
+ function cb(){}
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-3.js
index 2a94bd8ed..45a3b5a02 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-3.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.4/15.4.4/15.4.4.17/15.4.4.17-8-3.js
- * @description Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden to false (type conversion))
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
- f.length = false;
-
- function cb(){}
- var i = f.some(cb);
-
- if (i === 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: >
+ Array.prototype.some returns false if 'length' is 0 (subclassed
+ Array, length overridden to false (type conversion))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+ f.length = false;
+
+ function cb(){}
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-4.js
index db7ee0b41..3513777f7 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-4.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.4/15.4.4/15.4.4.17/15.4.4.17-8-4.js
- * @description Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden to 0 (type conversion))
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
- f.length = 0;
-
- function cb(){}
- var i = f.some(cb);
-
- if (i === 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: >
+ Array.prototype.some returns false if 'length' is 0 (subclassed
+ Array, length overridden to 0 (type conversion))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+ f.length = 0;
+
+ function cb(){}
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-5.js
index dda22dd23..741ff3a9c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-5.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.4/15.4.4/15.4.4.17/15.4.4.17-8-5.js
- * @description Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden to '0' (type conversion))
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
- f.length = '0';
-
- function cb(){}
- var i = f.some(cb);
-
- if (i === 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: >
+ Array.prototype.some returns false if 'length' is 0 (subclassed
+ Array, length overridden to '0' (type conversion))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+ f.length = '0';
+
+ function cb(){}
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-6.js
index 6075d269f..1130b23c6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-6.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.4/15.4.4/15.4.4.17/15.4.4.17-8-6.js
- * @description Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden with obj with valueOf)
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
-
- var o = { valueOf: function () { return 0;}};
- f.length = o;
-
- function cb(){}
- var i = f.some(cb);
-
- if (i === 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: >
+ Array.prototype.some returns false if 'length' is 0 (subclassed
+ Array, length overridden with obj with valueOf)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+
+ var o = { valueOf: function () { return 0;}};
+ f.length = o;
+
+ function cb(){}
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-7.js
index 6a060f577..a8565349d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-7.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.4/15.4.4/15.4.4.17/15.4.4.17-8-7.js
- * @description Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden with obj w/o valueOf (toString))
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
-
- var o = { toString: function () { return '0';}};
- f.length = o;
-
- // objects inherit the default valueOf method of the Object object;
- // that simply returns the itself. Since the default valueOf() method
- // does not return a primitive value, ES next tries to convert the object
- // to a number by calling its toString() method and converting the
- // resulting string to a number.
-
- function cb(){}
- var i = f.some(cb);
-
- if (i === 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: >
+ Array.prototype.some returns false if 'length' is 0 (subclassed
+ Array, length overridden with obj w/o valueOf (toString))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+
+ var o = { toString: function () { return '0';}};
+ f.length = o;
+
+ // objects inherit the default valueOf method of the Object object;
+ // that simply returns the itself. Since the default valueOf() method
+ // does not return a primitive value, ES next tries to convert the object
+ // to a number by calling its toString() method and converting the
+ // resulting string to a number.
+
+ function cb(){}
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-8.js
index 92463fb48..5ed5701a0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-8.js
@@ -1,40 +1,42 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-8.js
- * @description Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden with []
- */
-
-
-function testcase() {
- foo.prototype = new Array(1, 2, 3);
- function foo() {}
- var f = new foo();
-
- f.length = [];
-
- // objects inherit the default valueOf method of the Object object;
- // that simply returns the itself. Since the default valueOf() method
- // does not return a primitive value, ES next tries to convert the object
- // to a number by calling its toString() method and converting the
- // resulting string to a number.
- //
- // The toString( ) method on Array converts the array elements to strings,
- // then returns the result of concatenating these strings, with commas in
- // between. An array with no elements converts to the empty string, which
- // converts to the number 0. If an array has a single element that is a
- // number n, the array converts to a string representation of n, which is
- // then converted back to n itself. If an array contains more than one element,
- // or if its one element is not a number, the array converts to NaN.
-
- function cb(){}
- var i = f.some(cb);
-
- if (i === 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: >
+ Array.prototype.some returns false if 'length' is 0 (subclassed
+ Array, length overridden with []
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ foo.prototype = new Array(1, 2, 3);
+ function foo() {}
+ var f = new foo();
+
+ f.length = [];
+
+ // objects inherit the default valueOf method of the Object object;
+ // that simply returns the itself. Since the default valueOf() method
+ // does not return a primitive value, ES next tries to convert the object
+ // to a number by calling its toString() method and converting the
+ // resulting string to a number.
+ //
+ // The toString( ) method on Array converts the array elements to strings,
+ // then returns the result of concatenating these strings, with commas in
+ // between. An array with no elements converts to the empty string, which
+ // converts to the number 0. If an array has a single element that is a
+ // number n, the array converts to a string representation of n, which is
+ // then converted back to n itself. If an array contains more than one element,
+ // or if its one element is not a number, the array converts to NaN.
+
+ function cb(){}
+ var i = f.some(cb);
+
+ if (i === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);