aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.4/15.4.4/15.4.4.16
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.4/15.4.4/15.4.4.16')
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-1.js36
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-2.js34
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-1.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-10.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-11.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-12.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-13.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-14.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-15.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-2.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-3.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-4.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-5.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-6.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-7.js38
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-8.js42
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-9.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-1.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-10.js84
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-11.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-12.js82
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-13.js74
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-14.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-15.js74
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-17.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-18.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-19.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-2.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-3.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-4.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-5.js94
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-6.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-7.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-8.js86
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-9.js100
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-1.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-10.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-11.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-12.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-13.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-14.js58
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-15.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-16.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-17.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-18.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-19.js88
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-2.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-20.js78
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-21.js93
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-22.js95
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-23.js108
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-24.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-25.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-28.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-29.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-3.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-4.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-5.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-6.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-7.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-8.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-9.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-1.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-10.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-11.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-12.js40
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-15.js82
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-3.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-4.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-5.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-6.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-7.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-8.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-9.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1-s.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-10.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-11.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-12.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-13.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-14.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-15.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-16.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-17.js44
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-18.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-19.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-2.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-21.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-22.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-23.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-24.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-3.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-4.js58
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-5.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-6.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-7.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-9.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-1.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-2.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-3.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-4.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-5.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-6.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-7.js55
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-8.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-9.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-1.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-10.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-11.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-12.js77
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-13.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-14.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-15.js88
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-16.js82
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-2.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-3.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-4.js80
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-5.js78
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-6.js84
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-7.js84
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-8.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-9.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-1.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-10.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-11.js81
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-12.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-13.js95
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-14.js88
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-15.js80
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-16.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-17.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-18.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-19.js69
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-2.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-20.js73
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-21.js72
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-22.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-23.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-25.js57
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-26.js69
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-27.js69
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-28.js86
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-29.js84
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-3.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-30.js76
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-31.js82
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-4.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-5.js91
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-6.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-7.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-8.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-9.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-1.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-10.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-11.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-12.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-13.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-16.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-17.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-18.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-19.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-2.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-20.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-21.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-22.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-23.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-3.js64
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-4.js60
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-5.js70
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-6.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-7.js68
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-8.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-9.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-1.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-10.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-11.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-12.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-13.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-14.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-15.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-16.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-17.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-18.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-19.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-2.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-20.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-21.js46
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-22.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-23.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-24.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-25.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-27.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-28.js96
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-29.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-3.js50
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-4.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-5.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-6.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-7.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-8.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-9.js48
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-1.js38
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-10.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-11.js54
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-12.js62
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-13.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-2.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-3.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-4.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-5.js52
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-6.js56
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-7.js66
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-8.js82
213 files changed, 6516 insertions, 6200 deletions
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-1.js
index 202325ced..74884969a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-0-1.js
- * @description Array.prototype.every must exist as a function
- */
-
-
-function testcase() {
- var f = Array.prototype.every;
- 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.every must exist as a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var f = Array.prototype.every;
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-2.js
index 89356994b..2b5179edc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-0-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-0-2.js
- * @description Array.prototype.every.length must be 1
- */
-
-
-function testcase() {
- if (Array.prototype.every.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.every.length must be 1
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ if (Array.prototype.every.length === 1) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-1.js
index e00a61f35..c1179f753 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-1-1.js
- * @description Array.prototype.every applied to undefined throws a TypeError
- */
-
-
-function testcase() {
- try {
- Array.prototype.every.call(undefined); // TypeError is thrown if value is 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.every applied to undefined throws a TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Array.prototype.every.call(undefined); // TypeError is thrown if value is 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.16/15.4.4.16-1-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-10.js
index 1d8467b7c..d30db650c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-1-10.js
- * @description Array.prototype.every 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.every.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.every 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.every.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.16/15.4.4.16-1-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-11.js
index d56160721..1127edbf0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-11.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.16/15.4.4.16-1-11.js
- * @description Array.prototype.every applied to Date object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return !(obj instanceof Date);
- }
-
- var obj = new Date();
- obj.length = 1;
- obj[0] = 1;
-
- return !Array.prototype.every.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.every applied to Date object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return !(obj instanceof Date);
+ }
+
+ var obj = new Date();
+ obj.length = 1;
+ obj[0] = 1;
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-12.js
index 111d4213b..1c8254325 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-12.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.16/15.4.4.16-1-12.js
- * @description Array.prototype.every applied to RegExp object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return !(obj instanceof RegExp);
- }
-
- var obj = new RegExp();
- obj.length = 1;
- obj[0] = 1;
-
- return !Array.prototype.every.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.every applied to RegExp object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return !(obj instanceof RegExp);
+ }
+
+ var obj = new RegExp();
+ obj.length = 1;
+ obj[0] = 1;
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-13.js
index 1d7e4c66a..29e85d28f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-1-13.js
- * @description Array.prototype.every 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.every.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.every 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.every.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.16/15.4.4.16-1-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-14.js
index d5a43740c..5984a6106 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-1-14.js
- * @description Array.prototype.every 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.every.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.every 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.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-15.js
index 3a6d4257c..e383fba12 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-1-15.js
- * @description Array.prototype.every applied to the Arguments object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return ('[object Arguments]' !== Object.prototype.toString.call(obj));
- }
-
- var obj = (function fun() {
- return arguments;
- }("a", "b"));
-
- return !Array.prototype.every.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.every 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 fun() {
+ return arguments;
+ }("a", "b"));
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-2.js
index a3f519be6..d62306578 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-1-2.js
- * @description Array.prototype.every applied to null throws a TypeError
- */
-
-
-function testcase() {
- try {
- Array.prototype.every.call(null); // TypeError is thrown if value is 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.every applied to null throws a TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Array.prototype.every.call(null); // TypeError is thrown if value is 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.16/15.4.4.16-1-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-3.js
index fdf5a733d..e68dac0ef 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-3.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.16/15.4.4.16-1-3.js
- * @description Array.prototype.every applied to boolean primitive
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return obj instanceof Boolean;
- }
-
- try {
- Boolean.prototype[0] = 1;
- Boolean.prototype.length = 1;
- return Array.prototype.every.call(false, callbackfn) && accessed;
- } 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.every applied to boolean primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return obj instanceof Boolean;
+ }
+
+ try {
+ Boolean.prototype[0] = 1;
+ Boolean.prototype.length = 1;
+ return Array.prototype.every.call(false, callbackfn) && accessed;
+ } 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.16/15.4.4.16-1-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-4.js
index dc14e9db8..613a8fcd8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-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.16/15.4.4.16-1-4.js
- * @description Array.prototype.every applied to Boolean object
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return obj instanceof Boolean;
- }
-
- var obj = new Boolean(true);
- obj.length = 2;
- obj[0] = 11;
- obj[1] = 12;
- return Array.prototype.every.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.every applied to Boolean object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return obj instanceof Boolean;
+ }
+
+ var obj = new Boolean(true);
+ obj.length = 2;
+ obj[0] = 11;
+ obj[1] = 12;
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-5.js
index 648f52179..c829b43a1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-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.16/15.4.4.16-1-5.js
- * @description Array.prototype.every applied to number primitive
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return obj instanceof Number;
- }
-
- try {
- Number.prototype[0] = 1;
- Number.prototype.length = 1;
- return Array.prototype.every.call(2.5, callbackfn) && accessed;
- } finally {
- delete Number.prototype[0];
- 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.every applied to number primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return obj instanceof Number;
+ }
+
+ try {
+ Number.prototype[0] = 1;
+ Number.prototype.length = 1;
+ return Array.prototype.every.call(2.5, callbackfn) && accessed;
+ } finally {
+ delete Number.prototype[0];
+ delete Number.prototype.length;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-6.js
index e65991479..c1953f325 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-6.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.16/15.4.4.16-1-6.js
- * @description Array.prototype.every applied to Number object
- */
-
-
-function testcase() {
- var accessed = false;
- function callbackfn(val, idx, obj) {
- accessed = true;
- return obj instanceof Number;
- }
-
- var obj = new Number(-128);
- obj.length = 2;
- obj[0] = 11;
- obj[1] = 12;
- return Array.prototype.every.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.every applied to Number object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return obj instanceof Number;
+ }
+
+ var obj = new Number(-128);
+ obj.length = 2;
+ obj[0] = 11;
+ obj[1] = 12;
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-7.js
index 12f4f13a6..e9b4d4f26 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-1-7.js
- * @description Array.prototype.every applied to string primitive
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return !(obj instanceof String);
- }
-
- return !Array.prototype.every.call("hello\nworld\\!", 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.every applied to string primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return !(obj instanceof String);
+ }
+
+ return !Array.prototype.every.call("hello\nworld\\!", callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-8.js
index a9bc6bbd6..944855916 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-8.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-8.js
- * @description Array.prototype.every applied to String object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return !(obj instanceof String);
- }
-
- var obj = new String("hello\nworld\\!");
-
- return !Array.prototype.every.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.every applied to String object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return !(obj instanceof String);
+ }
+
+ var obj = new String("hello\nworld\\!");
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-9.js
index af993b24a..9cc026398 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-1-9.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.16/15.4.4.16-1-9.js
- * @description Array.prototype.every 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.every.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.every 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.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-1.js
index 96ba5b09b..98ef528a4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-1.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.16/15.4.4.16-2-1.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an own data property
- */
-
-
-function testcase() {
- function callbackfn1(val, idx, obj) {
- return val > 10;
- }
-
- function callbackfn2(val, idx, obj) {
- return val > 11;
- }
-
- var obj = {
- 0: 12,
- 1: 11,
- 2: 9,
- length: 2
- };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ own data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn1(val, idx, obj) {
+ return val > 10;
+ }
+
+ function callbackfn2(val, idx, obj) {
+ return val > 11;
+ }
+
+ var obj = {
+ 0: 12,
+ 1: 11,
+ 2: 9,
+ length: 2
+ };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-10.js
index fb95486d0..c9e27c72a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-10.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an inherited accessor property
- */
-
-
-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] = 12;
- child[1] = 11;
- child[2] = 9;
-
- return Array.prototype.every.call(child, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ inherited accessor property
+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] = 12;
+ child[1] = 11;
+ child[2] = 9;
+
+ return Array.prototype.every.call(child, callbackfn1) &&
+ !Array.prototype.every.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-11.js
index b732044af..f4991c5f4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-11.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an own accessor property without a get function
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = {
- 0: 9,
- 1: 8
- };
- Object.defineProperty(obj, "length", {
- set: function () { },
- configurable: true
- });
-
- return Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ own accessor property without a get function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
+
+ var obj = {
+ 0: 9,
+ 1: 8
+ };
+ Object.defineProperty(obj, "length", {
+ set: function () { },
+ configurable: true
+ });
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-12.js
index b3e31392f..4b22b637c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-12.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.16/15.4.4.16-2-12.js
- * @description Array.prototype.every - 'length' is own accessor property without a get function that overrides an inherited accessor property
- */
-
-
-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: 9, 1: 8 };
- Object.defineProperty(obj, "length", {
- set: function () { },
- configurable: true
- });
-
- return Array.prototype.every.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.every - 'length' is own accessor property without
+ a get function that overrides an inherited accessor property
+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: 9, 1: 8 };
+ Object.defineProperty(obj, "length", {
+ set: function () { },
+ configurable: true
+ });
+
+ return Array.prototype.every.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.16/15.4.4.16-2-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-13.js
index ca6752a87..4c78b752b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-13.js
- * @description Array.prototype.every applied to the Array-like object that 'length' is inherited accessor property without a get function
- */
-
-
-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] = 9;
- child[1] = 8;
-
- return Array.prototype.every.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.every applied to the Array-like object that
+ 'length' is inherited accessor property without a get function
+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] = 9;
+ child[1] = 8;
+
+ return Array.prototype.every.call(child, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-14.js
index 00440e9d9..d8fc9301c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-14.js
- * @description Array.prototype.every applied to the Array-like object that 'length' property doesn't exist
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 11, 1: 12 };
-
- return Array.prototype.every.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.every applied to the Array-like object that
+ 'length' property doesn't exist
+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.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-15.js
index 88302b28b..286f53854 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-15.js
- * @description Array.prototype.every - '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] = 12;
- fnGlobalObject()[1] = 11;
- fnGlobalObject()[2] = 9;
- fnGlobalObject().length = 2;
- return Array.prototype.every.call(fnGlobalObject(), callbackfn1) &&
- !Array.prototype.every.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.every - '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] = 12;
+ fnGlobalObject()[1] = 11;
+ fnGlobalObject()[2] = 9;
+ fnGlobalObject().length = 2;
+ return Array.prototype.every.call(fnGlobalObject(), callbackfn1) &&
+ !Array.prototype.every.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.16/15.4.4.16-2-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-17.js
index 14335ecc4..fcdcacdb2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-17.js
- * @description Array.prototype.every 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] = 9;
- return Array.prototype.every.call(arguments, callbackfn1) &&
- !Array.prototype.every.call(arguments, callbackfn2);
- };
-
- return func(12, 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.every 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] = 9;
+ return Array.prototype.every.call(arguments, callbackfn1) &&
+ !Array.prototype.every.call(arguments, callbackfn2);
+ };
+
+ return func(12, 11);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-18.js
index 467d05ef2..f082bec1b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-18.js
- * @description Array.prototype.every 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("432");
- try {
- String.prototype[3] = "1";
- return Array.prototype.every.call(str, callbackfn1) &&
- !Array.prototype.every.call(str, callbackfn2);
- } finally {
- delete String.prototype[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.every 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("432");
+ try {
+ String.prototype[3] = "1";
+ return Array.prototype.every.call(str, callbackfn1) &&
+ !Array.prototype.every.call(str, callbackfn2);
+ } finally {
+ delete String.prototype[3];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-19.js
index 78513f58a..b3cfb7463 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-19.js
- * @description Array.prototype.every 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] = 12;
- fun[1] = 11;
- fun[2] = 9;
-
- return Array.prototype.every.call(fun, callbackfn1) &&
- !Array.prototype.every.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.every 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] = 12;
+ fun[1] = 11;
+ fun[2] = 9;
+
+ return Array.prototype.every.call(fun, callbackfn1) &&
+ !Array.prototype.every.call(fun, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-2.js
index ec89f5c37..7f0a7c880 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-2.js
- * @description Array.prototype.every - '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] = 9;
-
- return [12, 11].every(callbackfn1) &&
- ![12, 11].every(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.every - '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] = 9;
+
+ return [12, 11].every(callbackfn1) &&
+ ![12, 11].every(callbackfn2);
+ } finally {
+ delete Array.prototype[2];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-3.js
index 58e7cbd38..040ce29a9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-3.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an own data property that overrides an inherited data property
- */
-
-
-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] = 12;
- child[1] = 11;
- child[2] = 9;
-
- return Array.prototype.every.call(child, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ own data property that overrides an inherited data property
+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] = 12;
+ child[1] = 11;
+ child[2] = 9;
+
+ return Array.prototype.every.call(child, callbackfn1) &&
+ !Array.prototype.every.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-4.js
index 094f388cc..d058f5122 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-4.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.16/15.4.4.16-2-4.js
- * @description Array.prototype.every - 'length' is 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] = 9;
-
- return [12, 11].every(callbackfn1) &&
- ![12, 11].every(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.every - 'length' is 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] = 9;
+
+ return [12, 11].every(callbackfn1) &&
+ ![12, 11].every(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.16/15.4.4.16-2-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-5.js
index fb1ccb7d1..808cfa431 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-5.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an own data property that overrides an inherited accessor property
- */
-
-
-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();
- child[0] = 12;
- child[1] = 11;
- child[2] = 9;
-
- Object.defineProperty(child, "length", {
- value: 2,
- configurable: true
- });
-
- return Array.prototype.every.call(child, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ own data property that overrides an inherited accessor property
+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();
+ child[0] = 12;
+ child[1] = 11;
+ child[2] = 9;
+
+ Object.defineProperty(child, "length", {
+ value: 2,
+ configurable: true
+ });
+
+ return Array.prototype.every.call(child, callbackfn1) &&
+ !Array.prototype.every.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-6.js
index f865dbc61..a277f1a56 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-6.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an inherited data property
- */
-
-
-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] = 12;
- child[1] = 11;
- child[2] = 9;
-
- return Array.prototype.every.call(child, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ inherited data property
+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] = 12;
+ child[1] = 11;
+ child[2] = 9;
+
+ return Array.prototype.every.call(child, callbackfn1) &&
+ !Array.prototype.every.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-7.js
index 8f96e425b..05995a52c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-7.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an own accessor property
- */
-
-
-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] = 12;
- obj[1] = 11;
- obj[2] = 9;
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ own accessor property
+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] = 12;
+ obj[1] = 11;
+ obj[2] = 9;
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-8.js
index cc1374c6c..35e517721 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-8.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an own accessor property that overrides an inherited data property
- */
-
-
-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] = 12;
- child[1] = 11;
- child[2] = 9;
-
- return Array.prototype.every.call(child, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ own accessor property that overrides an inherited data property
+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] = 12;
+ child[1] = 11;
+ child[2] = 9;
+
+ return Array.prototype.every.call(child, callbackfn1) &&
+ !Array.prototype.every.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-9.js
index 0bcdd9417..b4881d344 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-2-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-2-9.js
- * @description Array.prototype.every applied to Array-like object, 'length' is an own accessor property that overrides an inherited accessor property
- */
-
-
-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] = 12;
- child[1] = 11;
- child[2] = 9;
-
- return Array.prototype.every.call(child, callbackfn1) &&
- !Array.prototype.every.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.every applied to Array-like object, 'length' is an
+ own accessor property that overrides an inherited accessor property
+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] = 12;
+ child[1] = 11;
+ child[2] = 9;
+
+ return Array.prototype.every.call(child, callbackfn1) &&
+ !Array.prototype.every.call(child, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-1.js
index e7602a359..968d6691e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-1.js
- * @description Array.prototype.every - value of 'length' is undefined
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var obj = { 0: 9, length: undefined };
-
- return Array.prototype.every.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.every - 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: 9, length: undefined };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-10.js
index bc14649dc..5d884112e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-10.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.16/15.4.4.16-3-10.js
- * @description Array.prototype.every - 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: 9, length: NaN };
-
- return Array.prototype.every.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.every - 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: 9, length: NaN };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-11.js
index b720970d9..f91c56d01 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-11.js
- * @description Array.prototype.every - '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: 12, 1: 11, 2: 9, length: "2" };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - '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: 12, 1: 11, 2: 9, length: "2" };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-12.js
index 9eac9bcf9..a9f197522 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-12.js
- * @description Array.prototype.every - '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: 11, 1: 12, 2: 9, length: "-4294967294" };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - '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: 11, 1: 12, 2: 9, length: "-4294967294" };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-13.js
index eb93388d0..e7f1b12c5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-13.js
- * @description Array.prototype.every - '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: 12, 1: 11, 2: 9, length: "2.5" };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - '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: 12, 1: 11, 2: 9, length: "2.5" };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-14.js
index 4466ce736..444b578ba 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-14.js
- * @description Array.prototype.every - 'length' is a string containing +/-Infinity
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
- }
-
- var objOne = { 0: 9, length: "Infinity" };
- var objTwo = { 0: 9, length: "+Infinity" };
- var objThree = { 0: 9, length: "-Infinity" };
-
- return Array.prototype.every.call(objOne, callbackfn) &&
- Array.prototype.every.call(objTwo, callbackfn) &&
- Array.prototype.every.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.every - '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: 9, length: "Infinity" };
+ var objTwo = { 0: 9, length: "+Infinity" };
+ var objThree = { 0: 9, length: "-Infinity" };
+
+ return Array.prototype.every.call(objOne, callbackfn) &&
+ Array.prototype.every.call(objTwo, callbackfn) &&
+ Array.prototype.every.call(objThree, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-15.js
index 39691c69d..20961772b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-15.js
- * @description Array.prototype.every - '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: 12, 1: 11, 2: 9, length: "2E0" };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - '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: 12, 1: 11, 2: 9, length: "2E0" };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-16.js
index dd5d83a60..a2b0068fd 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-16.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.16/15.4.4.16-3-16.js
- * @description Array.prototype.every - '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: 12, 1: 11, 2: 9, length: "0x0002" };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - '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: 12, 1: 11, 2: 9, length: "0x0002" };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-17.js
index 5ffbd5764..b5dc5515a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-17.js
- * @description Array.prototype.every - '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: 12, 1: 11, 2: 9, length: "0002.00" };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - '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: 12, 1: 11, 2: 9, length: "0002.00" };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-18.js
index ea4e188b8..256b08cf1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-18.js
- * @description Array.prototype.every - 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: 9, 1: 8, length: "two" };
-
- return Array.prototype.every.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.every - 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: 9, 1: 8, length: "two" };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-19.js
index 2d802f9c4..c82d31476 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-19.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.16/15.4.4.16-3-19.js
- * @description Array.prototype.every - 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: 12,
- 1: 11,
- 2: 9,
-
- length: {
- toString: function () {
- toStringAccessed = true;
- return '2';
- }
- }
- };
-
- // objects inherit the default valueOf() method from Object
- // that simply returns 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.
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - 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: 12,
+ 1: 11,
+ 2: 9,
+
+ length: {
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ }
+ }
+ };
+
+ // objects inherit the default valueOf() method from Object
+ // that simply returns 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.
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2) && toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-2.js
index 182e4fcc6..c43686d26 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-2.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.16/15.4.4.16-3-2.js
- * @description Array.prototype.every 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: 9, length: true };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every 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: 9, length: true };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-20.js
index 8561a55f5..6d06fdde5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-20.js
- * @description Array.prototype.every - 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: 12,
- 1: 11,
- 2: 9,
- length: {
- valueOf: function () {
- valueOfAccessed = true;
- return 2;
- }
- }
- };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - 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: 12,
+ 1: 11,
+ 2: 9,
+ length: {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return 2;
+ }
+ }
+ };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2) && valueOfAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-21.js
index d1584c989..50c761468 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-21.js
@@ -1,45 +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.16/15.4.4.16-3-21.js
- * @description Array.prototype.every - '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: 12,
- 1: 11,
- 2: 9,
- length: {
- valueOf: function () {
- valueOfAccessed = true;
- return {};
- },
- toString: function () {
- toStringAccessed = true;
- return '2';
- }
- }
- };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - '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: 12,
+ 1: 11,
+ 2: 9,
+ length: {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return {};
+ },
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ }
+ }
+ };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2) &&
+ valueOfAccessed &&
+ toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-22.js
index 89125fc38..9a33b5afd 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-22.js
- * @description Array.prototype.every 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.every.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.every 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.every.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.16/15.4.4.16-3-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-23.js
index ecbd5f7fb..b7796d2f9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-23.js
@@ -1,53 +1,55 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use 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.16/15.4.4.16-3-23.js
- * @description Array.prototype.every 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: 12,
- 1: 11,
- 2: 9,
- length: child
- };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every 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: 12,
+ 1: 11,
+ 2: 9,
+ length: child
+ };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2) &&
+ valueOfAccessed && !toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-24.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-24.js
index af70d8aef..298737d08 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-24.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-24.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.16/15.4.4.16-3-24.js
- * @description Array.prototype.every - 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: 12, 1: 11, 2: 9, length: 2.685 };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - 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: 12, 1: 11, 2: 9, length: 2.685 };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-25.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-25.js
index 456513fc6..ce15741fa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-25.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-25.js
- * @description Array.prototype.every - 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: 12,
- 1: 11,
- 2: 9,
- length: -4294967294.5
- };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - 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: 12,
+ 1: 11,
+ 2: 9,
+ length: -4294967294.5
+ };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-28.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-28.js
index bda837ad7..85695a655 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-28.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-28.js
- * @description Array.prototype.every - 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.every.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.every - 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.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-29.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-29.js
index 38e4125c0..e104ce1f5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-29.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-29.js
- * @description Array.prototype.every - 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: 9,
- length: 4294967297
- };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - 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: 9,
+ length: 4294967297
+ };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-3.js
index f8b8d670f..f14dd0efd 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-3.js
- * @description Array.prototype.every - 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: 9, length: 0 };
-
- return Array.prototype.every.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.every - 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: 9, length: 0 };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-4.js
index 1e38fee96..a12ca6d63 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-4.js
- * @description Array.prototype.every - 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: 9, length: +0 };
-
- return Array.prototype.every.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.every - 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: 9, length: +0 };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-5.js
index ec1f85f0b..f263a017a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-5.js
- * @description Array.prototype.every - 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: 9, length: -0 };
-
- return Array.prototype.every.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.every - 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: 9, length: -0 };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-6.js
index a6b3529cf..2b6d764df 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-6.js
- * @description Array.prototype.every - 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: 12, 1: 11, 2: 9, length: 2 };
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - 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: 12, 1: 11, 2: 9, length: 2 };
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-7.js
index fb37633ff..74728cf20 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-7.js
- * @description Array.prototype.every - 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: 12, 1: 11, 2: 9, length: -4294967294 }; //length used to exec while loop is 2
-
- return Array.prototype.every.call(obj, callbackfn1) &&
- !Array.prototype.every.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.every - 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: 12, 1: 11, 2: 9, length: -4294967294 }; //length used to exec while loop is 2
+
+ return Array.prototype.every.call(obj, callbackfn1) &&
+ !Array.prototype.every.call(obj, callbackfn2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-8.js
index 3bd8e4e07..b5be34af1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-8.js
- * @description Array.prototype.every - 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: 9, length: Infinity };
-
- return Array.prototype.every.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.every - 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: 9, length: Infinity };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-9.js
index c55c0ba9c..1a3587445 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-3-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-3-9.js
- * @description Array.prototype.every - 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: 9, length: -Infinity };
-
- return Array.prototype.every.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.every - 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: 9, length: -Infinity };
+
+ return Array.prototype.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-1.js
index 6a4b59793..c5963a3a3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-1.js
- * @description Array.prototype.every throws TypeError if callbackfn is undefined
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.every();
- }
- 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.every throws TypeError if callbackfn is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.every();
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-10.js
index 90914dacb..6632f72c3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-10.js
- * @description Array.prototype.every - 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.every.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.every - 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.every.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.16/15.4.4.16-4-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-11.js
index 6c3ab2f11..1c6d19781 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-11.js
- * @description Array.prototype.every - 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.every.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.every - 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.every.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.16/15.4.4.16-4-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-12.js
index ce9f3f2b4..756292798 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-12.js
- * @description Array.prototype.every - 'callbackfn' is a function
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
-
- return ![11, 9].every(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.every - 'callbackfn' is a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ return val > 10;
+ }
+
+ return ![11, 9].every(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-15.js
index 6dd27eb72..4353ef39d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-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.16/15.4.4.16-4-15.js
- * @description Array.prototype.every - calling with no callbackfn is the same as passing undefined for callbackfn
- */
-
-
-function testcase() {
- var obj = { 10: 10 };
- 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.every.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.every - calling with no callbackfn is the same as
+ passing undefined for callbackfn
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { 10: 10 };
+ 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.every.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.16/15.4.4.16-4-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-3.js
index 25a7528e2..ddb53db12 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-3.js
- * @description Array.prototype.every throws TypeError if callbackfn is null
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.every(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.every throws TypeError if callbackfn is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.every(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.16/15.4.4.16-4-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-4.js
index 3aff4785f..a8f1203b5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-4.js
- * @description Array.prototype.every throws TypeError if callbackfn is boolean
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.every(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.every throws TypeError if callbackfn is boolean
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.every(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.16/15.4.4.16-4-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-5.js
index df3bae0ee..a479db9a3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-5.js
- * @description Array.prototype.every throws TypeError if callbackfn is number
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.every(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.every throws TypeError if callbackfn is number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.every(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.16/15.4.4.16-4-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-6.js
index e6d43f384..c33a3f928 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-6.js
- * @description Array.prototype.every throws TypeError if callbackfn is string
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.every("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.every throws TypeError if callbackfn is string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.every("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.16/15.4.4.16-4-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-7.js
index 5985e97fa..d4d44966c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-7.js
- * @description Array.prototype.every throws TypeError if callbackfn is Object without a Call internal method
- */
-
-
-function testcase() {
-
- var arr = new Array(10);
- try {
- arr.every( {} );
- }
- 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.every throws TypeError if callbackfn is Object
+ without a Call internal method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = new Array(10);
+ try {
+ arr.every( {} );
+ }
+ catch(e) {
+ if(e instanceof TypeError)
+ return true;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-8.js
index 29eba260b..5b3c7e790 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-8.js
- * @description Array.prototype.every - 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.every.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.every - 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.every.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.16/15.4.4.16-4-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-9.js
index 636b911e9..02f097d49 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-4-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-4-9.js
- * @description Array.prototype.every - 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.every.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.every - 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.every.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.16/15.4.4.16-5-1-s.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1-s.js
index df1adeb1f..efdd8cb1c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1-s.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-5-1-s.js
- * @description Array.prototype.every - 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].every(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.every - 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].every(callbackfn);
+ return innerThisCorrect;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1.js
index 5cce3ee95..e9e2a477b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-1.js
- * @description Array.prototype.every - thisArg not passed
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj)
- {
- return this === fnGlobalObject();
- }
-
- var arr = [1];
- if(arr.every(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.every - thisArg not passed
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj)
+ {
+ return this === fnGlobalObject();
+ }
+
+ var arr = [1];
+ if(arr.every(callbackfn) === true)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-10.js
index 4298dfbf4..4877cd10d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-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.16/15.4.4.16-5-10.js
- * @description Array.prototype.every - Array Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objArray = [];
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objArray;
- }
-
-
-
- return [11].every(callbackfn, objArray) && 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.every - Array Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objArray = [];
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objArray;
+ }
+
+
+
+ return [11].every(callbackfn, objArray) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-11.js
index 0e5e3c0f5..002028f87 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-11.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.16/15.4.4.16-5-11.js
- * @description Array.prototype.every - String Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objString = new String();
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objString;
- }
-
-
-
- return [11].every(callbackfn, objString) && 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.every - String Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objString = new String();
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objString;
+ }
+
+
+
+ return [11].every(callbackfn, objString) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-12.js
index 3b184dccc..731dcf219 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-12.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.16/15.4.4.16-5-12.js
- * @description Array.prototype.every - Boolean Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objBoolean = new Boolean();
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objBoolean;
- }
-
-
-
- return [11].every(callbackfn, objBoolean) && 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.every - Boolean Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objBoolean = new Boolean();
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objBoolean;
+ }
+
+
+
+ return [11].every(callbackfn, objBoolean) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-13.js
index 7370d6a96..a80c35fa0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-13.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.16/15.4.4.16-5-13.js
- * @description Array.prototype.every - Number Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objNumber = new Number();
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objNumber;
- }
-
- return [11].every(callbackfn, objNumber) && 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.every - Number Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objNumber = new Number();
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objNumber;
+ }
+
+ return [11].every(callbackfn, objNumber) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-14.js
index f48991697..3890656e2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-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.16/15.4.4.16-5-14.js
- * @description Array.prototype.every - the Math object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === Math;
- }
-
- return [11].every(callbackfn, Math) && 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.every - the Math object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === Math;
+ }
+
+ return [11].every(callbackfn, Math) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-15.js
index 2dcd9b45c..8a30c4950 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-15.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.16/15.4.4.16-5-15.js
- * @description Array.prototype.every - Date Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objDate = new Date();
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objDate;
- }
-
- return [11].every(callbackfn, objDate) && 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.every - Date Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objDate = new Date();
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objDate;
+ }
+
+ return [11].every(callbackfn, objDate) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-16.js
index 278548936..2beada29f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-16.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.16/15.4.4.16-5-16.js
- * @description Array.prototype.every - RegExp Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objRegExp = new RegExp();
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objRegExp;
- }
-
- return [11].every(callbackfn, objRegExp) && 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.every - RegExp Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objRegExp = new RegExp();
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objRegExp;
+ }
+
+ return [11].every(callbackfn, objRegExp) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-17.js
index da9862f3e..87d43527f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-17.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.16/15.4.4.16-5-17.js
- * @description Array.prototype.every - the JSON object can be used as thisArg
- */
-
-
-function testcase() {
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === JSON;
- }
-
- return [11].every(callbackfn, JSON) && 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.every - the JSON object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === JSON;
+ }
+
+ return [11].every(callbackfn, JSON) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-18.js
index 9d52c1573..6777994a5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-18.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.16/15.4.4.16-5-18.js
- * @description Array.prototype.every - Error Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objError = new RangeError();
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objError;
- }
-
- return [11].every(callbackfn, objError) && 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.every - Error Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objError = new RangeError();
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objError;
+ }
+
+ return [11].every(callbackfn, objError) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-19.js
index cea453384..8337b3ede 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-19.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.16/15.4.4.16-5-19.js
- * @description Array.prototype.every - the Arguments object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var arg;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === arg;
- }
-
- (function fun() {
- arg = arguments;
- }(1, 2, 3));
-
- return [11].every(callbackfn, arg) && 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.every - the Arguments object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var arg;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === arg;
+ }
+
+ (function fun() {
+ arg = arguments;
+ }(1, 2, 3));
+
+ return [11].every(callbackfn, arg) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-2.js
index 5981dcbe8..626d394e9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-5-2.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn, o) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-21.js
index e9c971545..4e7449d1e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-21.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.16/15.4.4.16-5-21.js
- * @description Array.prototype.every - the global object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === fnGlobalObject();
- }
-
- return [11].every(callbackfn, fnGlobalObject()) && 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.every - the global object can be used as thisArg
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === fnGlobalObject();
+ }
+
+ return [11].every(callbackfn, fnGlobalObject()) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-22.js
index 3023de2de..e5c55e624 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-22.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.16/15.4.4.16-5-22.js
- * @description Array.prototype.every - boolean primitive can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this.valueOf() === false;
- }
-
- return [11].every(callbackfn, false) && 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.every - boolean primitive can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this.valueOf() === false;
+ }
+
+ return [11].every(callbackfn, false) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-23.js
index 664f4fb37..93f4c3705 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-23.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.16/15.4.4.16-5-23.js
- * @description Array.prototype.every - number primitive can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this.valueOf() === 101;
- }
-
- return [11].every(callbackfn, 101) && 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.every - number primitive can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this.valueOf() === 101;
+ }
+
+ return [11].every(callbackfn, 101) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-24.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-24.js
index 064e13a33..dcd423baa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-24.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-24.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.16/15.4.4.16-5-24.js
- * @description Array.prototype.every - string primitive can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this.valueOf() === "abc";
- }
-
- return [11].every(callbackfn, "abc") && 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.every - string primitive can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this.valueOf() === "abc";
+ }
+
+ return [11].every(callbackfn, "abc") && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-3.js
index 3a323cc90..8cf9125c5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-5-3.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn, a) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-4.js
index 7031d0385..d7670dd75 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-5-4.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn,f) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-5.js
index 69db13081..0430114f4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-5-5.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn,f) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-6.js
index af19433d2..3e9510e2c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-5-6.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn,foo) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-7.js
index eafa339a9..7743baf61 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-7.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.16/15.4.4.16-5-7.js
- * @description Array.prototype.every - built-in functions can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === eval;
- }
-
- return [11].every(callbackfn, eval) && 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.every - built-in functions can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === eval;
+ }
+
+ return [11].every(callbackfn, eval) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-9.js
index aff4cbc2d..e448aa3f3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-5-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.16/15.4.4.16-5-9.js
- * @description Array.prototype.every - Function Object can be used as thisArg
- */
-
-
-function testcase() {
-
- var accessed = false;
- var objFunction = function () { };
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this === objFunction;
- }
-
- return [11].every(callbackfn, objFunction) && 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.every - Function Object can be used as thisArg
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var objFunction = function () { };
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this === objFunction;
+ }
+
+ return [11].every(callbackfn, objFunction) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-1.js
index 722bb54e6..3232abf17 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-1.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.16/15.4.4.16-7-1.js
- * @description Array.prototype.every considers new elements added to array after the call
- */
-
-
-function testcase() {
-
- var calledForThree = false;
-
- function callbackfn(val, Idx, obj)
- {
- arr[2] = 3;
- if(val == 3)
- calledForThree = true;
- return true;
- }
-
- var arr = [1,2,,4,5];
-
- var res = arr.every(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.every considers new elements added to array after
+ the call
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var calledForThree = false;
+
+ function callbackfn(val, Idx, obj)
+ {
+ arr[2] = 3;
+ if(val == 3)
+ calledForThree = true;
+ return true;
+ }
+
+ var arr = [1,2,,4,5];
+
+ var res = arr.every(callbackfn);
+
+ return calledForThree;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-2.js
index 88ea60e71..e3f331144 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-2.js
- * @description Array.prototype.every considers new value of elements in array after the call
- */
-
-
-function testcase() {
-
- function callbackfn(val, Idx, obj)
- {
- arr[4] = 6;
- if(val < 6)
- return true;
- else
- return false;
- }
-
- var arr = [1,2,3,4,5];
-
- if(arr.every(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.every considers new value of elements in array
+ after the call
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, Idx, obj)
+ {
+ arr[4] = 6;
+ if(val < 6)
+ return true;
+ else
+ return false;
+ }
+
+ var arr = [1,2,3,4,5];
+
+ if(arr.every(callbackfn) === false)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-3.js
index 8274ba648..c19b8183f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-3.js
- * @description Array.prototype.every doesn't visit deleted elements in array after the call
- */
-
-
-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.every(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.every doesn't visit deleted elements in array
+ after the call
+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.every(callbackfn) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-4.js
index 7d1be54ae..01ec382dd 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-4.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.16/15.4.4.16-7-4.js
- * @description Array.prototype.every doesn't visit deleted elements when Array.length is decreased
- */
-
-
-function testcase() {
-
- function callbackfn(val, Idx, obj)
- {
- arr.length = 3;
- if(val < 4)
- return true;
- else
- return false;
- }
-
- var arr = [1,2,3,4,6];
-
- if(arr.every(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.every 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 true;
+ else
+ return false;
+ }
+
+ var arr = [1,2,3,4,6];
+
+ if(arr.every(callbackfn) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-5.js
index 903505af0..de2fa5bfc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-5.js
- * @description Array.prototype.every doesn't consider newly added elements in sparse array
- */
-
-
-function testcase() {
-
- function callbackfn(val, Idx, obj)
- {
- arr[1000] = 3;
- if(val < 3)
- return true;
- else
- return false;
- }
-
- var arr = new Array(10);
- arr[1] = 1;
- arr[2] = 2;
-
- if(arr.every(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.every doesn't consider newly added elements in
+ sparse array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, Idx, obj)
+ {
+ arr[1000] = 3;
+ if(val < 3)
+ return true;
+ else
+ return false;
+ }
+
+ var arr = new Array(10);
+ arr[1] = 1;
+ arr[2] = 2;
+
+ if(arr.every(callbackfn) === true)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-6.js
index 7bafd4c2b..25444a6f0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-6.js
- * @description Array.prototype.every 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[2];
- if(val == 3)
- return false;
- else
- return true;
- }
-
- Array.prototype[2] = 3;
- var arr = [1,2,3,4,5];
-
- var res = arr.every(callbackfn);
- delete Array.prototype[2];
-
- if(res === 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.every 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[2];
+ if(val == 3)
+ return false;
+ else
+ return true;
+ }
+
+ Array.prototype[2] = 3;
+ var arr = [1,2,3,4,5];
+
+ var res = arr.every(callbackfn);
+ delete Array.prototype[2];
+
+ if(res === false)
+ return true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-7.js
index 1c403e472..3542193ab 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-7.js
@@ -1,26 +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.16/15.4.4.16-7-7.js
- * @description Array.prototype.every - Deleting the array itself within the callbackfn of Array.prototype.every is successful once Array.prototype.every is called for all elements
- */
-
-
-function testcase() {
- var o = new Object();
- o.arr = [1, 2, 3, 4, 5];
-
- function callbackfn(val, Idx, obj) {
- delete o.arr;
- if (val === Idx + 1)
- return true;
- else
- return false;
- }
-
- return o.arr.every(callbackfn) && !o.hasOwnProperty("arr");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (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.every - Deleting the array itself within the
+ callbackfn of Array.prototype.every is successful once
+ Array.prototype.every is called for all elements
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = new Object();
+ o.arr = [1, 2, 3, 4, 5];
+
+ function callbackfn(val, Idx, obj) {
+ delete o.arr;
+ if (val === Idx + 1)
+ return true;
+ else
+ return false;
+ }
+
+ return o.arr.every(callbackfn) && !o.hasOwnProperty("arr");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-8.js
index aaf68c18b..ecc851a1a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-8.js
- * @description Array.prototype.every - no observable effects occur if len 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.every.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.every - no observable effects occur if len 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.every.call(obj, callbackfn) && !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-9.js
index 1455b30a7..ed56a9840 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-9.js
- * @description Array.prototype.every - 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 = { 1: 12, 2: 9, length: 2 };
-
- Object.defineProperty(obj, "0", {
- get: function () {
- obj.length = 3;
- return 11;
- },
- configurable: true
- });
-
- return Array.prototype.every.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.every - 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 = { 1: 12, 2: 9, length: 2 };
+
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ obj.length = 3;
+ return 11;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.every.call(obj, callbackfn) && 2 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-1.js
index fb92d17fa..013042a04 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-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.16/15.4.4.16-7-b-1.js
- * @description Array.prototype.every - callbackfn not called for indexes never been assigned values
- */
-
-
-function testcase() {
-
- var callCnt = 0.;
- function callbackfn(val, Idx, obj)
- {
- callCnt++;
- return true;
- }
-
- var arr = new Array(10);
- arr[1] = undefined;
- arr.every(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.every - callbackfn not called for indexes never
+ been assigned values
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0.;
+ function callbackfn(val, Idx, obj)
+ {
+ callCnt++;
+ return true;
+ }
+
+ var arr = new Array(10);
+ arr[1] = undefined;
+ arr.every(callbackfn);
+ if( callCnt === 1)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-10.js
index 8cea83ec4..535266d4f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-10.js
- * @description Array.prototype.every - 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.every.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.every - 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.every.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.16/15.4.4.16-7-b-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-11.js
index e44150268..bb17d6f2a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-11.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn) && accessed;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-12.js
index c1ab41832..578193639 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-12.js
- * @description Array.prototype.every - 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 false;
- } else {
- return true;
- }
- }
- 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.every.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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+ 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.every.call(arr, callbackfn);
+ } finally {
+ delete Object.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-13.js
index a58582ac3..2670d839c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-13.js
- * @description Array.prototype.every - 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 false;
- } else {
- return true;
- }
- }
- 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.every(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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+ 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.every(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-14.js
index 0651f541c..3985c8c9a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-14.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-15.js
index 1049ebfd8..10fa04279 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-15.js
- * @description Array.prototype.every - 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 false;
- } else {
- return true;
- }
- }
- 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.every(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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+ 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.every(callbackfn);
+ } finally {
+ delete Array.prototype[2];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-16.js
index dee1b45e3..33b3edffe 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-16.js
- * @description Array.prototype.every - decreasing length of array does not delete non-configurable properties
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 2 && val === "unconfigurable") {
- return false;
- } else {
- return true;
- }
- }
-
- 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.every(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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+
+ 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.every(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-2.js
index 00e669064..ecf668636 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-2.js
- * @description Array.prototype.every - added properties in step 2 are visible here
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 2 && val === "length") {
- return false;
- } else {
- return true;
- }
- }
-
- var arr = { };
-
- Object.defineProperty(arr, "length", {
- get: function () {
- arr[2] = "length";
- return 3;
- },
- configurable: true
- });
-
- return !Array.prototype.every.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.every - added properties in step 2 are visible here
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 2 && val === "length") {
+ return false;
+ } else {
+ return true;
+ }
+ }
+
+ var arr = { };
+
+ Object.defineProperty(arr, "length", {
+ get: function () {
+ arr[2] = "length";
+ return 3;
+ },
+ configurable: true
+ });
+
+ return !Array.prototype.every.call(arr, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-3.js
index 07c640c4e..80f1e34f9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-3.js
- * @description Array.prototype.every - 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.every.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.every - 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.every.call(arr, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-4.js
index 65968ab56..84ff29ec2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-4.js
- * @description Array.prototype.every - 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 false;
- } else {
- return true;
- }
- }
-
- 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.every.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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+
+ 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.every.call(arr, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-5.js
index 188de1c84..25826887e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-5.js
- * @description Array.prototype.every - 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 false;
- } else {
- return true;
- }
- }
-
- 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.every(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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+
+ 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.every(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-6.js
index 72c7eb821..9419040bb 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-6.js
- * @description Array.prototype.every - 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 false;
- } else {
- return true;
- }
- }
- 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.every.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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+ 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.every.call(arr, callbackfn);
+ } finally {
+ delete Object.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-7.js
index 70545d9c2..bd594814f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-7.js
- * @description Array.prototype.every - 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 false;
- } else {
- return true;
- }
- }
- 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.every(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.every - 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 false;
+ } else {
+ return true;
+ }
+ }
+ 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.every(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-8.js
index c67bc611b..6b5ded6f6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-8.js
- * @description Array.prototype.every - 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 obj = { length: 2 };
-
- Object.defineProperty(obj, "1", {
- get: function () {
- return 6.99;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- get: function () {
- delete obj[1];
- return 0;
- },
- configurable: true
- });
-
- return Array.prototype.every.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.every - 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 obj = { length: 2 };
+
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ return 6.99;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ delete obj[1];
+ return 0;
+ },
+ configurable: true
+ });
+
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-9.js
index 1f012cd38..8da4695a7 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-b-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-b-9.js
- * @description Array.prototype.every - 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.every(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.every - 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.every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-1.js
index 660529b7e..7c2762703 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-1.js
- * @description Array.prototype.every - 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;
- } else {
- return true;
- }
- }
-
- var obj = { 5: kValue, length: 100 };
-
- return !Array.prototype.every.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.every - 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;
+ } else {
+ return true;
+ }
+ }
+
+ var obj = { 5: kValue, length: 100 };
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-10.js
index fa9d14d37..0292c6f80 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-10.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-10.js
- * @description Array.prototype.every - element to be retrieved is own accessor property on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 2) {
- return val !== 12;
- } else {
- return true;
- }
- }
-
- var arr = [];
-
- Object.defineProperty(arr, "2", {
- get: function () {
- return 12;
- },
- configurable: true
- });
-
- return !arr.every(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.every - element to be retrieved is own accessor
+ property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 2) {
+ return val !== 12;
+ } else {
+ return true;
+ }
+ }
+
+ var arr = [];
+
+ Object.defineProperty(arr, "2", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+
+ return !arr.every(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-11.js
index 3ad37ec43..a17bf832a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-11.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.16/15.4.4.16-7-c-i-11.js
- * @description Array.prototype.every - element to be retrieved is own accessor property that overrides an inherited data property on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === 5;
- } else {
- return true;
- }
- }
-
- var proto = { 0: 5, 1: 6 };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 10;
-
- Object.defineProperty(child, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- return !Array.prototype.every.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.every - element to be retrieved is own accessor
+ property that overrides an inherited data property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === 5;
+ } else {
+ return true;
+ }
+ }
+
+ var proto = { 0: 5, 1: 6 };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 10;
+
+ Object.defineProperty(child, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ return !Array.prototype.every.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-12.js
index c2cb3466d..fa47fee63 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-12.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.16/15.4.4.16-7-c-i-12.js
- * @description Array.prototype.every - element to be retrieved is own accessor property that overrides an inherited data property on an Array
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === 10;
- } else {
- return true;
- }
- }
-
- var arr = [];
- try {
- Array.prototype[0] = 10;
-
- Object.defineProperty(arr, "0", {
- get: function () {
- return 111;
- },
- configurable: true
- });
-
- return !arr.every(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.every - element to be retrieved is own accessor
+ property that overrides an inherited data property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === 10;
+ } else {
+ return true;
+ }
+ }
+
+ var arr = [];
+ try {
+ Array.prototype[0] = 10;
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 111;
+ },
+ configurable: true
+ });
+
+ return !arr.every(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-13.js
index 8b637ebdd..e752d5256 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-13.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.16/15.4.4.16-7-c-i-13.js
- * @description Array.prototype.every - element to be retrieved is own accessor property that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === 6;
- } else {
- return true;
- }
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "1", {
- get: function () {
- return 6;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 10;
-
- Object.defineProperty(child, "1", {
- get: function () {
- return 12;
- },
- configurable: true
- });
-
-
- return !Array.prototype.every.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.every - element to be retrieved is own accessor
+ property 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 val === 6;
+ } else {
+ return true;
+ }
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "1", {
+ get: function () {
+ return 6;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 10;
+
+ Object.defineProperty(child, "1", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+
+
+ return !Array.prototype.every.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-14.js
index ddfa7b28a..1a867800a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-14.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.16/15.4.4.16-7-c-i-14.js
- * @description Array.prototype.every - element to be retrieved is own accessor property that overrides an inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === 5;
- } else {
- return true;
- }
- }
-
- var arr = [];
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 5;
- },
- configurable: true
- });
-
- Object.defineProperty(arr, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- return !arr.every(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.every - element to be retrieved is own accessor
+ property that overrides an inherited accessor property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === 5;
+ } else {
+ return true;
+ }
+ }
+
+ var arr = [];
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 5;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ return !arr.every(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-15.js
index 9eee7c204..5bd1624cb 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-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.16/15.4.4.16-7-c-i-15.js
- * @description Array.prototype.every - element to be retrieved is inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val !== 11;
- } else {
- return true;
- }
- }
-
- var proto = {};
-
- Object.defineProperty(proto, "1", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 20;
-
- return !Array.prototype.every.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.every - element to be retrieved is inherited
+ accessor property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val !== 11;
+ } else {
+ return true;
+ }
+ }
+
+ var proto = {};
+
+ Object.defineProperty(proto, "1", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 20;
+
+ return !Array.prototype.every.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-16.js
index a0097043a..65ce450d0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-16.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.16/15.4.4.16-7-c-i-16.js
- * @description Array.prototype.every - element to be retrieved is inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val !== 11;
- } else {
- return true;
- }
- }
-
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- return ![, , , ].every(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.every - element to be retrieved is inherited
+ accessor property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val !== 11;
+ } else {
+ return true;
+ }
+ }
+
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ return ![, , , ].every(callbackfn);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-17.js
index 3cd607b47..2d134f724 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-17.js
- * @description Array.prototype.every - element to be retrieved is 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 typeof val === "undefined";
- }
-
- var obj = { length: 2 };
- Object.defineProperty(obj, "1", {
- set: function () { },
- configurable: true
- });
-
- return Array.prototype.every.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.every - element to be retrieved is 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 typeof val === "undefined";
+ }
+
+ var obj = { length: 2 };
+ Object.defineProperty(obj, "1", {
+ set: function () { },
+ configurable: true
+ });
+
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-18.js
index 3195af8f5..3375e306e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-18.js
- * @description Array.prototype.every - element to be retrieved is own accessor property without a get function on an Array
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return typeof val === "undefined";
- }
-
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- set: function () { },
- configurable: true
- });
-
- return arr.every(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.every - element to be retrieved is own accessor
+ property without a get function on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return typeof val === "undefined";
+ }
+
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ return arr.every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-19.js
index 644206190..6aff66d34 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-19.js
- * @description Array.prototype.every - 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() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return typeof val === "undefined";
- }
-
- var obj = { length: 2 };
- Object.defineProperty(obj, "1", {
- set: function () { },
- configurable: true
- });
- try {
- Object.prototype[1] = 10;
- return Array.prototype.every.call(obj, 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.every - 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() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return typeof val === "undefined";
+ }
+
+ var obj = { length: 2 };
+ Object.defineProperty(obj, "1", {
+ set: function () { },
+ configurable: true
+ });
+ try {
+ Object.prototype[1] = 10;
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ } finally {
+ delete Object.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-2.js
index 6f1140e64..437e2a8aa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-2.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.16/15.4.4.16-7-c-i-2.js
- * @description Array.prototype.every - element to be retrieved is own data property on an Array
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- return val === 11;
- }
-
- return [11].every(callbackfn) && 1 === 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.every - element to be retrieved is own data
+ property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ return val === 11;
+ }
+
+ return [11].every(callbackfn) && 1 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-20.js
index 8d89d32a8..d75214d6a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-20.js
- * @description Array.prototype.every - element to be retrieved is own accessor property without a get function that overrides an inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return typeof val === "undefined";
- }
-
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- set: function () { },
- configurable: true
- });
-
- try {
- Array.prototype[0] = 100;
- return arr.every(callbackfn) && accessed;
- } 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.every - 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() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return typeof val === "undefined";
+ }
+
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ try {
+ Array.prototype[0] = 100;
+ return arr.every(callbackfn) && accessed;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-21.js
index 7f94ab642..fdf85bd21 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-21.js
- * @description Array.prototype.every - element to be retrieved 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 typeof val === "undefined";
- }
-
- 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.every.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.every - element to be retrieved 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 typeof val === "undefined";
+ }
+
+ 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.every.call(child, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-22.js
index 9e98110ee..4eaa6f30f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-22.js
- * @description Array.prototype.every - element to be retrieved is inherited accessor property without a get function on an Array
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return typeof val === "undefined";
- }
-
- try {
- Object.defineProperty(Array.prototype, "0", {
- set: function () { },
- configurable: true
- });
-
- return [, ].every(callbackfn) && accessed;
- } 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.every - element to be retrieved is inherited
+ accessor property without a get function on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return typeof val === "undefined";
+ }
+
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ return [, ].every(callbackfn) && accessed;
+ } finally {
+ delete Array.prototype[0];
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-23.js
index 3d95484aa..6cd3e5853 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-23.js
@@ -1,32 +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.16/15.4.4.16-7-c-i-23.js
- * @description Array.prototype.every - This object is an global object which contains index property
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val !== 11;
- } else {
- return true;
- }
- }
-
- try {
- var oldLen = fnGlobalObject().length;
- fnGlobalObject()[0] = 11;
- fnGlobalObject().length = 1;
- return !Array.prototype.every.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.every - 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;
+ } else {
+ return true;
+ }
+ }
+
+ try {
+ var oldLen = fnGlobalObject().length;
+ fnGlobalObject()[0] = 11;
+ fnGlobalObject().length = 1;
+ return !Array.prototype.every.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.16/15.4.4.16-7-c-i-25.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-25.js
index 270449f01..db3061f85 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-25.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-25.js
- * @description Array.prototype.every - This object is the Arguments object which implements its own property get method (number of arguments is less than number of parameters)
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- return val === 11;
- }
-
- var func = function (a, b) {
- return Array.prototype.every.call(arguments, callbackfn);
- };
-
- return func(11) && called === 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.every - 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() {
+
+ var called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ return val === 11;
+ }
+
+ var func = function (a, b) {
+ return Array.prototype.every.call(arguments, callbackfn);
+ };
+
+ return func(11) && called === 1;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-26.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-26.js
index 21e7ad64c..1406634d0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-26.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-26.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.16/15.4.4.16-7-c-i-26.js
- * @description Array.prototype.every - This object is the Arguments object which implements its own property get method (number of arguments equals number of parameters)
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- if (idx === 0) {
- return val === 11;
- } else if (idx === 1) {
- return val === 9;
- } else {
- return false;
- }
- }
-
- var func = function (a, b) {
- return Array.prototype.every.call(arguments, callbackfn);
- };
-
- return func(11, 9) && called === 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.every - 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 called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ if (idx === 0) {
+ return val === 11;
+ } else if (idx === 1) {
+ return val === 9;
+ } else {
+ return false;
+ }
+ }
+
+ var func = function (a, b) {
+ return Array.prototype.every.call(arguments, callbackfn);
+ };
+
+ return func(11, 9) && called === 2;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-27.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-27.js
index bd09c08df..b8771c18b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-27.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-27.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.16/15.4.4.16-7-c-i-27.js
- * @description Array.prototype.every - 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 called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- if (idx < 2) {
- return val > 10;
- } else if (idx === 2) {
- return val < 10;
- } else {
- return false;
- }
- }
-
- var func = function (a, b) {
- return Array.prototype.every.call(arguments, callbackfn);
- };
-
- return func(11, 12, 9) && 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.every - 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 called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ if (idx < 2) {
+ return val > 10;
+ } else if (idx === 2) {
+ return val < 10;
+ } else {
+ return false;
+ }
+ }
+
+ var func = function (a, b) {
+ return Array.prototype.every.call(arguments, callbackfn);
+ };
+
+ return func(11, 12, 9) && called === 3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-28.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-28.js
index 60c27f81d..c98a84a75 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-28.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-28.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.16/15.4.4.16-7-c-i-28.js
- * @description Array.prototype.every - element changed by getter on previous iterations is observed on an Array
- */
-
-
-function testcase() {
-
- var preIterVisible = false;
- var arr = [];
-
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
-
- Object.defineProperty(arr, "0", {
- get: function () {
- preIterVisible = true;
- return 11;
- },
- configurable: true
- });
-
- Object.defineProperty(arr, "1", {
- get: function () {
- if (preIterVisible) {
- return 9;
- } else {
- return 11;
- }
- },
- configurable: true
- });
-
- return !arr.every(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.every - element changed by getter on previous
+ iterations is observed on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var preIterVisible = false;
+ var arr = [];
+
+ function callbackfn(val, idx, obj) {
+ return val > 10;
+ }
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ preIterVisible = true;
+ return 11;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ if (preIterVisible) {
+ return 9;
+ } else {
+ return 11;
+ }
+ },
+ configurable: true
+ });
+
+ return !arr.every(callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-29.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-29.js
index 3028f3b38..9a29966e4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-29.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-29.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.16/15.4.4.16-7-c-i-29.js
- * @description Array.prototype.every - element changed by getter on previous iterations is observed on an Array-like object
- */
-
-
-function testcase() {
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
-
- var preIterVisible = false;
- var obj = { length: 2 };
-
- Object.defineProperty(obj, "0", {
- get: function () {
- preIterVisible = true;
- return 11;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "1", {
- get: function () {
- if (preIterVisible) {
- return 9;
- } else {
- return 13;
- }
- },
- configurable: true
- });
-
- return !Array.prototype.every.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.every - element changed by getter on previous
+ iterations is observed on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function callbackfn(val, idx, obj) {
+ return val > 10;
+ }
+
+ var preIterVisible = false;
+ var obj = { length: 2 };
+
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ preIterVisible = true;
+ return 11;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ if (preIterVisible) {
+ return 9;
+ } else {
+ return 13;
+ }
+ },
+ configurable: true
+ });
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-3.js
index 6d9cdc899..56f479b08 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-3.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.16/15.4.4.16-7-c-i-3.js
- * @description Array.prototype.every - element to be retrieved is own data property that overrides an inherited data property on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 5) {
- return val === 100;
- } else {
- return true;
- }
- }
-
- var proto = { 0: 11, 5: 100 };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child[5] = "abc";
- child.length = 10;
-
- return !Array.prototype.every.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.every - element to be retrieved is own data
+ property that overrides an inherited data property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 5) {
+ return val === 100;
+ } else {
+ return true;
+ }
+ }
+
+ var proto = { 0: 11, 5: 100 };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child[5] = "abc";
+ child.length = 10;
+
+ return !Array.prototype.every.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-30.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-30.js
index fb56eeec1..7d82308f6 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-30.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-30.js
- * @description Array.prototype.every - unnhandled 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 = { 0: 11, 5: 10, 10: 8, length: 20 };
- Object.defineProperty(obj, "1", {
- get: function () {
- throw new RangeError("unhandle exception happened in getter");
- },
- configurable: true
- });
-
- try {
- Array.prototype.every.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.every - unnhandled 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 = { 0: 11, 5: 10, 10: 8, length: 20 };
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ throw new RangeError("unhandle exception happened in getter");
+ },
+ configurable: true
+ });
+
+ try {
+ Array.prototype.every.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.16/15.4.4.16-7-c-i-31.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-31.js
index f5dd6a982..937a030ac 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-31.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-31.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.16/15.4.4.16-7-c-i-31.js
- * @description Array.prototype.every - unhandled exceptions happened in getter terminate iteration on an Array
- */
-
-
-function testcase() {
-
- var accessed = false;
- function callbackfn(val, idx, obj) {
- if (idx > 1) {
- accessed = true;
- }
- return true;
- }
-
- var arr = [];
- arr[5] = 10;
- arr[10] = 100;
-
- Object.defineProperty(arr, "1", {
- get: function () {
- throw new RangeError("unhandle exception happened in getter");
- },
- configurable: true
- });
-
- try {
- arr.every(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.every - 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 > 1) {
+ accessed = true;
+ }
+ return true;
+ }
+
+ var arr = [];
+ arr[5] = 10;
+ arr[10] = 100;
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ throw new RangeError("unhandle exception happened in getter");
+ },
+ configurable: true
+ });
+
+ try {
+ arr.every(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.16/15.4.4.16-7-c-i-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-4.js
index b499215e7..7d85d4857 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-4.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.16/15.4.4.16-7-c-i-4.js
- * @description Array.prototype.every - element to be retrieved is own data property that overrides an inherited data property on an Array
- */
-
-
-function testcase() {
- var called = 0;
- function callbackfn(val, idx, obj) {
- called++;
- return val === 12;
- }
-
- try {
- Array.prototype[0] = 11;
- Array.prototype[1] = 11;
-
- return [12, 12].every(callbackfn) && called === 2;
- } finally {
- delete Array.prototype[0];
- 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.every - element to be retrieved is own data
+ property that overrides an inherited data property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var called = 0;
+ function callbackfn(val, idx, obj) {
+ called++;
+ return val === 12;
+ }
+
+ try {
+ Array.prototype[0] = 11;
+ Array.prototype[1] = 11;
+
+ return [12, 12].every(callbackfn) && called === 2;
+ } finally {
+ delete Array.prototype[0];
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-5.js
index ef1ee6ead..d9d11b160 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-i-5.js
- * @description Array.prototype.every - element to be retrieved is own data property that overrides an inherited accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === 5;
- } else {
- return true;
- }
- }
-
- 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: 11,
- configurable: true
- });
- child[1] = 12;
-
- return !Array.prototype.every.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.every - element to be retrieved is own data
+ property that overrides an inherited accessor property on an
+ Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === 5;
+ } else {
+ return true;
+ }
+ }
+
+ 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: 11,
+ configurable: true
+ });
+ child[1] = 12;
+
+ return !Array.prototype.every.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-6.js
index c0e73495f..cab4ef940 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-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.16/15.4.4.16-7-c-i-6.js
- * @description Array.prototype.every - element to be retrieved is own data property that overrides an inherited accessor property on an Array
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return val === 11;
- }
-
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 9;
- },
- configurable: true
- });
- return [11].every(callbackfn) && accessed;
- } 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.every - element to be retrieved is own data
+ property that overrides an inherited accessor property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val === 11;
+ }
+
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 9;
+ },
+ configurable: true
+ });
+ return [11].every(callbackfn) && accessed;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-7.js
index feaab4142..bc4dcc833 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-7.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.16/15.4.4.16-7-c-i-7.js
- * @description Array.prototype.every - element to be retrieved is inherited data property on an Array-like object
- */
-
-
-function testcase() {
-
- var kValue = 'abc';
-
- function callbackfn(val, idx, obj) {
- if (idx === 5) {
- return val !== kValue;
- } else {
- return true;
- }
- }
-
- var proto = { 5: kValue };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.length = 10;
-
- return !Array.prototype.every.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.every - 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 (idx === 5) {
+ return val !== kValue;
+ } else {
+ return true;
+ }
+ }
+
+ var proto = { 5: kValue };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.length = 10;
+
+ return !Array.prototype.every.call(child, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-8.js
index d962e92a5..d5dc20833 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-8.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.16/15.4.4.16-7-c-i-8.js
- * @description Array.prototype.every - element to be retrieved is inherited data property on an Array
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val !== 13;
- } else {
- return true;
- }
- }
-
- try {
- Array.prototype[1] = 13;
- return ![, , , ].every(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.every - element to be retrieved is inherited data
+ property on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val !== 13;
+ } else {
+ return true;
+ }
+ }
+
+ try {
+ Array.prototype[1] = 13;
+ return ![, , , ].every(callbackfn);
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-9.js
index f033399f9..d5f590ba8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-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.16/15.4.4.16-7-c-i-9.js
- * @description Array.prototype.every - element to be retrieved is own accessor property on an Array-like object
- */
-
-
-function testcase() {
-
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val !== 11;
- } else {
- return true;
- }
- }
-
- var obj = { 10: 10, length: 20 };
-
- Object.defineProperty(obj, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- return !Array.prototype.every.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.every - element to be retrieved is own accessor
+ property on an Array-like object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val !== 11;
+ } else {
+ return true;
+ }
+ }
+
+ var obj = { 10: 10, length: 20 };
+
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-1.js
index a085be83d..b545fb595 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-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.16/15.4.4.16-7-c-ii-1.js
- * @description Array.prototype.every - callbackfn called with correct parameters
- */
-
-
-function testcase() {
-
- function callbackfn(val, Idx, obj)
- {
- if(obj[Idx] === val)
- return true;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
-
- if(arr.every(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.every - callbackfn called with correct parameters
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ function callbackfn(val, Idx, obj)
+ {
+ if(obj[Idx] === val)
+ return true;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+
+ if(arr.every(callbackfn) === true)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-10.js
index 1fb1fc95e..2cb0e7019 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-10.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-10.js
- * @description Array.prototype.every - callbackfn is called with 1 formal parameter
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val) {
- called++;
- return val > 10;
- }
-
- return [11, 12].every(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.every - callbackfn is called with 1 formal
+ parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val) {
+ called++;
+ return val > 10;
+ }
+
+ return [11, 12].every(callbackfn) && 2 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-11.js
index 82c2a1fd4..7b415354c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-11.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-11.js
- * @description Array.prototype.every - callbackfn is called with 2 formal parameter
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx) {
- called++;
- return val > 10 && arguments[2][idx] === val;
- }
-
- return [11, 12].every(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.every - callbackfn is called with 2 formal
+ parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val, idx) {
+ called++;
+ return val > 10 && arguments[2][idx] === val;
+ }
+
+ return [11, 12].every(callbackfn) && 2 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-12.js
index 362a6d1c0..ee2adf17f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-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.16/15.4.4.16-7-c-ii-12.js
- * @description Array.prototype.every - callbackfn is called with 3 formal parameter
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- return val > 10 && obj[idx] === val;
- }
-
- return [11, 12, 13].every(callbackfn) && 3 === 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.every - callbackfn is called with 3 formal
+ parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ return val > 10 && obj[idx] === val;
+ }
+
+ return [11, 12, 13].every(callbackfn) && 3 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-13.js
index 9f9660e84..9dcb5194d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-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.16/15.4.4.16-7-c-ii-13.js
- * @description Array.prototype.every - callbackfn that uses arguments object to get parameter value
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn() {
- called++;
- return arguments[2][arguments[1]] === arguments[0];
- }
-
- return [11, 12].every(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.every - callbackfn that uses arguments object to
+ get parameter value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn() {
+ called++;
+ return arguments[2][arguments[1]] === arguments[0];
+ }
+
+ return [11, 12].every(callbackfn) && 2 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-16.js
index a7f57b31c..48d91c9e5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-16.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.16/15.4.4.16-7-c-ii-16.js
- * @description Array.prototype.every - 'this' of 'callbackfn' is a Boolean object when T is not an object (T is a boolean primitive)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return this.valueOf() !== false;
- }
-
- var obj = { 0: 11, length: 2 };
-
- return !Array.prototype.every.call(obj, callbackfn, false) && 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.every - 'this' of 'callbackfn' is a Boolean object
+ when T is not an object (T is a boolean primitive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return this.valueOf() !== false;
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return !Array.prototype.every.call(obj, callbackfn, false) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-17.js
index 72c098617..68e605b1c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-17.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-17.js
- * @description Array.prototype.every -'this' of 'callbackfn' is a Number object when T is not an object (T is a number primitive)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, o) {
- accessed = true;
- return 5 === this.valueOf();
- }
-
- var obj = { 0: 11, length: 2 };
-
- return Array.prototype.every.call(obj, callbackfn, 5) && 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.every -'this' of 'callbackfn' is a Number object
+ when T is not an object (T is a number primitive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, o) {
+ accessed = true;
+ return 5 === this.valueOf();
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return Array.prototype.every.call(obj, callbackfn, 5) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-18.js
index 59701ad01..b0dfad805 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-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.16/15.4.4.16-7-c-ii-18.js
- * @description Array.prototype.every - 'this' of 'callbackfn' is an String object when T is not an object (T is a string primitive)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return 'hello' === this.valueOf();
- }
-
- var obj = { 0: 11, length: 2 };
-
- return Array.prototype.every.call(obj, callbackfn, "hello") && 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.every - 'this' of 'callbackfn' is an String object
+ when T is not an object (T is a string primitive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return 'hello' === this.valueOf();
+ }
+
+ var obj = { 0: 11, length: 2 };
+
+ return Array.prototype.every.call(obj, callbackfn, "hello") && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-19.js
index 018764d60..b5fc2fc36 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-ii-19.js
- * @description Array.prototype.every - non-indexed properties are not called
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- return val !== 8;
- }
-
- var obj = { 0: 11, 10: 12, non_index_property: 8, length: 20 };
-
- return Array.prototype.every.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.every - non-indexed properties are not called
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ return val !== 8;
+ }
+
+ var obj = { 0: 11, 10: 12, non_index_property: 8, length: 20 };
+
+ return Array.prototype.every.call(obj, callbackfn) && 2 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-2.js
index 23e61035e..6978ddf4b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-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.16/15.4.4.16-7-c-ii-2.js
- * @description Array.prototype.every - callbackfn takes 3 arguments
- */
-
-
-function testcase() {
-
- function callbackfn(val, Idx, obj)
- {
- if(arguments.length === 3) //verify if callbackfn was called with 3 parameters
- return true;
- }
-
- var arr = [0,1,true,null,new Object(),"five"];
- arr[999999] = -6.6;
-
- if(arr.every(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.every - 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 true;
+ }
+
+ var arr = [0,1,true,null,new Object(),"five"];
+ arr[999999] = -6.6;
+
+ if(arr.every(callbackfn) === true)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-20.js
index f60cc9c27..57674cb1b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-20.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.16/15.4.4.16-7-c-ii-20.js
- * @description Array.prototype.every - callbackfn called with correct parameters (thisArg is correct)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return 10 === this.threshold;
- }
-
- var thisArg = { threshold: 10 };
-
- var obj = { 0: 11, length: 1 };
-
- return Array.prototype.every.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.every - callbackfn called with correct parameters
+ (thisArg is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return 10 === this.threshold;
+ }
+
+ var thisArg = { threshold: 10 };
+
+ var obj = { 0: 11, length: 1 };
+
+ return Array.prototype.every.call(obj, callbackfn, thisArg);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-21.js
index bff61017a..3f1dba0a9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-ii-21.js
- * @description Array.prototype.every - callbackfn called with correct parameters (kValue is correct)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- if (idx === 0) {
- return val === 11;
- }
-
- if (idx === 1) {
- return val === 12;
- }
-
- }
-
- var obj = { 0: 11, 1: 12, length: 2 };
-
- return Array.prototype.every.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.every - callbackfn called with correct parameters
+ (kValue is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ if (idx === 0) {
+ return val === 11;
+ }
+
+ if (idx === 1) {
+ return val === 12;
+ }
+
+ }
+
+ var obj = { 0: 11, 1: 12, length: 2 };
+
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-22.js
index a2a159f83..eb90053b2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-ii-22.js
- * @description Array.prototype.every - callbackfn called with correct parameters (the index k is correct)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- if (val === 11) {
- return idx === 0;
- }
-
- if (val === 12) {
- return idx === 1;
- }
-
- }
-
- var obj = { 0: 11, 1: 12, length: 2 };
-
- return Array.prototype.every.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.every - callbackfn called with correct parameters
+ (the index k is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ if (val === 11) {
+ return idx === 0;
+ }
+
+ if (val === 12) {
+ return idx === 1;
+ }
+
+ }
+
+ var obj = { 0: 11, 1: 12, length: 2 };
+
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-23.js
index 75393fe6f..fffa46a97 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-23.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.16/15.4.4.16-7-c-ii-23.js
- * @description Array.prototype.every - callbackfn called with correct parameters (this object O is correct)
- */
-
-
-function testcase() {
-
- var called = 0;
- var obj = { 0: 11, 1: 12, length: 2 };
-
- function callbackfn(val, idx, o) {
- called++;
- return obj === o;
- }
-
- return Array.prototype.every.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.every - callbackfn called with correct parameters
+ (this object O is correct)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+ var obj = { 0: 11, 1: 12, length: 2 };
+
+ function callbackfn(val, idx, o) {
+ called++;
+ return obj === o;
+ }
+
+ return Array.prototype.every.call(obj, callbackfn) && 2 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-3.js
index 1eaaa8df2..85f59f00d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-3.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.16/15.4.4.16-7-c-ii-3.js
- * @description Array.prototype.every immediately returns false if callbackfn returns false
- */
-
-
-function testcase() {
-
- var callCnt = 0;
- function callbackfn(val, idx, obj)
- {
- callCnt++;
- if(idx > 5)
- return false;
- else
- return true;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
-
- if(arr.every(callbackfn) === false && 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.every immediately returns false if callbackfn
+ returns false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0;
+ function callbackfn(val, idx, obj)
+ {
+ callCnt++;
+ if(idx > 5)
+ return false;
+ else
+ return true;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+
+ if(arr.every(callbackfn) === false && callCnt === 7)
+ return true;
+
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-4.js
index 6b69fe61b..797a850c8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-4.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.16/15.4.4.16-7-c-ii-4.js
- * @description Array.prototype.every - 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 false;
- } else {
- lastIdx++;
- return true;
- }
- }
-
- return arr.every(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.every - 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 false;
+ } else {
+ lastIdx++;
+ return true;
+ }
+ }
+
+ return arr.every(callbackfn) && arr.length === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-5.js
index b99d6490e..8d4f5548a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-5.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.16/15.4.4.16-7-c-ii-5.js
- * @description Array.prototype.every - k values are accessed during each iteration and not prior to starting the loop on an Array
- */
-
-
-function testcase() {
- var called = 0;
- 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) {
- called++;
- //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 false;
- }
- kIndex[idx] = 1;
- return true;
- } else {
- return false;
- }
- }
-
- return [11, 12, 13, 14].every(callbackfn, undefined) && 4 === 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.every - k values are accessed during each
+ iteration and not prior to starting the loop on an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var called = 0;
+ 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) {
+ called++;
+ //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 false;
+ }
+ kIndex[idx] = 1;
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ return [11, 12, 13, 14].every(callbackfn, undefined) && 4 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-6.js
index 0158c684b..972eade1b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-6.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.16/15.4.4.16-7-c-ii-6.js
- * @description Array.prototype.every - arguments to callbackfn are self consistent
- */
-
-
-function testcase() {
-
- var accessed = false;
- var thisArg = {};
- var obj = { 0: 11, length: 1 };
-
- function callbackfn() {
- accessed = true;
- return this === thisArg &&
- arguments[0] === 11 &&
- arguments[1] === 0 &&
- arguments[2] === obj;
- }
-
- return Array.prototype.every.call(obj, callbackfn, thisArg) && 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.every - arguments to callbackfn are self consistent
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var thisArg = {};
+ var obj = { 0: 11, length: 1 };
+
+ function callbackfn() {
+ accessed = true;
+ return this === thisArg &&
+ arguments[0] === 11 &&
+ arguments[1] === 0 &&
+ arguments[2] === obj;
+ }
+
+ return Array.prototype.every.call(obj, callbackfn, thisArg) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-7.js
index 8c1ded32c..371dd71d8 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-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.16/15.4.4.16-7-c-ii-7.js
- * @description Array.prototype.every - unhandled exceptions happened in callbackfn terminate iteration
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn(val, idx, obj) {
- called++;
- if (called === 1) {
- throw new Error("Exception occurred in callbackfn");
- }
- return true;
- }
-
- var obj = { 0: 11, 4: 10, 10: 8, length: 20 };
-
- try {
- Array.prototype.every.call(obj, callbackfn);
- return false;
- } catch (ex) {
- return 1 === 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.every - unhandled exceptions happened in
+ callbackfn terminate iteration
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn(val, idx, obj) {
+ called++;
+ if (called === 1) {
+ throw new Error("Exception occurred in callbackfn");
+ }
+ return true;
+ }
+
+ var obj = { 0: 11, 4: 10, 10: 8, length: 20 };
+
+ try {
+ Array.prototype.every.call(obj, callbackfn);
+ return false;
+ } catch (ex) {
+ return 1 === called;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-8.js
index 3b8d9a007..ee5e1eec5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-8.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.16/15.4.4.16-7-c-ii-8.js
- * @description Array.prototype.every - element changed by callbackfn on previous iterations is observed
- */
-
-
-function testcase() {
-
- var obj = { 0: 11, 1: 12, length: 2 };
-
- function callbackfn(val, idx, o) {
- if (idx === 0) {
- obj[idx + 1] = 8;
- }
- return val > 10;
- }
-
-
-
- return !Array.prototype.every.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.every - element changed by callbackfn on previous
+ iterations is observed
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { 0: 11, 1: 12, length: 2 };
+
+ function callbackfn(val, idx, o) {
+ if (idx === 0) {
+ obj[idx + 1] = 8;
+ }
+ return val > 10;
+ }
+
+
+
+ return !Array.prototype.every.call(obj, callbackfn);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-9.js
index ae260680c..029d4f67c 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-9.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-ii-9.js
- * @description Array.prototype.every - callbackfn is called with 0 formal parameter
- */
-
-
-function testcase() {
-
- var called = 0;
-
- function callbackfn() {
- called++;
- return true;
- }
-
- return [11, 12].every(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.every - callbackfn is called with 0 formal
+ parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var called = 0;
+
+ function callbackfn() {
+ called++;
+ return true;
+ }
+
+ return [11, 12].every(callbackfn) && 2 === called;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-1.js
index f7b5079a4..02ead71e5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-1.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.16/15.4.4.16-7-c-iii-1.js
- * @description Array.prototype.every - return value of callbackfn is undefined
- */
-
-
-function testcase() {
-
- var accessed = false;
- var obj = { 0: 11, length: 1 };
-
- function callbackfn(val, idx, o) {
- accessed = true;
- return undefined;
- }
-
-
-
- return !Array.prototype.every.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.every - return value of callbackfn is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var obj = { 0: 11, length: 1 };
+
+ function callbackfn(val, idx, o) {
+ accessed = true;
+ return undefined;
+ }
+
+
+
+ return !Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-10.js
index 40a7eea0a..4b93016d1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-10.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-10.js
- * @description Array.prototype.every - return value of callbackfn is a number (value is Infinity)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return Infinity;
- }
-
- return [11].every(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.every - return value of callbackfn is a number
+ (value is Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return Infinity;
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-11.js
index 5d04caf7a..7b8d3c767 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-11.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-11.js
- * @description Array.prototype.every - return value of callbackfn is a number (value is -Infinity)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return -Infinity;
- }
-
- return [11].every(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.every - return value of callbackfn is a number
+ (value is -Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return -Infinity;
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-12.js
index 89c350f60..5a897af02 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-iii-12.js
- * @description Array.prototype.every - 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].every(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.every - 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].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-13.js
index eee43dc78..65900c1bd 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-iii-13.js
- * @description Array.prototype.every - return value of callbackfn is an empty string
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return "";
- }
-
- return ![11].every(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.every - 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].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-14.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-14.js
index d0953adb8..101ac9e53 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-14.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-14.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-14.js
- * @description Array.prototype.every - return value of callbackfn is a non-empty string
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return "non-empty string";
- }
-
- return [11].every(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.every - return value of callbackfn is a non-empty
+ string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return "non-empty string";
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-15.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-15.js
index 88ef24589..462bfa941 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-15.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-15.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.16/15.4.4.16-7-c-iii-15.js
- * @description Array.prototype.every - return value of callbackfn is a Function object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return function () { };
- }
-
- return [11].every(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.every - return value of callbackfn is a Function
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return function () { };
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-16.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-16.js
index 94db56a59..a1caf9a85 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-16.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-16.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.16/15.4.4.16-7-c-iii-16.js
- * @description Array.prototype.every - return value of callbackfn is an Array object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return [];
- }
-
- return [11].every(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.every - return value of callbackfn is an Array
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return [];
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-17.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-17.js
index a8be539fb..29070b931 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-17.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-17.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.16/15.4.4.16-7-c-iii-17.js
- * @description Array.prototype.every - return value of callbackfn is a String object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return new String();
- }
-
- return [11].every(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.every - return value of callbackfn is a String
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return new String();
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-18.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-18.js
index 6a5f5a26e..0c20c1b6a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-18.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-18.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.16/15.4.4.16-7-c-iii-18.js
- * @description Array.prototype.every - return value of callbackfn is a Boolean object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return new Boolean();
- }
-
- return [11].every(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.every - return value of callbackfn is a Boolean
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return new Boolean();
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-19.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-19.js
index 9213835e1..055b785df 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-19.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-19.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.16/15.4.4.16-7-c-iii-19.js
- * @description Array.prototype.every - return value of callbackfn is a Number object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return new Number();
- }
-
- return [11].every(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.every - return value of callbackfn is a Number
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return new Number();
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-2.js
index 295a48a19..1d6e67569 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-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.16/15.4.4.16-7-c-iii-2.js
- * @description Array.prototype.every - return value of callbackfn is null
- */
-
-
-function testcase() {
-
- var accessed = false;
- var obj = { 0: 11, length: 1 };
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return null;
- }
-
-
-
- return !Array.prototype.every.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.every - return value of callbackfn is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var obj = { 0: 11, length: 1 };
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return null;
+ }
+
+
+
+ return !Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-20.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-20.js
index d6be359d9..effd05dc1 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-20.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-20.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.16/15.4.4.16-7-c-iii-20.js
- * @description Array.prototype.every - return value of callbackfn is the Math object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return Math;
- }
-
- return [11].every(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.every - return value of callbackfn is the Math
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return Math;
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-21.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-21.js
index 2a2de745c..e8dd6fbb3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-21.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-21.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.16/15.4.4.16-7-c-iii-21.js
- * @description Array.prototype.every - return value of callbackfn is a Date object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return new Date();
- }
-
- return [11].every(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.every - return value of callbackfn is a Date object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return new Date();
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-22.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-22.js
index 32ecf03de..e4157dde3 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-22.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-22.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.16/15.4.4.16-7-c-iii-22.js
- * @description Array.prototype.every - return value of callbackfn is a RegExp object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return new RegExp();
- }
-
- return [11].every(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.every - return value of callbackfn is a RegExp
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return new RegExp();
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-23.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-23.js
index a516b0328..165a4dadc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-23.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-23.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.16/15.4.4.16-7-c-iii-23.js
- * @description Array.prototype.every - return value of callbackfn is the JSON object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return JSON;
- }
-
- return [11].every(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.every - return value of callbackfn is the JSON
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return JSON;
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-24.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-24.js
index e156f91fd..9b84510a5 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-24.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-24.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.16/15.4.4.16-7-c-iii-24.js
- * @description Array.prototype.every - return value of callbackfn is an Error object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return new EvalError();
- }
-
- return [11].every(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.every - return value of callbackfn is an Error
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return new EvalError();
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-25.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-25.js
index 989d2540c..f2c64d37f 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-25.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-25.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.16/15.4.4.16-7-c-iii-25.js
- * @description Array.prototype.every - return value of callbackfn is the Arguments object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return arguments;
- }
-
- return [11].every(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.every - return value of callbackfn is the
+ Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return arguments;
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-27.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-27.js
index be454f6e1..a554c0ec4 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-27.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-27.js
@@ -1,23 +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.16/15.4.4.16-7-c-iii-27.js
- * @description Array.prototype.every - return value of callbackfn is the global object
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return fnGlobalObject();
- }
-
- return [11].every(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.every - return value of callbackfn is the global
+ object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return fnGlobalObject();
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-28.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-28.js
index 4fb9b1fee..59fbea2ee 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-28.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-28.js
@@ -1,48 +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.16/15.4.4.16-7-c-iii-28.js
- * @description Array.prototype.every - false prevents further side effects
- */
-
-
-function testcase() {
-
- var result = false;
- var obj = { length: 20 };
-
- function callbackfn(val, idx, obj) {
- if (idx > 1) {
- result = true;
- }
- return val > 10;
- }
-
- Object.defineProperty(obj, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "1", {
- get: function () {
- return 8;
- },
- configurable: true
- });
-
- Object.defineProperty(obj, "2", {
- get: function () {
- result = true;
- return 8;
- },
- configurable: true
- });
-
- return !Array.prototype.every.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.every - false prevents further side effects
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var result = false;
+ var obj = { length: 20 };
+
+ function callbackfn(val, idx, obj) {
+ if (idx > 1) {
+ result = true;
+ }
+ return val > 10;
+ }
+
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "1", {
+ get: function () {
+ return 8;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "2", {
+ get: function () {
+ result = true;
+ return 8;
+ },
+ configurable: true
+ });
+
+ return !Array.prototype.every.call(obj, callbackfn) && !result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-29.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-29.js
index 36b1cd4f0..38e388951 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-29.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-29.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.16/15.4.4.16-7-c-iii-29.js
- * @description Array.prototype.every - return value (new Boolean(false)) of callbackfn is treated as true value
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return new Boolean(false);
- }
-
- return [11].every(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.every - return value (new Boolean(false)) of
+ callbackfn is treated as true value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return new Boolean(false);
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-3.js
index 1edc288b3..2933078dc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-3.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.16/15.4.4.16-7-c-iii-3.js
- * @description Array.prototype.every - return value of callbackfn is a boolean (value is false)
- */
-
-
-function testcase() {
-
- var accessed = false;
- var obj = { 0: 11, length: 1 };
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return false;
- }
-
- return !Array.prototype.every.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.every - return value of callbackfn is a boolean
+ (value is false)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var obj = { 0: 11, length: 1 };
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return false;
+ }
+
+ return !Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-4.js
index 943362a47..8ec67ac3d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-4.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-4.js
- * @description Array.prototype.every - return value of callbackfn is a boolean (value is true)
- */
-
-
-function testcase() {
-
- var accessed = false;
- var obj = { 0: 11, length: 1 };
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return true;
- }
-
-
-
- return Array.prototype.every.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.every - return value of callbackfn is a boolean
+ (value is true)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+ var obj = { 0: 11, length: 1 };
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return true;
+ }
+
+
+
+ return Array.prototype.every.call(obj, callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-5.js
index e4c77b8c2..8e4539913 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-iii-5.js
- * @description Array.prototype.every - 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].every(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.every - 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].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-6.js
index a37260d98..349cc7697 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-iii-6.js
- * @description Array.prototype.every - 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].every(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.every - 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].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-7.js
index df841893b..37316f5e0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-7-c-iii-7.js
- * @description Array.prototype.every - return value of callbackfn is a nunmber (value is -0)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return -0;
- }
-
- return ![11].every(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.every - return value of callbackfn is a nunmber
+ (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return -0;
+ }
+
+ return ![11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-8.js
index 57ad28781..de08ade80 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-8.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-8.js
- * @description Array.prototype.every - return value of callbackfn is a number (value is positive number)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return 5;
- }
-
- return [11].every(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.every - return value of callbackfn is a number
+ (value is positive number)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return 5;
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-9.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-9.js
index 744edc241..315101f0e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-9.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-9.js
@@ -1,23 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-iii-9.js
- * @description Array.prototype.every - return value of callbackfn is a number (value is negative number)
- */
-
-
-function testcase() {
-
- var accessed = false;
-
- function callbackfn(val, idx, obj) {
- accessed = true;
- return -5;
- }
-
- return [11].every(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.every - return value of callbackfn is a number
+ (value is negative number)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var accessed = false;
+
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return -5;
+ }
+
+ return [11].every(callbackfn) && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-1.js
index d04bd3cbb..a49427b64 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-1.js
- * @description Array.prototype.every returns true if 'length' is 0 (empty array)
- */
-
-
-function testcase() {
- function cb() {}
- var i = [].every(cb);
- if (i === 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.every returns true if 'length' is 0 (empty array)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function cb() {}
+ var i = [].every(cb);
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-10.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-10.js
index 5d3f8df5d..3fbfe39c2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-10.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-10.js
- * @description Array.prototype.every - 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 false;
- else
- return true;
- }
- var i = f.every(cb);
-
- if (i === 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.every - 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 false;
+ else
+ return true;
+ }
+ var i = f.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-11.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-11.js
index 27a88b17c..90ec00600 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-11.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-11.js
- * @description Array.prototype.every returns true when all calls to callbackfn return true
- */
-
-
-function testcase() {
-
- var callCnt = 0;
- function callbackfn(val, idx, obj)
- {
- callCnt++;
- return true;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
-
- if(arr.every(callbackfn) === true && 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.every returns true when all calls to callbackfn
+ return true
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0;
+ function callbackfn(val, idx, obj)
+ {
+ callCnt++;
+ return true;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+
+ if(arr.every(callbackfn) === true && callCnt === 10)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-12.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-12.js
index d83f22e68..335e7fb23 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-12.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-12.js
- * @description Array.prototype.every 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.every(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.every 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.every(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.16/15.4.4.16-8-13.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-13.js
index 3b2738f8d..57b1d20ca 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-13.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-13.js
- * @description Array.prototype.every doesn't visit expandos
- */
-
-
-function testcase() {
-
- var callCnt = 0;
- function callbackfn(val, idx, obj)
- {
- callCnt++;
- return true;
- }
-
- var arr = [0,1,2,3,4,5,6,7,8,9];
- arr["i"] = 10;
- arr[true] = 11;
-
- if(arr.every(callbackfn) === true && 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.every doesn't visit expandos
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var callCnt = 0;
+ function callbackfn(val, idx, obj)
+ {
+ callCnt++;
+ return true;
+ }
+
+ var arr = [0,1,2,3,4,5,6,7,8,9];
+ arr["i"] = 10;
+ arr[true] = 11;
+
+ if(arr.every(callbackfn) === true && callCnt === 10)
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-2.js
index e280084ba..0ca358c66 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-2.js
- * @description Array.prototype.every returns true 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.every(cb);
-
- if (i === 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.every returns true 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.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-3.js
index d8cb6c054..b4cc44f8e 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-3.js
- * @description Array.prototype.every returns true 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.every(cb);
-
- if (i === 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.every returns true 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.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-4.js
index bafe6b314..0a1ca42fa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-4.js
- * @description Array.prototype.every returns true 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.every(cb);
-
- if (i === 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.every returns true 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.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-5.js
index 90c138c76..ff8c3bae9 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-5.js
- * @description Array.prototype.every returns true 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.every(cb);
-
- if (i === 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.every returns true 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.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-6.js
index 5f6eedc05..be8d35940 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-6.js
- * @description Array.prototype.every returns true 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.every(cb);
-
- if (i === 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.every returns true 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.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-7.js
index 4ac9c094b..72e78d7b0 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-7.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.16/15.4.4.16-8-7.js
- * @description Array.prototype.every returns true 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.every(cb);
-
- if (i === 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.every returns true 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.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-8.js b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-8.js
index a7b560b47..9b4e20618 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-8-8.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.16/15.4.4.16-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.16/15.4.4.16-8-8.js
- * @description Array.prototype.every returns true 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.every(cb);
-
- if (i === 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.every returns true 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.every(cb);
+
+ if (i === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);