aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.2/15.2.3/15.2.3.7
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.2/15.2.3/15.2.3.7')
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-1.js36
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-2.js36
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-1.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-2.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-3.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-4.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-1.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-10.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-11.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-12.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-13.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-14.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-15.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-16.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-18.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-2.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-3.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-4.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-5.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-6.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-7.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-8.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-9.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-1.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-2.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-3.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-4.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-5.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-6.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-7.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-8.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-1.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-10.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-11.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-12.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-13.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-14.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-15.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-16.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-17.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-2.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-3.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-4.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-5.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-6.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-7.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-8.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-9.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-1.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-10.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-100.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-101.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-102.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-103.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-104.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-105.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-106.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-107.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-109.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-11.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-110.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-111.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-112.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-113.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-114.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-115.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-116.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-117.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-118.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-119.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-12.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-120.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-121.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-122.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-123.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-124.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-125.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-126.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-127.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-128.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-129.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-13.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-130.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-131.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-132.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-133.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-134.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-135.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-137.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-138.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-139.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-14.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-140.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-141.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-142.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-143.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-144.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-145.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-146.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-147.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-148.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-149.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-15.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-150.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-151.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-152.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-153.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-154.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-155.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-156.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-157.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-158.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-159.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-16.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-160.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-161.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-163.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-164.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-165.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-166.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-167.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-168.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-169.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-17.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-170.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-171.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-172.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-173.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-174.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-175.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-176.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-177.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-178.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-179.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-18.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-180.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-181.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-182.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-183.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-184.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-185.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-186.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-188.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-189.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-19.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-190.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-191.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-192.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-193.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-194.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-195.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-196.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-197.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-198.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-199.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-2.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-20.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-200.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-201.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-202.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-203.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-204.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-205.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-206.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-207.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-208.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-209.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-21.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-210.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-211.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-212.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-213.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-214.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-216.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-217.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-218.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-219.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-22.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-220.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-221.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-222.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-223.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-226.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-227.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-228.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-229.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-23.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-230.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-231.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-232.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-233.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-234.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-235.js97
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-236.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-237.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-238.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-239.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-24.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-240.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-241.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-242.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-243.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-244.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-245.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-246.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-247.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-248.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-249.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-25.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-252.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-253.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-254.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-255.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-256.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-257.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-258.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-26.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-261.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-262.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-263.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-264.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-27.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-28.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-29.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-3.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-31.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-32.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-33.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-34.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-35.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-36.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-37.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-38.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-39.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-4.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-40.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-41.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-42.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-43.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-44.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-45.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-46.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-47.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-48.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-49.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-5.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-50.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-51.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-52.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-53.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-54.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-56.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-57.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-58.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-59.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-6.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-60.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-61.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-62.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-63.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-64.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-65.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-66.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-67.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-68.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-69.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-7.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-70.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-71.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-72.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-73.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-74.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-75.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-76.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-77.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-78.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-79.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-8.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-80.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-81.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-82.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-84.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-85.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-86.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-87.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-88.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-89.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-9.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-90.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-91.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-92.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-93.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-94.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-95.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-96.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-97.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-98.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-99.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-1.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-10.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-100.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-101.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-102.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-103.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-104.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-105.js112
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-106.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-107.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-108.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-109.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-11.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-110.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-111.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-112.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-113.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-114.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-115.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-116.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-117.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-118.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-119.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-12.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-120.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-121.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-122.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-123.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-124.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-125.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-126.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-127.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-128.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-129.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-13.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-130.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-131.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-132.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-133.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-134.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-135.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-136.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-137.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-138.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-139.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-14.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-140.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-141.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-142.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-143.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-144.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-145.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-146.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-147.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-148.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-149.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-15.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-150.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-151.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-152.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-153.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-155.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-156.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-157.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-158.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-159.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-16.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-160.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-161.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-162.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-163.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-164.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-165.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-166.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-167.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-168.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-169.js88
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-17.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-170.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-171.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-172.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-173.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-174.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-175.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-176.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-177.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-178.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-179.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-18.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-180.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-181.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-182.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-183.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-184.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-185.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-186.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-187.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-188.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-189.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-19.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-190.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-191.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-192.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-193.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-194.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-195.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-196.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-197.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-198.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-199.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-2.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-20.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-200.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-201.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-202.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-203.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-204.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-205.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-206.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-207.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-208.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-209.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-21.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-210.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-211.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-212.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-213.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-214.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-215.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-216.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-217.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-218.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-219.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-22.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-220.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-221.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-222.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-223.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-224.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-225.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-226.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-231.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-232.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-24.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-243.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-246.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-247.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-248.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-249.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-25.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-250.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-251.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-252.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-253.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-254.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-256.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-257.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-258.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-259.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-26.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-260.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-261.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-262.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-263.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-264.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-265.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-266.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-267.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-268.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-269.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-27.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-278.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-279.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-28.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-280.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-281.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-282.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-283.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-284.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-285.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-286.js99
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-287.js101
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-288.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-289.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-29.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-290.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-291.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-292.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-293.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-294.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-295.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-296.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-297.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-298.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-299.js97
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-3.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-30.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-300.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-301.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-302.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-303.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-304.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-305.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-31.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-313.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-314.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-32.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-33.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-34.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-35.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-36.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-37.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-39.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-4.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-40.js88
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-41.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-42.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-43.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-44.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-45.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-46.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-47.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-48.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-49.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-5.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-50.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-51.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-52.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-53.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-54.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-55.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-56.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-57.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-58.js108
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-59.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-6.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-60.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-61.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-62.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-63.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-64.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-65.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66-1.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-67.js109
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-68.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-69.js102
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-7.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-70.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-71.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-72.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-73.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-74.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-75.js99
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-76.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-77.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-78.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-79.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-8.js88
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-80.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-81.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-82.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-83.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84-1.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-85.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86-1.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-87.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-88.js109
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-89.js99
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-9.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-90.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-91.js97
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-92.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-2.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-3.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-4.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-94.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-95.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-96.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-97.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-98.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-99.js64
619 files changed, 21513 insertions, 19303 deletions
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-1.js
index d9c4cd57f..45b74ede1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-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.2/15.2.3/15.2.3.7/15.2.3.7-0-1.js
- * @description Object.defineProperties must exist as a function
- */
-
-
-function testcase() {
- var f = Object.defineProperties;
- 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: Object.defineProperties must exist as a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var f = Object.defineProperties;
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-2.js
index 04dbbf355..e212a1d1a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-2.js
@@ -1,17 +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.2/15.2.3/15.2.3.7/15.2.3.7-0-2.js
- * @description Object.defineProperties must exist as a function taking 2 parameters
- */
-
-
-function testcase() {
- if (Object.defineProperties.length === 2) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties must exist as a function taking 2
+ parameters
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ if (Object.defineProperties.length === 2) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-1.js
index e303305a4..1bd32427e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-1.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-1.js
- * @description Object.defineProperties throws TypeError if 'O' is undefined
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperties(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: Object.defineProperties throws TypeError if 'O' is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperties(undefined, {});
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-2.js
index 00a709f9c..b3ce0fc7a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-2.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.2/15.2.3/15.2.3.7/15.2.3.7-1-2.js
- * @description Object.defineProperties throws TypeError if 'O' is null
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperties(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: Object.defineProperties throws TypeError if 'O' is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperties(null, {});
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-3.js
index 607b44b2e..a992f2177 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-3.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.2/15.2.3/15.2.3.7/15.2.3.7-1-3.js
- * @description Object.defineProperties throws TypeError if 'O' is a boolean
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperties(true, {});
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties throws TypeError if 'O' is a boolean
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperties(true, {});
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-4.js
index 2c9e6cfaa..e79747853 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1-4.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.2/15.2.3/15.2.3.7/15.2.3.7-1-4.js
- * @description Object.defineProperties throws TypeError if 'O' is a string
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperties("abc", {});
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties throws TypeError if 'O' is a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperties("abc", {});
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1.js
index 0992ef2bd..79c43d94c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1.js
@@ -1,22 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-1.js
- * @description Object.defineProperties throws TypeError if type of first param is not Object
- */
-
-
-function testcase() {
- try {
- Object.defineProperties(0, {});
- }
- 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: >
+ Object.defineProperties throws TypeError if type of first param is
+ not Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperties(0, {});
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-1.js
index 1f1e32827..0a233cd35 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-1.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-1.js
- * @description Object.defineProperties throws TypeError if 'Properties' is null
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperties({}, 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: Object.defineProperties throws TypeError if 'Properties' is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperties({}, null);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-10.js
index a66b3ccf6..bc6ffd049 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-10.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.2/15.2.3/15.2.3.7/15.2.3.7-2-10.js
- * @description Object.defineProperties - argument 'Properties' is an Array object
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = [];
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof Array;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: Object.defineProperties - argument 'Properties' is an Array object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = [];
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof Array;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-11.js
index 5c7ef0019..eeb28f40c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-11.js
@@ -1,33 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-11.js
- * @description Object.defineProperties - argument 'Properties' is the Math object
- */
-
-
-function testcase() {
-
- var obj = {};
- var result = false;
-
- try {
- Object.defineProperty(Math, "prop", {
- get: function () {
- result = (this === Math);
- return {};
- },
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, Math);
- return result;
- } finally {
- delete Math.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - argument 'Properties' is the Math object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var result = false;
+
+ try {
+ Object.defineProperty(Math, "prop", {
+ get: function () {
+ result = (this === Math);
+ return {};
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, Math);
+ return result;
+ } finally {
+ delete Math.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-12.js
index c205fe604..1a4f09bed 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-12.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.2/15.2.3/15.2.3.7/15.2.3.7-2-12.js
- * @description Object.defineProperties - argument 'Properties' is a Date object
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Date();
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof Date;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: Object.defineProperties - argument 'Properties' is a Date object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Date();
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof Date;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-13.js
index 3c312334b..e418e12c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-13.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.2/15.2.3/15.2.3.7/15.2.3.7-2-13.js
- * @description Object.defineProperties - argument 'Properties' is a RegExp object
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new RegExp();
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof RegExp;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: Object.defineProperties - argument 'Properties' is a RegExp object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new RegExp();
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof RegExp;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-14.js
index 872db0668..43dfe1aa8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-14.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.2/15.2.3/15.2.3.7/15.2.3.7-2-14.js
- * @description Object.defineProperties - argument 'Properties' is the JSON object
- */
-
-
-function testcase() {
-
- var obj = {};
- var result = false;
-
- try {
- Object.defineProperty(JSON, "prop", {
- get: function () {
- result = (this === JSON);
- return {};
- },
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, JSON);
- return result;
- } finally {
- delete JSON.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - argument 'Properties' is the JSON object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var result = false;
+
+ try {
+ Object.defineProperty(JSON, "prop", {
+ get: function () {
+ result = (this === JSON);
+ return {};
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, JSON);
+ return result;
+ } finally {
+ delete JSON.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-15.js
index f804405c2..ea8ed7c38 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-15.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-2-15.js
- * @description Object.defineProperties - argument 'Properties' is an Error object
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Error("test");
- var obj1 = {
- value: 11
- };
- props.description = obj1;
- props.message = obj1;
- props.name = obj1;
-
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof Error;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: Object.defineProperties - argument 'Properties' is an Error object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Error("test");
+ var obj1 = {
+ value: 11
+ };
+ props.description = obj1;
+ props.message = obj1;
+ props.name = obj1;
+
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof Error;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-16.js
index 04bcffa45..adfb27776 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-16.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.2/15.2.3/15.2.3.7/15.2.3.7-2-16.js
- * @description Object.defineProperties - argument 'Properties' is the Arguments object
- */
-
-
-function testcase() {
-
- var obj = {};
- var result = false;
-
- var Fun = function () {
- return arguments;
- };
- var props = new Fun();
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = ('[object Arguments]' === Object.prototype.toString.call(this));
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: >
+ Object.defineProperties - argument 'Properties' is the Arguments
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var result = false;
+
+ var Fun = function () {
+ return arguments;
+ };
+ var props = new Fun();
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = ('[object Arguments]' === Object.prototype.toString.call(this));
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-18.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-18.js
index aef491cf2..fd2f49cf8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-18.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-18.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-2-18.js
- * @description Object.defineProperties - argument 'Properties' is the global object
- */
-
-
-function testcase() {
-
- var obj = {};
- var result = false;
-
- try {
- Object.defineProperty(fnGlobalObject(), "prop", {
- get: function () {
- result = (this === fnGlobalObject());
- return {};
- },
- enumerable: true,
- configurable:true
- });
-
- Object.defineProperties(obj, fnGlobalObject());
- return result;
- } catch (e) {
- return (e instanceof TypeError);
- } finally {
- delete fnGlobalObject().prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - argument 'Properties' is the global
+ object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var result = false;
+
+ try {
+ Object.defineProperty(fnGlobalObject(), "prop", {
+ get: function () {
+ result = (this === fnGlobalObject());
+ return {};
+ },
+ enumerable: true,
+ configurable:true
+ });
+
+ Object.defineProperties(obj, fnGlobalObject());
+ return result;
+ } catch (e) {
+ return (e instanceof TypeError);
+ } finally {
+ delete fnGlobalObject().prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-2.js
index 737391428..835e22097 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-2.js
@@ -1,21 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-2.js
- * @description Object.defineProperties throws TypeError if 'Properties' is undefined
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperties({}, 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: >
+ Object.defineProperties throws TypeError if 'Properties' is
+ undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperties({}, undefined);
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-3.js
index 92b3a9eca..7a52a6a63 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-3.js
@@ -1,18 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-3.js
- * @description Object.defineProperties - argument 'Properties' is a boolean whose value is false
- */
-
-
-function testcase() {
-
- var obj = {};
- var obj1 = Object.defineProperties(obj, false);
- return obj === obj1;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - argument 'Properties' is a boolean whose
+ value is false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var obj1 = Object.defineProperties(obj, false);
+ return obj === obj1;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-4.js
index 5a8baf834..57973192f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-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.2/15.2.3/15.2.3.7/15.2.3.7-2-4.js
- * @description Object.defineProperties - argument 'Properties' is a Boolean object whose primitive value is true
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Boolean(true);
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof Boolean;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: >
+ Object.defineProperties - argument 'Properties' is a Boolean
+ object whose primitive value is true
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Boolean(true);
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof Boolean;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-5.js
index 9b7d82bf2..c7c9c09c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-5.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-5.js
- * @description Object.defineProperties - argument 'Properties' is any interesting number
- */
-
-
-function testcase() {
-
- var obj = { "123": 100 };
- var obj1 = Object.defineProperties(obj, -12);
- return obj === obj1;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - argument 'Properties' is any interesting
+ number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { "123": 100 };
+ var obj1 = Object.defineProperties(obj, -12);
+ return obj === obj1;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-6.js
index 9996b7d14..3c827f9b8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-6.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.2/15.2.3/15.2.3.7/15.2.3.7-2-6.js
- * @description Object.defineProperties - argument 'Properties' is a Number object whose primitive value is any interesting number
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Number(-12);
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof Number;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: >
+ Object.defineProperties - argument 'Properties' is a Number object
+ whose primitive value is any interesting number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Number(-12);
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof Number;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-7.js
index 2a0dd3de2..d94b45606 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-7.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-7.js
- * @description Object.defineProperties - argument 'Properties' is a string whose value is any interesting string
- */
-
-
-function testcase() {
-
- var obj = { "123": 100 };
- var obj1 = Object.defineProperties(obj, "");
- return obj === obj1;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - argument 'Properties' is a string whose
+ value is any interesting string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = { "123": 100 };
+ var obj1 = Object.defineProperties(obj, "");
+ return obj === obj1;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-8.js
index 0f708e543..a28e0a375 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-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.2/15.2.3/15.2.3.7/15.2.3.7-2-8.js
- * @description Object.defineProperties - argument 'Properties' is a String object whose primitive value is any interesting string
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new String();
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof String;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: >
+ Object.defineProperties - argument 'Properties' is a String object
+ whose primitive value is any interesting string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new String();
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof String;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-9.js
index e6d25532e..723393a55 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-2-9.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.2/15.2.3/15.2.3.7/15.2.3.7-2-9.js
- * @description Object.defineProperties - argument 'Properties' is a Function object
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = function () { };
- var result = false;
-
- Object.defineProperty(props, "prop", {
- get: function () {
- result = this instanceof Function;
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
- return 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: >
+ Object.defineProperties - argument 'Properties' is a Function
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = function () { };
+ var result = false;
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ result = this instanceof Function;
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-1.js
index 8d9bce57c..99afa5b87 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-1.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-1.js
- * @description Object.defineProperties - enumerable own data property of 'Properties' is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = {};
- Object.defineProperty(props, "prop", {
- value: {},
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable own data property of
+ 'Properties' is defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = {};
+ Object.defineProperty(props, "prop", {
+ value: {},
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-2.js
index d745cc460..beb2e801d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-2.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-2.js
- * @description Object.defineProperties - own data property of 'Properties' which is not enumerable is not defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = {};
-
- Object.defineProperty(props, "prop", {
- value: {},
- enumerable: false
- });
-
- Object.defineProperties(obj, props);
-
- return !obj.hasOwnProperty("prop");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - own data property of 'Properties' which
+ is not enumerable is not defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = {};
+
+ Object.defineProperty(props, "prop", {
+ value: {},
+ enumerable: false
+ });
+
+ Object.defineProperties(obj, props);
+
+ return !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-3.js
index 856d08627..e50de561e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-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.2/15.2.3/15.2.3.7/15.2.3.7-3-3.js
- * @description Object.defineProperties - enumerable inherited data property of 'Properties' is not defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "prop", {
- value: {},
- enumerable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var child = new Con();
-
- Object.defineProperties(obj, child);
-
- return !obj.hasOwnProperty("prop");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable inherited data property of
+ 'Properties' is not defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "prop", {
+ value: {},
+ enumerable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var child = new Con();
+
+ Object.defineProperties(obj, child);
+
+ return !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-4.js
index 59ef454c7..0c9eb8d12 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-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.2/15.2.3/15.2.3.7/15.2.3.7-3-4.js
- * @description Object.defineProperties - enumerable own accessor property of 'Properties' is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var props = {};
-
- Object.defineProperty(props, "prop", {
- get: function () {
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable own accessor property of
+ 'Properties' is defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var props = {};
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-5.js
index 0d374a524..3601a422d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-5.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.2/15.2.3/15.2.3.7/15.2.3.7-3-5.js
- * @description Object.defineProperties - own accessor property of 'Properties' which is not enumerable is not defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var props = {};
-
- Object.defineProperty(props, "prop", {
- get: function () {
- return {};
- },
- enumerable: false
- });
-
- Object.defineProperties(obj, props);
-
- return !obj.hasOwnProperty("prop");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - own accessor property of 'Properties'
+ which is not enumerable is not defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var props = {};
+
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ return {};
+ },
+ enumerable: false
+ });
+
+ Object.defineProperties(obj, props);
+
+ return !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-6.js
index a709b751a..addc54aa1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-6.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.2/15.2.3/15.2.3.7/15.2.3.7-3-6.js
- * @description Object.defineProperties - enumerable inherited accessor property of 'Properties' is not defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
-
- Object.defineProperty(proto, "prop", {
- get: function () {
- return {};
- },
- enumerable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var child = new Con();
-
- Object.defineProperties(obj, child);
-
- return !obj.hasOwnProperty("prop");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable inherited accessor property
+ of 'Properties' is not defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return {};
+ },
+ enumerable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var child = new Con();
+
+ Object.defineProperties(obj, child);
+
+ return !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-7.js
index 4507dd3a8..1b58cbeba 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-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.2/15.2.3/15.2.3.7/15.2.3.7-3-7.js
- * @description Object.defineProperties - no additional property is defined in 'O' when 'Properties' doesn't contain enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var props = {};
-
- Object.defineProperty(props, "prop1", {
- value: {},
- enumerable: false
- });
-
- Object.defineProperty(props, "prop2", {
- get: function () {
- return {};
- },
- enumerable: false
- });
-
- Object.defineProperties(obj, props);
-
- return !obj.hasOwnProperty("prop1") && !obj.hasOwnProperty("prop2");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - no additional property is defined in 'O'
+ when 'Properties' doesn't contain enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var props = {};
+
+ Object.defineProperty(props, "prop1", {
+ value: {},
+ enumerable: false
+ });
+
+ Object.defineProperty(props, "prop2", {
+ get: function () {
+ return {};
+ },
+ enumerable: false
+ });
+
+ Object.defineProperties(obj, props);
+
+ return !obj.hasOwnProperty("prop1") && !obj.hasOwnProperty("prop2");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-8.js
index d8e177f57..e93198933 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-8.js
@@ -1,34 +1,36 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-3-8.js
- * @description Object.defineProperties - no additional property is defined in 'O' when 'Properties' doesn't contain enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var props = {};
-
- Object.defineProperty(props, "prop1", {
- value: {},
- enumerable: false
- });
-
- Object.defineProperty(props, "prop2", {
- get: function () {
- return {};
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
-
- return !obj.hasOwnProperty("prop1") && obj.hasOwnProperty("prop2");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - no additional property is defined in 'O'
+ when 'Properties' doesn't contain enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var props = {};
+
+ Object.defineProperty(props, "prop1", {
+ value: {},
+ enumerable: false
+ });
+
+ Object.defineProperty(props, "prop2", {
+ get: function () {
+ return {};
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+
+ return !obj.hasOwnProperty("prop1") && obj.hasOwnProperty("prop2");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-1.js
index 58a9bd0ee..1e13cd541 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-1.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-1.js
- * @description Object.defineProperties - 'P' is own data property that overrides enumerable inherited data property of 'Properties' is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "prop", {
- value: {
- value: 9
- },
- enumerable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "prop", {
- value: {
- value: 12
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, child);
-
- return obj.hasOwnProperty("prop") && obj.prop === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own data property that overrides
+ enumerable inherited data property of 'Properties' is defined in
+ 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "prop", {
+ value: {
+ value: 9
+ },
+ enumerable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "prop", {
+ value: {
+ value: 12
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, child);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-10.js
index b9fde3327..c510abc7e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-10.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-10.js
- * @description Object.defineProperties - 'Properties' is a Boolean object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Boolean(false);
-
- Object.defineProperty(props, "prop", {
- value: {
- value: 10
- },
- enumerable: true
- });
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 10;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is a Boolean object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Boolean(false);
+
+ Object.defineProperty(props, "prop", {
+ value: {
+ value: 10
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 10;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-11.js
index f8ec4a8c3..e657857ea 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-11.js
@@ -1,27 +1,29 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-11.js
- * @description Object.defineProperties - 'Properties' is a Number object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Number(-9);
-
- Object.defineProperty(props, "prop", {
- value: {
- value: 12
- },
- enumerable: true
- });
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is a Number object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Number(-9);
+
+ Object.defineProperty(props, "prop", {
+ value: {
+ value: 12
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-12.js
index 7550db5d6..8ab8d8d66 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-12.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-12.js
- * @description Object.defineProperties - 'Properties' is the Math object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Math.prop = {
- value: 12
- };
- Object.defineProperties(obj, Math);
-
- return obj.hasOwnProperty("prop") && obj.prop === 12;
- } finally {
- delete Math.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is the Math object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Math.prop = {
+ value: 12
+ };
+ Object.defineProperties(obj, Math);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+ } finally {
+ delete Math.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-13.js
index dd325b14c..f3ec31866 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-13.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-13.js
- * @description Object.defineProperties - 'Properties' is a Date object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Date();
-
- Object.defineProperty(props, "prop", {
- value: {
- value: 13
- },
- enumerable: true
- });
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 13;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is a Date object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Date();
+
+ Object.defineProperty(props, "prop", {
+ value: {
+ value: 13
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 13;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-14.js
index e546a9dfc..0d2503e45 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-14.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-14.js
- * @description Object.defineProperties - 'Properties' is a RegExp object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new RegExp();
-
- Object.defineProperty(props, "prop", {
- value: {
- value: 14
- },
- enumerable: true
- });
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 14;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is a RegExp object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new RegExp();
+
+ Object.defineProperty(props, "prop", {
+ value: {
+ value: 14
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 14;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-15.js
index e886127f4..f307607cc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-15.js
- * @description Object.defineProperties - 'Properties' is the JSON object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- JSON.prop = {
- value: 15
- };
- Object.defineProperties(obj, JSON);
-
- return obj.hasOwnProperty("prop") && obj.prop === 15;
- } finally {
- delete JSON.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is the JSON object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ JSON.prop = {
+ value: 15
+ };
+ Object.defineProperties(obj, JSON);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 15;
+ } finally {
+ delete JSON.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-16.js
index 367dea362..e027ac9d6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-16.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-16.js
- * @description Object.defineProperties - 'Properties' is an Error object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new Error("test");
- var obj1 = {
- value: 11
- };
- props.message = obj1;
- props.name = obj1;
- props.description = obj1;
-
- props.prop = {
- value: 16
- };
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 16;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is an Error object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new Error("test");
+ var obj1 = {
+ value: 11
+ };
+ props.message = obj1;
+ props.name = obj1;
+ props.description = obj1;
+
+ props.prop = {
+ value: 16
+ };
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 16;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-17.js
index 0c69d97a0..f4f9ad702 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-17.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-17.js
- * @description Object.defineProperties - 'Properties' is the Arguments object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- Object.defineProperty(arg, "prop", {
- value: {
- value: 17
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, arg);
-
- return obj.hasOwnProperty("prop") && obj.prop === 17;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is the Arguments object
+ which implements its own [[Get]] method to get enumerable own
+ property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ Object.defineProperty(arg, "prop", {
+ value: {
+ value: 17
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, arg);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 17;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-2.js
index 783a90102..b55313fdf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-2.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-2.js
- * @description Object.defineProperties - 'P' is own data property that overrides enumerable inherited accessor property of 'Properties' is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
-
- Object.defineProperty(proto, "prop", {
- get: function () {
- return {
- value: 9
- };
- },
- enumerable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "prop", {
- value: {
- value: 12
- },
- enumerable: true
- });
- Object.defineProperties(obj, child);
-
- return obj.hasOwnProperty("prop") && obj.prop === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own data property that overrides
+ enumerable inherited accessor property of 'Properties' is defined
+ in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return {
+ value: 9
+ };
+ },
+ enumerable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "prop", {
+ value: {
+ value: 12
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, child);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-3.js
index a0f05ae6b..bfdc11d39 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-3.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-3.js
- * @description Object.defineProperties - enumerable own accessor property of 'Properties' that overrides enumerable inherited data property of 'Properties' is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "prop", {
- value: {
- value: 9
- },
- enumerable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "prop", {
- get: function () {
- return {
- value: 12
- };
- },
- enumerable: true
- });
- Object.defineProperties(obj, child);
-
- return obj.hasOwnProperty("prop") && obj.prop === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable own accessor property of
+ 'Properties' that overrides enumerable inherited data property of
+ 'Properties' is defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "prop", {
+ value: {
+ value: 9
+ },
+ enumerable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "prop", {
+ get: function () {
+ return {
+ value: 12
+ };
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, child);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-4.js
index 6b6369722..8769e109e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-4.js
@@ -1,43 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-4.js
- * @description Object.defineProperties - enumerable own accessor property of 'Properties' that overrides enumerable inherited accessor property of 'Properties' is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "prop", {
- get: function () {
- return {
- value: 9
- };
- },
- enumerable: false
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "prop", {
- get: function () {
- return {
- value: 12
- };
- },
- enumerable: true
- });
- Object.defineProperties(obj, child);
-
- return obj.hasOwnProperty("prop") && obj.prop === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable own accessor property of
+ 'Properties' that overrides enumerable inherited accessor property
+ of 'Properties' is defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return {
+ value: 9
+ };
+ },
+ enumerable: false
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "prop", {
+ get: function () {
+ return {
+ value: 12
+ };
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, child);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-5.js
index bc3c23ce8..21ae33be6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-5.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-5.js
- * @description Object.defineProperties - enumerable own accessor property of 'Properties' without a get function is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var props = {};
- Object.defineProperty(props, "prop", {
- get: function () {
- return {
- set: function () { }
- };
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && typeof obj.prop === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable own accessor property of
+ 'Properties' without a get function is defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var props = {};
+ Object.defineProperty(props, "prop", {
+ get: function () {
+ return {
+ set: function () { }
+ };
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && typeof obj.prop === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-6.js
index 18bcc3f11..e4f8f6d4f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-6.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-6.js
- * @description Object.defineProperties - enumerable own accessor property of 'Properties' without a get function that overrides enumerable inherited accessor property of 'Properties' is defined in 'O'
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "prop", {
- get: function () {
- return 12;
- },
- enumerable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "prop", {
- get: function () {
- return {
- set: function () { }
- };
- },
- enumerable: true
- });
- Object.defineProperties(obj, child);
-
- return obj.hasOwnProperty("prop") && typeof obj.prop === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - enumerable own accessor property of
+ 'Properties' without a get function that overrides enumerable
+ inherited accessor property of 'Properties' is defined in 'O'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return 12;
+ },
+ enumerable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "prop", {
+ get: function () {
+ return {
+ set: function () { }
+ };
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, child);
+
+ return obj.hasOwnProperty("prop") && typeof obj.prop === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-7.js
index 5ec31411b..05a88d1ea 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-7.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-7.js
- * @description Object.defineProperties - 'Properties' is a Function object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = function () { };
-
- Object.defineProperty(props, "prop", {
- value: {
- value: 7
- },
- enumerable: true
- });
-
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 7;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is a Function object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = function () { };
+
+ Object.defineProperty(props, "prop", {
+ value: {
+ value: 7
+ },
+ enumerable: true
+ });
+
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 7;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-8.js
index dfe4b3f85..9ff716677 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-8.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-8.js
- * @description Object.defineProperties - 'Properties' is an Array object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = [];
- var descObj = {
- value: 8
- };
-
- Object.defineProperty(props, "prop", {
- value: descObj,
- enumerable: true
- });
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 8;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is an Array object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = [];
+ var descObj = {
+ value: 8
+ };
+
+ Object.defineProperty(props, "prop", {
+ value: descObj,
+ enumerable: true
+ });
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 8;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-9.js
index 508a2771b..692c1f8f7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-a-9.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.2/15.2.3/15.2.3.7/15.2.3.7-5-a-9.js
- * @description Object.defineProperties - 'Properties' is a String object which implements its own [[Get]] method to get enumerable own property
- */
-
-
-function testcase() {
-
- var obj = {};
- var props = new String();
-
- Object.defineProperty(props, "prop", {
- value: {
- value: 9
- },
- enumerable: true
- });
- Object.defineProperties(obj, props);
-
- return obj.hasOwnProperty("prop") && obj.prop === 9;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'Properties' is a String object which
+ implements its own [[Get]] method to get enumerable own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var props = new String();
+
+ Object.defineProperty(props, "prop", {
+ value: {
+ value: 9
+ },
+ enumerable: true
+ });
+ Object.defineProperties(obj, props);
+
+ return obj.hasOwnProperty("prop") && obj.prop === 9;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-1.js
index 8982868e5..c92c5ccc8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-1.js
- * @description Object.defineProperties - 'descObj' is undefined (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: undefined
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && !obj.hasOwnProperty("prop");
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - 'descObj' is undefined (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: undefined
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && !obj.hasOwnProperty("prop");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-10.js
index fdf4df639..ed414b920 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-10.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-10.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own data property that overrides an inherited data property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- var proto = {
- enumerable: true
- };
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "enumerable", {
- value: false
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own data property that overrides an inherited data property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ var proto = {
+ enumerable: true
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "enumerable", {
+ value: false
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-100.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-100.js
index 1fed03b2d..de5bcb800 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-100.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-100.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-100.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is Boolean object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: new Boolean(true)
- }
- });
-
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is Boolean object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: new Boolean(true)
+ }
+ });
+
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-101.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-101.js
index 6a6d3ff92..0496d0d2f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-101.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-101.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-101.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is Number object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: new Number(-123)
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is Number object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: new Number(-123)
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-102.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-102.js
index 14c755d1b..a9d8e0f30 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-102.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-102.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-102.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is the Math object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: Math
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is the Math object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: Math
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-103.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-103.js
index 3626ed1ca..87122c32b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-103.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-103.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-103.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is Date object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: new Date()
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is Date object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: new Date()
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-104.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-104.js
index f67d4d3a2..969fa00f3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-104.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-104.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-104.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is RegExp object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: new RegExp()
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is RegExp object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: new RegExp()
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-105.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-105.js
index 0feaaab37..420607ac3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-105.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-105.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-105.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is the JSON object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: JSON
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is the JSON object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: JSON
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-106.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-106.js
index 091ae9758..d9c16c8dc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-106.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-106.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-106.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is Error object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: new SyntaxError()
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is Error object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: new SyntaxError()
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-107.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-107.js
index 1f4f6ba80..8e9bd911e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-107.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-107.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-107.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is the Argument object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b, c) {
- return arguments;
- };
-
- var args = func(1, true, "a");
-
- Object.defineProperties(obj, {
- property: {
- configurable: args
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is the Argument object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b, c) {
+ return arguments;
+ };
+
+ var args = func(1, true, "a");
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: args
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-109.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-109.js
index 4f8c12940..03c5a942f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-109.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-109.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-109.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is the global object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: fnGlobalObject()
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is the global object (8.10.5 step 4.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: fnGlobalObject()
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-11.js
index b1c3ca0a9..df0580fb5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-11.js
@@ -1,43 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-11.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own data property that overrides an inherited accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- var accessed = false;
-
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "enumerable", {
- value: false
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own data property that overrides an inherited accessor property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ var accessed = false;
+
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "enumerable", {
+ value: false
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-110.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-110.js
index 46e54c538..5d81d8037 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-110.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-110.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-110.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is a string (value is 'false') which is treated as true value (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: "false"
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is a string (value is 'false') which is treated as true
+ value (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: "false"
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-111.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-111.js
index 48f7efec0..1c68213d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-111.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-111.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-111.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is new Boolean(false) which is treated as true value (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: new Boolean(false)
- }
- });
- var preCheck = obj.hasOwnProperty("property");
- delete obj.property;
-
- return preCheck && !obj.hasOwnProperty("property");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is new Boolean(false) which is treated as true value
+ (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: new Boolean(false)
+ }
+ });
+ var preCheck = obj.hasOwnProperty("property");
+ delete obj.property;
+
+ return preCheck && !obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-112.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-112.js
index b34f00398..00c175ced 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-112.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-112.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-112.js
- * @description Object.defineProperties - 'value' property of 'descObj' is present (8.10.5 step 5)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- value: 300
- }
- });
-
- return obj.property === 300;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is present
+ (8.10.5 step 5)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ value: 300
+ }
+ });
+
+ return obj.property === 300;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-113.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-113.js
index b560fb237..52b899f3e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-113.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-113.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-113.js
- * @description Object.defineProperties - 'value' property of 'descObj' is not present (8.10.5 step 5)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: true
- }
- });
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is not
+ present (8.10.5 step 5)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: true
+ }
+ });
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-114.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-114.js
index bb0b87e07..0e910d4df 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-114.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-114.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-114.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own data property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- value: "ownDataProperty"
- }
- });
-
- return obj.property === "ownDataProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ data property (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ value: "ownDataProperty"
+ }
+ });
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-115.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-115.js
index 7f9133c39..67276c4b6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-115.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-115.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-115.js
- * @description Object.defineProperties - 'value' property of 'descObj' is inherited data property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- value: "inheritedDataProperty"
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "inheritedDataProperty";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is
+ inherited data property (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {
+ value: "inheritedDataProperty"
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "inheritedDataProperty";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-116.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-116.js
index 18ccb60ab..62827a236 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-116.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-116.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-116.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own data property that overrides an inherited data property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- value: "inheritedDataProperty"
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- descObj.value = "ownDataProperty";
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownDataProperty";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ data property that overrides an inherited data property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {
+ value: "inheritedDataProperty"
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ descObj.value = "ownDataProperty";
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownDataProperty";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-117.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-117.js
index d73a750b5..9e4c1b1c6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-117.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-117.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-117.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own data property that overrides an inherited accessor property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "value", {
- get: function () {
- return "inheritedAccessorProperty";
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "value", {
- value: "ownDataProperty"
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownDataProperty";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ data property that overrides an inherited accessor property
+ (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "value", {
+ get: function () {
+ return "inheritedAccessorProperty";
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "value", {
+ value: "ownDataProperty"
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownDataProperty";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-118.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-118.js
index efcdac2d4..872c7b074 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-118.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-118.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-118.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own accessor property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = {};
-
- Object.defineProperty(descObj, "value", {
- get: function () {
- return "ownAccessorProperty";
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownAccessorProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ accessor property (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = {};
+
+ Object.defineProperty(descObj, "value", {
+ get: function () {
+ return "ownAccessorProperty";
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-119.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-119.js
index 684267a37..cde0f7b95 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-119.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-119.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-119.js
- * @description Object.defineProperties - 'value' property of 'descObj' is inherited accessor property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "value", {
- get: function () {
- return "inheritedAccessorProperty";
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "inheritedAccessorProperty";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is
+ inherited accessor property (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "value", {
+ get: function () {
+ return "inheritedAccessorProperty";
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "inheritedAccessorProperty";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-12.js
index 04fba743d..acc48a49e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-12.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-12.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
- var descObj = {};
-
- Object.defineProperty(descObj, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own accessor property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+ var descObj = {};
+
+ Object.defineProperty(descObj, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-120.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-120.js
index 424916c8a..730c52d5e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-120.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-120.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-120.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own accessor property that overrides an inherited data property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- value: "inheritedDataProperty"
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "value", {
- get: function () {
- return "ownAccessorProperty";
- }
- });
-
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownAccessorProperty";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ accessor property that overrides an inherited data property
+ (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {
+ value: "inheritedDataProperty"
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "value", {
+ get: function () {
+ return "ownAccessorProperty";
+ }
+ });
+
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownAccessorProperty";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-121.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-121.js
index 873c50cbf..9e2c46577 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-121.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-121.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-121.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own accessor property that overrides an inherited accessor property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "value", {
- get: function () {
- return "inheritedAccessorProperty";
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "value", {
- get: function () {
- return "ownAccessorProperty";
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownAccessorProperty";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ accessor property that overrides an inherited accessor property
+ (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "value", {
+ get: function () {
+ return "inheritedAccessorProperty";
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "value", {
+ get: function () {
+ return "ownAccessorProperty";
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownAccessorProperty";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-122.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-122.js
index 5bdc2fed2..4500974c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-122.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-122.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-122.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own accessor property without a get function (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = {};
-
- Object.defineProperty(descObj, "value", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ accessor property without a get function (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = {};
+
+ Object.defineProperty(descObj, "value", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-123.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-123.js
index a85c9a29e..38f857e0d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-123.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-123.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-123.js
- * @description Object.defineProperties - 'value' property of 'descObj' is own accessor property without a get function that overrides an inherited accessor property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "value", {
- get: function () {
- return "inheritedAccessorProperty";
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "value", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is own
+ accessor property without a get function that overrides an
+ inherited accessor property (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "value", {
+ get: function () {
+ return "inheritedAccessorProperty";
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "value", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-124.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-124.js
index 29b14fe96..164a0c434 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-124.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-124.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-124.js
- * @description Object.defineProperties - 'value' property of 'descObj' is inherited accessor property without a get function (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "value", {
- set: function () { }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'value' property of 'descObj' is
+ inherited accessor property without a get function (8.10.5 step
+ 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "value", {
+ set: function () { }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-125.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-125.js
index a2e919fa6..afc5d45ac 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-125.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-125.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-125.js
- * @description Object.defineProperties - 'descObj' is a Function object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b) {
- return a + b;
- };
-
- func.value = "Function";
-
- Object.defineProperties(obj, {
- property: func
- });
-
- return obj.property === "Function";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Function object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b) {
+ return a + b;
+ };
+
+ func.value = "Function";
+
+ Object.defineProperties(obj, {
+ property: func
+ });
+
+ return obj.property === "Function";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-126.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-126.js
index 3e5f284a6..15de2e5b4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-126.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-126.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-126.js
- * @description Object.defineProperties - 'descObj' is an Array object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var arr = [1, 2, 3];
-
- arr.value = "Array";
-
- Object.defineProperties(obj, {
- property: arr
- });
-
- return obj.property === "Array";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Array object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var arr = [1, 2, 3];
+
+ arr.value = "Array";
+
+ Object.defineProperties(obj, {
+ property: arr
+ });
+
+ return obj.property === "Array";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-127.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-127.js
index 8978b8c29..18e0aab36 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-127.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-127.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-127.js
- * @description Object.defineProperties - 'descObj' is a String object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var str = new String("abc");
-
- str.value = "String";
-
- Object.defineProperties(obj, {
- property: str
- });
-
- return obj.property === "String";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a String object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var str = new String("abc");
+
+ str.value = "String";
+
+ Object.defineProperties(obj, {
+ property: str
+ });
+
+ return obj.property === "String";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-128.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-128.js
index ef6f0683c..27a56e316 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-128.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-128.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-128.js
- * @description Object.defineProperties - 'descObj' is a Boolean object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Boolean(false);
-
- descObj.value = "Boolean";
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Boolean";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Boolean object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Boolean(false);
+
+ descObj.value = "Boolean";
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Boolean";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-129.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-129.js
index 331508a42..78f82f29a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-129.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-129.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-129.js
- * @description Object.defineProperties - 'descObj' is a Number object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Number(-9);
-
- descObj.value = "Number";
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Number";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Number object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Number(-9);
+
+ descObj.value = "Number";
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Number";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-13.js
index a9106eee6..df1bfa9cb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-13.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-13.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is inherited accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- var accessed = false;
-
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ inherited accessor property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ var accessed = false;
+
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-130.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-130.js
index 53d3591bc..a930300ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-130.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-130.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-130.js
- * @description Object.defineProperties - 'descObj' is the Math object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Math.value = "Math";
-
- Object.defineProperties(obj, {
- property: Math
- });
-
- return obj.property === "Math";
- } finally {
- delete Math.value;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Math object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Math.value = "Math";
+
+ Object.defineProperties(obj, {
+ property: Math
+ });
+
+ return obj.property === "Math";
+ } finally {
+ delete Math.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-131.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-131.js
index b3deec303..323fe29ae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-131.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-131.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-131.js
- * @description Object.defineProperties - 'descObj' is a Date object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Date();
-
- descObj.value = "Date";
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Date";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Date object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Date();
+
+ descObj.value = "Date";
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Date";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-132.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-132.js
index 9711b6f61..c33e88a0d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-132.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-132.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-132.js
- * @description Object.defineProperties - 'descObj' is a RegExp object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new RegExp();
-
- descObj.value = "RegExp";
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "RegExp";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a RegExp object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new RegExp();
+
+ descObj.value = "RegExp";
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "RegExp";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-133.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-133.js
index 81dbac1d1..dac49e9c4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-133.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-133.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-133.js
- * @description Object.defineProperties - 'descObj' is the JSON object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- JSON.value = "JSON";
-
- Object.defineProperties(obj, {
- property: JSON
- });
-
- return obj.property === "JSON";
- } finally {
- delete JSON.value;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the JSON object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ JSON.value = "JSON";
+
+ Object.defineProperties(obj, {
+ property: JSON
+ });
+
+ return obj.property === "JSON";
+ } finally {
+ delete JSON.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-134.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-134.js
index 18b1dd1f9..377f5b861 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-134.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-134.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-134.js
- * @description Object.defineProperties - 'descObj' is an Error object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Error();
-
- descObj.value = "Error";
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Error";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Error object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Error();
+
+ descObj.value = "Error";
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Error";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-135.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-135.js
index 31d6d2b5a..07672cf3f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-135.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-135.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-135.js
- * @description Object.defineProperties - 'descObj' is the Arguments object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b) {
- arguments.value = "arguments";
-
- Object.defineProperties(obj, {
- property: arguments
- });
-
- return obj.property === "arguments";
- };
-
- return func();
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Arguments object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b) {
+ arguments.value = "arguments";
+
+ Object.defineProperties(obj, {
+ property: arguments
+ });
+
+ return obj.property === "arguments";
+ };
+
+ return func();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-137.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-137.js
index d2d2838a1..42c57ecf1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-137.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-137.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-137.js
- * @description Object.defineProperties - 'descObj' is the global object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- fnGlobalObject().value = "global";
-
- Object.defineProperties(obj, {
- property: fnGlobalObject()
- });
-
- return obj.property === "global";
- } finally {
- delete fnGlobalObject().value;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the global object which
+ implements its own [[Get]] method to get 'value' property (8.10.5
+ step 5.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ fnGlobalObject().value = "global";
+
+ Object.defineProperties(obj, {
+ property: fnGlobalObject()
+ });
+
+ return obj.property === "global";
+ } finally {
+ delete fnGlobalObject().value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-138.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-138.js
index 59213738c..897996251 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-138.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-138.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-138.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is present (8.10.5 step 6)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: false
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is
+ present (8.10.5 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: false
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-139.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-139.js
index c86d56d5b..7b1d63b3a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-139.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-139.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-139.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is not present (8.10.5 step 6)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- value: "abc"
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "abc";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is not
+ present (8.10.5 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ value: "abc"
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "abc";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-14.js
index 4edfcabe4..f6e4d32e1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-14.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-14.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own accessor property that overrides an inherited data property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
- var proto = {
- enumerable: true
- };
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "enumerable", {
- get: function () {
- return false;
- }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own accessor property that overrides an inherited data property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+ var proto = {
+ enumerable: true
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "enumerable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-140.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-140.js
index ae4bfed53..194297796 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-140.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-140.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-140.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: false
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ data property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: false
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-141.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-141.js
index 3cd909a67..ffba891ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-141.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-141.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-141.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is inherited data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- writable: false
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is
+ inherited data property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {
+ writable: false
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-142.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-142.js
index 36d961509..e44d8277a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-142.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-142.js
@@ -1,34 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-142.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own data property that overrides an inherited data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- writable: true
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- descObj.writable = false;
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ data property that overrides an inherited data property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {
+ writable: true
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ descObj.writable = false;
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-143.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-143.js
index cc446e504..29d720376 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-143.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-143.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-143.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own data property that overrides an inherited accessor property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = { value: 120 };
-
- Object.defineProperty(proto, "writable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "writable", {
- value: false
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && obj.property === 120;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ data property that overrides an inherited accessor property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = { value: 120 };
+
+ Object.defineProperty(proto, "writable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "writable", {
+ value: false
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && obj.property === 120;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-144.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-144.js
index b6b317979..621a2a97c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-144.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-144.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-144.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own accessor property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = {};
-
- Object.defineProperty(descObj, "writable", {
- get: function () {
- return false;
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ accessor property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = {};
+
+ Object.defineProperty(descObj, "writable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-145.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-145.js
index 079a64cda..f150159b4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-145.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-145.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-145.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is inherited accessor property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "writable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is
+ inherited accessor property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "writable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-146.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-146.js
index efcbb574d..d01619cd9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-146.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-146.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-146.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own accessor property that overrides an inherited data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- writable: true
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "writable", {
- get: function () {
- return false;
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ accessor property that overrides an inherited data property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {
+ writable: true
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "writable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-147.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-147.js
index e495ea2e2..dd77ec50c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-147.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-147.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-147.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own accessor property that overrides an inherited accessor property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "writable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "writable", {
- get: function () {
- return false;
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ accessor property that overrides an inherited accessor property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "writable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "writable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-148.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-148.js
index 464bcdf52..c90406554 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-148.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-148.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-148.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own accessor property without a get function (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = {};
-
- Object.defineProperty(descObj, "writable", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ accessor property without a get function (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = {};
+
+ Object.defineProperty(descObj, "writable", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-149.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-149.js
index d06cec25f..c2b93bf9e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-149.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-149.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-149.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is own accessor property without a get function that overrides an inherited accessor property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "writable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "writable", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is own
+ accessor property without a get function that overrides an
+ inherited accessor property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "writable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "writable", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-15.js
index 2b769b799..240047d7e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-15.js
@@ -1,43 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-15.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own accessor property that overrides an inherited accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- var accessed = false;
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "enumerable", {
- get: function () {
- return false;
- }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own accessor property that overrides an inherited accessor
+ property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ var accessed = false;
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "enumerable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-150.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-150.js
index 9dbc88f9b..568267e47 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-150.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-150.js
@@ -1,34 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-150.js
- * @description Object.defineProperties - 'writable' property of 'descObj' is inherited accessor property without a get function (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "writable", {
- set: function () { }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'writable' property of 'descObj' is
+ inherited accessor property without a get function (8.10.5 step
+ 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "writable", {
+ set: function () { }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-151.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-151.js
index 4f306ec2d..f47f16ee5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-151.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-151.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-151.js
- * @description Object.defineProperties - 'descObj' is a Function object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b) {
- return a + b;
- };
-
- func.writable = false;
-
- Object.defineProperties(obj, {
- property: func
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Function object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b) {
+ return a + b;
+ };
+
+ func.writable = false;
+
+ Object.defineProperties(obj, {
+ property: func
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-152.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-152.js
index cadeed3c7..6ce4befdb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-152.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-152.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-152.js
- * @description Object.defineProperties - 'descObj' is an Array object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var arr = [1, 2, 3];
-
- arr.writable = false;
-
- Object.defineProperties(obj, {
- property: arr
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Array object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var arr = [1, 2, 3];
+
+ arr.writable = false;
+
+ Object.defineProperties(obj, {
+ property: arr
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-153.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-153.js
index 4fbf0b3d6..c1002aec6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-153.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-153.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-153.js
- * @description Object.defineProperties - 'descObj' is a String object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var str = new String("abc");
-
- str.writable = false;
-
- Object.defineProperties(obj, {
- property: str
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a String object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var str = new String("abc");
+
+ str.writable = false;
+
+ Object.defineProperties(obj, {
+ property: str
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-154.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-154.js
index 2d43785df..c57abf8be 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-154.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-154.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-154.js
- * @description Object.defineProperties - 'descObj' is a Boolean object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Boolean(false);
-
- descObj.writable = false;
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Boolean object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Boolean(false);
+
+ descObj.writable = false;
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-155.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-155.js
index 36b5b8760..f990114bc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-155.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-155.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-155.js
- * @description Object.defineProperties - 'descObj' is a Number object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Number(-9);
-
- descObj.writable = false;
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Number object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Number(-9);
+
+ descObj.writable = false;
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-156.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-156.js
index 445421295..c9b89f8a9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-156.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-156.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-156.js
- * @description Object.defineProperties - 'descObj' is the Math object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Math.writable = false;
-
- Object.defineProperties(obj, {
- property: Math
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- } finally {
- delete Math.writable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Math object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Math.writable = false;
+
+ Object.defineProperties(obj, {
+ property: Math
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ } finally {
+ delete Math.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-157.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-157.js
index 1bbd65cb4..28ef611ac 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-157.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-157.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-157.js
- * @description Object.defineProperties - 'descObj' is a Date object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Date();
-
- descObj.writable = false;
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Date object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Date();
+
+ descObj.writable = false;
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-158.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-158.js
index e9b5504da..7335ae70c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-158.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-158.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-158.js
- * @description Object.defineProperties - 'descObj' is a RegExp object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new RegExp();
-
- descObj.writable = false;
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a RegExp object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new RegExp();
+
+ descObj.writable = false;
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-159.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-159.js
index 82ec511bf..5fb863962 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-159.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-159.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-159.js
- * @description Object.defineProperties - 'descObj' is the JSON object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- JSON.writable = false;
-
- Object.defineProperties(obj, {
- property: JSON
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- } finally {
- delete JSON.writable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the JSON object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ JSON.writable = false;
+
+ Object.defineProperties(obj, {
+ property: JSON
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ } finally {
+ delete JSON.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-16.js
index 8e01a63f6..51878894d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-16.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-16.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own accessor property without a get function (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
- var descObj = {};
-
- Object.defineProperty(descObj, "enumerable", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own accessor property without a get function (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+ var descObj = {};
+
+ Object.defineProperty(descObj, "enumerable", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-160.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-160.js
index 307ca72a8..e90ec8bc6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-160.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-160.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-160.js
- * @description Object.defineProperties - 'descObj' is an Error object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Error();
-
- descObj.writable = false;
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Error object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Error();
+
+ descObj.writable = false;
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-161.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-161.js
index bac3280c7..b4d424094 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-161.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-161.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-161.js
- * @description Object.defineProperties - 'descObj' is the Arguments object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b) {
- arguments.writable = false;
-
- Object.defineProperties(obj, {
- property: arguments
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- };
-
- return func();
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Arguments object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b) {
+ arguments.writable = false;
+
+ Object.defineProperties(obj, {
+ property: arguments
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ };
+
+ return func();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-163.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-163.js
index bae1ad92f..0ff779c30 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-163.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-163.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-163.js
- * @description Object.defineProperties - 'descObj' is the global object which implements its own [[Get]] method to get 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- fnGlobalObject().writable = false;
-
- Object.defineProperties(obj, {
- property: fnGlobalObject()
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- } finally {
- delete fnGlobalObject().writable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the global object which
+ implements its own [[Get]] method to get 'writable' property
+ (8.10.5 step 6.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ fnGlobalObject().writable = false;
+
+ Object.defineProperties(obj, {
+ property: fnGlobalObject()
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ } finally {
+ delete fnGlobalObject().writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-164.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-164.js
index 834c1eff5..2082b23c3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-164.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-164.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-164.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is undefined (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: undefined
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is undefined (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: undefined
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-165.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-165.js
index 552b10d71..21c39dafb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-165.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-165.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-165.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is null (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: null
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is null (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: null
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-166.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-166.js
index 24d62efa4..cd7879348 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-166.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-166.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-166.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is true (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: true
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is true (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: true
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-167.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-167.js
index a1415191a..7c51c2543 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-167.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-167.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-167.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is false (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: false
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is false (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: false
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-168.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-168.js
index 0dd0fed77..fa7f6ac56 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-168.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-168.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-168.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is 0 (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: 0
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is 0 (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: 0
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-169.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-169.js
index fc765ce04..0ed9b2d53 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-169.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-169.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-169.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is +0 (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: +0
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is +0 (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: +0
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-17.js
index d7c4c7215..66fefa91c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-17.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-17.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own accessor property without a get function that overrides an inherited accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- var accessed = false;
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return false;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "enumerable", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own accessor property without a get function that overrides an
+ inherited accessor property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ var accessed = false;
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "enumerable", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-170.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-170.js
index d068d62fc..c7d2d801c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-170.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-170.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-170.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is -0 (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: -0
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is -0 (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: -0
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-171.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-171.js
index e92a2b23f..eb5291df5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-171.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-171.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-171.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is NaN (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: NaN
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is NaN (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: NaN
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-172.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-172.js
index 8ba112d97..1d05bf2ed 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-172.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-172.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-172.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is positive number (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: 123
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is positive number (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: 123
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-173.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-173.js
index fef0fe1c2..cbc958de1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-173.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-173.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-173.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is negative number (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: -123
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is negative number (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: -123
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-174.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-174.js
index 4400118a2..41c2c405b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-174.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-174.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-174.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is empty string (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: ""
- }
- });
-
- obj.property = "isWritable";
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is empty string (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: ""
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-175.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-175.js
index c2d5806d4..611aef3c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-175.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-175.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-175.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is non-empty string (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: "abc"
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is non-empty string (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: "abc"
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-176.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-176.js
index d21760ed5..ec1d8e576 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-176.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-176.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-176.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is Function object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: function () { }
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is Function object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: function () { }
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-177.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-177.js
index fb2f97c32..b5e69b483 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-177.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-177.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-177.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is Array object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: []
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is Array object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: []
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-178.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-178.js
index ae9f69682..1e710f41f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-178.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-178.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-178.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is String object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: new String("abc")
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is String object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: new String("abc")
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-179.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-179.js
index 5f2f10fc0..f0188bf19 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-179.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-179.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-179.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is Boolean object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: new Boolean(true)
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is Boolean object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: new Boolean(true)
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-18.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-18.js
index 2840cdac1..dd55ea732 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-18.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-18.js
@@ -1,36 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-18.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is inherited accessor property without a get function (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- var accessed = false;
-
- Object.defineProperty(proto, "enumerable", {
- set: function () { }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ inherited accessor property without a get function (8.10.5 step
+ 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ var accessed = false;
+
+ Object.defineProperty(proto, "enumerable", {
+ set: function () { }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-180.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-180.js
index b74158180..e6a9334a7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-180.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-180.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-180.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is Number object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: new Number(123)
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is Number object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: new Number(123)
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-181.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-181.js
index 6fde31585..162473940 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-181.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-181.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-181.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is the Math object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: Math
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is the Math object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: Math
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-182.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-182.js
index 2f4359f94..87fcb3544 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-182.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-182.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-182.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is Date object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: new Date()
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is Date object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: new Date()
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-183.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-183.js
index 1036dbf6f..aa27409a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-183.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-183.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-183.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is RegExp object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: new RegExp()
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is RegExp object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: new RegExp()
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-184.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-184.js
index c90f89dd3..bf724b72f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-184.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-184.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-184.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is the JSON object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: JSON
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is the JSON object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: JSON
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-185.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-185.js
index 191e90476..55331d41c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-185.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-185.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-185.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is Error object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: new SyntaxError()
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is Error object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: new SyntaxError()
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-186.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-186.js
index 3d9b222c6..eb1f83334 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-186.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-186.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-186.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is the Argument object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b, c) {
- return arguments;
- };
-
- Object.defineProperties(obj, {
- property: {
- writable: func(1, true, "a")
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is the Argument object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b, c) {
+ return arguments;
+ };
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: func(1, true, "a")
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-188.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-188.js
index db988505d..75fb85b37 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-188.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-188.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-188.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is the global object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: fnGlobalObject()
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is the global object (8.10.5 step 6.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: fnGlobalObject()
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-189.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-189.js
index fa1689f96..71dca6611 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-189.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-189.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-189.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is a string (value is 'false') which is treated as true value (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: "false"
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is a string (value is 'false') which is treated as true
+ value (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: "false"
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-19.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-19.js
index aed16b65c..45ef6bf30 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-19.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-19.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-19.js
- * @description Object.defineProperties - 'descObj' is a Function object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var descObj = function () { };
- var accessed = false;
-
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Function object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var descObj = function () { };
+ var accessed = false;
+
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-190.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-190.js
index 087368d4f..3ff1522bf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-190.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-190.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-190.js
- * @description Object.defineProperties - value of 'writable' property of 'descObj' is new Boolean(false) which is treated as true value (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- writable: new Boolean(false)
- }
- });
-
- obj.property = "isWritable";
-
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'writable' property of
+ 'descObj' is new Boolean(false) which is treated as true value
+ (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ writable: new Boolean(false)
+ }
+ });
+
+ obj.property = "isWritable";
+
+ return obj.property === "isWritable";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-191.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-191.js
index 2406ffa15..15a03c8fe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-191.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-191.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-191.js
- * @description Object.defineProperties - 'get' property of 'descObj' is present (8.10.5 step 7)
- */
-
-
-function testcase() {
- var obj = {};
-
- var getter = function () {
- return "present";
- };
-
- Object.defineProperties(obj, {
- property: {
- get: getter
- }
- });
-
- return obj.property === "present";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is present
+ (8.10.5 step 7)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getter = function () {
+ return "present";
+ };
+
+ Object.defineProperties(obj, {
+ property: {
+ get: getter
+ }
+ });
+
+ return obj.property === "present";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-192.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-192.js
index 230ce4987..6c0d0ee95 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-192.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-192.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-192.js
- * @description Object.defineProperties - 'get' property of 'descObj' is not present (8.10.5 step 7)
- */
-
-
-function testcase() {
- var obj = {};
-
- var setter = function () { };
-
- Object.defineProperties(obj, {
- property: {
- set: setter
- }
- });
-
- return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is not
+ present (8.10.5 step 7)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var setter = function () { };
+
+ Object.defineProperties(obj, {
+ property: {
+ set: setter
+ }
+ });
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-193.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-193.js
index 7d701fc82..7452d0bed 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-193.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-193.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-193.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own data property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var getter = function () {
- return "ownDataProperty";
- };
-
- Object.defineProperties(obj, {
- property: {
- get: getter
- }
- });
-
- return obj.property === "ownDataProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own data
+ property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getter = function () {
+ return "ownDataProperty";
+ };
+
+ Object.defineProperties(obj, {
+ property: {
+ get: getter
+ }
+ });
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-194.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-194.js
index 0830a276b..35f77b952 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-194.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-194.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-194.js
- * @description Object.defineProperties - 'get' property of 'descObj' is inherited data property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var getter = function () {
- return "inheritedDataProperty";
- };
-
- var proto = {
- get: getter
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "inheritedDataProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is inherited
+ data property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getter = function () {
+ return "inheritedDataProperty";
+ };
+
+ var proto = {
+ get: getter
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "inheritedDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-195.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-195.js
index 697c80929..6ea37f654 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-195.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-195.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-195.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own data property that overrides an inherited data property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var getter = function () {
- return "inheritedDataProperty";
- };
-
- var proto = {
- get: getter
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- descObj.get = function () {
- return "ownDataProperty";
- };
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownDataProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own data
+ property that overrides an inherited data property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getter = function () {
+ return "inheritedDataProperty";
+ };
+
+ var proto = {
+ get: getter
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ descObj.get = function () {
+ return "ownDataProperty";
+ };
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-196.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-196.js
index 00f793118..53a9c1f3b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-196.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-196.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-196.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own data property that overrides an inherited accessor property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "get", {
- get: function () {
- return function () {
- return "inheritedAccessorProperty";
- };
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "get", {
- value: function () {
- return "ownDataProperty";
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownDataProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own data
+ property that overrides an inherited accessor property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "get", {
+ get: function () {
+ return function () {
+ return "inheritedAccessorProperty";
+ };
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "get", {
+ value: function () {
+ return "ownDataProperty";
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-197.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-197.js
index 2b85f4592..8d29ccccf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-197.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-197.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-197.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own accessor property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = {};
-
- Object.defineProperty(descObj, "get", {
- get: function () {
- return function () {
- return "ownAccessorProperty";
- };
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownAccessorProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own
+ accessor property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = {};
+
+ Object.defineProperty(descObj, "get", {
+ get: function () {
+ return function () {
+ return "ownAccessorProperty";
+ };
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-198.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-198.js
index bb527654b..aa47eb3e7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-198.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-198.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-198.js
- * @description Object.defineProperties - 'get' property of 'descObj' is inherited accessor property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "get", {
- get: function () {
- return function () {
- return "inheritedAccessorProperty";
- };
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "inheritedAccessorProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is inherited
+ accessor property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "get", {
+ get: function () {
+ return function () {
+ return "inheritedAccessorProperty";
+ };
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "inheritedAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-199.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-199.js
index 5c694b2b6..ae80d0bec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-199.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-199.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-199.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own accessor property that overrides an inherited data property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- get: function () {
- return "inheritedDataProperty";
- }
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "get", {
- get: function () {
- return function () {
- return "ownAccessorProperty";
- };
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownAccessorProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own
+ accessor property that overrides an inherited data property
+ (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {
+ get: function () {
+ return "inheritedDataProperty";
+ }
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "get", {
+ get: function () {
+ return function () {
+ return "ownAccessorProperty";
+ };
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-2.js
index 68e860a3d..f5649c9ab 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-2.js
@@ -1,25 +1,25 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-2.js
- * @description Object.defineProperties - 'descObj' is null (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: null
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && !obj.hasOwnProperty("prop"); ;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - 'descObj' is null (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: null
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && !obj.hasOwnProperty("prop"); ;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-20.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-20.js
index 48cf2e4fe..4068b1dbd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-20.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-20.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-20.js
- * @description Object.defineProperties - 'descObj' is an Array object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
- var descObj = [];
-
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Array object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+ var descObj = [];
+
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-200.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-200.js
index 00ae3d0e4..8bf07b4cf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-200.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-200.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-200.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own accessor property that overrides an inherited accessor property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "get", {
- get: function () {
- return function () {
- return "inheritedAccessorProperty";
- };
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "get", {
- get: function () {
- return function () {
- return "ownAccessorProperty";
- };
- }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "ownAccessorProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own
+ accessor property that overrides an inherited accessor property
+ (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "get", {
+ get: function () {
+ return function () {
+ return "inheritedAccessorProperty";
+ };
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "get", {
+ get: function () {
+ return function () {
+ return "ownAccessorProperty";
+ };
+ }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-201.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-201.js
index 4dee2d556..0e66237dd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-201.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-201.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-201.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own accessor property without a get function (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = {};
-
- Object.defineProperty(descObj, "get", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own
+ accessor property without a get function (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = {};
+
+ Object.defineProperty(descObj, "get", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-202.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-202.js
index acdd75927..215ad425f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-202.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-202.js
@@ -1,40 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-202.js
- * @description Object.defineProperties - 'get' property of 'descObj' is own accessor property without a get function that overrides an inherited accessor property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "get", {
- get: function () {
- return function () {
- return "inheritedAccessorProperty";
- };
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperty(descObj, "get", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is own
+ accessor property without a get function that overrides an
+ inherited accessor property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "get", {
+ get: function () {
+ return function () {
+ return "inheritedAccessorProperty";
+ };
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "get", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-203.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-203.js
index 01b8fd7ef..95964864e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-203.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-203.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-203.js
- * @description Object.defineProperties - 'get' property of 'descObj' is inherited accessor property without a get function (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {};
-
- Object.defineProperty(proto, "get", {
- set: function () { }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return typeof (obj.property) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'get' property of 'descObj' is inherited
+ accessor property without a get function (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var proto = {};
+
+ Object.defineProperty(proto, "get", {
+ set: function () { }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-204.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-204.js
index f7fbfff4b..136dc02dc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-204.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-204.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-204.js
- * @description Object.defineProperties - 'descObj' is a Function object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b) {
- return a + b;
- };
-
- func.get = function () {
- return "Function";
- };
-
- Object.defineProperties(obj, {
- property: func
- });
-
- return obj.property === "Function";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Function object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b) {
+ return a + b;
+ };
+
+ func.get = function () {
+ return "Function";
+ };
+
+ Object.defineProperties(obj, {
+ property: func
+ });
+
+ return obj.property === "Function";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-205.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-205.js
index 34722bd45..91252c04a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-205.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-205.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-205.js
- * @description Object.defineProperties - 'descObj' is an Array object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var arr = [];
-
- arr.get = function () {
- return "Array";
- };
-
- Object.defineProperties(obj, {
- property: arr
- });
-
- return obj.property === "Array";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Array object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var arr = [];
+
+ arr.get = function () {
+ return "Array";
+ };
+
+ Object.defineProperties(obj, {
+ property: arr
+ });
+
+ return obj.property === "Array";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-206.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-206.js
index 49014f5ad..cd1ffb349 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-206.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-206.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-206.js
- * @description Object.defineProperties - 'descObj' is a String object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var str = new String("abc");
-
- str.get = function () {
- return "string Object";
- };
-
- Object.defineProperties(obj, {
- property: str
- });
-
- return obj.property === "string Object";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a String object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var str = new String("abc");
+
+ str.get = function () {
+ return "string Object";
+ };
+
+ Object.defineProperties(obj, {
+ property: str
+ });
+
+ return obj.property === "string Object";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-207.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-207.js
index c2aa17273..bcdc163ec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-207.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-207.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-207.js
- * @description Object.defineProperties - 'descObj' is a Boolean object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Boolean(false);
-
- descObj.get = function () {
- return "Boolean";
- };
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Boolean";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Boolean object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Boolean(false);
+
+ descObj.get = function () {
+ return "Boolean";
+ };
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Boolean";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-208.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-208.js
index 601fe6325..914354ca8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-208.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-208.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-208.js
- * @description Object.defineProperties - 'descObj' is a Number object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Number(-9);
-
- descObj.get = function () {
- return "Number";
- };
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Number";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Number object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Number(-9);
+
+ descObj.get = function () {
+ return "Number";
+ };
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Number";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-209.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-209.js
index 2333e743c..974e787ab 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-209.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-209.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-209.js
- * @description Object.defineProperties - 'descObj' is the Math object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Math.get = function () {
- return "Math";
- };
-
- Object.defineProperties(obj, {
- property: Math
- });
-
- return obj.property === "Math";
- } finally {
- delete Math.get;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Math object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Math.get = function () {
+ return "Math";
+ };
+
+ Object.defineProperties(obj, {
+ property: Math
+ });
+
+ return obj.property === "Math";
+ } finally {
+ delete Math.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-21.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-21.js
index 959350084..4ae8eeb19 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-21.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-21.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-21.js
- * @description Object.defineProperties - 'descObj' is a String object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var descObj = new String();
- var accessed = false;
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a String object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var descObj = new String();
+ var accessed = false;
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-210.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-210.js
index 320c688cf..d3036afbb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-210.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-210.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-210.js
- * @description Object.defineProperties - 'descObj' is a Date object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Date();
-
- descObj.get = function () {
- return "Date";
- };
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Date";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Date object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Date();
+
+ descObj.get = function () {
+ return "Date";
+ };
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Date";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-211.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-211.js
index 4feeae08d..265757567 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-211.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-211.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-211.js
- * @description Object.defineProperties - 'descObj' is a RegExp object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new RegExp();
-
- descObj.get = function () {
- return "RegExp";
- };
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "RegExp";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a RegExp object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new RegExp();
+
+ descObj.get = function () {
+ return "RegExp";
+ };
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "RegExp";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-212.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-212.js
index 5b536504f..53fa64ae6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-212.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-212.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-212.js
- * @description Object.defineProperties - 'descObj' is the JSON object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- JSON.get = function () {
- return "JSON";
- };
-
- Object.defineProperties(obj, {
- property: JSON
- });
-
- return obj.property === "JSON";
- } finally {
- delete JSON.get;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the JSON object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ JSON.get = function () {
+ return "JSON";
+ };
+
+ Object.defineProperties(obj, {
+ property: JSON
+ });
+
+ return obj.property === "JSON";
+ } finally {
+ delete JSON.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-213.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-213.js
index 2905a30dd..c4dd38418 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-213.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-213.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-213.js
- * @description Object.defineProperties - 'descObj' is an Error object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var descObj = new Error();
-
- descObj.get = function () {
- return "Error";
- };
-
- Object.defineProperties(obj, {
- property: descObj
- });
-
- return obj.property === "Error";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Error object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var descObj = new Error();
+
+ descObj.get = function () {
+ return "Error";
+ };
+
+ Object.defineProperties(obj, {
+ property: descObj
+ });
+
+ return obj.property === "Error";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-214.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-214.js
index 9484b9135..cabe10e14 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-214.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-214.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-214.js
- * @description Object.defineProperties - 'descObj' is the Arguments object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var func = function (a, b) {
- arguments.get = function () {
- return "arguments";
- };
-
- Object.defineProperties(obj, {
- property: arguments
- });
-
- return obj.property === "arguments";
- };
-
- return func();
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Arguments object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var func = function (a, b) {
+ arguments.get = function () {
+ return "arguments";
+ };
+
+ Object.defineProperties(obj, {
+ property: arguments
+ });
+
+ return obj.property === "arguments";
+ };
+
+ return func();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-216.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-216.js
index ea8ee7e18..58780b3eb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-216.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-216.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-216.js
- * @description Object.defineProperties - 'descObj' is the global object which implements its own [[Get]] method to get 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- fnGlobalObject().get = function () {
- return "global";
- };
-
- Object.defineProperties(obj, {
- property: fnGlobalObject()
- });
-
- return obj.property === "global";
- } finally {
- delete fnGlobalObject().get;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the global object which
+ implements its own [[Get]] method to get 'get' property (8.10.5
+ step 7.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ fnGlobalObject().get = function () {
+ return "global";
+ };
+
+ Object.defineProperties(obj, {
+ property: fnGlobalObject()
+ });
+
+ return obj.property === "global";
+ } finally {
+ delete fnGlobalObject().get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-217.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-217.js
index 7bc3a6a8b..1a1ec8fc0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-217.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-217.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-217.js
- * @description Object.defineProperties - value of 'get' property of 'descObj' is undefined (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- get: undefined
- }
- });
-
- return obj.hasOwnProperty("property") && typeof obj.property === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'get' property of 'descObj' is
+ undefined (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ get: undefined
+ }
+ });
+
+ return obj.hasOwnProperty("property") && typeof obj.property === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-218.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-218.js
index bc2bf525a..35ff08623 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-218.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-218.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-218.js
- * @description Object.defineProperties - value of 'get' property of 'descObj' is primitive values( value is null) (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- property: {
- get: 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: >
+ Object.defineProperties - value of 'get' property of 'descObj' is
+ primitive values( value is null) (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ property: {
+ get: null
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-219.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-219.js
index 4781afc5f..5ab9b5b5c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-219.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-219.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-219.js
- * @description Object.defineProperties - value of 'get' property of 'descObj' is primitive values( value is boolean) (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- property: {
- get: false
- }
- });
-
- 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: >
+ Object.defineProperties - value of 'get' property of 'descObj' is
+ primitive values( value is boolean) (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ property: {
+ get: false
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-22.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-22.js
index 4faa587a3..7459006e4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-22.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-22.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-22.js
- * @description Object.defineProperties - 'descObj' is a Boolean object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var descObj = new Boolean(false);
- var accessed = false;
-
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Boolean object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var descObj = new Boolean(false);
+ var accessed = false;
+
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-220.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-220.js
index 37562cba6..ace805f55 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-220.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-220.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-220.js
- * @description Object.defineProperties - value of 'get' property of 'descObj' is primitive values( value is number) (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- property: {
- get: 123
- }
- });
-
- 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: >
+ Object.defineProperties - value of 'get' property of 'descObj' is
+ primitive values( value is number) (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ property: {
+ get: 123
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-221.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-221.js
index 59a035074..aac035f67 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-221.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-221.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-221.js
- * @description Object.defineProperties - value of 'get' property of 'descObj' is primitive values( value is string) (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- property: {
- get: "string"
- }
- });
-
- 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: >
+ Object.defineProperties - value of 'get' property of 'descObj' is
+ primitive values( value is string) (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ property: {
+ get: "string"
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-222.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-222.js
index 7e5079e95..728dcb02c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-222.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-222.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-222.js
- * @description Object.defineProperties - value of 'get' property of 'descObj' is applied to Array object (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- property: {
- get: []
- }
- });
-
- 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: >
+ Object.defineProperties - value of 'get' property of 'descObj' is
+ applied to Array object (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ property: {
+ get: []
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-223.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-223.js
index 161d1cb52..1fbc2482c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-223.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-223.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-223.js
- * @description Object.defineProperties - value of 'get' property of 'descObj' is a function (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var getter = function () {
- return 100;
- };
-
- Object.defineProperties(obj, {
- property: {
- get: getter
- }
- });
-
- return obj.property === 100;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'get' property of 'descObj' is
+ a function (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getter = function () {
+ return 100;
+ };
+
+ Object.defineProperties(obj, {
+ property: {
+ get: getter
+ }
+ });
+
+ return obj.property === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-226.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-226.js
index 2ea3d234c..729ce03d6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-226.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-226.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-226.js
- * @description Object.defineProperties - 'set' property of 'descObj' is present (8.10.5 step 8)
- */
-
-
-function testcase() {
- var data = "data";
- var obj = {};
-
- Object.defineProperties(obj, {
- "prop": {
- set: function (value) {
- data = value;
- }
- }
- });
-
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data === "overrideData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is present
+ (8.10.5 step 8)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ "prop": {
+ set: function (value) {
+ data = value;
+ }
+ }
+ });
+
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-227.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-227.js
index e12ba96cf..8f4aa42e9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-227.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-227.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-227.js
- * @description Object.defineProperties - 'set' property of 'descObj' is not present (8.10.5 step 8)
- */
-
-
-function testcase() {
- var data = "data";
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- descObj: {
- get: function () {
- return data;
- }
- }
- });
-
-
- obj.descObj = "overrideData";
-
- var desc = Object.getOwnPropertyDescriptor(obj, "descObj");
- return obj.hasOwnProperty("descObj") && typeof (desc.set) === "undefined" && data === "data";
- } catch (e) {
- return false;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is not
+ present (8.10.5 step 8)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ descObj: {
+ get: function () {
+ return data;
+ }
+ }
+ });
+
+
+ obj.descObj = "overrideData";
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "descObj");
+ return obj.hasOwnProperty("descObj") && typeof (desc.set) === "undefined" && data === "data";
+ } catch (e) {
+ return false;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-228.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-228.js
index 6bed0b8df..b04c35341 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-228.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-228.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-228.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data = "data";
- var obj = {};
-
- Object.defineProperties(obj, {
- descObj: {
- set: function (value) {
- data = value;
- }
- }
- });
-
- obj.descObj = "overrideData";
-
- return obj.hasOwnProperty("descObj") && data === "overrideData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own data
+ property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ descObj: {
+ set: function (value) {
+ data = value;
+ }
+ }
+ });
+
+ obj.descObj = "overrideData";
+
+ return obj.hasOwnProperty("descObj") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-229.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-229.js
index 66fc9c445..d4ee446e8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-229.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-229.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-229.js
- * @description Object.defineProperties - 'set' property of 'descObj' is inherited data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data = "data";
- var proto = {
- set: function (value) {
- data = value;
- }
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: child
- });
-
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data === "overrideData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is inherited
+ data property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var proto = {
+ set: function (value) {
+ data = value;
+ }
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: child
+ });
+
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-23.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-23.js
index dac72261f..1d672c543 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-23.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-23.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-23.js
- * @description Object.defineProperties - 'descObj' is a Number object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var descObj = new Number(-9);
- var accessed = false;
-
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Number object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var descObj = new Number(-9);
+ var accessed = false;
+
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-230.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-230.js
index a1fcd3d71..b68847d35 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-230.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-230.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-230.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own data property that overrides an inherited data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data1 = "data";
- var data2 = "data";
- var proto = {
- set: function (value) {
- data2 = value;
- }
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.set = function (value) {
- data1 = value;
- };
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: child
- });
-
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data1 === "overrideData" && data2 === "data";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own data
+ property that overrides an inherited data property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data1 = "data";
+ var data2 = "data";
+ var proto = {
+ set: function (value) {
+ data2 = value;
+ }
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.set = function (value) {
+ data1 = value;
+ };
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: child
+ });
+
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data1 === "overrideData" && data2 === "data";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-231.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-231.js
index 6265597dc..1a183822d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-231.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-231.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-231.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own data property that overrides an inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data1 = "data";
- var data2 = "data";
- var fun = function (value) {
- data2 = value;
- };
- var proto = {};
- Object.defineProperty(proto, "set", {
- get: function () {
- return fun;
- },
- set: function (value) {
- fun = value;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- child.set = function (value) {
- data1 = value;
- };
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: child
- });
-
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data1 === "overrideData" && data2 === "data";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own data
+ property that overrides an inherited accessor property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data1 = "data";
+ var data2 = "data";
+ var fun = function (value) {
+ data2 = value;
+ };
+ var proto = {};
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return fun;
+ },
+ set: function (value) {
+ fun = value;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ child.set = function (value) {
+ data1 = value;
+ };
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: child
+ });
+
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data1 === "overrideData" && data2 === "data";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-232.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-232.js
index a586d233d..ec59a725d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-232.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-232.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-232.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data = "data";
- var setFun = function (value) {
- data = value;
- };
- var descObj = {};
- Object.defineProperty(descObj, "set", {
- get: function () {
- return setFun;
- }
- });
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data === "overrideData";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own
+ accessor property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var setFun = function (value) {
+ data = value;
+ };
+ var descObj = {};
+ Object.defineProperty(descObj, "set", {
+ get: function () {
+ return setFun;
+ }
+ });
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data === "overrideData";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-233.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-233.js
index f0224ce41..883b50249 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-233.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-233.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-233.js
- * @description Object.defineProperties - 'set' property of 'descObj' is inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data = "data";
- var setFun = function (value) {
- data = value;
- };
- var proto = {};
- Object.defineProperty(proto, "set", {
- get: function () {
- return setFun;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: child
- });
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data === "overrideData";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is inherited
+ accessor property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var setFun = function (value) {
+ data = value;
+ };
+ var proto = {};
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return setFun;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: child
+ });
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data === "overrideData";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-234.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-234.js
index 2c9149385..f7d80119e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-234.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-234.js
@@ -1,43 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-234.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own accessor property that overrides an inherited data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data1 = "data";
- var data2 = "data";
-
- var proto = {};
- proto.set = function (value) {
- data1 = value;
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "set", {
- get: function () {
- return function (value) {
- data2 = value;
- };
- }
- });
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: child
- });
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data2 === "overrideData" && data1 === "data";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own
+ accessor property that overrides an inherited data property
+ (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data1 = "data";
+ var data2 = "data";
+
+ var proto = {};
+ proto.set = function (value) {
+ data1 = value;
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "set", {
+ get: function () {
+ return function (value) {
+ data2 = value;
+ };
+ }
+ });
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: child
+ });
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data2 === "overrideData" && data1 === "data";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-235.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-235.js
index cfcb0b741..0b0ae6c01 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-235.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-235.js
@@ -1,47 +1,50 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-235.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own accessor property that overrides an inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data1 = "data";
- var data2 = "data";
-
- var proto = {};
- Object.defineProperty(proto, "set", {
- get: function () {
- return function (value) {
- data1 = value;
- };
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "set", {
- get: function () {
- return function (value) {
- data2 = value;
- };
- }
- });
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: child
- });
-
- obj.prop = "overrideData";
-
- return obj.hasOwnProperty("prop") && data2 === "overrideData" && data1 === "data";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own
+ accessor property that overrides an inherited accessor property
+ (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data1 = "data";
+ var data2 = "data";
+
+ var proto = {};
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return function (value) {
+ data1 = value;
+ };
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "set", {
+ get: function () {
+ return function (value) {
+ data2 = value;
+ };
+ }
+ });
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: child
+ });
+
+ obj.prop = "overrideData";
+
+ return obj.hasOwnProperty("prop") && data2 === "overrideData" && data1 === "data";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-236.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-236.js
index cab1f2627..34ecd00f2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-236.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-236.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-236.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own accessor property without a get function (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var fun = function () {
- return 10;
- };
- var descObj = {
- get: fun
- };
- Object.defineProperty(descObj, "set", {
- set: function () { }
- });
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && typeof desc.set === "undefined" && obj.prop === 10;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own
+ accessor property without a get function (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var fun = function () {
+ return 10;
+ };
+ var descObj = {
+ get: fun
+ };
+ Object.defineProperty(descObj, "set", {
+ set: function () { }
+ });
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && typeof desc.set === "undefined" && obj.prop === 10;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-237.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-237.js
index b36f3a811..091a5468c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-237.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-237.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-237.js
- * @description Object.defineProperties - 'set' property of 'descObj' is own accessor property without a get function that overrides an inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var fun = function () {
- return 10;
- };
- var proto = {};
- Object.defineProperty(proto, "set", {
- get: function () {
- return function () {
- return arguments;
- };
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
- Object.defineProperty(descObj, "set", {
- set: function () { }
- });
-
- descObj.get = fun;
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined" && obj.prop === 10;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is own
+ accessor property without a get function that overrides an
+ inherited accessor property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var fun = function () {
+ return 10;
+ };
+ var proto = {};
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return function () {
+ return arguments;
+ };
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+ Object.defineProperty(descObj, "set", {
+ set: function () { }
+ });
+
+ descObj.get = fun;
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined" && obj.prop === 10;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-238.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-238.js
index 61b33656f..d1efcfabd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-238.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-238.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-238.js
- * @description Object.defineProperties - 'set' property of 'descObj' is inherited accessor property without a get function (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var fun = function () {
- return 10;
- };
- var proto = {};
- Object.defineProperty(proto, "set", {
- set: function () { }
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var descObj = new Con();
- descObj.get = fun;
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined" && obj.prop === 10;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'set' property of 'descObj' is inherited
+ accessor property without a get function (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var fun = function () {
+ return 10;
+ };
+ var proto = {};
+ Object.defineProperty(proto, "set", {
+ set: function () { }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var descObj = new Con();
+ descObj.get = fun;
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined" && obj.prop === 10;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-239.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-239.js
index 9fe679d8f..b8c97f68f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-239.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-239.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-239.js
- * @description Object.defineProperties - 'descObj' is a Function object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data = "data";
- var descFun = function () { };
- var setFun = function (value) {
- data = value;
- };
-
- descFun.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, descFun);
- obj.prop = "funData";
- return obj.hasOwnProperty("prop") && data === "funData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Function object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var descFun = function () { };
+ var setFun = function (value) {
+ data = value;
+ };
+
+ descFun.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, descFun);
+ obj.prop = "funData";
+ return obj.hasOwnProperty("prop") && data === "funData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-24.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-24.js
index 42061a625..9bc73f13a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-24.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-24.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-24.js
- * @description Object.defineProperties - 'descObj' is the Math object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- try {
- Math.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: Math
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- } finally {
- delete Math.enumerable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Math object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ try {
+ Math.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: Math
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ } finally {
+ delete Math.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-240.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-240.js
index 05e5565ab..91686ebf0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-240.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-240.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-240.js
- * @description Object.defineProperties - 'descObj' is an Array object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var arr = [];
- var setFun = function (value) {
- data = value;
- };
- arr.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, arr);
- obj.prop = "arrData";
- return obj.hasOwnProperty("prop") && data === "arrData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Array object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var arr = [];
+ var setFun = function (value) {
+ data = value;
+ };
+ arr.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, arr);
+ obj.prop = "arrData";
+ return obj.hasOwnProperty("prop") && data === "arrData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-241.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-241.js
index 4c0215058..2fb713318 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-241.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-241.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-241.js
- * @description Object.defineProperties - 'descObj' is a String object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data = "data";
- var descStr = new String();
- var setFun = function (value) {
- data = value;
- };
-
- descStr.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, descStr);
- obj.prop = "strData";
- return obj.hasOwnProperty("prop") && data === "strData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a String object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var descStr = new String();
+ var setFun = function (value) {
+ data = value;
+ };
+
+ descStr.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, descStr);
+ obj.prop = "strData";
+ return obj.hasOwnProperty("prop") && data === "strData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-242.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-242.js
index e360b1957..e2bd395ca 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-242.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-242.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-242.js
- * @description Object.defineProperties - 'descObj' is a Boolean object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var descObj = new Boolean(false);
- var setFun = function (value) {
- data = value;
- };
- descObj.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, descObj);
- obj.prop = "booleanData";
- return obj.hasOwnProperty("prop") && data === "booleanData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Boolean object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var descObj = new Boolean(false);
+ var setFun = function (value) {
+ data = value;
+ };
+ descObj.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, descObj);
+ obj.prop = "booleanData";
+ return obj.hasOwnProperty("prop") && data === "booleanData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-243.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-243.js
index e7f9ef9b0..d758d8dda 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-243.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-243.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-243.js
- * @description Object.defineProperties - 'descObj' is a Number object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var descObj = new Number(-9);
- var setFun = function (value) {
- data = value;
- };
- descObj.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, descObj);
- obj.prop = "numberData";
- return obj.hasOwnProperty("prop") && data === "numberData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Number object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var descObj = new Number(-9);
+ var setFun = function (value) {
+ data = value;
+ };
+ descObj.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, descObj);
+ obj.prop = "numberData";
+ return obj.hasOwnProperty("prop") && data === "numberData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-244.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-244.js
index 653100815..968564afe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-244.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-244.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-244.js
- * @description Object.defineProperties - 'descObj' is the Math object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var setFun = function (value) {
- data = value;
- };
- try {
- Math.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, Math);
- obj.prop = "mathData";
- return obj.hasOwnProperty("prop") && data === "mathData";
- } finally {
- delete Math.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Math object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var setFun = function (value) {
+ data = value;
+ };
+ try {
+ Math.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, Math);
+ obj.prop = "mathData";
+ return obj.hasOwnProperty("prop") && data === "mathData";
+ } finally {
+ delete Math.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-245.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-245.js
index 2f6aba6a2..2ef36f15a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-245.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-245.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-245.js
- * @description Object.defineProperties - 'descObj' is a Date object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var descObj = new Date();
- var setFun = function (value) {
- data = value;
- };
- descObj.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, descObj);
- obj.prop = "dateData";
- return obj.hasOwnProperty("prop") && data === "dateData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Date object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var descObj = new Date();
+ var setFun = function (value) {
+ data = value;
+ };
+ descObj.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, descObj);
+ obj.prop = "dateData";
+ return obj.hasOwnProperty("prop") && data === "dateData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-246.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-246.js
index 71befa424..340223ca0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-246.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-246.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-246.js
- * @description Object.defineProperties - 'descObj' is a RegExp object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var descObj = new RegExp();
- var setFun = function (value) {
- data = value;
- };
- descObj.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, descObj);
- obj.prop = "regExpData";
- return obj.hasOwnProperty("prop") && data === "regExpData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a RegExp object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var descObj = new RegExp();
+ var setFun = function (value) {
+ data = value;
+ };
+ descObj.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, descObj);
+ obj.prop = "regExpData";
+ return obj.hasOwnProperty("prop") && data === "regExpData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-247.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-247.js
index 7e3ea3845..98fbd3d00 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-247.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-247.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-247.js
- * @description Object.defineProperties - 'descObj' is the JSON object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var setFun = function (value) {
- data = value;
- };
- try {
- JSON.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, JSON);
- obj.prop = "JSONData";
- return obj.hasOwnProperty("prop") && data === "JSONData";
- } finally {
- delete JSON.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the JSON object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var setFun = function (value) {
+ data = value;
+ };
+ try {
+ JSON.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, JSON);
+ obj.prop = "JSONData";
+ return obj.hasOwnProperty("prop") && data === "JSONData";
+ } finally {
+ delete JSON.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-248.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-248.js
index cac869fc1..80fcc3cf1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-248.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-248.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-248.js
- * @description Object.defineProperties - 'descObj' is an Error object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
-
- var data = "data";
- var descObj = new Error("test");
- descObj.description = { value: 11 };
- descObj.message = { value: 11 };
- descObj.name = { value: 11 };
-
- var setFun = function (value) {
- data = value;
- };
- descObj.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, descObj);
- obj.prop = "errorData";
- return obj.hasOwnProperty("prop") && data === "errorData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Error object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var descObj = new Error("test");
+ descObj.description = { value: 11 };
+ descObj.message = { value: 11 };
+ descObj.name = { value: 11 };
+
+ var setFun = function (value) {
+ data = value;
+ };
+ descObj.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, descObj);
+ obj.prop = "errorData";
+ return obj.hasOwnProperty("prop") && data === "errorData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-249.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-249.js
index d95749b7f..d2913d0a6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-249.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-249.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-249.js
- * @description Object.defineProperties - 'descObj' is the Arguments object which implements its own [[Get]] method to get 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var data = "data";
- var fun = function () {
- return arguments;
- };
- var arg = fun();
- var setFun = function (value) {
- data = value;
- };
-
- arg.prop = {
- set: setFun
- };
-
- var obj = {};
- Object.defineProperties(obj, arg);
- obj.prop = "argData";
- return obj.hasOwnProperty("prop") && data === "argData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Arguments object which
+ implements its own [[Get]] method to get 'set' property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ var fun = function () {
+ return arguments;
+ };
+ var arg = fun();
+ var setFun = function (value) {
+ data = value;
+ };
+
+ arg.prop = {
+ set: setFun
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, arg);
+ obj.prop = "argData";
+ return obj.hasOwnProperty("prop") && data === "argData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-25.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-25.js
index a6c7da415..b9dc862f0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-25.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-25.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-25.js
- * @description Object.defineProperties - 'descObj' is a Date object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var descObj = new Date();
- var accessed = false;
-
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Date object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var descObj = new Date();
+ var accessed = false;
+
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-252.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-252.js
index a5e665fa8..ff4c35bd7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-252.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-252.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-252.js
- * @description Object.defineProperties - value of 'set' property of 'descObj' is undefined (8.10.5 step 8.b)
- */
-
-
-function testcase() {
-
- var getFun = function () {
- return 11;
- };
-
- var obj = {};
- Object.defineProperties(obj, {
- prop: {
- get: getFun,
- set: undefined
- }
- });
-
- try {
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined";
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'set' property of 'descObj' is
+ undefined (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var getFun = function () {
+ return 11;
+ };
+
+ var obj = {};
+ Object.defineProperties(obj, {
+ prop: {
+ get: getFun,
+ set: undefined
+ }
+ });
+
+ try {
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined";
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-253.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-253.js
index 5a08b77ee..6e31059d7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-253.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-253.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-253.js
- * @description Object.defineProperties - value of 'set' property of 'descObj' is primitive values null (8.10.5 step 8.b)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- set: 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: >
+ Object.defineProperties - value of 'set' property of 'descObj' is
+ primitive values null (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ set: null
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-254.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-254.js
index 301fdae64..0cbac679a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-254.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-254.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-254.js
- * @description Object.defineProperties - value of 'set' property of 'descObj' is primitive values boolean (8.10.5 step 8.b)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- set: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'set' property of 'descObj' is
+ primitive values boolean (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ set: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-255.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-255.js
index 18f63aa8d..22c3aba33 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-255.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-255.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-255.js
- * @description Object.defineProperties - value of 'set' property of 'descObj' is primitive values number (8.10.5 step 8.b)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- set: 100
- }
- });
- 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: >
+ Object.defineProperties - value of 'set' property of 'descObj' is
+ primitive values number (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ set: 100
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-256.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-256.js
index befaef4a4..c1888f685 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-256.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-256.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-256.js
- * @description Object.defineProperties - value of 'set' property of 'descObj' is primitive values string (8.10.5 step 8.b)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- set: "abcdef"
- }
- });
- 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: >
+ Object.defineProperties - value of 'set' property of 'descObj' is
+ primitive values string (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ set: "abcdef"
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-257.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-257.js
index fcd835711..bcd786b41 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-257.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-257.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-257.js
- * @description Object.defineProperties - value of 'set' property of 'descObj' is an interesting object other than a function (8.10.5 step 8.b)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- set: []
- }
- });
- 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: >
+ Object.defineProperties - value of 'set' property of 'descObj' is
+ an interesting object other than a function (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ set: []
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-258.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-258.js
index ef1701833..773c3d2b8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-258.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-258.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-258.js
- * @description Object.defineProperties - value of 'set' property of 'descObj' is a function (8.10.5 step 8.b)
- */
-
-
-function testcase() {
-
- var data = "data";
- var setFun = function (value) {
- data = value;
- };
- var obj = {};
-
-
- Object.defineProperties(obj, {
- prop: {
- set: setFun
- }
- });
- obj.prop = "funData";
- return obj.hasOwnProperty("prop") && data === "funData";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'set' property of 'descObj' is
+ a function (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var data = "data";
+ var setFun = function (value) {
+ data = value;
+ };
+ var obj = {};
+
+
+ Object.defineProperties(obj, {
+ prop: {
+ set: setFun
+ }
+ });
+ obj.prop = "funData";
+ return obj.hasOwnProperty("prop") && data === "funData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-26.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-26.js
index f266f7c2d..cf1980b7c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-26.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-26.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-26.js
- * @description Object.defineProperties - 'descObj' is a RegExp object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var descObj = new RegExp();
- var accessed = false;
-
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a RegExp object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var descObj = new RegExp();
+ var accessed = false;
+
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-261.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-261.js
index 9928f10f6..0107bb45a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-261.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-261.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-261.js
- * @description Object.defineProperties - TypeError is thrown if both 'set' property and 'value' property of 'descObj' are present (8.10.5 step 9.a)
- */
-
-
-function testcase() {
-
- var setFun = function () {};
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- set: setFun
- }
- });
- 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: >
+ Object.defineProperties - TypeError is thrown if both 'set'
+ property and 'value' property of 'descObj' are present (8.10.5
+ step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var setFun = function () {};
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ set: setFun
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-262.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-262.js
index b970346e1..6e3ae126d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-262.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-262.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-262.js
- * @description Object.defineProperties - TypeError is thrown if both 'set' property and 'writable' property of 'descObj' are present (8.10.5 step 9.a)
- */
-
-
-function testcase() {
-
- var setFun = function () { };
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- writable: true,
- set: setFun
- }
- });
- 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: >
+ Object.defineProperties - TypeError is thrown if both 'set'
+ property and 'writable' property of 'descObj' are present (8.10.5
+ step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var setFun = function () { };
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ writable: true,
+ set: setFun
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-263.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-263.js
index 3a227f469..698e3957c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-263.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-263.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-263.js
- * @description Object.defineProperties - TypeError is thrown if both 'get' property and 'value' property of 'descObj' are present (8.10.5 step 9.a)
- */
-
-
-function testcase() {
-
- var getFun = function () {};
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- get: getFun
- }
- });
- 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: >
+ Object.defineProperties - TypeError is thrown if both 'get'
+ property and 'value' property of 'descObj' are present (8.10.5
+ step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var getFun = function () {};
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ get: getFun
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-264.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-264.js
index 531acad78..c0b446716 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-264.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-264.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-264.js
- * @description Object.defineProperties - TypeError is thrown if both 'get' property and 'writable' property of 'descObj' are present (8.10.5 step 9.a)
- */
-
-
-function testcase() {
-
- var getFun = function () {};
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- "prop": {
- writable: true,
- get: getFun
- }
- });
- 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: >
+ Object.defineProperties - TypeError is thrown if both 'get'
+ property and 'writable' property of 'descObj' are present (8.10.5
+ step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var getFun = function () {};
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ "prop": {
+ writable: true,
+ get: getFun
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-27.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-27.js
index 2036b7d8d..cee1f6d6f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-27.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-27.js
- * @description Object.defineProperties - 'descObj' is the JSON object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- try {
- JSON.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: JSON
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- } finally {
- delete JSON.enumerable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the JSON object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ try {
+ JSON.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: JSON
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ } finally {
+ delete JSON.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-28.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-28.js
index aaf46f2a0..bd92b0431 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-28.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-28.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-28.js
- * @description Object.defineProperties - 'descObj' is an Error object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var descObj = new Error();
- var accessed = false;
-
- descObj.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Error object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var descObj = new Error();
+ var accessed = false;
+
+ descObj.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-29.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-29.js
index 8a739d92a..5c1b40e76 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-29.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-29.js
@@ -1,34 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-29.js
- * @description Object.defineProperties - 'descObj' is the Arguments object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var arg;
- var accessed = false;
-
- (function fun() {
- arg = arguments;
- }());
-
- arg.enumerable = true;
-
- Object.defineProperties(obj, {
- prop: arg
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Arguments object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var arg;
+ var accessed = false;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ arg.enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: arg
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-3.js
index 44aecdca6..3c392be55 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-3.js
- * @description Object.defineProperties - 'descObj' is a boolean (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && !obj.hasOwnProperty("prop");
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - 'descObj' is a boolean (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && !obj.hasOwnProperty("prop");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-31.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-31.js
index eeb7a1b1d..74996457a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-31.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-31.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-31.js
- * @description Object.defineProperties - 'descObj' is the global object which implements its own [[Get]] method to get 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- try {
- fnGlobalObject().enumerable = true;
-
- Object.defineProperties(obj, {
- prop: fnGlobalObject()
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- } finally {
- delete fnGlobalObject().enumerable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the global object which
+ implements its own [[Get]] method to get 'enumerable' property
+ (8.10.5 step 3.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ try {
+ fnGlobalObject().enumerable = true;
+
+ Object.defineProperties(obj, {
+ prop: fnGlobalObject()
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ } finally {
+ delete fnGlobalObject().enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-32.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-32.js
index 5e626f8e0..94286533d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-32.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-32.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-32.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is undefined (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: undefined
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is undefined (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: undefined
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-33.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-33.js
index 605a29ece..4d2a57c0c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-33.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-33.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-33.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is null (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: null
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is null (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: null
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-34.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-34.js
index c1de06c50..43df8d71f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-34.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-34.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-34.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is true (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: true
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is true (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: true
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-35.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-35.js
index 4d13cc326..861b01fa5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-35.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-35.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-35.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is false (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: false
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is false (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: false
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-36.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-36.js
index f274e0727..9b21355c4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-36.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-36.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-36.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is 0 (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: 0
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is 0 (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: 0
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-37.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-37.js
index 0546e8d10..6752b8fe0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-37.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-37.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-37.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is +0 (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: +0
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is +0 (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: +0
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-38.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-38.js
index a50790126..932c3201c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-38.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-38.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-38.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is -0 (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: -0
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is -0 (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: -0
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-39.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-39.js
index 67db04b98..916e5916d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-39.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-39.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-39.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is NaN (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: NaN
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is NaN (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: NaN
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-4.js
index 6397a5b41..a8b469605 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-4.js
- * @description Object.defineProperties - 'descObj' is a number (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: 12
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && !obj.hasOwnProperty("prop");
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - 'descObj' is a number (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: 12
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && !obj.hasOwnProperty("prop");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-40.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-40.js
index 610f320e3..087e2e8b7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-40.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-40.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-40.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is positive number (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: 12
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is positive number (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: 12
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-41.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-41.js
index e93465793..bf17eb350 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-41.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-41.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-41.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is negative number (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: -9
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is negative number (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: -9
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-42.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-42.js
index acae2801a..deddb8ec4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-42.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-42.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-42.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is empty string (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: ""
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is empty string (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: ""
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-43.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-43.js
index 45e1daf16..c32e9b811 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-43.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-43.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-43.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is non-empty string (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: "AB\n\\cd"
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is non-empty string (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: "AB\n\\cd"
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-44.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-44.js
index 2d0d7c3c8..1d332bd22 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-44.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-44.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-44.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is a Function object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: function () { }
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is a Function object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: function () { }
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-45.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-45.js
index 917f1a23f..42bb6c9e7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-45.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-45.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-45.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is an Array object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: []
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is an Array object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: []
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-46.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-46.js
index ff8997fb2..fa8cdbd93 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-46.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-46.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-46.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is a String object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: new String()
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is a String object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new String()
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-47.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-47.js
index bd327497e..c62f2065a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-47.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-47.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-47.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is a Boolean object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: new Boolean(true)
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is a Boolean object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new Boolean(true)
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-48.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-48.js
index 1ccb51acc..0f4b042ce 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-48.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-48.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-48.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is a Number object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: new Number(-9)
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is a Number object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new Number(-9)
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-49.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-49.js
index dfe9f73de..f8d8223e3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-49.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-49.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-49.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is the Math object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: Math
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is the Math object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: Math
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-5.js
index 2f4ac1b34..6932d7057 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-5.js
- * @description Object.defineProperties - 'descObj' is a string (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperties(obj, {
- prop: "abc"
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && !obj.hasOwnProperty("prop");
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - 'descObj' is a string (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperties(obj, {
+ prop: "abc"
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && !obj.hasOwnProperty("prop");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-50.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-50.js
index ea44d4c87..5c43d038e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-50.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-50.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-50.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is a Date object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: new Date()
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is a Date object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new Date()
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-51.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-51.js
index c1dc8a2ad..945ca7e0d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-51.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-51.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-51.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is a RegExp object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: new RegExp()
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is a RegExp object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new RegExp()
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-52.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-52.js
index 8750c4009..9e91f65cc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-52.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-52.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-52.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is the JSON object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: JSON
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is the JSON object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: JSON
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-53.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-53.js
index a473379b9..9e7c772f0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-53.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-53.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-53.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is an Error object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: new Error()
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is an Error object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new Error()
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-54.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-54.js
index f6031d98e..f75f5eb23 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-54.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-54.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-54.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is the Arguments object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
- var arg;
-
- (function fun() {
- arg = arguments;
- }(1, 2, 3));
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: arg
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is the Arguments object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }(1, 2, 3));
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: arg
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-56.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-56.js
index 566927150..c57b9f8a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-56.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-56.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-56.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is the global object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: fnGlobalObject()
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is the global object (8.10.5 step 3.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: fnGlobalObject()
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-57.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-57.js
index 6c9286e26..db698601c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-57.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-57.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-57.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is a string (value is 'false') which is treated as true value (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: "false"
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is a string (value is 'false') which is treated as true
+ value (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: "false"
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-58.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-58.js
index 45a098198..7d8fa4cfe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-58.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-58.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-58.js
- * @description Object.defineProperties - value of 'enumerable' property of 'descObj' is new Boolean(false) which is treated as true value (8.10.5 step 3.b)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: new Boolean(false)
- }
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'enumerable' property of
+ 'descObj' is new Boolean(false) which is treated as true value
+ (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new Boolean(false)
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-59.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-59.js
index f058f367c..ddee6fb2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-59.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-59.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-59.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is present (8.10.5 step 4)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: {
- configurable: true
- }
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ present (8.10.5 step 4)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: {
+ configurable: true
+ }
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-6.js
index 510f2c4d5..3e3342ffa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-6.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-6.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is present (8.10.5 step 3)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {
- enumerable: true
- }
- });
-
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ present (8.10.5 step 3)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: true
+ }
+ });
+
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-60.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-60.js
index c15bb7163..98a803159 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-60.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-60.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-60.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is not present (8.10.5 step 4)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: {}
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ not present (8.10.5 step 4)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: {}
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-61.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-61.js
index a73b3d413..ad1bf1f4a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-61.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-61.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-61.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: {
- configurable: true
- }
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own data property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: {
+ configurable: true
+ }
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-62.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-62.js
index 96bb28391..ecec3e5d7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-62.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-62.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-62.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is inherited data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {
- configurable: true
- };
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ inherited data property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {
+ configurable: true
+ };
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-63.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-63.js
index 3050309d4..78de125b1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-63.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-63.js
@@ -1,36 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-63.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own data property that overrides an inherited data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {
- configurable: true
- };
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "configurable", {
- value: false
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own data property that overrides an inherited data property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {
+ configurable: true
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "configurable", {
+ value: false
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-64.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-64.js
index f673e012b..1b2e0b2da 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-64.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-64.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-64.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own data property that overrides an inherited accessor property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- Object.defineProperty(proto, "configurable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "configurable", {
- value: false
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own data property that overrides an inherited accessor property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ Object.defineProperty(proto, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "configurable", {
+ value: false
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-65.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-65.js
index 1b6d7e2ff..f64ef35a2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-65.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-65.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-65.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own accessor property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = {};
- Object.defineProperty(descObj, "configurable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own accessor property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = {};
+ Object.defineProperty(descObj, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-66.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-66.js
index f196e3312..5e4fa42a1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-66.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-66.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-66.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is inherited accessor property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
-
- Object.defineProperty(proto, "configurable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ inherited accessor property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+
+ Object.defineProperty(proto, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-67.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-67.js
index 16d570e10..d2b7ed7f8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-67.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-67.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-67.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own accessor property that overrides an inherited data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {
- configurable: true
- };
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "configurable", {
- get: function () {
- return false;
- }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own accessor property that overrides an inherited data property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {
+ configurable: true
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "configurable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-68.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-68.js
index 5172d5dc1..e1f49a19f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-68.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-68.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-68.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own accessor property that overrides an inherited accessor property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- Object.defineProperty(proto, "configurable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "configurable", {
- get: function () {
- return false;
- }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own accessor property that overrides an inherited accessor
+ property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ Object.defineProperty(proto, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "configurable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-69.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-69.js
index 257e10bb5..75f1a6320 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-69.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-69.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-69.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own accessor property without a get function (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = {};
- Object.defineProperty(descObj, "configurable", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own accessor property without a get function (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = {};
+ Object.defineProperty(descObj, "configurable", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-7.js
index e242e5676..76f4add5e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-7.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-7.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is not present (8.10.5 step 3)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperties(obj, {
- prop: {}
- });
-
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return !accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ not present (8.10.5 step 3)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperties(obj, {
+ prop: {}
+ });
+
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-70.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-70.js
index 4b58a96bc..2e8497ffb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-70.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-70.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-70.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is own accessor property without a get function that overrides an inherited accessor property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
- Object.defineProperty(proto, "configurable", {
- get: function () {
- return true;
- }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperty(descObj, "configurable", {
- set: function () { }
- });
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ own accessor property without a get function that overrides an
+ inherited accessor property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+ Object.defineProperty(proto, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperty(descObj, "configurable", {
+ set: function () { }
+ });
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-71.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-71.js
index 52e3b2fb1..439745e8a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-71.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-71.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-71.js
- * @description Object.defineProperties - 'configurable' property of 'descObj' is inherited accessor property without a get function (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var proto = {};
-
- Object.defineProperty(proto, "configurable", {
- set: function () { }
- });
-
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === 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: >
+ Object.defineProperties - 'configurable' property of 'descObj' is
+ inherited accessor property without a get function (8.10.5 step
+ 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var proto = {};
+
+ Object.defineProperty(proto, "configurable", {
+ set: function () { }
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-72.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-72.js
index cf9bf8d7c..f6b6eb36c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-72.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-72.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-72.js
- * @description Object.defineProperties - 'descObj' is a Function object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = function () { };
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Function object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = function () { };
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-73.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-73.js
index 26ee7bd5e..566446763 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-73.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-73.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-73.js
- * @description Object.defineProperties - 'descObj' is an Array object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = [];
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Array object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = [];
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-74.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-74.js
index 946f544b1..5207b038f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-74.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-74.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-74.js
- * @description Object.defineProperties - 'descObj' is a String object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = new String();
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a String object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = new String();
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-75.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-75.js
index 36d793089..6a31ce057 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-75.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-75.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-75.js
- * @description Object.defineProperties - 'descObj' is a Boolean object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = new Boolean(false);
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Boolean object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = new Boolean(false);
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-76.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-76.js
index e6de7bb31..6d1187155 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-76.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-76.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-76.js
- * @description Object.defineProperties - 'descObj' is a Number object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = new Number(-9);
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Number object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = new Number(-9);
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-77.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-77.js
index c46aff6ec..fd36d1d99 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-77.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-77.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-77.js
- * @description Object.defineProperties - 'descObj' is the Math object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Math.configurable = true;
-
- Object.defineProperties(obj, {
- prop: Math
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- } finally {
- delete Math.configurable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Math object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Math.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: Math
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ } finally {
+ delete Math.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-78.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-78.js
index ad02b6576..83f62ce1c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-78.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-78.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-78.js
- * @description Object.defineProperties - 'descObj' is a Date object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = new Date();
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a Date object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = new Date();
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-79.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-79.js
index 499bafd70..7524a1a1c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-79.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-79.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-79.js
- * @description Object.defineProperties - 'descObj' is a RegExp object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = new RegExp();
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is a RegExp object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = new RegExp();
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-8.js
index 4491dd118..a942cf8f5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-8.js
@@ -1,31 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-8.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is own data property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- var descObj = { enumerable: true };
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ own data property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ var descObj = { enumerable: true };
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-80.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-80.js
index e39ee868f..4bf1d69f9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-80.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-80.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-80.js
- * @description Object.defineProperties - 'descObj' is the JSON object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- JSON.configurable = true;
-
- Object.defineProperties(obj, {
- prop: JSON
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- } finally {
- delete JSON.configurable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the JSON object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ JSON.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: JSON
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ } finally {
+ delete JSON.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-81.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-81.js
index 80d2a80da..f4eb45124 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-81.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-81.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-81.js
- * @description Object.defineProperties - 'descObj' is an Error object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var descObj = new Error();
- descObj.configurable = true;
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is an Error object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var descObj = new Error();
+ descObj.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-82.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-82.js
index c9903dd84..13d6a8116 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-82.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-82.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-82.js
- * @description Object.defineProperties - 'descObj' is the Arguments object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var arg;
- (function fun() {
- arg = arguments;
- }());
-
- arg.configurable = true;
-
- Object.defineProperties(obj, {
- prop: arg
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the Arguments object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var arg;
+ (function fun() {
+ arg = arguments;
+ }());
+
+ arg.configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: arg
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-84.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-84.js
index 05de150ae..f9c6f84f4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-84.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-84.js
@@ -1,32 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-84.js
- * @description Object.defineProperties - 'descObj' is the global object which implements its own [[Get]] method to get 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- fnGlobalObject().configurable = true;
-
- Object.defineProperties(obj, {
- prop: fnGlobalObject()
- });
-
- var result1 = obj.hasOwnProperty("prop");
- delete obj.prop;
- var result2 = obj.hasOwnProperty("prop");
-
- return result1 === true && result2 === false;
- } finally {
- delete fnGlobalObject().configurable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'descObj' is the global object which
+ implements its own [[Get]] method to get 'configurable' property
+ (8.10.5 step 4.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ fnGlobalObject().configurable = true;
+
+ Object.defineProperties(obj, {
+ prop: fnGlobalObject()
+ });
+
+ var result1 = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var result2 = obj.hasOwnProperty("prop");
+
+ return result1 === true && result2 === false;
+ } finally {
+ delete fnGlobalObject().configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-85.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-85.js
index 3621a854b..8c434025a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-85.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-85.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-85.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is undefined (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: undefined
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is undefined (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: undefined
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-86.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-86.js
index c211671aa..967988a5e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-86.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-86.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-86.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is null (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: null
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is null (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: null
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-87.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-87.js
index 84565e115..5be3f13e5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-87.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-87.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-87.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is true (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: true
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return !obj.hasOwnProperty("property") && hadOwnProperty;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is true (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: true
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return !obj.hasOwnProperty("property") && hadOwnProperty;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-88.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-88.js
index 4fb36bd96..de27c9254 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-88.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-88.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-88.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is false (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: false
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is false (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: false
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-89.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-89.js
index 881b767ac..2dbecdf7d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-89.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-89.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-89.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is 0 (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: 0
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is 0 (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: 0
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-9.js
index 838258b93..4246c1073 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-9.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-9.js
- * @description Object.defineProperties - 'enumerable' property of 'descObj' is inherited data property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- var proto = {
- enumerable: true
- };
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
-
- Object.defineProperties(obj, {
- prop: descObj
- });
-
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'enumerable' property of 'descObj' is
+ inherited data property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ var proto = {
+ enumerable: true
+ };
+ var Con = function () { };
+ Con.prototype = proto;
+ var descObj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: descObj
+ });
+
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-90.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-90.js
index 8a82306e0..f2d8dc042 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-90.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-90.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-90.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is +0 (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: +0
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is +0 (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: +0
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-91.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-91.js
index dc13302fc..82d87b368 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-91.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-91.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-91.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is -0 (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: -0
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is -0 (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: -0
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-92.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-92.js
index bc2ba9376..9d2dbe2fa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-92.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-92.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-92.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is NaN (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: NaN
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is NaN (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: NaN
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-93.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-93.js
index 238eba423..14bd74855 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-93.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-93.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-93.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is positive number (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: 123
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return !obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is positive number (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: 123
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return !obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-94.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-94.js
index c7bff4ee6..96d371378 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-94.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-94.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-94.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is negative number (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: -123
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return !obj.hasOwnProperty("property") && hadOwnProperty;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is negative number (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: -123
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return !obj.hasOwnProperty("property") && hadOwnProperty;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-95.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-95.js
index 28ebc605d..46ed27720 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-95.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-95.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-95.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is empty string (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: ""
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is empty string (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: ""
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-96.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-96.js
index 976cbf2a4..4c3f7ba4e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-96.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-96.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-96.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is non-empty string (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: "abc"
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return !obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is non-empty string (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: "abc"
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return !obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-97.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-97.js
index e8c3a5887..dfbb0a228 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-97.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-97.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-97.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is Function object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: function () { }
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return !obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is Function object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: function () { }
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return !obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-98.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-98.js
index 5fa89682f..0a2f3af08 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-98.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-98.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-98.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is Array object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: [1, 2, 3]
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return !obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is Array object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: [1, 2, 3]
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return !obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-99.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-99.js
index 08b94cbde..a1018fe18 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-99.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-99.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.2/15.2.3/15.2.3.7/15.2.3.7-5-b-99.js
- * @description Object.defineProperties - value of 'configurable' property of 'descObj' is String object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- property: {
- configurable: new String("abc")
- }
- });
-
- var hadOwnProperty = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- return !obj.hasOwnProperty("property") && hadOwnProperty;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - value of 'configurable' property of
+ 'descObj' is String object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ property: {
+ configurable: new String("abc")
+ }
+ });
+
+ var hadOwnProperty = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ return !obj.hasOwnProperty("property") && hadOwnProperty;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-1.js
index 4f8565261..683f359c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-1.js
- * @description Object.defineProperties - 'P' is own existing data property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own existing data property
+ (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-10.js
index c46237507..e26a28cd3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-10.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-10.js
- * @description Object.defineProperties - 'P' is own accessor property without a get function that overrides an inherited accessor property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- get: function () {
- return 11;
- },
- set: function () { },
- configurable: true
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
- Object.defineProperty(obj, "prop", {
- set: function () { },
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own accessor property without a
+ get function that overrides an inherited accessor property (8.12.9
+ step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return 11;
+ },
+ set: function () { },
+ configurable: true
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+ Object.defineProperty(obj, "prop", {
+ set: function () { },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-100.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-100.js
index 28fc62f3d..437493722 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-100.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-100.js
@@ -1,31 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-100.js
- * @description Object.defineProperties - 'P' is data property, several attributes values of P and properties are different (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 100,
- writable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: 200,
- writable: false,
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 200, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is data property, several attributes
+ values of P and properties are different (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 100,
+ writable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 200,
+ writable: false,
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 200, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-101.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-101.js
index 5786c321c..d75454045 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-101.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-101.js
@@ -1,41 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-101.js
- * @description Object.defineProperties - 'P' is accessor property, both properties.[[Get]] and P.[[Get]] are two different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- function get_func2() {
- return 20;
- }
-
- Object.defineProperties(obj, {
- foo: {
- get: get_func2
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func2, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'P' is accessor property, both
+ properties.[[Get]] and P.[[Get]] are two different values (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ function get_func2() {
+ return 20;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func2
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func2, set_func, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-102.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-102.js
index 874057cc1..109ed39c3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-102.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-102.js
@@ -1,37 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-102.js
- * @description Object.defineProperties - 'P' is accessor property, P.[[Get]] is present and properties.[[Get]] is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- get: undefined
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'P' is accessor property, P.[[Get]] is
+ present and properties.[[Get]] is undefined (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: undefined
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-103.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-103.js
index 2b2e09d9b..b977eab01 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-103.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-103.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-103.js
- * @description Object.defineProperties - 'P' is accessor property, P.[[Get]] is undefined and properties.[[Get]] is normal value (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: undefined,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- function get_func() {
- return 10;
- }
-
- Object.defineProperties(obj, {
- foo: {
- get: get_func
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'P' is accessor property, P.[[Get]] is
+ undefined and properties.[[Get]] is normal value (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: undefined,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ function get_func() {
+ return 10;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-104.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-104.js
index 9a8bfe3bb..38fa7554b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-104.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-104.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-104.js
- * @description Object.defineProperties - 'P' is accessor property, both properties.[[Set]] and P.[[Set]] are two different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
-
- function set_func() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- function set_func2(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(obj, {
- foo: {
- set: set_func2
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func2, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'P' is accessor property, both
+ properties.[[Set]] and P.[[Set]] are two different values (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+
+ function set_func() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ function set_func2(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_func2
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func2, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-105.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-105.js
index 1986423f1..8c74618a8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-105.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-105.js
@@ -1,55 +1,57 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-105.js
- * @description Object.defineProperties - 'P' is accessor property, P.[[Set]] is present and properties.[[Set]] is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
- var obj = {};
- function get_func() {
- return 10;
- }
- function set_func() {
- return 10;
- }
-
- Object.defineProperty(obj, "property", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- property: {
- set: undefined
- }
- });
-
- var hasProperty = obj.hasOwnProperty("property");
- var verifyGet = false;
- verifyGet = (obj.property === 10);
-
- var verifySet = false;
- var desc = Object.getOwnPropertyDescriptor(obj, "property");
- verifySet = (typeof desc.set === 'undefined');
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "property") {
- verifyEnumerable = true;
- }
- }
-
- var verifyConfigurable = false;
- delete obj.property;
- verifyConfigurable = obj.hasOwnProperty("property");
-
- return hasProperty && verifyGet && verifySet && verifyEnumerable && !verifyConfigurable;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is accessor property, P.[[Set]] is
+ present and properties.[[Set]] is undefined (8.12.9 step 12)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ function get_func() {
+ return 10;
+ }
+ function set_func() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "property", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ property: {
+ set: undefined
+ }
+ });
+
+ var hasProperty = obj.hasOwnProperty("property");
+ var verifyGet = false;
+ verifyGet = (obj.property === 10);
+
+ var verifySet = false;
+ var desc = Object.getOwnPropertyDescriptor(obj, "property");
+ verifySet = (typeof desc.set === 'undefined');
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "property") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyConfigurable = false;
+ delete obj.property;
+ verifyConfigurable = obj.hasOwnProperty("property");
+
+ return hasProperty && verifyGet && verifySet && verifyEnumerable && !verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-106.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-106.js
index 4292000a3..8525e0ed4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-106.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-106.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-106.js
- * @description Object.defineProperties - 'P' is accessor property, P.[[Set]] is undefined and properties.[[Set]] is normal value (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(obj, {
- foo: {
- set: set_func
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'P' is accessor property, P.[[Set]] is
+ undefined and properties.[[Set]] is normal value (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_func
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-107.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-107.js
index 86657807a..675157c41 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-107.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-107.js
@@ -1,37 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-107.js
- * @description Object.defineProperties - 'P' is accessor property, P.enumerable and properties.enumerable are different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- enumerable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", false, 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: >
+ Object.defineProperties - 'P' is accessor property, P.enumerable
+ and properties.enumerable are different values (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ enumerable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-108.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-108.js
index d912878b6..6df2d5db5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-108.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-108.js
@@ -1,37 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-108.js
- * @description Object.defineProperties - 'P' is accessor property, P.configurable is true and properties.configurable is false
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- configurable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is accessor property, P.configurable
+ is true and properties.configurable is false
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ configurable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-109.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-109.js
index 45757d936..9d9b02146 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-109.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-109.js
@@ -1,43 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-109.js
- * @description Object.defineProperties - 'P' is accessor property, several attributes values of P and properties are different (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func1() {
- return 10;
- }
- function set_func1() { }
-
- Object.defineProperty(obj, "foo", {
- get: get_func1,
- set: set_func1,
- configurable: true
- });
-
- function get_func2() {
- return 20;
- }
- function set_func2(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(obj, {
- foo: {
- get: get_func2,
- set: set_func2,
- configurable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func2, set_func2, "setVerifyHelpProp", false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is accessor property, several
+ attributes values of P and properties are different (8.12.9 step
+ 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func1() {
+ return 10;
+ }
+ function set_func1() { }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func1,
+ set: set_func1,
+ configurable: true
+ });
+
+ function get_func2() {
+ return 20;
+ }
+ function set_func2(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func2,
+ set: set_func2,
+ configurable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func2, set_func2, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-11.js
index feec079d9..44203a1b6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-11.js
- * @description Object.defineProperties - 'P' is inherited accessor property without a get function (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- set: function () { },
- configurable: false
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
-
- Object.defineProperties(obj, {
- prop: {
- get: function () {
- return 12;
- },
- configurable: true
- }
- });
- return obj.hasOwnProperty("prop") && obj.prop === 12;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is inherited accessor property
+ without a get function (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ set: function () { },
+ configurable: false
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ }
+ });
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-110.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-110.js
index 40978b9d0..4be3084eb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-110.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-110.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-110.js
- * @description Object.defineProperties - all own properties (data property and accessor property)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- var properties = {
- foo1: {
- value: 200,
- enumerable: true,
- writable: true,
- configurable: true
- },
- foo2: {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- }
- };
-
- Object.defineProperties(obj, properties);
- return dataPropertyAttributesAreCorrect(obj, "foo1", 200, true, true, true) && accessorPropertyAttributesAreCorrect(obj, "foo2", get_func, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - all own properties (data property and
+ accessor property)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ var properties = {
+ foo1: {
+ value: 200,
+ enumerable: true,
+ writable: true,
+ configurable: true
+ },
+ foo2: {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ }
+ };
+
+ Object.defineProperties(obj, properties);
+ return dataPropertyAttributesAreCorrect(obj, "foo1", 200, true, true, true) && accessorPropertyAttributesAreCorrect(obj, "foo2", get_func, set_func, "setVerifyHelpProp", true, true);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-111.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-111.js
index 5987f1986..cf82cf0b8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-111.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-111.js
@@ -1,47 +1,47 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-111.js
- * @description Object.defineProperties - each properties are in list order
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 20;
- }
-
- function set_func() { }
-
- var properties = {
- a: {
- value: 100,
- enumerable: true,
- writable: true,
- configurable: true
- },
- b: {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- },
- c: {
- value: 200,
- enumerable: true,
- writable: true,
- configurable: true
- }
- };
-
- Object.defineProperties(obj, properties);
- return (obj["a"] === 100 && obj["b"] === 20 && obj["c"] === 200);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperties - each properties are in list order
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 20;
+ }
+
+ function set_func() { }
+
+ var properties = {
+ a: {
+ value: 100,
+ enumerable: true,
+ writable: true,
+ configurable: true
+ },
+ b: {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ },
+ c: {
+ value: 200,
+ enumerable: true,
+ writable: true,
+ configurable: true
+ }
+ };
+
+ Object.defineProperties(obj, properties);
+ return (obj["a"] === 100 && obj["b"] === 20 && obj["c"] === 200);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-112.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-112.js
index 4229991ef..6575d7622 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-112.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-112.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-112.js
- * @description Object.defineProperties - 'O' is an Array, test the length property of 'O' is own data property (15.4.5.1 step 1)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
- Object.defineProperty(arr, "1", {
- value: 1,
- configurable: false
- });
- try {
-
- Object.defineProperties(arr, {
- length: { value: 1 }
- });
- return false;
- } catch (ex) {
- var desc = Object.getOwnPropertyDescriptor(arr, "length");
-
- return ex instanceof TypeError && desc.value === 2 &&
- desc.writable && !desc.enumerable && !desc.configurable;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, test the length
+ property of 'O' is own data property (15.4.5.1 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+ Object.defineProperty(arr, "1", {
+ value: 1,
+ configurable: false
+ });
+ try {
+
+ Object.defineProperties(arr, {
+ length: { value: 1 }
+ });
+ return false;
+ } catch (ex) {
+ var desc = Object.getOwnPropertyDescriptor(arr, "length");
+
+ return ex instanceof TypeError && desc.value === 2 &&
+ desc.writable && !desc.enumerable && !desc.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-113.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-113.js
index aa3021bb7..bab41b7c3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-113.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-113.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-113.js
- * @description Object.defineProperties - 'O' is an Array, test the length property of 'O' is own data property that overrides an inherited data property (15.4.5.1 step 1)
- */
-
-
-function testcase() {
-
- var arrProtoLen;
- var arr = [0, 1, 2];
- try {
- arrProtoLen = Array.prototype.length;
- Array.prototype.length = 0;
-
- Object.defineProperty(arr, "2", {
- configurable: false
- });
-
- Object.defineProperties(arr, {
- length: { value: 1 }
- });
- return false;
- } catch (e) {
- var desc = Object.getOwnPropertyDescriptor(arr, "length");
-
- return e instanceof TypeError && desc.value === 3 &&
- desc.writable && !desc.enumerable && !desc.configurable;
- } finally {
- Array.prototype.length = arrProtoLen;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, test the length
+ property of 'O' is own data property that overrides an inherited
+ data property (15.4.5.1 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrProtoLen;
+ var arr = [0, 1, 2];
+ try {
+ arrProtoLen = Array.prototype.length;
+ Array.prototype.length = 0;
+
+ Object.defineProperty(arr, "2", {
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ length: { value: 1 }
+ });
+ return false;
+ } catch (e) {
+ var desc = Object.getOwnPropertyDescriptor(arr, "length");
+
+ return e instanceof TypeError && desc.value === 3 &&
+ desc.writable && !desc.enumerable && !desc.configurable;
+ } finally {
+ Array.prototype.length = arrProtoLen;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-114.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-114.js
index fbb2216b9..811cf6335 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-114.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-114.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-114.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is absent, test every field in 'desc' is absent (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, { length: {} });
-
- var verifyValue = false;
- verifyValue = (arr.length === 0);
-
- var verifyWritable = false;
- arr.length = 2;
- verifyWritable = (arr.length === 2);
-
- var verifyEnumerable = false;
- for (var p in arr) {
- if (p === "length") {
- verifyEnumerable = true;
- }
- }
-
- var verifyConfigurable = false;
- delete arr.length;
- verifyConfigurable = arr.hasOwnProperty("length");
-
- return verifyValue && verifyWritable && !verifyEnumerable && verifyConfigurable;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is absent, test
+ every field in 'desc' is absent (15.4.5.1 step 3.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, { length: {} });
+
+ var verifyValue = false;
+ verifyValue = (arr.length === 0);
+
+ var verifyWritable = false;
+ arr.length = 2;
+ verifyWritable = (arr.length === 2);
+
+ var verifyEnumerable = false;
+ for (var p in arr) {
+ if (p === "length") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyConfigurable = false;
+ delete arr.length;
+ verifyConfigurable = arr.hasOwnProperty("length");
+
+ return verifyValue && verifyWritable && !verifyEnumerable && verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-115.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-115.js
index 100919b35..5839eab09 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-115.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-115.js
@@ -1,43 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-115.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is absent, test every field in 'desc' is same with corresponding attribute value of the length property in 'O' (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- writable: true,
- enumerable: false,
- configurable: false
- }
- });
-
- var verifyValue = false;
- verifyValue = (arr.length === 0);
-
- var verifyWritable = false;
- arr.length = 2;
- verifyWritable = (arr.length === 2);
-
- var verifyEnumerable = false;
- for (var p in arr) {
- if (p === "length") {
- verifyEnumerable = true;
- }
- }
-
- var verifyConfigurable = false;
- delete arr.length;
- verifyConfigurable = arr.hasOwnProperty("length");
-
- return verifyValue && verifyWritable && !verifyEnumerable && verifyConfigurable;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is absent, test
+ every field in 'desc' is same with corresponding attribute value
+ of the length property in 'O' (15.4.5.1 step 3.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ writable: true,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ var verifyValue = false;
+ verifyValue = (arr.length === 0);
+
+ var verifyWritable = false;
+ arr.length = 2;
+ verifyWritable = (arr.length === 2);
+
+ var verifyEnumerable = false;
+ for (var p in arr) {
+ if (p === "length") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyConfigurable = false;
+ delete arr.length;
+ verifyConfigurable = arr.hasOwnProperty("length");
+
+ return verifyValue && verifyWritable && !verifyEnumerable && verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-116.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-116.js
index bddc1a8e8..e772f6e77 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-116.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-116.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-116.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is absent, test TypeError is thrown when updating the [[Configurable]] attribute of the length property from false to true (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: { configurable: true }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is absent, test
+ TypeError is thrown when updating the [[Configurable]] attribute
+ of the length property from false to true (15.4.5.1 step 3.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: { configurable: true }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-117.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-117.js
index 2b4c69e5f..5284dd155 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-117.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-117.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-117.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is absent, test TypeError is thrown when updating the [[Enumerable]] attribute of the length property from false to true (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: { enumerable: true }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is absent, test
+ TypeError is thrown when updating the [[Enumerable]] attribute of
+ the length property from false to true (15.4.5.1 step 3.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: { enumerable: true }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-118.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-118.js
index 4f850466e..c7de65e7f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-118.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-118.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-118.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is absent, test TypeError is thrown when 'desc' is accessor descriptor (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- get: function () {
- return 2;
- }
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is absent, test
+ TypeError is thrown when 'desc' is accessor descriptor (15.4.5.1
+ step 3.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ get: function () {
+ return 2;
+ }
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-119.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-119.js
index a465d0f46..9e23b1469 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-119.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-119.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-119.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is absent, test TypeError is thrown when updating the [[Writable]] attribute of the length property from false to true (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "length", {
- writable: false
- });
-
- try {
- Object.defineProperties(arr, {
- length: { writable: true }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is absent, test
+ TypeError is thrown when updating the [[Writable]] attribute of
+ the length property from false to true (15.4.5.1 step 3.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ length: { writable: true }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-12.js
index a2929e95c..871f6dd33 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-12.js
@@ -1,32 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-12.js
- * @description Object.defineProperties - 'O' is a Function object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var fun = function () { };
-
- Object.defineProperty(fun, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(fun, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(fun, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is a Function object which
+ implements its own [[GetOwnProperty]] method to get 'P' (8.12.9
+ step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var fun = function () { };
+
+ Object.defineProperty(fun, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(fun, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(fun, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-120.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-120.js
index abebf7d7e..9bad0dd58 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-120.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-120.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-120.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is absent, test updating the [[Writable]] attribute of the length property from true to false (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: { writable: false }
- });
-
- return dataPropertyAttributesAreCorrect(arr, "length", 0, false, false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is absent, test
+ updating the [[Writable]] attribute of the length property from
+ true to false (15.4.5.1 step 3.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: { writable: false }
+ });
+
+ return dataPropertyAttributesAreCorrect(arr, "length", 0, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-121.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-121.js
index e104b784b..b0ed48377 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-121.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-121.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-121.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', test RangeError is thrown when setting the [[Value]] field of 'desc' to undefined (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: { value: undefined }
- });
-
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', test RangeError is thrown when setting the
+ [[Value]] field of 'desc' to undefined (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: { value: undefined }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-122.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-122.js
index 05902dd14..75b8bab90 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-122.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-122.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-122.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', test setting the [[Value]] field of 'desc' to null actuall is set to 0 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: { value: null }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', test setting the [[Value]] field of 'desc' to
+ null actuall is set to 0 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: { value: null }
+ });
+ return arr.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-123.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-123.js
index 05fc71a60..f5379fb77 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-123.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-123.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-123.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a boolean with value false (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: { value: false }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a boolean
+ with value false (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: { value: false }
+ });
+ return arr.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-124.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-124.js
index 5e8e92a66..c383e2f97 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-124.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-124.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-124.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a boolean with value true (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: { value: true }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a boolean
+ with value true (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: { value: true }
+ });
+ return arr.length === 1;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-125.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-125.js
index caf10f756..d07b011b1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-125.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-125.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-125.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is 0 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: { value: 0 }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is 0 (15.4.5.1
+ step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: { value: 0 }
+ });
+ return arr.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-126.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-126.js
index fec852621..2b9eefc60 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-126.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-126.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-126.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is +0 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: { value: +0 }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is +0
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: { value: +0 }
+ });
+ return arr.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-127.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-127.js
index 261a197aa..b34a29269 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-127.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-127.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-127.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is -0 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: { value: -0 }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is -0
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: { value: -0 }
+ });
+ return arr.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-128.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-128.js
index eb379cf8c..5bc294126 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-128.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-128.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-128.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is positive number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: { value: 12 }
- });
- return arr.length === 12;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is positive
+ number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: { value: 12 }
+ });
+ return arr.length === 12;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-129.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-129.js
index 0c9c04a46..b0a90af73 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-129.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-129.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-129.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is negative number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: -9
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is negative
+ number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: -9
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-13.js
index 83f322e77..6a60b5940 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-13.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-13.js
- * @description Object.defineProperties - 'O' is an Array object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(arr, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arr, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arr, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-130.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-130.js
index 8594d36c5..9a9dbdab7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-130.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-130.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-130.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is +Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: +Infinity
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is +Infinity
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: +Infinity
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-131.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-131.js
index 50ca6d2fe..296410dd3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-131.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-131.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-131.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is -Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: -Infinity
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is -Infinity
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: -Infinity
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-132.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-132.js
index 7ab929d59..18aca0fc4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-132.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-132.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-132.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is NaN (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: NaN
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is NaN
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: NaN
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-133.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-133.js
index d09253f5e..f4963c59b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-133.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-133.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-133.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing a positive number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: "2"
- }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing a positive number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: "2"
+ }
+ });
+ return arr.length === 2;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-134.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-134.js
index 5af2ba8bc..2d2c5d3d4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-134.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-134.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-134.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing a negative number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: "-42"
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing a negative number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: "-42"
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-135.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-135.js
index 764582d68..1aae3e11b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-135.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-135.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-135.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing a decimal number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: "200.59"
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing a decimal number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: "200.59"
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-136.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-136.js
index 7b65eba0a..9e53d5a47 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-136.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-136.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-136.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing +Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: "+Infinity"
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing +Infinity (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: "+Infinity"
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-137.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-137.js
index cad56ab11..06aebd76c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-137.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-137.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-137.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing -Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: "-Infinity"
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing -Infinity (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: "-Infinity"
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-138.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-138.js
index ad35d39c0..2918712e9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-138.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-138.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-138.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing an exponential number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: "2E3"
- }
- });
- return arr.length === 2E3;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing an exponential number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: "2E3"
+ }
+ });
+ return arr.length === 2E3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-139.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-139.js
index 3521e7385..59e78dc8b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-139.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-139.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-139.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing an hex number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: "0x00B"
- }
- });
- return arr.length === 0x00B;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing an hex number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: "0x00B"
+ }
+ });
+ return arr.length === 0x00B;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-14.js
index 14da1cf47..f82d4cafc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-14.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-14.js
- * @description Object.defineProperties - 'O' is a String object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var str = new String();
-
- Object.defineProperty(str, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(str, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(str, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is a String object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var str = new String();
+
+ Object.defineProperty(str, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(str, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(str, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-140.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-140.js
index 128797c85..8ba2736b8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-140.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-140.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-140.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing an leading zero number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: "0002.0"
- }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing an leading zero number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: "0002.0"
+ }
+ });
+ return arr.length === 2;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-141.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-141.js
index c2c74d787..841848333 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-141.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-141.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-141.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', test the [[Value]] field of 'desc' is a string which doesn't convert to a number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: "two"
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ which doesn't convert to a number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: "two"
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-142.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-142.js
index 73d85c89d..3bc41b4ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-142.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-142.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-142.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', test the [[Value]] field of 'desc' is an Object which has an own toString method (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: {
- toString: function () {
- return '2';
- }
- }
- }
- });
-
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', test the [[Value]] field of 'desc' is an Object
+ which has an own toString method (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: {
+ toString: function () {
+ return '2';
+ }
+ }
+ }
+ });
+
+ return arr.length === 2;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-143.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-143.js
index 6ad792cf1..c974b8ab9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-143.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-143.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-143.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is an Object which has an own valueOf method (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: {
- valueOf: function () {
- return 2;
- }
- }
- }
- });
- return arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is an Object
+ which has an own valueOf method (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: {
+ valueOf: function () {
+ return 2;
+ }
+ }
+ }
+ });
+ return arr.length === 2;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-144.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-144.js
index 99f6b8505..745926a9b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-144.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-144.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-144.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is an Object which has an own valueOf method that returns an object and toString method that returns a string (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- Object.defineProperties(arr, {
- length: {
- value: {
- toString: function () {
- toStringAccessed = true;
- return '2';
- },
-
- valueOf: function () {
- valueOfAccessed = true;
- return {};
- }
- }
- }
- });
- return arr.length === 2 && toStringAccessed && 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is an Object
+ which has an own valueOf method that returns an object and
+ toString method that returns a string (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ Object.defineProperties(arr, {
+ length: {
+ value: {
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ },
+
+ valueOf: function () {
+ valueOfAccessed = true;
+ return {};
+ }
+ }
+ }
+ });
+ return arr.length === 2 && toStringAccessed && valueOfAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-145.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-145.js
index a342f7471..c70601170 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-145.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-145.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-145.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is an Object which has an own toString and valueOf method (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- Object.defineProperties(arr, {
- length: {
- value: {
- toString: function () {
- toStringAccessed = true;
- return '2';
- },
-
- valueOf: function () {
- valueOfAccessed = true;
- return 3;
- }
- }
- }
- });
- return arr.length === 3 && !toStringAccessed && 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is an Object
+ which has an own toString and valueOf method (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ Object.defineProperties(arr, {
+ length: {
+ value: {
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ },
+
+ valueOf: function () {
+ valueOfAccessed = true;
+ return 3;
+ }
+ }
+ }
+ });
+ return arr.length === 3 && !toStringAccessed && valueOfAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-146.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-146.js
index b84086a44..2c8d55f38 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-146.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-146.js
@@ -1,40 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-146.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test TypeError is thrown when the [[Value]] field of 'desc' is an Object that both toString and valueOf wouldn't return primitive value (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: {
- toString: function () {
- toStringAccessed = true;
- return {};
- },
-
- valueOf: function () {
- valueOfAccessed = true;
- return {};
- }
- }
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && toStringAccessed && 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test TypeError is thrown when the [[Value]] field
+ of 'desc' is an Object that both toString and valueOf wouldn't
+ return primitive value (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: {
+ toString: function () {
+ toStringAccessed = true;
+ return {};
+ },
+
+ valueOf: function () {
+ valueOfAccessed = true;
+ return {};
+ }
+ }
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && toStringAccessed && valueOfAccessed;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-147.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-147.js
index e485b51d6..cfff3696c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-147.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-147.js
@@ -1,45 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-147.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test using inherited valueOf method when the [[Value]] field of 'desc' is an Objec with an own toString and inherited valueOf methods (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- var proto = {
- value: {
- valueOf: function () {
- valueOfAccessed = true;
- return 2;
- }
- }
- };
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "value", {
- value: {
- toString: function () {
- toStringAccessed = true;
- return 3;
- }
- }
- });
-
- Object.defineProperties(arr, {
- length: child
- });
- return arr.length === 3 && toStringAccessed && !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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test using inherited valueOf method when the
+ [[Value]] field of 'desc' is an Objec with an own toString and
+ inherited valueOf methods (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ var proto = {
+ value: {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return 2;
+ }
+ }
+ };
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "value", {
+ value: {
+ toString: function () {
+ toStringAccessed = true;
+ return 3;
+ }
+ }
+ });
+
+ Object.defineProperties(arr, {
+ length: child
+ });
+ return arr.length === 3 && toStringAccessed && !valueOfAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-148.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-148.js
index 07408edde..bbf09b066 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-148.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-148.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-148.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test RangeError is thrown when the [[Value]] field of 'desc' is positive non-integer values (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 123.5
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError is thrown when the [[Value]]
+ field of 'desc' is positive non-integer values (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 123.5
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-149.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-149.js
index 5d28b234f..3661c17e0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-149.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-149.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-149.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test RangeError is thrown when the [[Value]] field of 'desc' is negative non-integer values (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: -4294967294.5
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError is thrown when the [[Value]]
+ field of 'desc' is negative non-integer values (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: -4294967294.5
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-15.js
index 46e2f2fd7..0a776daa1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-15.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-15.js
- * @description Object.defineProperties - 'O' is a Boolean object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- var obj = new Boolean(false);
-
- Object.defineProperty(obj, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is a Boolean object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = new Boolean(false);
+
+ Object.defineProperty(obj, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-150.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-150.js
index 1f3d9dc80..0d09eb976 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-150.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-150.js
@@ -1,24 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-150.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is boundary value 2^32 - 2 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: 4294967294
- }
- });
-
- return arr.length === 4294967294;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is boundary
+ value 2^32 - 2 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 4294967294
+ }
+ });
+
+ return arr.length === 4294967294;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-151.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-151.js
index 288e5f3ca..eee3392ec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-151.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-151.js
@@ -1,24 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-151.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is boundary value 2^32 - 1 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- length: {
- value: 4294967295
- }
- });
-
- return arr.length === 4294967295;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is boundary
+ value 2^32 - 1 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 4294967295
+ }
+ });
+
+ return arr.length === 4294967295;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-152.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-152.js
index f9bad3ea6..03a070885 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-152.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-152.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-152.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test RangeError is thrown when the [[Value]] field of 'desc' is boundary value 2^32 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
- try {
- Object.defineProperties(arr, {
- length: {
- value: 4294967296
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError is thrown when the [[Value]]
+ field of 'desc' is boundary value 2^32 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 4294967296
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-153.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-153.js
index 1d72f3a9f..a57442332 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-153.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-153.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-153.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is the length property of 'O', test RangeError is thrown when the [[Value]] field of 'desc' is boundary value 2^32 + 1 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arr = [];
- try {
- Object.defineProperties(arr, {
- length: {
- value: 4294967297
- }
- });
- return false;
- } catch (e) {
- return e instanceof RangeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError is thrown when the [[Value]]
+ field of 'desc' is boundary value 2^32 + 1 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 4294967297
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-155.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-155.js
index 5dae7802f..0c67677b5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-155.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-155.js
@@ -1,28 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-155.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', test the [[Value]] field of 'desc' which is greater than value of the length property is defined into 'O' without deleting any property with large index named (15.4.5.1 step 3.f)
- */
-
-
-function testcase() {
-
- var arr = [0, , 2];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 5
- }
- });
-
- return arr.length === 5 && arr[0] === 0 && !arr.hasOwnProperty("1") && arr[2] === 2;
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', test the [[Value]] field of 'desc' which is
+ greater than value of the length property is defined into 'O'
+ without deleting any property with large index named (15.4.5.1
+ step 3.f)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, , 2];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 5
+ }
+ });
+
+ return arr.length === 5 && arr[0] === 0 && !arr.hasOwnProperty("1") && arr[2] === 2;
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-156.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-156.js
index 7514b0cca..724126e56 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-156.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-156.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-156.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', test the [[Value]] field of 'desc' which equals to value of the length property is defined into 'O' without deleting any property with large index named (15.4.5.1 step 3.f)
- */
-
-
-function testcase() {
-
- var arr = [0, , 2];
- try {
- Object.defineProperties(arr, {
- length: {
- value: 3
- }
- });
-
- return arr.length === 3 && arr[0] === 0 && !arr.hasOwnProperty("1") && arr[2] === 2;
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', test the [[Value]] field of 'desc' which equals
+ to value of the length property is defined into 'O' without
+ deleting any property with large index named (15.4.5.1 step 3.f)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, , 2];
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 3
+ }
+ });
+
+ return arr.length === 3 && arr[0] === 0 && !arr.hasOwnProperty("1") && arr[2] === 2;
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-157.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-157.js
index 95e2601ab..bebc2fb36 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-157.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-157.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-157.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', test the [[Value]] field of 'desc' which is less than value of the length property is defined into 'O' with deleting properties with large index named (15.4.5.1 step 3.f)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
- return arr.length === 1 && !arr.hasOwnProperty("1") && arr[0] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', test the [[Value]] field of 'desc' which is less
+ than value of the length property is defined into 'O' with
+ deleting properties with large index named (15.4.5.1 step 3.f)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+ return arr.length === 1 && !arr.hasOwnProperty("1") && arr[0] === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-158.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-158.js
index 03d606a7e..9a336ff6f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-158.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-158.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-158.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is greater than value of the length property, test TypeError is thrown when the length property is not writable (15.4.5.1 step 3.f.i)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "length", {
- writable: false
- });
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 12
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is greater than
+ value of the length property, test TypeError is thrown when the
+ length property is not writable (15.4.5.1 step 3.f.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 12
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 0;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-159.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-159.js
index cee46c5fb..e616553ce 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-159.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-159.js
@@ -1,31 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-159.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' equals to value of the length property, test TypeError wouldn't be thrown when the length property is not writable (15.4.5.1 step 3.f.i)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "length", {
- writable: false
- });
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 0
- }
- });
- return true && arr.length === 0;
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' equals to value of
+ the length property, test TypeError wouldn't be thrown when the
+ length property is not writable (15.4.5.1 step 3.f.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 0
+ }
+ });
+ return true && arr.length === 0;
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-16.js
index abf0c4dee..5bd748568 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-16.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-16.js
- * @description Object.defineProperties - 'O' is a Number object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- var obj = new Number(-9);
-
- Object.defineProperty(obj, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is a Number object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = new Number(-9);
+
+ Object.defineProperty(obj, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-160.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-160.js
index 8d259764c..baaf7f628 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-160.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-160.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-160.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test TypeError is thrown when the [[Writable]] attribute of the length property is false (15.4.5.1 step 3.g)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperty(arr, "length", {
- writable: false
- });
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 0
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 2 && arr[0] === 0 && arr[1] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test TypeError is thrown when the
+ [[Writable]] attribute of the length property is false (15.4.5.1
+ step 3.g)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperty(arr, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 0
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 2 && arr[0] === 0 && arr[1] === 1;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-161.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-161.js
index 8010c450b..121095ab8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-161.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-161.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-161.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Writable]] attribute of the length property is set to true at last after deleting properties with large index named if the [[Writable]] field of 'desc' is absent (15.4.5.1 step 3.h)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
-
- arr.length = 10; //try to overwrite length value of arr
- return !arr.hasOwnProperty("1") && arr.length === 10 && arr[0] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Writable]] attribute of the
+ length property is set to true at last after deleting properties
+ with large index named if the [[Writable]] field of 'desc' is
+ absent (15.4.5.1 step 3.h)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+
+ arr.length = 10; //try to overwrite length value of arr
+ return !arr.hasOwnProperty("1") && arr.length === 10 && arr[0] === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-162.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-162.js
index 74cdc7431..253712ee3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-162.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-162.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-162.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Writable]] attribute of the length property is set to true at last after deleting properties with large index named if the [[Writable]] field of 'desc' is true (15.4.5.1 step 3.h)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: {
- value: 1,
- writable: true
- }
- });
-
- arr.length = 10; //try to overwrite length value of arr
- return !arr.hasOwnProperty("1") && arr.length === 10 && arr[0] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Writable]] attribute of the
+ length property is set to true at last after deleting properties
+ with large index named if the [[Writable]] field of 'desc' is true
+ (15.4.5.1 step 3.h)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1,
+ writable: true
+ }
+ });
+
+ arr.length = 10; //try to overwrite length value of arr
+ return !arr.hasOwnProperty("1") && arr.length === 10 && arr[0] === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-163.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-163.js
index 1783cc9a9..a099e203f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-163.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-163.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-163.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Writable]] attribute of the length property is set to false at last after deleting properties with large index named if the [[Writable]] field of 'desc' is false (15.4.5.1 step 3.i.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: {
- value: 1,
- writable: false
- }
- });
-
- arr.length = 10; //try to overwrite length value of arr
- return !arr.hasOwnProperty("1") && arr.length === 1 && arr[0] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Writable]] attribute of the
+ length property is set to false at last after deleting properties
+ with large index named if the [[Writable]] field of 'desc' is
+ false (15.4.5.1 step 3.i.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1,
+ writable: false
+ }
+ });
+
+ arr.length = 10; //try to overwrite length value of arr
+ return !arr.hasOwnProperty("1") && arr.length === 1 && arr[0] === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-164.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-164.js
index d3d5b2877..25fcfe56c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-164.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-164.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-164.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Writable]] attribute of the length property in 'O' is set as true before deleting properties with large index named (15.4.5.1 step 3.i.iii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1, 2];
- var result = 0;
-
- try {
- Object.defineProperty(arr, "1", {
- configurable: false
- });
-
- Object.defineProperties(arr, {
- length: {
- value: 0,
- writable: false
- }
- });
-
- return false;
- } catch (e) {
- result = (arr.length === 2);
- arr.length = 10;
- return (e instanceof TypeError) && result && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Writable]] attribute of the
+ length property in 'O' is set as true before deleting properties
+ with large index named (15.4.5.1 step 3.i.iii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1, 2];
+ var result = 0;
+
+ try {
+ Object.defineProperty(arr, "1", {
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 0,
+ writable: false
+ }
+ });
+
+ return false;
+ } catch (e) {
+ result = (arr.length === 2);
+ arr.length = 10;
+ return (e instanceof TypeError) && result && arr.length === 2;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-165.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-165.js
index ad26a4ce4..5991bfdcd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-165.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-165.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-165.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the length property is decreased by 1 (15.4.5.1 step 3.l.i)
- */
-
-
-function testcase() {
-
- var arr = [0, 1, 2];
-
- Object.defineProperty(arr, "1", {
- configurable: false
- });
-
- Object.defineProperty(arr, "2", {
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 2 &&
- !arr.hasOwnProperty("2") && arr[0] === 0 && arr[1] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the length property is decreased by
+ 1 (15.4.5.1 step 3.l.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1, 2];
+
+ Object.defineProperty(arr, "1", {
+ configurable: false
+ });
+
+ Object.defineProperty(arr, "2", {
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 2 &&
+ !arr.hasOwnProperty("2") && arr[0] === 0 && arr[1] === 1;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-166.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-166.js
index c555ad88c..59aa89d0c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-166.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-166.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-166.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of own data property with large index named in 'O' can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- try {
- Object.defineProperty(arr, "1", {
- configurable: false
- });
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && arr.length === 2 &&
- arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ own data property with large index named in 'O' can stop deleting
+ index named properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ try {
+ Object.defineProperty(arr, "1", {
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && arr.length === 2 &&
+ arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 1;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-167.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-167.js
index 788f74f85..2b0f656ee 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-167.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-167.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-167.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of inherited data property with large index named in 'O' can't stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
- try {
- Array.prototype[1] = 2; //we are not allowed to set the [[Configurable]] attribute of property "1" to false here, since Array.prototype is a global object, and non-configurbale property can't revert to configurable
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
-
- return arr.length === 1 && !arr.hasOwnProperty("1") && arr[0] === 0 && Array.prototype[1] === 2;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ inherited data property with large index named in 'O' can't stop
+ deleting index named properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+ try {
+ Array.prototype[1] = 2; //we are not allowed to set the [[Configurable]] attribute of property "1" to false here, since Array.prototype is a global object, and non-configurbale property can't revert to configurable
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+
+ return arr.length === 1 && !arr.hasOwnProperty("1") && arr[0] === 0 && Array.prototype[1] === 2;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-168.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-168.js
index 20e667955..34d741afd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-168.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-168.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-168.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of own data property with large index named in 'O' that overrides inherited data property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
- try {
- Object.defineProperty(arr, "1", {
- configurable: false
- });
-
- Array.prototype[1] = 2;
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 2 &&
- arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 1;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ own data property with large index named in 'O' that overrides
+ inherited data property can stop deleting index named properties
+ (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+ try {
+ Object.defineProperty(arr, "1", {
+ configurable: false
+ });
+
+ Array.prototype[1] = 2;
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 2 &&
+ arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 1;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-169.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-169.js
index 16918cc04..3067014fa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-169.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-169.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-169.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of own data property with large index named in 'O' that overrides inherited accessor property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
- try {
- Object.defineProperty(arr, "1", {
- configurable: false
- });
-
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 2 && arr.hasOwnProperty("1") &&
- arr[0] === 0 && arr[1] === 1 && Array.prototype[1] === 2;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ own data property with large index named in 'O' that overrides
+ inherited accessor property can stop deleting index named
+ properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+ try {
+ Object.defineProperty(arr, "1", {
+ configurable: false
+ });
+
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 2 && arr.hasOwnProperty("1") &&
+ arr[0] === 0 && arr[1] === 1 && Array.prototype[1] === 2;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-17.js
index abfa2e2ad..656c0b82a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-17.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-17.js
- * @description Object.defineProperties - 'O' is the Math object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty(Math, "prop", {
- value: 11,
- writable: true,
- configurable: true
- });
- var hasProperty = Math.hasOwnProperty("prop") && Math.prop === 11;
-
- Object.defineProperties(Math, {
- prop: {
- value: 12
- }
- });
- return hasProperty && Math.prop === 12;
- } finally {
- delete Math.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is the Math object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty(Math, "prop", {
+ value: 11,
+ writable: true,
+ configurable: true
+ });
+ var hasProperty = Math.hasOwnProperty("prop") && Math.prop === 11;
+
+ Object.defineProperties(Math, {
+ prop: {
+ value: 12
+ }
+ });
+ return hasProperty && Math.prop === 12;
+ } finally {
+ delete Math.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-170.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-170.js
index df61965ba..976ca2493 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-170.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-170.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-170.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of own accessor property with large index named in 'O' can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- try {
- Object.defineProperty(arr, "1", {
- get: function () {
- return 1;
- },
- configurable: false
- });
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && arr.length === 2 &&
- arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ own accessor property with large index named in 'O' can stop
+ deleting index named properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ try {
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && arr.length === 2 &&
+ arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 1;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-171.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-171.js
index 28c0413c7..6d155b571 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-171.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-171.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-171.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of inherited accessor property with large index named in 'O' can't stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
- try {
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 1;
- },
- configurable: true //we are not allowed to set the [[Configurable]] attribute of property "1" to false here, since Array.prototype is a global object, and non-configurbale property can't revert to configurable
- });
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
-
- return arr.length === 1 && !arr.hasOwnProperty("1") && arr[0] === 0 && Array.prototype[1] === 1;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ inherited accessor property with large index named in 'O' can't
+ stop deleting index named properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+ try {
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: true //we are not allowed to set the [[Configurable]] attribute of property "1" to false here, since Array.prototype is a global object, and non-configurbale property can't revert to configurable
+ });
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+
+ return arr.length === 1 && !arr.hasOwnProperty("1") && arr[0] === 0 && Array.prototype[1] === 1;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-172.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-172.js
index 07144eb1b..3b2d7dc07 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-172.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-172.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-172.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of own accessor property with large index named in 'O' that overrides inherited data property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
- try {
- Object.defineProperty(arr, "1", {
- get: function () {
- return 2;
- },
- configurable: false
- });
-
- Array.prototype[1] = 3;
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 2 &&
- arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 2;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ own accessor property with large index named in 'O' that overrides
+ inherited data property can stop deleting index named properties
+ (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+ try {
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 2;
+ },
+ configurable: false
+ });
+
+ Array.prototype[1] = 3;
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 2 &&
+ arr.hasOwnProperty("1") && arr[0] === 0 && arr[1] === 2;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-173.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-173.js
index fa97c91e3..989e619ef 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-173.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-173.js
@@ -1,43 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-173.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of own accessor property with large index named in 'O' that overrides inherited accessor property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
- try {
- Object.defineProperty(arr, "1", {
- get: function () {
- return 1;
- },
- configurable: false
- });
-
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr.length === 2 && arr.hasOwnProperty("1") &&
- arr[0] === 0 && arr[1] === 1 && Array.prototype[1] === 2;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of
+ own accessor property with large index named in 'O' that overrides
+ inherited accessor property can stop deleting index named
+ properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+ try {
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: false
+ });
+
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr.length === 2 && arr.hasOwnProperty("1") &&
+ arr[0] === 0 && arr[1] === 1 && Array.prototype[1] === 2;
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-174.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-174.js
index 8ccb7317f..b152d15a6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-174.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-174.js
@@ -1,24 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-174.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the configurable large index named property of 'O' can be deleted (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
-
- return !arr.hasOwnProperty("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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the configurable large index named
+ property of 'O' can be deleted (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+
+ return !arr.hasOwnProperty("1");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-175.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-175.js
index ccb571ca1..dcd1d4626 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-175.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-175.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-175.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test value of the length property is set to the last non-configurable index named property of 'O' plus 1 (15.4.5.1 step 3.l.iii.1)
- */
-
-
-function testcase() {
-
- var arr = [0, 1, 2, 3];
-
- Object.defineProperty(arr, "1", {
- configurable: false
- });
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 1
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && (arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test value of the length property is set
+ to the last non-configurable index named property of 'O' plus 1
+ (15.4.5.1 step 3.l.iii.1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1, 2, 3];
+
+ Object.defineProperty(arr, "1", {
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 1
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && (arr.length === 2);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-176.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-176.js
index ce0e86f42..d6acc542a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-176.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-176.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-176.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Writable]] attribute of the length property is set to false at last when the [[Writable]] field of 'desc' is false and 'O' contains non-configurable large index named property (15.4.5.1 step 3.l.iii.2)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- try {
- Object.defineProperty(arr, "1", {
- configurable: false
- });
-
- Object.defineProperties(arr, {
- length: {
- value: 1,
- writable: false
- }
- });
- return false;
- } catch (e) {
- arr.length = 10; //try to overwrite length value of arr
- return e instanceof TypeError && arr.hasOwnProperty("1") &&
- arr.length === 2 && arr[0] === 0 && arr[1] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Writable]] attribute of the
+ length property is set to false at last when the [[Writable]]
+ field of 'desc' is false and 'O' contains non-configurable large
+ index named property (15.4.5.1 step 3.l.iii.2)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ try {
+ Object.defineProperty(arr, "1", {
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ length: {
+ value: 1,
+ writable: false
+ }
+ });
+ return false;
+ } catch (e) {
+ arr.length = 10; //try to overwrite length value of arr
+ return e instanceof TypeError && arr.hasOwnProperty("1") &&
+ arr.length === 2 && arr[0] === 0 && arr[1] === 1;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-177.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-177.js
index 962d5ed86..b5f700637 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-177.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-177.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-177.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Writable]] attribute of the length property is set to false at last when the [[Writable]] field of 'desc' is false and 'O' doesn't contain non-configurable large index named property (15.4.5.1 step 3.m)
- */
-
-
-function testcase() {
-
- var arr = [0, 1];
-
- try {
- Object.defineProperties(arr, {
- length: {
- value: 0,
- writable: false
- }
- });
-
- arr.length = 10; //try to overwrite length value of arr
- return !arr.hasOwnProperty("1") && arr.length === 0 && !arr.hasOwnProperty("0");
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Writable]] attribute of the
+ length property is set to false at last when the [[Writable]]
+ field of 'desc' is false and 'O' doesn't contain non-configurable
+ large index named property (15.4.5.1 step 3.m)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0, 1];
+
+ try {
+ Object.defineProperties(arr, {
+ length: {
+ value: 0,
+ writable: false
+ }
+ });
+
+ arr.length = 10; //try to overwrite length value of arr
+ return !arr.hasOwnProperty("1") && arr.length === 0 && !arr.hasOwnProperty("0");
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-178.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-178.js
index ed31e513e..f560ac314 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-178.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-178.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-178.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is available String values that convert to numbers (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
-
- var arr = [0];
-
- Object.defineProperties(arr, {
- "0": {
- value: 12
- }
- });
- return arr[0] === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is available String values that convert to
+ numbers (15.4.5.1 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [0];
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: 12
+ }
+ });
+ return arr[0] === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-179.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-179.js
index 6748036ba..2551efaf6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-179.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-179.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-179.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is boundary value 2^32 - 2 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "4294967294": {
- value: 100
- }
- });
-
- return arr.hasOwnProperty("4294967294") && arr.length === 4294967295 && arr[4294967294] === 100;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is boundary value 2^32 - 2 (15.4.5.1 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "4294967294": {
+ value: 100
+ }
+ });
+
+ return arr.hasOwnProperty("4294967294") && arr.length === 4294967295 && arr[4294967294] === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-18.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-18.js
index 5b8fb6114..7c213b45f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-18.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-18.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-18.js
- * @description Object.defineProperties - 'O' is a Date object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- var obj = new Date();
-
- Object.defineProperty(obj, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is a Date object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = new Date();
+
+ Object.defineProperty(obj, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-180.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-180.js
index 23e9d1c73..9a65b20d4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-180.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-180.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-180.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is boundary value 2^32 - 1 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "4294967295": {
- value: 100
- }
- });
-
- return arr.hasOwnProperty("4294967295") && arr.length === 0 && arr[4294967295] === 100;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is boundary value 2^32 - 1 (15.4.5.1 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "4294967295": {
+ value: 100
+ }
+ });
+
+ return arr.hasOwnProperty("4294967295") && arr.length === 0 && arr[4294967295] === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-181.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-181.js
index 1278c013c..4428a5ff9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-181.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-181.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-181.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is boundary value 2^32 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "4294967296": {
- value: 100
- }
- });
-
- return arr.hasOwnProperty("4294967296") && arr.length === 0 && arr[4294967296] === 100;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is boundary value 2^32 (15.4.5.1 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "4294967296": {
+ value: 100
+ }
+ });
+
+ return arr.hasOwnProperty("4294967296") && arr.length === 0 && arr[4294967296] === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-182.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-182.js
index eb1935bb2..47e0a4244 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-182.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-182.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-182.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is boundary value 2^32 + 1 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "4294967297": {
- value: 100
- }
- });
-
- return arr.hasOwnProperty("4294967297") && arr.length === 0 && arr[4294967297] === 100;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is boundary value 2^32 + 1 (15.4.5.1 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "4294967297": {
+ value: 100
+ }
+ });
+
+ return arr.hasOwnProperty("4294967297") && arr.length === 0 && arr[4294967297] === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-183.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-183.js
index 7e4b07fbf..91adc50d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-183.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-183.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-183.js
- * @description Object.defineProperties - TypeError is not thrown if 'O' is an Array, 'P' is an array index named property, [[Writable]] attribute of the length property in 'O' is false, value of 'P' is less than value of the length property in'O' (15.4.5.1 step 4.b)
- */
-
-
-function testcase() {
- var arr = [1, 2, 3];
-
- Object.defineProperty(arr, "length", {
- writable: false
- });
-
- Object.defineProperties(arr, {
- "1": {
- value: "abc"
- }
- });
-
- return arr[0] === 1 && arr[1] === "abc" && arr[2] === 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: >
+ Object.defineProperties - TypeError is not thrown if 'O' is an
+ Array, 'P' is an array index named property, [[Writable]]
+ attribute of the length property in 'O' is false, value of 'P' is
+ less than value of the length property in'O' (15.4.5.1 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [1, 2, 3];
+
+ Object.defineProperty(arr, "length", {
+ writable: false
+ });
+
+ Object.defineProperties(arr, {
+ "1": {
+ value: "abc"
+ }
+ });
+
+ return arr[0] === 1 && arr[1] === "abc" && arr[2] === 3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-184.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-184.js
index 250d768af..e99cd8fd0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-184.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-184.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-184.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property,[[Writable]] attribute of the length property in 'O' is false, value of 'P' is equal to value of the length property in 'O' (15.4.5.1 step 4.b)
- */
-
-
-function testcase() {
- var arr = [1, 2, 3];
-
- Object.defineProperty(arr, "length", {
- writable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "3": {
- value: "abc"
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === 1 &&
- arr[1] === 2 && arr[2] === 3 && !arr.hasOwnProperty("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: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property,[[Writable]] attribute of the
+ length property in 'O' is false, value of 'P' is equal to value of
+ the length property in 'O' (15.4.5.1 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [1, 2, 3];
+
+ Object.defineProperty(arr, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "3": {
+ value: "abc"
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === 1 &&
+ arr[1] === 2 && arr[2] === 3 && !arr.hasOwnProperty("3");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-185.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-185.js
index e763b8f4a..7e9ffcff0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-185.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-185.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-185.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property,[[Writable]] attribute of the length property in 'O' is false, value of 'P' is bigger than value of the length property in 'O' (15.4.5.1 step 4.b)
- */
-
-
-function testcase() {
- var arr = [1, 2, 3];
-
- Object.defineProperty(arr, "length", {
- writable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "4": {
- value: "abc"
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === 1 && arr[1] === 2 &&
- arr[2] === 3 && !arr.hasOwnProperty("3") && !arr.hasOwnProperty("4");
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property,[[Writable]] attribute of the
+ length property in 'O' is false, value of 'P' is bigger than value
+ of the length property in 'O' (15.4.5.1 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [1, 2, 3];
+
+ Object.defineProperty(arr, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "4": {
+ value: "abc"
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === 1 && arr[1] === 2 &&
+ arr[2] === 3 && !arr.hasOwnProperty("3") && !arr.hasOwnProperty("4");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-186.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-186.js
index 836d3c16d..da5963a77 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-186.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-186.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-186.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is own data property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- Object.defineProperty(arr, 0, {
- value: "ownDataProperty",
- configurable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: "abc",
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === "ownDataProperty";
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is own data property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+ Object.defineProperty(arr, 0, {
+ value: "ownDataProperty",
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: "abc",
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === "ownDataProperty";
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-187.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-187.js
index 47e3f48c2..94b7c5de2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-187.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-187.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-187.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is inherited data property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- value: 11,
- configurable: true
- });
-
- var arr = [];
-
- Object.defineProperties(arr, {
- "0": {
- configurable: false
- }
- });
- return arr.hasOwnProperty("0") && typeof arr[0] === "undefined" && Array.prototype[0] === 11;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is inherited data property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ value: 11,
+ configurable: true
+ });
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: false
+ }
+ });
+ return arr.hasOwnProperty("0") && typeof arr[0] === "undefined" && Array.prototype[0] === 11;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-188.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-188.js
index a440ae284..ab12123d6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-188.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-188.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-188.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is own data property that overrides an inherited data property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- value: 11,
- configurable: true
- });
-
- var arr = [];
- Object.defineProperty(arr, "0", {
- value: 12,
- configurable: false
- });
-
- Object.defineProperties(arr, {
- "0": {
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is own data property that overrides an
+ inherited data property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ value: 11,
+ configurable: true
+ });
+
+ var arr = [];
+ Object.defineProperty(arr, "0", {
+ value: 12,
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-189.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-189.js
index db92f74b0..0a4719fd6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-189.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-189.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-189.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is own data property that overrides an inherited accessor property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- var arr = [];
- Object.defineProperty(arr, "0", {
- value: 12,
- configurable: false
- });
-
- Object.defineProperties(arr, {
- "0": {
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is own data property that overrides an
+ inherited accessor property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ var arr = [];
+ Object.defineProperty(arr, "0", {
+ value: 12,
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-19.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-19.js
index 74942c8c8..7850a69c2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-19.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-19.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-19.js
- * @description Object.defineProperties - 'O' is a RegExp object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- var obj = new RegExp();
-
- Object.defineProperty(obj, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is a RegExp object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = new RegExp();
+
+ Object.defineProperty(obj, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-190.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-190.js
index 3b42f283b..d15aa6250 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-190.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-190.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-190.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is own accessor property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- get: function () {
- return 11;
- },
- configurable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- get: function () {
- return 12;
- },
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is own accessor property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === 11;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-191.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-191.js
index d0ff1a063..3484ebdf5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-191.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-191.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-191.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, 'P' is inherited accessor property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- var arr = [];
-
- Object.defineProperties(arr, {
- "0": {
- get: function () {
- return 12;
- },
- configurable: false
- }
- });
- return arr.hasOwnProperty("0") && arr[0] === 12 && Array.prototype[0] === 11;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, 'P' is inherited accessor property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "0": {
+ get: function () {
+ return 12;
+ },
+ configurable: false
+ }
+ });
+ return arr.hasOwnProperty("0") && arr[0] === 12 && Array.prototype[0] === 11;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-192.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-192.js
index 57fd72825..057e3c6c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-192.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-192.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-192.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is own accessor property that overrides an inherited data property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- value: 11,
- configurable: true
- });
-
- var arr = [];
- Object.defineProperty(arr, "0", {
- get: function () {
- return 12;
- },
- configurable: false
- });
-
- Object.defineProperties(arr, {
- "0": {
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is own accessor property that overrides an
+ inherited data property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ value: 11,
+ configurable: true
+ });
+
+ var arr = [];
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 12;
+ },
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-193.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-193.js
index 4968f669c..f0f8519aa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-193.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-193.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-193.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' is own accessor property that overrides an inherited accessor property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- var arr = [];
- Object.defineProperty(arr, "0", {
- get: function () {
- return 12;
- },
- configurable: false
- });
-
- Object.defineProperties(arr, {
- "0": {
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
- } 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' is own accessor property that overrides an
+ inherited accessor property (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ var arr = [];
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 12;
+ },
+ configurable: false
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arr[0] === 12 && Array.prototype[0] === 11;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-194.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-194.js
index f69a58617..b49c3f96e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-194.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-194.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-194.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test TypeError is thrown when 'O' is not extensible (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- Object.preventExtensions(arr);
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: 1
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && (arr.hasOwnProperty("0") === false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test TypeError
+ is thrown when 'O' is not extensible (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+ Object.preventExtensions(arr);
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: 1
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && (arr.hasOwnProperty("0") === false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-195.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-195.js
index 4ce56f1eb..5dbe78403 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-195.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-195.js
@@ -1,23 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-195.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test 'P' is defined as data property when 'desc' is generic descriptor (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "0": {
- enumerable: true
- }
- });
-
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, true, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test 'P' is
+ defined as data property when 'desc' is generic descriptor
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "0": {
+ enumerable: true
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-196.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-196.js
index 99f55fb78..bb516ccf9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-196.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-196.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-196.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Value]] of 'P' property in 'Attributes' is set as undefined value if [[Value]] is absent in data descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "0": {
- writable: true,
- enumerable: true,
- configurable: false
- }
- });
-
- return arr.hasOwnProperty("0") && typeof (arr[0]) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test [[Value]]
+ of 'P' property in 'Attributes' is set as undefined value if
+ [[Value]] is absent in data descriptor 'desc' (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "0": {
+ writable: true,
+ enumerable: true,
+ configurable: false
+ }
+ });
+
+ return arr.hasOwnProperty("0") && typeof (arr[0]) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-197.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-197.js
index 3271212d5..e233d8e72 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-197.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-197.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-197.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Writable]] of 'P' property in 'Attributes' is set as false value if [[Writable]] is absent in data descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- var isOwnProperty = false;
- var canWritable = false;
-
- Object.defineProperties(arr, {
- "0": {
- value: 1001,
- enumerable: true,
- configurable: false
- }
- });
-
- isOwnProperty = arr.hasOwnProperty("0");
-
- arr[0] = 12;
-
- canWritable = (arr[0] === 12);
-
- return isOwnProperty && !canWritable && arr[0] === 1001;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test
+ [[Writable]] of 'P' property in 'Attributes' is set as false value
+ if [[Writable]] is absent in data descriptor 'desc' (15.4.5.1
+ step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+ var isOwnProperty = false;
+ var canWritable = false;
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: 1001,
+ enumerable: true,
+ configurable: false
+ }
+ });
+
+ isOwnProperty = arr.hasOwnProperty("0");
+
+ arr[0] = 12;
+
+ canWritable = (arr[0] === 12);
+
+ return isOwnProperty && !canWritable && arr[0] === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-198.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-198.js
index a03637be6..99446779d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-198.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-198.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-198.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Enumerable]] of 'P' property in 'Attributes' is set as false value if [[Enumerable]] is absent in data descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- var isOwnProperty = false;
- var canEnumerable = false;
-
- Object.defineProperties(arr, {
- "0": {
- value: 1001,
- writable: true,
- configurable: true
- }
- });
-
- isOwnProperty = arr.hasOwnProperty("0");
- for (var i in arr) {
- if (i === "0") {
- canEnumerable = true;
- }
- }
- return isOwnProperty && !canEnumerable && arr[0] === 1001;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test
+ [[Enumerable]] of 'P' property in 'Attributes' is set as false
+ value if [[Enumerable]] is absent in data descriptor 'desc'
+ (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+ var isOwnProperty = false;
+ var canEnumerable = false;
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: 1001,
+ writable: true,
+ configurable: true
+ }
+ });
+
+ isOwnProperty = arr.hasOwnProperty("0");
+ for (var i in arr) {
+ if (i === "0") {
+ canEnumerable = true;
+ }
+ }
+ return isOwnProperty && !canEnumerable && arr[0] === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-199.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-199.js
index 50ca00dd4..660e9bf3a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-199.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-199.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-199.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Configurable]] of 'P' property in 'Attributes' is set as false value if [[Configurable]] is absent in data descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- var beforeDeleted = false;
- var afterDeleted = false;
-
- Object.defineProperties(arr, {
- "0": {
- value: 1001,
- writable: true,
- enumerable: true
- }
- });
-
- beforeDeleted = arr.hasOwnProperty("0");
- delete arr[0];
- afterDeleted = arr.hasOwnProperty("0");
- return beforeDeleted && afterDeleted && arr[0] === 1001;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test
+ [[Configurable]] of 'P' property in 'Attributes' is set as false
+ value if [[Configurable]] is absent in data descriptor 'desc'
+ (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+ var beforeDeleted = false;
+ var afterDeleted = false;
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: 1001,
+ writable: true,
+ enumerable: true
+ }
+ });
+
+ beforeDeleted = arr.hasOwnProperty("0");
+ delete arr[0];
+ afterDeleted = arr.hasOwnProperty("0");
+ return beforeDeleted && afterDeleted && arr[0] === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-2.js
index c3d5a7530..9bb87975b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-2.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-2.js
- * @description Object.defineProperties - 'P' is inherited data property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- value: 11,
- configurable: false
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
-
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
-
- return dataPropertyAttributesAreCorrect(obj, "prop", 12, false, false, 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: >
+ Object.defineProperties - 'P' is inherited data property (8.12.9
+ step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ value: 11,
+ configurable: false
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "prop", 12, false, false, true);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-20.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-20.js
index 8617309e9..52a144deb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-20.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-20.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-20.js
- * @description Object.defineProperties - 'O' is a JSON object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty(JSON, "prop", {
- value: 11,
- writable: true,
- configurable: true
- });
- var hasProperty = JSON.hasOwnProperty("prop") && JSON.prop === 11;
- Object.defineProperties(JSON, {
- prop: {
- value: 12
- }
- });
- return hasProperty && JSON.prop === 12;
- } finally {
- delete JSON.prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is a JSON object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty(JSON, "prop", {
+ value: 11,
+ writable: true,
+ configurable: true
+ });
+ var hasProperty = JSON.hasOwnProperty("prop") && JSON.prop === 11;
+ Object.defineProperties(JSON, {
+ prop: {
+ value: 12
+ }
+ });
+ return hasProperty && JSON.prop === 12;
+ } finally {
+ delete JSON.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-200.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-200.js
index 81f52138e..3c19beed4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-200.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-200.js
@@ -1,26 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-200.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'desc' is data descriptor, test updating all attribute values of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [1]; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(arr, {
- "0": {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: false
- }
- });
-
- return dataPropertyAttributesAreCorrect(arr, "0", 1001, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'desc' is data descriptor, test updating all
+ attribute values of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [1]; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arr, "0", 1001, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-201.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-201.js
index 19a88731b..135cfa9a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-201.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-201.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-201.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Get]] of 'P' property in 'Attributes' is set as undefined value if [[Get]] is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "0": {
- set: function () { },
- enumerable: true,
- configurable: true
- }
- });
-
- return arr.hasOwnProperty("0") && typeof (arr[0]) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test [[Get]] of
+ 'P' property in 'Attributes' is set as undefined value if [[Get]]
+ is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "0": {
+ set: function () { },
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ return arr.hasOwnProperty("0") && typeof (arr[0]) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-202.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-202.js
index f07424e16..3e651cab5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-202.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-202.js
@@ -1,43 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-202.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Set]] of 'P' property in 'Attributes' is set as undefined value if [[Set]] is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- var getFunc = function () {
- return 11;
- };
-
- Object.defineProperties(arr, {
- "0": {
- get: getFunc,
- enumerable: true,
- configurable: true
- }
- });
-
- var verifyEnumerable = false;
- for (var i in arr) {
- if (i === "0" && arr.hasOwnProperty("0")) {
- verifyEnumerable = true;
- }
- }
-
- var desc = Object.getOwnPropertyDescriptor(arr, "0");
- var propertyDefineCorrect = arr.hasOwnProperty("0");
-
- var verifyConfigurable = false;
- delete arr[0];
- verifyConfigurable = arr.hasOwnProperty("0");
- return typeof desc.set === "undefined" && propertyDefineCorrect &&
- desc.get === getFunc && !verifyConfigurable && verifyEnumerable;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test [[Set]] of
+ 'P' property in 'Attributes' is set as undefined value if [[Set]]
+ is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+ var getFunc = function () {
+ return 11;
+ };
+
+ Object.defineProperties(arr, {
+ "0": {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ var verifyEnumerable = false;
+ for (var i in arr) {
+ if (i === "0" && arr.hasOwnProperty("0")) {
+ verifyEnumerable = true;
+ }
+ }
+
+ var desc = Object.getOwnPropertyDescriptor(arr, "0");
+ var propertyDefineCorrect = arr.hasOwnProperty("0");
+
+ var verifyConfigurable = false;
+ delete arr[0];
+ verifyConfigurable = arr.hasOwnProperty("0");
+ return typeof desc.set === "undefined" && propertyDefineCorrect &&
+ desc.get === getFunc && !verifyConfigurable && verifyEnumerable;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-203.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-203.js
index b68da7b61..bcc25b9a6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-203.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-203.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-203.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Enumerable]] of 'P' property in 'Attributes' is set as false value if [[Enumerable]] is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "0": {
- set: function () { },
- get: function () { },
- configurable: true
- }
- });
-
- for (var i in arr) {
- if (i === "0" && arr.hasOwnProperty("0")) {
- return 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test
+ [[Enumerable]] of 'P' property in 'Attributes' is set as false
+ value if [[Enumerable]] is absent in accessor descriptor 'desc'
+ (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "0": {
+ set: function () { },
+ get: function () { },
+ configurable: true
+ }
+ });
+
+ for (var i in arr) {
+ if (i === "0" && arr.hasOwnProperty("0")) {
+ return false;
+ }
+ }
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-204.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-204.js
index af338c938..8a93d56c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-204.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-204.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-204.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' property doesn't exist in 'O', test [[Configurable]] of 'P' property in 'Attributes' is set as false value if [[Configurable]] is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- var beforeDeleted = false;
- var afterDeleted = false;
- arr.verifySetter = 100;
-
- Object.defineProperties(arr, {
- "0": {
- set: function (value) {
- arr.verifySetter = value;
- },
- get: function () {
- return arr.verifySetter;
- },
- enumerable: true
- }
- });
-
- beforeDeleted = arr.hasOwnProperty("0");
- delete arr[0];
- afterDeleted = arr.hasOwnProperty("0");
-
- arr[0] = 101;
-
- return beforeDeleted && afterDeleted && arr[0] === 101 && arr.verifySetter === 101;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' property doesn't exist in 'O', test
+ [[Configurable]] of 'P' property in 'Attributes' is set as false
+ value if [[Configurable]] is absent in accessor descriptor 'desc'
+ (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arr = [];
+ var beforeDeleted = false;
+ var afterDeleted = false;
+ arr.verifySetter = 100;
+
+ Object.defineProperties(arr, {
+ "0": {
+ set: function (value) {
+ arr.verifySetter = value;
+ },
+ get: function () {
+ return arr.verifySetter;
+ },
+ enumerable: true
+ }
+ });
+
+ beforeDeleted = arr.hasOwnProperty("0");
+ delete arr[0];
+ afterDeleted = arr.hasOwnProperty("0");
+
+ arr[0] = 101;
+
+ return beforeDeleted && afterDeleted && arr[0] === 101 && arr.verifySetter === 101;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-205.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-205.js
index 664513e10..702695ef9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-205.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-205.js
@@ -1,43 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-205.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'desc' is accessor descriptor, test updating all attribute values of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperties(arr, {
- "0": {
- get: function () {
- return 11;
- },
- set: function () { },
- configurable: true,
- enumerable: true
- }
- });
-
- var setFun = function (value) {
- arr.setVerifyHelpProp = value;
- };
- var getFun = function () {
- return 14;
- };
- Object.defineProperties(arr, {
- "0": {
- get: getFun,
- set: setFun,
- configurable: false,
- enumerable: false
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arr, "0", getFun, setFun, "setVerifyHelpProp", false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'desc' is accessor descriptor, test updating all
+ attribute values of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "0": {
+ get: function () {
+ return 11;
+ },
+ set: function () { },
+ configurable: true,
+ enumerable: true
+ }
+ });
+
+ var setFun = function (value) {
+ arr.setVerifyHelpProp = value;
+ };
+ var getFun = function () {
+ return 14;
+ };
+ Object.defineProperties(arr, {
+ "0": {
+ get: getFun,
+ set: setFun,
+ configurable: false,
+ enumerable: false
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arr, "0", getFun, setFun, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-206.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-206.js
index 2bb1df806..5c565aca1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-206.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-206.js
@@ -1,26 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-206.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' makes no change if every field in 'desc' is absent (name is data property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- arr[0] = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- try {
- Object.defineProperties(arr, {
- "0": {}
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 101, true, true, true);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' makes no change if every field in 'desc' is
+ absent (name is data property) (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ arr[0] = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {}
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 101, true, true, true);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-207.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-207.js
index 7633bd2b4..3bc112dcb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-207.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-207.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-207.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' makes no change if every field in 'desc' is absent (name is accessor property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- function get_func() {
- return 11;
- }
- function set_func(value) {
- arr.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arr, "0", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {}
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", get_func, set_func, "setVerifyHelpProp", true, true);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' makes no change if every field in 'desc' is
+ absent (name is accessor property) (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function get_func() {
+ return 11;
+ }
+ function set_func(value) {
+ arr.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arr, "0", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {}
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", get_func, set_func, "setVerifyHelpProp", true, true);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-208.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-208.js
index c251283c4..f794c33ac 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-208.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-208.js
@@ -1,28 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-208.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' makes no change if the value of every field in 'desc' is the same value as the corresponding field in 'P'(desc is data property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- arr[0] = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(arr, {
- "0": {
- value: 100,
- writable: true,
- enumerable: true,
- configurable: true
- }
- });
-
- return dataPropertyAttributesAreCorrect(arr, "0", 100, true, true, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' makes no change if the value of every field in
+ 'desc' is the same value as the corresponding field in 'P'(desc is
+ data property) (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ arr[0] = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: 100,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arr, "0", 100, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-209.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-209.js
index c22d5c5e8..cee0107e2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-209.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-209.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-209.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, 'P' makes no change if the value of every field in 'desc' is the same value as the corresponding field in 'P'(desc is accessor property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- var get_func = function () {
- return "100";
- };
- var set_func = function (value) {
- arr.setVerifyHelpProp = value;
- };
-
- var descObj = {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- };
-
- var properties = {
- "0": descObj
- };
-
- Object.defineProperty(arr, "0", descObj);
-
- Object.defineProperties(arr, properties);
-
- return accessorPropertyAttributesAreCorrect(arr, "0", get_func, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, 'P' makes no change if the value of every field in
+ 'desc' is the same value as the corresponding field in 'P'(desc is
+ accessor property) (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+ var get_func = function () {
+ return "100";
+ };
+ var set_func = function (value) {
+ arr.setVerifyHelpProp = value;
+ };
+
+ var descObj = {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ };
+
+ var properties = {
+ "0": descObj
+ };
+
+ Object.defineProperty(arr, "0", descObj);
+
+ Object.defineProperties(arr, properties);
+
+ return accessorPropertyAttributesAreCorrect(arr, "0", get_func, set_func, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-21.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-21.js
index 9d04000ad..4337a5d08 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-21.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-21.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-21.js
- * @description Object.defineProperties - 'O' is an Error object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- var obj = new Error();
-
- Object.defineProperty(obj, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Error object which implements
+ its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = new Error();
+
+ Object.defineProperty(obj, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(obj, "prop", 11, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-210.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-210.js
index 5f4f1c268..3d3518877 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-210.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-210.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-210.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, both the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: undefined
- });
-
- Object.defineProperties(arr, {
- "0": {
- value: undefined
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, both the [[Value]] field of 'desc' and the
+ [[Value]] attribute value of 'name' are undefined (15.4.5.1 step
+ 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: undefined
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: undefined
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-211.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-211.js
index ff4fba3cd..8559e3c8d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-211.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-211.js
@@ -1,26 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-211.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, both the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are null (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: null
- });
-
- Object.defineProperties(arr, {
- "0": {
- value: null
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", null, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, both the [[Value]] field of 'desc' and the
+ [[Value]] attribute value of 'name' are null (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: null
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: null
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", null, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-212.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-212.js
index b6b528086..ed09c48d9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-212.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-212.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-212.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, both the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are NaN (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: NaN
- });
-
- Object.defineProperties(arr, {
- "0": {
- value: NaN
- }
- });
-
- return dataPropertyAttributesAreCorrect(arr, "0", NaN, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, both the [[Value]] field of 'desc' and the
+ [[Value]] attribute value of 'name' are NaN (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: NaN
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ value: NaN
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arr, "0", NaN, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-213.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-213.js
index e9fa73203..3ca2e8c49 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-213.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-213.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-213.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, the [[Value]] field of 'desc' is +0, and the [[Value]] attribute value of 'name' is -0 (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: -0
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: +0
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "0", -0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, the [[Value]] field of 'desc' is +0, and the
+ [[Value]] attribute value of 'name' is -0 (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: -0
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: +0
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "0", -0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-214.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-214.js
index 4bc0fc555..7ff6c5a1a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-214.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-214.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-214.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, the [[Value]] field of 'desc' is -0, and the [[Value]] attribute value of 'name' is +0 (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: +0
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: -0
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "0", +0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, the [[Value]] field of 'desc' is -0, and the
+ [[Value]] attribute value of 'name' is +0 (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: +0
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: -0
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "0", +0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-215.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-215.js
index 7b9ba2101..fba89a855 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-215.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-215.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-215.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two numbers with same vaule (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: 101
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: 101
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 101, false, false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, the [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'name' are two numbers with same vaule
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: 101
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: 101
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 101, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-216.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-216.js
index aeb8f7c2e..d96297959 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-216.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-216.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-216.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two strings which have same length and same characters in corresponding positions (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: "abcd"
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: "abcd"
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", "abcd", false, false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, the [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'name' are two strings which have same length
+ and same characters in corresponding positions (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: "abcd"
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: "abcd"
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", "abcd", false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-217.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-217.js
index 358ecfdbf..9f72e4a4c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-217.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-217.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-217.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two booleans with same value (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- value: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: true
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", true, false, false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, the [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'name' are two booleans with same value
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ value: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", true, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-218.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-218.js
index 8a2fed488..72c13eb13 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-218.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-218.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-218.js
- * @description Object.defineProperties - 'O' is an Array, 'name' is an array index property, the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two objects which refer to the same object (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- var obj1 = { length: 10 };
- Object.defineProperty(arr, "0", {
- value: obj1
- });
-
- var properties = {
- "0": {
- value: obj1
- }
- };
- try {
- Object.defineProperties(arr, properties);
- return dataPropertyAttributesAreCorrect(arr, "0", obj1, false, false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'name' is an array
+ index property, the [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'name' are two objects which refer to the same
+ object (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ var obj1 = { length: 10 };
+ Object.defineProperty(arr, "0", {
+ value: obj1
+ });
+
+ var properties = {
+ "0": {
+ value: obj1
+ }
+ };
+ try {
+ Object.defineProperties(arr, properties);
+ return dataPropertyAttributesAreCorrect(arr, "0", obj1, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-219.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-219.js
index 5f2809739..d7ea32b44 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-219.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-219.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-219.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property that already exists on 'O' with [[Writable]] true, and the [[Writable]] field of 'desc' is true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- writable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- writable: true
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, true, false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property that already exists on 'O' with [[Writable]] true, and
+ the [[Writable]] field of 'desc' is true (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ writable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ writable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, true, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-22.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-22.js
index 814b62c10..b4ed761be 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-22.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-22.js
@@ -1,34 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-22.js
- * @description Object.defineProperties - 'O' is the Arguments object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var arg = function () {
- return arguments;
- }();
-
- Object.defineProperty(arg, "prop", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is the Arguments object which
+ implements its own [[GetOwnProperty]] method to get 'P' (8.12.9
+ step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arg = function () {
+ return arguments;
+ }();
+
+ Object.defineProperty(arg, "prop", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-220.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-220.js
index 5751505f6..bfe449444 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-220.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-220.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-220.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property that already exists on 'O' with [[Writable]] true, and the [[Writable]] field of 'desc' is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- writable: true,
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- writable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, true);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property that already exists on 'O' with [[Writable]] true, and
+ the [[Writable]] field of 'desc' is false (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ writable: true,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ writable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, true);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-221.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-221.js
index 9d76013b8..ec0392cee 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-221.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-221.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-221.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, the [[Get]] field of 'desc' and the [[Get]] attribute value of 'P' are two objects which refer to the same object (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- function get_func() {
- return 10;
- }
-
- Object.defineProperty(arr, "0", {
- get: get_func
- });
-
- Object.defineProperties(arr, {
- "0": {
- get: get_func
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", get_func, undefined, undefined, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, the [[Get]] field of 'desc' and the [[Get]] attribute
+ value of 'P' are two objects which refer to the same object
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function get_func() {
+ return 10;
+ }
+
+ Object.defineProperty(arr, "0", {
+ get: get_func
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ get: get_func
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", get_func, undefined, undefined, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-222.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-222.js
index ed8f520c5..123e311d2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-222.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-222.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-222.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, the [[Set]] field of 'desc' and the [[Set]] attribute value of 'P' are two objects which refer to the same object (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- function set_func(value) {
- arr.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arr, "0", {
- set: set_func
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- set: set_func
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_func, "setVerifyHelpProp", false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, the [[Set]] field of 'desc' and the [[Set]] attribute
+ value of 'P' are two objects which refer to the same object
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function set_func(value) {
+ arr.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arr, "0", {
+ set: set_func
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ set: set_func
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_func, "setVerifyHelpProp", false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-223.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-223.js
index f4f0bf8eb..61291f4df 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-223.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-223.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-223.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property that already exists on 'O' with [[Enumerable]] true, the [[Enumerable]] field of 'desc' is true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- enumerable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- enumerable: true
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, true, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property that already exists on 'O' with [[Enumerable]] true, the
+ [[Enumerable]] field of 'desc' is true (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ enumerable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ enumerable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, true, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-224.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-224.js
index 9d7e680a9..ed20433d2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-224.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-224.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-224.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property that already exists on 'O' with [[Enumerable]] true, the [[Enumerable]] field of 'desc' is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- enumerable: true,
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- enumerable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, true);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property that already exists on 'O' with [[Enumerable]] true, the
+ [[Enumerable]] field of 'desc' is false (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ enumerable: true,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ enumerable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, true);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-225.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-225.js
index f947630f7..0a0d3efe7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-225.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-225.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-225.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property that already exists on 'O' with [[Configurable]] true, the [[Configurable]] field of 'desc' is true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- configurable: true
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, true);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property that already exists on 'O' with [[Configurable]] true,
+ the [[Configurable]] field of 'desc' is true (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, true);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-226.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-226.js
index aa9dfacbc..6934d6a77 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-226.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-226.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-226.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property that already exists on 'O' with [[Configurable]] true, the [[Configurable]] field of 'desc' is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, false);
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property that already exists on 'O' with [[Configurable]] true,
+ the [[Configurable]] field of 'desc' is false (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js
index aca720002..becf0539b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, TypeError is thrown if the [[Configurable]] attribute value of 'P' is false and the [[Configurable]] field of 'desc' is true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: 3,
- configurable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: 13,
- configurable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, TypeError is thrown if the [[Configurable]] attribute
+ value of 'P' is false and the [[Configurable]] field of 'desc' is
+ true (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: 3,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: 13,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js
index 80f80401f..58f2af16c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, TypeError is thrown if the [[Configurable]] attribute value of 'P' is false, and [[Enumerable]] of 'desc' is present and its value is different from the [[Enumerable]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: 3,
- configurable: false,
- enumerable: false
-
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: 13,
- enumerable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, TypeError is thrown if the [[Configurable]] attribute
+ value of 'P' is false, and [[Enumerable]] of 'desc' is present and
+ its value is different from the [[Enumerable]] attribute value of
+ 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: 3,
+ configurable: false,
+ enumerable: false
+
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: 13,
+ enumerable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js
index abb13a067..91e82ccc5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, TypeError is thrown if 'P' is accessor property, and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'P' is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arr, "1", {
- set: set_fun,
- configurable: false
-
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: 13
- }
- });
- return false;
-
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, TypeError is thrown if 'P' is accessor property, and
+ 'desc' is data descriptor, and the [[Configurable]] attribute
+ value of 'P' is false (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arr, "1", {
+ set: set_fun,
+ configurable: false
+
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: 13
+ }
+ });
+ return false;
+
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js
index 560983f99..4b43fd1a0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, TypeError is thrown if 'P' is data property, and'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'P' is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: 3,
- configurable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- set: function () { }
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, TypeError is thrown if 'P' is data property, and'desc'
+ is accessor descriptor, and the [[Configurable]] attribute value
+ of 'P' is false (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: 3,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ set: function () { }
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-231.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-231.js
index e5743f430..cf6bf47e9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-231.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-231.js
@@ -1,28 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-231.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, 'P' is data property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'P' is true, test 'P' is converted from data property to accessor property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- arr[1] = 3; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(arr, {
- "1": {
- set: set_fun
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, 'P' is data property and 'desc' is accessor descriptor,
+ and the [[Configurable]] attribute value of 'P' is true, test 'P'
+ is converted from data property to accessor property (15.4.5.1
+ step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+ arr[1] = 3; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(arr, {
+ "1": {
+ set: set_fun
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-232.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-232.js
index 680b80244..4e56668d1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-232.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-232.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-232.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, 'P' is accessor property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'P' is true, test 'P' is converted from accessor property to data property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- get: function () {
- return 3;
- },
- configurable: true
-
- });
-
- Object.defineProperties(arr, {
- "1": {
- value: 12
- }
- });
-
- return dataPropertyAttributesAreCorrect(arr, "1", 12, false, false, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, 'P' is accessor property and 'desc' is data descriptor,
+ and the [[Configurable]] attribute value of 'P' is true, test 'P'
+ is converted from accessor property to data property (15.4.5.1
+ step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 3;
+ },
+ configurable: true
+
+ });
+
+ Object.defineProperties(arr, {
+ "1": {
+ value: 12
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arr, "1", 12, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js
index a1ebe30d4..0d03ee7c7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, 'P' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'P' is false, test TypeError is thrown if the [[Writable]] attribute value of 'P' is false and the [[Writable]] field of 'desc' is true. (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- configurable: false,
- writable: false
-
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- writable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", undefined, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, 'P' is data property and 'desc' is data descriptor, and
+ the [[Configurable]] attribute value of 'P' is false, test
+ TypeError is thrown if the [[Writable]] attribute value of 'P' is
+ false and the [[Writable]] field of 'desc' is true. (15.4.5.1
+ step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ configurable: false,
+ writable: false
+
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ writable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", undefined, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js
index e845afd70..3c8bb50cc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index property, 'P' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'P' is false, test TypeError is thrown if the [[Writable]] attribute value of 'P' is false, and the type of the [[Value]] field of 'desc' is different from the type of the [[Value]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: 3,
- configurable: false,
- writable: false
- });
-
- try {
-
- Object.defineProperties(arr, {
- "1": {
- value: "abc"
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ property, 'P' is data property and 'desc' is data descriptor, and
+ the [[Configurable]] attribute value of 'P' is false, test
+ TypeError is thrown if the [[Writable]] attribute value of 'P' is
+ false, and the type of the [[Value]] field of 'desc' is different
+ from the type of the [[Value]] attribute value of 'P' (15.4.5.1
+ step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: 3,
+ configurable: false,
+ writable: false
+ });
+
+ try {
+
+ Object.defineProperties(arr, {
+ "1": {
+ value: "abc"
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js
index cd4347031..337bedebc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property with [[Configurable]], [[Writable]] false, 'desc' is data descriptor, [[Value]] field of 'desc' is +0, and the [[Value]] attribute value of 'P' is -0 (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: +0
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: -0
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", +0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ data property with [[Configurable]], [[Writable]] false, 'desc'
+ is data descriptor, [[Value]] field of 'desc' is +0, and the
+ [[Value]] attribute value of 'P' is -0 (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: +0
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: -0
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", +0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js
index faa063cfa..ed597d5df 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property with [[Configurable]], [[Writable]] false, 'desc' is data descriptor, [[Value]] field of 'desc' is -0, and the [[Value]] attribute value of 'P' is +0 (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: -0
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: +0
- }
- });
-
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", -0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ data property with [[Configurable]], [[Writable]] false, 'desc'
+ is data descriptor, [[Value]] field of 'desc' is -0, and the
+ [[Value]] attribute value of 'P' is +0 (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: -0
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: +0
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", -0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js
index 06e89eccf..88bc75d35 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property with [[Configurable]], [[Writable]] false, 'desc' is data descriptor, [[Value]] field of 'desc' and the [[Value]] attribute value of 'P' are two numbers with different vaule (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: 12
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: 36
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 12, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ data property with [[Configurable]], [[Writable]] false, 'desc'
+ is data descriptor, [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'P' are two numbers with different vaule
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: 12
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: 36
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js
index f95e027dd..fe7b0232f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property with [[Configurable]], [[Writable]] false, 'desc' is data descriptor, [[Value]] field of 'desc' and the [[Value]] attribute value of 'P' are two strings with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: "abcd"
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: "efgh"
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", "abcd", false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ data property with [[Configurable]], [[Writable]] false, 'desc'
+ is data descriptor, [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'P' are two strings with different values
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: "abcd"
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: "efgh"
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", "abcd", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js
index e982fca2e..62272d754 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property with [[Configurable]], [[Writable]] false, 'desc' is data descriptor, [[Value]] field of 'desc' and the [[Value]] attribute value of 'P' are two booleans with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- value: true
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: false
- }
- });
-
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", true, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ data property with [[Configurable]], [[Writable]] false, 'desc'
+ is data descriptor, [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'P' are two booleans with different values
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ value: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: false
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", true, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-24.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-24.js
index d96a7103c..a9f81e747 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-24.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-24.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-24.js
- * @description Object.defineProperties - 'O' is the global object which implements its own [[GetOwnProperty]] method to get 'P' (8.12.9 step 1 )
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty(fnGlobalObject(), "prop", {
- value: 11,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(fnGlobalObject(), {
- prop: {
- value: 12
- }
- });
- return dataPropertyAttributesAreCorrect(fnGlobalObject(), "prop", 12, true, true, true);
- } finally {
- delete fnGlobalObject().prop;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is the global object which
+ implements its own [[GetOwnProperty]] method to get 'P' (8.12.9
+ step 1 )
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty(fnGlobalObject(), "prop", {
+ value: 11,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(fnGlobalObject(), {
+ prop: {
+ value: 12
+ }
+ });
+ return dataPropertyAttributesAreCorrect(fnGlobalObject(), "prop", 12, true, true, true);
+ } finally {
+ delete fnGlobalObject().prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js
index df1f8ef42..bccba6fef 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property with [[Configurable]], [[Writable]] false, 'desc' is data descriptor, [[Value]] field of 'desc' and the [[Value]] attribute value of 'P' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
- var obj1 = { value: 12 };
- var obj2 = { value: 36 };
-
- Object.defineProperty(arr, "1", {
- value: obj1
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- value: obj2
- }
- });
-
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", obj1, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ data property with [[Configurable]], [[Writable]] false, 'desc'
+ is data descriptor, [[Value]] field of 'desc' and the [[Value]]
+ attribute value of 'P' are two objects which refer to the
+ different objects (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+ var obj1 = { value: 12 };
+ var obj2 = { value: 36 };
+
+ Object.defineProperty(arr, "1", {
+ value: obj1
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ value: obj2
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "1", obj1, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js
index c1e3ebdd5..d0c4d734a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property with [[Configurable]] false, 'desc' is accessor descriptor, the [[Set]] field of 'desc' is present, and the [[Set]] field of 'desc' and the [[Set]] attribute value of 'P' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "1", {
- set: set_fun
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- set: function () { }
- }
- });
-
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ accessor property with [[Configurable]] false, 'desc' is accessor
+ descriptor, the [[Set]] field of 'desc' is present, and the
+ [[Set]] field of 'desc' and the [[Set]] attribute value of 'P' are
+ two objects which refer to the different objects (15.4.5.1 step
+ 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "1", {
+ set: set_fun
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ set: function () { }
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js
index 09ba89099..6753cd470 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property with [[Configurable]] false, 'desc' is accessor descriptor, the [[Set]] field of 'desc' is present, and the [[Set]] field of 'desc' is an object and the [[Set]] attribute value of 'P' is undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "1", {
- set: set_fun
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- set: undefined
- }
- });
-
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ accessor property with [[Configurable]] false, 'desc' is accessor
+ descriptor, the [[Set]] field of 'desc' is present, and the
+ [[Set]] field of 'desc' is an object and the [[Set]] attribute
+ value of 'P' is undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "1", {
+ set: set_fun
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ set: undefined
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-243.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-243.js
index 06661edcc..aacc06208 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-243.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-243.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-243.js
- * @description Object.defineProperties - TypeError is not thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property with [[Configurable]] false, 'desc' is accessor descriptor, the [[Set]] field of 'desc' is present, and the [[Set]] field of 'desc' and the [[Set]] attribute value of 'P' are undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- set: undefined
- });
-
- Object.defineProperties(arr, {
- "1": {
- set: undefined
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arr, "1", undefined, undefined, undefined, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is not thrown if 'O' is an
+ Array, 'P' is an array index named property that already exists on
+ 'O' is accessor property with [[Configurable]] false, 'desc' is
+ accessor descriptor, the [[Set]] field of 'desc' is present, and
+ the [[Set]] field of 'desc' and the [[Set]] attribute value of 'P'
+ are undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ set: undefined
+ });
+
+ Object.defineProperties(arr, {
+ "1": {
+ set: undefined
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arr, "1", undefined, undefined, undefined, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js
index 883673107..eeff22535 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property with [[Configurable]] false, 'desc' is accessor descriptor, the [[Get]] field of 'desc' is present, and the [[Get]] field of 'desc' and the [[Get]] attribute value of 'P' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- function get_fun() {
- return 36;
- }
- Object.defineProperty(arr, "1", {
- get: get_fun
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- get: function () {
- return 12;
- }
- }
- });
-
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ accessor property with [[Configurable]] false, 'desc' is accessor
+ descriptor, the [[Get]] field of 'desc' is present, and the
+ [[Get]] field of 'desc' and the [[Get]] attribute value of 'P' are
+ two objects which refer to the different objects (15.4.5.1 step
+ 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function get_fun() {
+ return 36;
+ }
+ Object.defineProperty(arr, "1", {
+ get: get_fun
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ get: function () {
+ return 12;
+ }
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js
index 1dc5ad6b9..8d3549423 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js
- * @description Object.defineProperties - TypeError is thrown if 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property with [[Configurable]] false, 'desc' is accessor descriptor, the [[Get]] field of 'desc' is present, and the [[Get]] field of 'desc' is an object and the [[Get]] attribute value of 'P' is undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- function get_fun() {
- return 36;
- }
- Object.defineProperty(arr, "1", {
- get: get_fun
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- get: undefined
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is thrown if 'O' is an Array,
+ 'P' is an array index named property that already exists on 'O' is
+ accessor property with [[Configurable]] false, 'desc' is accessor
+ descriptor, the [[Get]] field of 'desc' is present, and the
+ [[Get]] field of 'desc' is an object and the [[Get]] attribute
+ value of 'P' is undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function get_fun() {
+ return 36;
+ }
+ Object.defineProperty(arr, "1", {
+ get: get_fun
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ get: undefined
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-246.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-246.js
index c3a312f2e..0e9e45c1e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-246.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-246.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-246.js
- * @description Object.defineProperties - TypeError is not thrown if ''O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property with [[Configurable]] false, 'desc' is accessor descriptor, test TypeError is not thrown if the [[Get]] field of 'desc' is present, and the [[Get]] field of 'desc' and the [[Get]] attribute value of 'P' are undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arr = [];
-
- Object.defineProperty(arr, "1", {
- get: undefined
- });
-
- try {
- Object.defineProperties(arr, {
- "1": {
- get: undefined
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arr, "1", undefined, undefined, undefined, false, false);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - TypeError is not thrown if ''O' is an
+ Array, 'P' is an array index named property that already exists on
+ 'O' is accessor property with [[Configurable]] false, 'desc' is
+ accessor descriptor, test TypeError is not thrown if the [[Get]]
+ field of 'desc' is present, and the [[Get]] field of 'desc' and
+ the [[Get]] attribute value of 'P' are undefined (15.4.5.1 step
+ 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ Object.defineProperty(arr, "1", {
+ get: undefined
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "1": {
+ get: undefined
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arr, "1", undefined, undefined, undefined, false, false);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-247.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-247.js
index 23d3c2e3b..b31d4f114 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-247.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-247.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-247.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property and 'desc' is data descriptor, test updating the [[Value]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [12];
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: 36
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 36, true, true, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is data property and
+ 'desc' is data descriptor, test updating the [[Value]] attribute
+ value of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [12];
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: 36
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 36, true, true, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-248.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-248.js
index d141cb84f..4ccdac996 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-248.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-248.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-248.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property and 'desc' is data descriptor, test setting the [[Value]] attribute value of 'P' as undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [12];
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: undefined
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", undefined, true, true, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is data property and
+ 'desc' is data descriptor, test setting the [[Value]] attribute
+ value of 'P' as undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [12];
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: undefined
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", undefined, true, true, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-249.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-249.js
index 93cf84120..813395af9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-249.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-249.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-249.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property and 'desc' is data descriptor, test setting the [[Value]] attribute value of 'P' from undefined to normal value (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [undefined];
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: 12
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 12, true, true, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is data property and
+ 'desc' is data descriptor, test setting the [[Value]] attribute
+ value of 'P' from undefined to normal value (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [undefined];
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: 12
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 12, true, true, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-25.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-25.js
index 15f4072d5..efb9f2bf5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-25.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-25.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-25.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test TypeError is thrown when 'O' is not extensible (8.12.9 step 3)
- */
-
-
-function testcase() {
- var obj = {};
- Object.preventExtensions(obj);
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && !obj.hasOwnProperty("prop");
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test TypeError
+ is thrown when 'O' is not extensible (8.12.9 step 3)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.preventExtensions(obj);
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && !obj.hasOwnProperty("prop");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-250.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-250.js
index 660ffd92a..bb077ada8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-250.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-250.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-250.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property and 'desc' is data descriptor, test updating the [[Writable]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [100];
-
- try {
- Object.defineProperties(arr, {
- "0": {
- writable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 100, false, true, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is data property and
+ 'desc' is data descriptor, test updating the [[Writable]]
+ attribute value of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [100];
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ writable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 100, false, true, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-251.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-251.js
index 368af9b89..ca4469561 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-251.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-251.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-251.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property and 'desc' is data descriptor, test updating the [[Enumerable]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [12];
-
- try {
- Object.defineProperties(arr, {
- "0": {
- enumerable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 12, true, false, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is data property and
+ 'desc' is data descriptor, test updating the [[Enumerable]]
+ attribute value of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [12];
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ enumerable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 12, true, false, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-252.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-252.js
index 412f12ecb..01dbf0b94 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-252.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-252.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-252.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property and 'desc' is data descriptor, test updating the [[Configurable]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [12];
-
- try {
- Object.defineProperties(arr, {
- "0": {
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 12, true, true, false);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is data property and
+ 'desc' is data descriptor, test updating the [[Configurable]]
+ attribute value of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [12];
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 12, true, true, false);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-253.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-253.js
index 04f9e5b8f..dc984444c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-253.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-253.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-253.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is data property and 'desc' is data descriptor, test updating multiple attribute values of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [12];
-
- try {
- Object.defineProperties(arr, {
- "0": {
- value: 36,
- writable: false,
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "0", 36, false, true, false);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is data property and
+ 'desc' is data descriptor, test updating multiple attribute values
+ of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [12];
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ value: 36,
+ writable: false,
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "0", 36, false, true, false);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-254.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-254.js
index 4317de855..32f9ed75f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-254.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-254.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-254.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test updating the [[Get]] attribute value of 'P' with different getter function (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function get_fun() {
- return 36;
- }
-
- Object.defineProperty(arr, "0", {
- get: function () {
- return 12;
- },
- configurable: true
- });
-
- Object.defineProperties(arr, {
- "0": {
- get: get_fun
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", get_fun, undefined, undefined, false, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test updating the [[Get]] attribute
+ value of 'P' with different getter function (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function get_fun() {
+ return 36;
+ }
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ get: get_fun
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", get_fun, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js
index b85af3c34..82022c8a7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-255.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test setting the [[Get]] attribute value of 'P' as undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- get: function () {
- return 12;
- },
- configurable: true
- });
-
- Object.defineProperties(arr, {
- "0": {
- get: undefined
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", undefined, undefined, undefined, false, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test setting the [[Get]] attribute
+ value of 'P' as undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ get: undefined
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", undefined, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-256.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-256.js
index 49ae1f541..fecbe1f5a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-256.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-256.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-256.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test updating the [[Get]] attribute value of 'P' from undefined to function (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function get_fun() {
- return 36;
- }
-
- Object.defineProperty(arr, "0", {
- get: undefined,
- configurable: true
- });
-
- Object.defineProperties(arr, {
- "0": {
- get: get_fun
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", get_fun, undefined, undefined, false, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test updating the [[Get]] attribute
+ value of 'P' from undefined to function (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function get_fun() {
+ return 36;
+ }
+
+ Object.defineProperty(arr, "0", {
+ get: undefined,
+ configurable: true
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ get: get_fun
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", get_fun, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-257.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-257.js
index 7ba06302e..c819c9d0a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-257.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-257.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-257.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test updating the [[Set]] attribute value of 'P' with different getter function (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arr, "0", {
- set: function () { },
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- set: set_fun
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test updating the [[Set]] attribute
+ value of 'P' with different getter function (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arr, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ set: set_fun
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-258.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-258.js
index ca97606a9..21b13e181 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-258.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-258.js
@@ -1,28 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-258.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test setting the [[Set]] attribute value of 'P' as undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "0", {
- set: function () { },
- configurable: true
- });
-
- Object.defineProperties(arr, {
- "0": {
- set: undefined
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", undefined, undefined, undefined, false, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test setting the [[Set]] attribute
+ value of 'P' as undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ Object.defineProperties(arr, {
+ "0": {
+ set: undefined
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", undefined, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-259.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-259.js
index a112476f5..2d228cf45 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-259.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-259.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-259.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test updating the [[Set]] attribute value of 'P' from undefined to function (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "0", {
- set: undefined,
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- set: set_fun
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test updating the [[Set]] attribute
+ value of 'P' from undefined to function (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "0", {
+ set: undefined,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ set: set_fun
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-26.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-26.js
index 466205ce6..d8b579359 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-26.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-26.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-26.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test 'P' is defined as data property when 'desc' is generic descriptor (8.12.9 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: {
- configurable: true,
- enumerable: true
- }
- });
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc.hasOwnProperty("value") && typeof desc.value === "undefined" &&
- desc.hasOwnProperty("writable") && desc.writable === false &&
- desc.hasOwnProperty("configurable") && desc.configurable === true &&
- desc.hasOwnProperty("enumerable") && desc.enumerable === true &&
- !desc.hasOwnProperty("get") && !desc.hasOwnProperty("set");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test 'P' is
+ defined as data property when 'desc' is generic descriptor (8.12.9
+ step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: {
+ configurable: true,
+ enumerable: true
+ }
+ });
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc.hasOwnProperty("value") && typeof desc.value === "undefined" &&
+ desc.hasOwnProperty("writable") && desc.writable === false &&
+ desc.hasOwnProperty("configurable") && desc.configurable === true &&
+ desc.hasOwnProperty("enumerable") && desc.enumerable === true &&
+ !desc.hasOwnProperty("get") && !desc.hasOwnProperty("set");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-260.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-260.js
index 56c607cb8..5c413cc0a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-260.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-260.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-260.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test updating the [[Enumerable]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "0", {
- set: set_fun,
- enumerable: true,
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- enumerable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, true);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test updating the [[Enumerable]]
+ attribute value of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "0", {
+ set: set_fun,
+ enumerable: true,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ enumerable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, true);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-261.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-261.js
index 5efdf82ae..45465838e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-261.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-261.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-261.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test updating the [[Configurable]] attribute value of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "0", {
- set: set_fun,
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- configurable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, false);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test updating the [[Configurable]]
+ attribute value of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "0", {
+ set: set_fun,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ configurable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", undefined, set_fun, "setVerifyHelpProp", false, false);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-262.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-262.js
index ed48bd909..12013ab6a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-262.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-262.js
@@ -1,44 +1,50 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-262.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property that already exists on 'O' is accessor property and 'desc' is accessor descriptor, test updating multiple attribute values of 'P' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function get_fun() {
- return 36;
- }
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "0", {
- get: function () {
- return 12;
- },
- set: set_fun,
- enumerable: true,
- configurable: true
- });
-
- try {
- Object.defineProperties(arr, {
- "0": {
- get: get_fun,
- enumerable: false,
- configurable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "0", get_fun, set_fun, "setVerifyHelpProp", false, false);
- } catch (ex) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property that already exists on 'O' is accessor property and
+ 'desc' is accessor descriptor, test updating multiple attribute
+ values of 'P' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function get_fun() {
+ return 36;
+ }
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ return 12;
+ },
+ set: set_fun,
+ enumerable: true,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "0": {
+ get: get_fun,
+ enumerable: false,
+ configurable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "0", get_fun, set_fun, "setVerifyHelpProp", false, false);
+ } catch (ex) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-263.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-263.js
index 8b32853c7..ba876a41b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-263.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-263.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-263.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, test the length property of 'O' is not changed if ToUint32('P') is less than value of the length property in 'O' (15.4.5.1 step 4.e)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- arr.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
-
- Object.defineProperties(arr, {
- "1": {
- value: 26
- }
- });
- return arr.length === 3 && arr[1] === 26;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, test the length property of 'O' is not changed if
+ ToUint32('P') is less than value of the length property in 'O'
+ (15.4.5.1 step 4.e)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ arr.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
+
+ Object.defineProperties(arr, {
+ "1": {
+ value: 26
+ }
+ });
+ return arr.length === 3 && arr[1] === 26;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-264.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-264.js
index 07ed0639c..8e283a251 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-264.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-264.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-264.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, test the length property of 'O' is set as ToUint32('P') + 1 if ToUint32('P') equals to value of the length property in 'O' (15.4.5.1 step 4.e.ii)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- arr.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
-
- Object.defineProperties(arr, {
- "3": {
- value: 26
- }
- });
- return arr.length === 4 && arr[3] === 26;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, test the length property of 'O' is set as
+ ToUint32('P') + 1 if ToUint32('P') equals to value of the length
+ property in 'O' (15.4.5.1 step 4.e.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ arr.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
+
+ Object.defineProperties(arr, {
+ "3": {
+ value: 26
+ }
+ });
+ return arr.length === 4 && arr[3] === 26;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-265.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-265.js
index 6e86ab125..181b309c4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-265.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-265.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-265.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is an array index named property, test the length property of 'O' is set as ToUint32('P') + 1 if ToUint32('P') is greater than value of the length property in 'O' (15.4.5.1 step 4.e.ii)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- "5": {
- value: 26
- }
- });
- return arr.length === 6 && arr[5] === 26;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is an array index
+ named property, test the length property of 'O' is set as
+ ToUint32('P') + 1 if ToUint32('P') is greater than value of the
+ length property in 'O' (15.4.5.1 step 4.e.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "5": {
+ value: 26
+ }
+ });
+ return arr.length === 6 && arr[5] === 26;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-266.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-266.js
index 8565152c8..5b872bb0a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-266.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-266.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-266.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic property that won't exist on 'O', and 'desc' is data descriptor, test 'P' is defined in 'O' with all correct attribute values (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperties(arr, {
- "property": {
- value: 12,
- writable: true,
- enumerable: true,
- configurable: true
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "property", 12, true, true, true) && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic property
+ that won't exist on 'O', and 'desc' is data descriptor, test 'P'
+ is defined in 'O' with all correct attribute values (15.4.5.1 step
+ 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperties(arr, {
+ "property": {
+ value: 12,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "property", 12, true, true, true) && arr.length === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-267.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-267.js
index b8afb467e..aaf142dfb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-267.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-267.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-267.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic property, and 'desc' is accessor descriptor, test 'P' is defined in 'O' with all correct attribute values (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function get_fun() {
- return 12;
- }
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(arr, {
- "property": {
- get: get_fun,
- set: set_fun,
- enumerable: true,
- configurable: true
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "setVerifyHelpProp", true, true) &&
- arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic
+ property, and 'desc' is accessor descriptor, test 'P' is defined
+ in 'O' with all correct attribute values (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function get_fun() {
+ return 12;
+ }
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(arr, {
+ "property": {
+ get: get_fun,
+ set: set_fun,
+ enumerable: true,
+ configurable: true
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "setVerifyHelpProp", true, true) &&
+ arr.length === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-268.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-268.js
index 79be79c65..4b68ac497 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-268.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-268.js
@@ -1,37 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-268.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own accessor property of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'P' (15.4.5.1 step 5)
- */
-
-
-function testcase() {
- var arr = [];
- function get_fun() {
- return 12;
- }
- function set_fun(value) {
- arr.verifySetFun = value;
- }
- Object.defineProperty(arr, "property", {
- get: function () {
- return 36;
- },
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(arr, {
- "property": {
- get: get_fun,
- set: set_fun,
- enumerable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "verifySetFun", false, 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own
+ accessor property of 'O', and 'desc' is accessor descriptor, test
+ updating multiple attribute values of 'P' (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+ function get_fun() {
+ return 12;
+ }
+ function set_fun(value) {
+ arr.verifySetFun = value;
+ }
+ Object.defineProperty(arr, "property", {
+ get: function () {
+ return 36;
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(arr, {
+ "property": {
+ get: get_fun,
+ set: set_fun,
+ enumerable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "verifySetFun", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-269.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-269.js
index 2a07de654..105bfc89c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-269.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-269.js
@@ -1,26 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-269.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own data property of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'P' (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
- arr.property = 12; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(arr, {
- "property": {
- writable: false,
- enumerable: false,
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false) && arr.length === 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: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own data
+ property of 'O', and 'desc' is data descriptor, test updating
+ multiple attribute values of 'P' (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+ arr.property = 12; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(arr, {
+ "property": {
+ writable: false,
+ enumerable: false,
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false) && arr.length === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-27.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-27.js
index 7d03b68ae..604f07d7e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-27.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-27.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-27.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Value]] of 'P' is set as undefined value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: {
- writable: true
- }
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc.hasOwnProperty("value") && typeof desc.value === "undefined" &&
- desc.hasOwnProperty("writable") && desc.writable === true &&
- desc.hasOwnProperty("configurable") && desc.configurable === false &&
- desc.hasOwnProperty("enumerable") && desc.enumerable === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test [[Value]]
+ of 'P' is set as undefined value if absent in data descriptor
+ 'desc' (8.12.9 step 4.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: {
+ writable: true
+ }
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc.hasOwnProperty("value") && typeof desc.value === "undefined" &&
+ desc.hasOwnProperty("writable") && desc.writable === true &&
+ desc.hasOwnProperty("configurable") && desc.configurable === false &&
+ desc.hasOwnProperty("enumerable") && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js
index bda5c3f48..8d9e3dc58 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Value]] attribute value of 'P' which is defined as unwritable and non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "property", {
- value: 12
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- value: 36
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own data
+ property of 'O', test TypeError is thrown when updating the
+ [[Value]] attribute value of 'P' which is defined as unwritable
+ and non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "property", {
+ value: 12
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ value: 36
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js
index 743ca389f..5244a3317 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js
- * @description Object.defineProperties -'O' is an Array, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'P' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "property", {
- writable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- writable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", undefined, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties -'O' is an Array, 'P' is generic own data
+ property of 'O', test TypeError is thrown when updating the
+ [[Writable]] attribute value of 'P' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "property", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ writable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", undefined, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js
index cdb2a2005..8ca2bcee2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js
@@ -1,32 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "property", {
- value: 12,
- enumerable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- enumerable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own data
+ property of 'O', test TypeError is thrown when updating the
+ [[Enumerable]] attribute value of 'P' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "property", {
+ value: 12,
+ enumerable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ enumerable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js
index ec002d18d..9f7f9a8f8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- Object.defineProperty(arr, "property", {
- value: 12
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- configurable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own data
+ property of 'O', test TypeError is thrown when updating the
+ [[Configurable]] attribute value of 'P' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ Object.defineProperty(arr, "property", {
+ value: 12
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js
index 2295cd87d..683e8555e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js
@@ -1,40 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Get]] attribute value of 'P' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
- var arr = [];
-
- function get_fun() {
- return 37;
- }
- function set_fun(value) {
- arr.verifySetFun = value;
- }
- Object.defineProperty(arr, "property", {
- get: get_fun,
- set: set_fun
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- get: function () {
- return 36;
- }
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) &&
- accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "verifySetFun", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Get]] attribute value of 'P' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arr = [];
+
+ function get_fun() {
+ return 37;
+ }
+ function set_fun(value) {
+ arr.verifySetFun = value;
+ }
+ Object.defineProperty(arr, "property", {
+ get: get_fun,
+ set: set_fun
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ get: function () {
+ return 36;
+ }
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) &&
+ accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "verifySetFun", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js
index 7825e32aa..254d9cdb8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Set]] attribute value of 'P' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "property", {
- set: set_fun
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- set: function () { }
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Set]] attribute value of 'P' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "property", {
+ set: set_fun
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ set: function () { }
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js
index 7febad27e..e6296dced 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "property", {
- set: set_fun,
- enumerable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- enumerable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Enumerable]] attribute value of 'P' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "property", {
+ set: set_fun,
+ enumerable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ enumerable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js
index d679d8182..cada6c040 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js
- * @description Object.defineProperties - 'O' is an Array, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arr = [];
-
- function set_fun(value) {
- arr.setVerifyHelpProp = value;
- }
- Object.defineProperty(arr, "property", {
- set: set_fun,
- configurable: false
- });
-
- try {
- Object.defineProperties(arr, {
- "property": {
- configurable: true
- }
- });
- return false;
- } catch (ex) {
- return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Array, 'P' is generic own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Configurable]] attribute value of 'P' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arr = [];
+
+ function set_fun(value) {
+ arr.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arr, "property", {
+ set: set_fun,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arr, {
+ "property": {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (ex) {
+ return (ex instanceof TypeError) && accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-278.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-278.js
index 4be0c7165..cbc650411 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-278.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-278.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-278.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own property which is ever defined in both [[ParameterMap]] of 'O' and 'O', and is deleted afterwards, and 'desc' is data descriptor, test 'P' is redefined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- delete arg[0];
-
- Object.defineProperties(arg, {
- "0": {
- value: 10,
- writable: true,
- enumerable: true,
- configurable: true
- }
- });
-
- return dataPropertyAttributesAreCorrect(arg, "0", 10, true, true, 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: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ property which is ever defined in both [[ParameterMap]] of 'O' and
+ 'O', and is deleted afterwards, and 'desc' is data descriptor,
+ test 'P' is redefined in 'O' with all correct attribute values
+ (10.6 [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ delete arg[0];
+
+ Object.defineProperties(arg, {
+ "0": {
+ value: 10,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arg, "0", 10, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-279.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-279.js
index b8ca3e83a..e7f7aa962 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-279.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-279.js
@@ -1,40 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-279.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own property which is ever defined in both [[ParameterMap]] of 'O' and 'O', and is deleted afterwards, and 'desc' is accessor descriptor, test 'P' is redefined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- delete arg[0];
-
- function get_func() {
- return 10;
- }
- function set_func(value) {
- arg.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(arg, {
- "0": {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arg, "0", get_func, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ property which is ever defined in both [[ParameterMap]] of 'O' and
+ 'O', and is deleted afterwards, and 'desc' is accessor descriptor,
+ test 'P' is redefined in 'O' with all correct attribute values
+ (10.6 [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ delete arg[0];
+
+ function get_func() {
+ return 10;
+ }
+ function set_func(value) {
+ arg.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(arg, {
+ "0": {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arg, "0", get_func, set_func, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-28.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-28.js
index 7b986fda7..18913f497 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-28.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-28.js
@@ -1,23 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-28.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Writable]] of 'P' is set as false value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: {
- value: 1001
- }
- });
- obj.prop = 1002;
- return obj.hasOwnProperty("prop") && obj.prop === 1001;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test
+ [[Writable]] of 'P' is set as false value if absent in data
+ descriptor 'desc' (8.12.9 step 4.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: {
+ value: 1001
+ }
+ });
+ obj.prop = 1002;
+ return obj.hasOwnProperty("prop") && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-280.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-280.js
index a92e7e070..2d1e74fc3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-280.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-280.js
@@ -1,46 +1,50 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-280.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own accessor property of 'O' which is also defined in [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- } (0, 1, 2));
-
- function get_func1() {
- return 10;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func1,
- enumerable: true,
- configurable: true
- });
-
- function get_func2() {
- return 20;
- }
-
- Object.defineProperties(arg, {
- "0": {
- get: get_func2,
- enumerable: false,
- configurable: false
- }
- });
-
- var desc = Object.getOwnPropertyDescriptor(arg, "0");
- return desc.get === get_func2 && typeof desc.set === "undefined" &&
- desc.configurable === false && desc.enumerable === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ accessor property of 'O' which is also defined in [[ParameterMap]]
+ of 'O', and 'desc' is accessor descriptor, test updating multiple
+ attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ } (0, 1, 2));
+
+ function get_func1() {
+ return 10;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func1,
+ enumerable: true,
+ configurable: true
+ });
+
+ function get_func2() {
+ return 20;
+ }
+
+ Object.defineProperties(arg, {
+ "0": {
+ get: get_func2,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(arg, "0");
+ return desc.get === get_func2 && typeof desc.set === "undefined" &&
+ desc.configurable === false && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-281.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-281.js
index 811057548..6e7ee5325 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-281.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-281.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-281.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own data property of 'O' which is also defined in [[ParameterMap]] of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- Object.defineProperties(arg, {
- "0": {
- value: 20,
- writable: false,
- enumerable: false,
- configurable: false
- }
- });
-
- return dataPropertyAttributesAreCorrect(arg, "0", 20, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ data property of 'O' which is also defined in [[ParameterMap]] of
+ 'O', and 'desc' is data descriptor, test updating multiple
+ attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ Object.defineProperties(arg, {
+ "0": {
+ value: 20,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arg, "0", 20, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-282.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-282.js
index b962c4f37..a2ea0d726 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-282.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-282.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-282.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own data property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Value]] attribute value of 'P' whose writable and configurable attributes are false (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- value: 10
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ data property of 'O' which is also defined in [[ParameterMap]] of
+ 'O', test TypeError is thrown when updating the [[Value]]
+ attribute value of 'P' whose writable and configurable attributes
+ are false (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ value: 10
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-283.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-283.js
index 77450641f..45e27d46f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-283.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-283.js
@@ -1,39 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-283.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own data property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'P' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- enumerable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- writable: true
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ data property of 'O' which is also defined in [[ParameterMap]] of
+ 'O', test TypeError is thrown when updating the [[Writable]]
+ attribute value of 'P' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ writable: true
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-284.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-284.js
index 50834034b..3bc5748d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-284.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-284.js
@@ -1,39 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-284.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own data property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- enumerable: false
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ data property of 'O' which is also defined in [[ParameterMap]] of
+ 'O', test TypeError is thrown when updating the [[Enumerable]]
+ attribute value of 'P' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ enumerable: false
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-285.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-285.js
index 223a72e51..87f9621da 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-285.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-285.js
@@ -1,39 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-285.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own data property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- enumerable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- configurable: true
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ data property of 'O' which is also defined in [[ParameterMap]] of
+ 'O', test TypeError is thrown when updating the [[Configurable]]
+ attribute value of 'P' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ configurable: true
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-286.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-286.js
index 8ba195aa4..8a72472d1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-286.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-286.js
@@ -1,47 +1,52 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-286.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own accessor property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Get]] attribute value of 'P' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- } (0, 1, 2));
-
- function get_func1() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func1,
- enumerable: false,
- configurable: false
- });
-
- function get_func2() {
- return 10;
- }
- try {
- Object.defineProperties(arg, {
- "0": {
- get: get_func2
- }
- });
-
- return false;
- } catch (e) {
- var desc = Object.getOwnPropertyDescriptor(arg, "0");
- return e instanceof TypeError && desc.get === get_func1 && typeof desc.set === "undefined" &&
- desc.enumerable === false && desc.configurable === false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ accessor property of 'O' which is also defined in [[ParameterMap]]
+ of 'O', test TypeError is thrown when updating the [[Get]]
+ attribute value of 'P' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ } (0, 1, 2));
+
+ function get_func1() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func1,
+ enumerable: false,
+ configurable: false
+ });
+
+ function get_func2() {
+ return 10;
+ }
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ get: get_func2
+ }
+ });
+
+ return false;
+ } catch (e) {
+ var desc = Object.getOwnPropertyDescriptor(arg, "0");
+ return e instanceof TypeError && desc.get === get_func1 && typeof desc.set === "undefined" &&
+ desc.enumerable === false && desc.configurable === false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-287.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-287.js
index f8aa84a2a..e00c9e9b2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-287.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-287.js
@@ -1,48 +1,53 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-287.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own accessor property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Set]] attribute value of 'P' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- function get_func() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- function set_func(value) {
- arg.setVerifyHelpProp = value;
- }
- try {
- Object.defineProperties(arg, {
- "0": {
- set: set_func
- }
- });
-
- return false;
- } catch (e) {
- var desc = Object.getOwnPropertyDescriptor(arg, "0");
- return e instanceof TypeError && desc.get === get_func && typeof desc.set === "undefined" &&
- desc.enumerable === false && desc.configurable === false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ accessor property of 'O' which is also defined in [[ParameterMap]]
+ of 'O', test TypeError is thrown when updating the [[Set]]
+ attribute value of 'P' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ function get_func() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ function set_func(value) {
+ arg.setVerifyHelpProp = value;
+ }
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ set: set_func
+ }
+ });
+
+ return false;
+ } catch (e) {
+ var desc = Object.getOwnPropertyDescriptor(arg, "0");
+ return e instanceof TypeError && desc.get === get_func && typeof desc.set === "undefined" &&
+ desc.enumerable === false && desc.configurable === false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-288.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-288.js
index 850aab28a..62069572f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-288.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-288.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-288.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own accessor property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- function get_func() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- enumerable: false
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ accessor property of 'O' which is also defined in [[ParameterMap]]
+ of 'O', test TypeError is thrown when updating the [[Enumerable]]
+ attribute value of 'P' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ function get_func() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ enumerable: false
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-289.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-289.js
index 0bb18b700..ad43aad12 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-289.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-289.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-289.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is own accessor property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun(a, b, c) {
- arg = arguments;
- }(0, 1, 2));
-
- function get_func() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- configurable: true
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is own
+ accessor property of 'O' which is also defined in [[ParameterMap]]
+ of 'O', test TypeError is thrown when updating the
+ [[Configurable]] attribute value of 'P' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun(a, b, c) {
+ arg = arguments;
+ }(0, 1, 2));
+
+ function get_func() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ configurable: true
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-29.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-29.js
index e296b4d61..42ad93478 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-29.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-29.js
@@ -1,28 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-29.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Enumerable]] of 'P' is set as false value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: { value: 1001}
- });
-
- for (var prop in obj) {
- if (obj.hasOwnProperty(prop)) {
- if (prop === "prop") {
- return 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: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test
+ [[Enumerable]] of 'P' is set as false value if absent in data
+ descriptor 'desc' (8.12.9 step 4.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: { value: 1001}
+ });
+
+ for (var prop in obj) {
+ if (obj.hasOwnProperty(prop)) {
+ if (prop === "prop") {
+ return false;
+ }
+ }
+ }
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-290.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-290.js
index 50f771e9f..5415487a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-290.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-290.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-290.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is data descriptor, test 'P' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }(0, 1, 2));
-
- delete arg[0];
-
- Object.defineProperties(arg, {
- "0": {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- }
- });
-
- return dataPropertyAttributesAreCorrect(arg, "0", 10, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named property of 'O' but not defined in
+ [[ParameterMap]] of 'O', and 'desc' is data descriptor, test 'P'
+ is defined in 'O' with all correct attribute values (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }(0, 1, 2));
+
+ delete arg[0];
+
+ Object.defineProperties(arg, {
+ "0": {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arg, "0", 10, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-291.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-291.js
index 09353d5b3..17742760c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-291.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-291.js
@@ -1,40 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-291.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test 'P' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }(0, 1, 2));
-
- delete arg[0];
-
- function get_func() {
- return 10;
- }
- function set_func(value) {
- arg.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(arg, {
- "0": {
- get: get_func,
- set: set_func,
- enumerable: false,
- configurable: false
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arg, "0", get_func, set_func, "setVerifyHelpProp", false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named property of 'O' but not defined in
+ [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test
+ 'P' is defined in 'O' with all correct attribute values (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }(0, 1, 2));
+
+ delete arg[0];
+
+ function get_func() {
+ return 10;
+ }
+ function set_func(value) {
+ arg.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(arg, {
+ "0": {
+ get: get_func,
+ set: set_func,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arg, "0", get_func, set_func, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-292.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-292.js
index d1bcd32d0..6f321c537 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-292.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-292.js
@@ -1,44 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-292.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }(0, 1, 2));
-
- function get_func1() {
- return 10;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func1,
- enumerable: true,
- configurable: true
- });
-
- function get_func2() {
- return 20;
- }
-
- Object.defineProperties(arg, {
- "0": {
- get: get_func2,
- enumerable: false,
- configurable: false
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arg, "0", get_func2, undefined, undefined, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test
+ updating multiple attribute values of 'P' (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }(0, 1, 2));
+
+ function get_func1() {
+ return 10;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func1,
+ enumerable: true,
+ configurable: true
+ });
+
+ function get_func2() {
+ return 20;
+ }
+
+ Object.defineProperties(arg, {
+ "0": {
+ get: get_func2,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arg, "0", get_func2, undefined, undefined, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-293.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-293.js
index fbace1785..15d2a33c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-293.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-293.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-293.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named data property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }(0, 1, 2));
-
- Object.defineProperties(arg, {
- "0": {
- value: 20,
- writable: false,
- enumerable: false,
- configurable: false
- }
- });
-
- return dataPropertyAttributesAreCorrect(arg, "0", 20, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', and 'desc' is data descriptor, test
+ updating multiple attribute values of 'P' (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }(0, 1, 2));
+
+ Object.defineProperties(arg, {
+ "0": {
+ value: 20,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arg, "0", 20, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-294.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-294.js
index 52576d6d0..57aa38da3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-294.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-294.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-294.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Value]] attribute value of 'P' which is not writable and not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- value: 10
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Value]] attribute value of 'P' which is not writable and not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ value: 10
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-295.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-295.js
index 458a125e8..4eba1763e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-295.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-295.js
@@ -1,39 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-295.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- enumerable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- writable: true
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Writable]] attribute value of 'P' which is not configurable
+ (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ writable: true
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-296.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-296.js
index 74da25140..ab42ab1ec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-296.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-296.js
@@ -1,39 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-296.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- enumerable: false
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Enumerable]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ enumerable: false
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-297.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-297.js
index b72c0e161..d459a14bf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-297.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-297.js
@@ -1,39 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-297.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- Object.defineProperty(arg, "0", {
- value: 0,
- writable: false,
- enumerable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- configurable: true
- }
- });
-
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Configurable]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ Object.defineProperty(arg, "0", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ configurable: true
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(arg, "0", 0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-298.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-298.js
index 105871dfd..e3d013f9f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-298.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-298.js
@@ -1,44 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-298.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Get]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- function get_func1() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func1,
- enumerable: false,
- configurable: false
- });
-
- function get_func2() {
- return 10;
- }
- try {
- Object.defineProperties(arg, {
- "0": {
- get: get_func2
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func1, undefined, undefined, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Get]] attribute value of 'P' which is not configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ function get_func1() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func1,
+ enumerable: false,
+ configurable: false
+ });
+
+ function get_func2() {
+ return 10;
+ }
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ get: get_func2
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func1, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-299.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-299.js
index fc33392c6..3d4b14d6d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-299.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-299.js
@@ -1,45 +1,52 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-299.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Set]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- function get_func() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- function set_func(value) {
- arg.setVerifyHelpProp = value;
- }
- try {
- Object.defineProperties(arg, {
- "0": {
- set: set_func
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Set]] attribute value of 'P' which is not configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ function get_func() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ function set_func(value) {
+ arg.setVerifyHelpProp = value;
+ }
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ set: set_func
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-3.js
index ac5969ad1..dd8ce82c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-3.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-3.js
- * @description Object.defineProperties - 'P' is own data property that overrides an inherited data property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- value: 11,
- configurable: true
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
- Object.defineProperty(obj, "prop", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 13,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own data property that overrides
+ an inherited data property (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ value: 11,
+ configurable: true
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+ Object.defineProperty(obj, "prop", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 13,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-30.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-30.js
index a2d36da08..87c85209b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-30.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-30.js
@@ -1,22 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-30.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Configurable]] of 'P' is set as false value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
-
- Object.defineProperties(obj, {
- prop: { value: 1001 }
- });
- delete obj.prop;
- return obj.hasOwnProperty("prop") && obj.prop === 1001;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test
+ [[Configurable]] of 'P' is set as false value if absent in data
+ descriptor 'desc' (8.12.9 step 4.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+
+ Object.defineProperties(obj, {
+ prop: { value: 1001 }
+ });
+ delete obj.prop;
+ return obj.hasOwnProperty("prop") && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-300.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-300.js
index 5dbe86ad5..45f07601e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-300.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-300.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-300.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- function get_func() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- enumerable: false
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Enumerable]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ function get_func() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ enumerable: false
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-301.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-301.js
index 7e1e9ff8d..82c14bb9a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-301.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-301.js
@@ -1,41 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-301.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }());
-
- function get_func() {
- return 0;
- }
-
- Object.defineProperty(arg, "0", {
- get: get_func,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "0": {
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is an
+ array index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Configurable]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }());
+
+ function get_func() {
+ return 0;
+ }
+
+ Object.defineProperty(arg, "0", {
+ get: get_func,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "0": {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(arg, "0", get_func, undefined, undefined, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-302.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-302.js
index 4f142e595..8ee5cb437 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-302.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-302.js
@@ -1,28 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-302.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic property, and 'desc' is data descriptor, test 'P' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- Object.defineProperties(arg, {
- "genericProperty": {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- }
- });
-
- return dataPropertyAttributesAreCorrect(arg, "genericProperty", 1001, true, true, 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: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic property, and 'desc' is data descriptor, test 'P' is
+ defined in 'O' with all correct attribute values (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arg, "genericProperty", 1001, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-303.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-303.js
index ad3a72d78..5d4c14a0b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-303.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-303.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-303.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic property, and 'desc' is accessor descriptor, test 'P' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- function getFun() {
- return "getFunctionString";
- }
- function setFun(value) {
- arg.testGetFunction = value;
- }
- Object.defineProperties(arg, {
- "genericProperty": {
- get: getFun,
- set: setFun,
- enumerable: true,
- configurable: true
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "testGetFunction", true, 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: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic property, and 'desc' is accessor descriptor, test 'P' is
+ defined in 'O' with all correct attribute values (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ function getFun() {
+ return "getFunctionString";
+ }
+ function setFun(value) {
+ arg.testGetFunction = value;
+ }
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ get: getFun,
+ set: setFun,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "testGetFunction", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-304.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-304.js
index ad5c880c2..65df80bf6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-304.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-304.js
@@ -1,45 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-304.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own accessor property of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- Object.defineProperty(arg, "genericProperty", {
- get: function () {
- return 1001;
- },
- set: function (value) {
- arg.testGetFunction1 = value;
- },
- enumerable: true,
- configurable: true
- });
-
- function getFun() {
- return "getFunctionString";
- }
- function setFun(value) {
- arg.testGetFunction = value;
- }
- Object.defineProperties(arg, {
- "genericProperty": {
- get: getFun,
- set: setFun,
- enumerable: false,
- configurable: false
- }
- });
-
- return accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "testGetFunction", false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own accessor property of 'O', and 'desc' is accessor
+ descriptor, test updating multiple attribute values of 'P' (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ Object.defineProperty(arg, "genericProperty", {
+ get: function () {
+ return 1001;
+ },
+ set: function (value) {
+ arg.testGetFunction1 = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ function getFun() {
+ return "getFunctionString";
+ }
+ function setFun(value) {
+ arg.testGetFunction = value;
+ }
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ get: getFun,
+ set: setFun,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "testGetFunction", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-305.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-305.js
index 4d212c3cf..1bb50b574 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-305.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-305.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-305.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own data property of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- Object.defineProperty(arg, "genericProperty", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperties(arg, {
- "genericProperty": {
- value: 1002,
- enumerable: false,
- configurable: false
- }
- });
-
- return dataPropertyAttributesAreCorrect(arg, "genericProperty", 1002, true, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own data property of 'O', and 'desc' is data descriptor,
+ test updating multiple attribute values of 'P' (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ Object.defineProperty(arg, "genericProperty", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ value: 1002,
+ enumerable: false,
+ configurable: false
+ }
+ });
+
+ return dataPropertyAttributesAreCorrect(arg, "genericProperty", 1002, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js
index 115b025c7..a62e2d894 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Value]] attribute value of 'P' which is not writable and not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- Object.defineProperty(arg, "genericProperty", {
- value: 1001,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- value: 1002
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arg, "genericProperty", 1001, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own data property of 'O', test TypeError is thrown when
+ updating the [[Value]] attribute value of 'P' which is not
+ writable and not configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ Object.defineProperty(arg, "genericProperty", {
+ value: 1001,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ value: 1002
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arg, "genericProperty", 1001, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js
index 2d57b0ea6..88c97f5fc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- Object.defineProperty(arg, "genericProperty", {
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- writable: true
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own data property of 'O', test TypeError is thrown when
+ updating the [[Writable]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ Object.defineProperty(arg, "genericProperty", {
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ writable: true
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js
index e6b8be4ef..eafa83f82 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- Object.defineProperty(arg, "genericProperty", {
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- enumerable: false
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own data property of 'O', test TypeError is thrown when
+ updating the [[Enumerable]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ Object.defineProperty(arg, "genericProperty", {
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ enumerable: false
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js
index 4d895e3e6..a4d88ce0a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own data property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- Object.defineProperty(arg, "genericProperty", {
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- configurable: true
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own data property of 'O', test TypeError is thrown when
+ updating the [[Configurable]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ Object.defineProperty(arg, "genericProperty", {
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ configurable: true
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-31.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-31.js
index 290ff2c2d..8d68499e1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-31.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-31.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-31.js
- * @description Object.defineProperties - 'desc' is data descriptor, test setting all attribute values of 'P' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, {
- prop: {
- value: 1002,
- writable: false,
- enumerable: false,
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "prop", 1002, false, false, false);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'desc' is data descriptor, test setting
+ all attribute values of 'P' (8.12.9 step 4.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, {
+ prop: {
+ value: 1002,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "prop", 1002, false, false, false);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js
index 2baf6e41b..c39335776 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js
@@ -1,44 +1,50 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Get]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- } (1, 2, 3));
-
- function getFun() {
- return "genericPropertyString";
- }
- function setFun(value) {
- arg.verifySetFun = value;
- }
- Object.defineProperty(arg, "genericProperty", {
- get: getFun,
- set: setFun,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- get: function () {
- return "overideGenericPropertyString";
- }
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "verifySetFun", false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own accessor property of 'O', test TypeError is thrown
+ when updating the [[Get]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ } (1, 2, 3));
+
+ function getFun() {
+ return "genericPropertyString";
+ }
+ function setFun(value) {
+ arg.verifySetFun = value;
+ }
+ Object.defineProperty(arg, "genericProperty", {
+ get: getFun,
+ set: setFun,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ get: function () {
+ return "overideGenericPropertyString";
+ }
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "verifySetFun", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js
index dd42871c2..b499882d2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js
@@ -1,40 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Set]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- function setFun(value) {
- arg.genericPropertyString = value;
- }
- Object.defineProperty(arg, "genericProperty", {
- set: setFun,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- set: function (value) {
- arg.genericPropertyString1 = value;
- }
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own accessor property of 'O', test TypeError is thrown
+ when updating the [[Set]] attribute value of 'P' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ function setFun(value) {
+ arg.genericPropertyString = value;
+ }
+ Object.defineProperty(arg, "genericProperty", {
+ set: setFun,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ set: function (value) {
+ arg.genericPropertyString1 = value;
+ }
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js
index 9a065ffaa..464d41e29 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js
@@ -1,39 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- function setFun(value) {
- arg.genericPropertyString = value;
- }
- Object.defineProperty(arg, "genericProperty", {
- set: setFun,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- enumerable: false
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own accessor property of 'O', test TypeError is thrown
+ when updating the [[Enumerable]] attribute value of 'P' which is
+ not configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ function setFun(value) {
+ arg.genericPropertyString = value;
+ }
+ Object.defineProperty(arg, "genericProperty", {
+ set: setFun,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ enumerable: false
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-313.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-313.js
index 42c70420b..2839290bc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-313.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-313.js
@@ -1,38 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-313.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'P' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'P' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
-
- function setFun(value) {
- arg.genericPropertyString = value;
- }
- Object.defineProperty(arg, "genericProperty", {
- set: setFun,
- configurable: false
- });
-
- try {
- Object.defineProperties(arg, {
- "genericProperty": {
- configurable: true
- }
- });
-
- return false;
- } catch (ex) {
- return ex instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'O' is an Arguments object, 'P' is
+ generic own accessor property of 'O', test TypeError is thrown
+ when updating the [[Configurable]] attribute value of 'P' which is
+ not configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+
+ function setFun(value) {
+ arg.genericPropertyString = value;
+ }
+ Object.defineProperty(arg, "genericProperty", {
+ set: setFun,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(arg, {
+ "genericProperty": {
+ configurable: true
+ }
+ });
+
+ return false;
+ } catch (ex) {
+ return ex instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-314.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-314.js
index 2f7db9bf5..a0f6fa9a9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-314.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-314.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-314.js
- * @description Object.defineProperties - 'O' is an Arguments object, 'name' is own property of [[ParameterMap]] of 'O', test 'name' is deleted if 'name' is configurable and 'desc' is accessor descriptor (10.6 [[DefineOwnProperty]] step 5.a.i)
- */
-
-
-function testcase() {
- var arg = (function () {
- return arguments;
- }(1, 2, 3));
- var accessed = false;
-
- Object.defineProperties(arg, {
- "0": {
- get: function () {
- accessed = true;
- return 12;
- }
- }
- });
-
- return arg[0] === 12 && 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: >
+ Object.defineProperties - 'O' is an Arguments object, 'name' is
+ own property of [[ParameterMap]] of 'O', test 'name' is deleted if
+ 'name' is configurable and 'desc' is accessor descriptor (10.6
+ [[DefineOwnProperty]] step 5.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arg = (function () {
+ return arguments;
+ }(1, 2, 3));
+ var accessed = false;
+
+ Object.defineProperties(arg, {
+ "0": {
+ get: function () {
+ accessed = true;
+ return 12;
+ }
+ }
+ });
+
+ return arg[0] === 12 && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-32.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-32.js
index 0ee54fbf4..d090eda8c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-32.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-32.js
@@ -1,25 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-32.js
- * @description Object.defineProperties - 'desc' is generic descriptor without any attribute, test 'P' is defined in 'obj' with all default attribute values (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperties(obj, { prop: {} });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc.hasOwnProperty("value") && typeof desc.value === "undefined" &&
- desc.hasOwnProperty("writable") && desc.writable === false &&
- desc.hasOwnProperty("configurable") && desc.configurable === false &&
- desc.hasOwnProperty("enumerable") && desc.enumerable === false &&
- !desc.hasOwnProperty("get") && !desc.hasOwnProperty("set");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'desc' is generic descriptor without any
+ attribute, test 'P' is defined in 'obj' with all default attribute
+ values (8.12.9 step 4.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperties(obj, { prop: {} });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc.hasOwnProperty("value") && typeof desc.value === "undefined" &&
+ desc.hasOwnProperty("writable") && desc.writable === false &&
+ desc.hasOwnProperty("configurable") && desc.configurable === false &&
+ desc.hasOwnProperty("enumerable") && desc.enumerable === false &&
+ !desc.hasOwnProperty("get") && !desc.hasOwnProperty("set");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-33.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-33.js
index 5aae1e7d7..cf4634b2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-33.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-33.js
@@ -1,28 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-33.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Get]] of 'P' is set as undefined value if absent in accessor descriptor 'desc' (8.12.9 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
- var setFun = function (value) {
- obj.setVerifyHelpProp = value;
- };
-
- Object.defineProperties(obj, {
- prop: {
- set: setFun,
- enumerable: true,
- configurable: true
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "prop", undefined, setFun, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test [[Get]]
+ of 'P' is set as undefined value if absent in accessor descriptor
+ 'desc' (8.12.9 step 4.b)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var setFun = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+
+ Object.defineProperties(obj, {
+ prop: {
+ set: setFun,
+ enumerable: true,
+ configurable: true
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "prop", undefined, setFun, "setVerifyHelpProp", true, true);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-34.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-34.js
index 46dfbcf8b..6000a47b5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-34.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-34.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-34.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Set]] of 'P' is set as undefined value if absent in accessor descriptor 'desc' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 10;
- };
-
- Object.defineProperties(obj, {
- prop: {
- get: getFunc,
- enumerable: true,
- configurable: true
- }
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined";
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test [[Set]]
+ of 'P' is set as undefined value if absent in accessor descriptor
+ 'desc' (8.12.9 step 4.b.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 10;
+ };
+
+ Object.defineProperties(obj, {
+ prop: {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ return obj.hasOwnProperty("prop") && typeof (desc.set) === "undefined";
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-35.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-35.js
index c30043f15..c88fc4d91 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-35.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-35.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-35.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Enumerable]] of 'P' is set as false value if absent in accessor descriptor 'desc' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
- var getFun = function () {
- return 10;
- };
- var setFun = function (value) {
- obj.setVerifyHelpProp = value;
- };
-
- Object.defineProperties(obj, {
- prop: {
- set: setFun,
- get: getFun,
- configurable: true
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "prop", getFun, setFun, "setVerifyHelpProp", false, 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: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test
+ [[Enumerable]] of 'P' is set as false value if absent in accessor
+ descriptor 'desc' (8.12.9 step 4.b.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFun = function () {
+ return 10;
+ };
+ var setFun = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+
+ Object.defineProperties(obj, {
+ prop: {
+ set: setFun,
+ get: getFun,
+ configurable: true
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "prop", getFun, setFun, "setVerifyHelpProp", false, true);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-36.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-36.js
index c8ed96a4c..80c753136 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-36.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-36.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-36.js
- * @description Object.defineProperties - 'P' doesn't exist in 'O', test [[Configurable]] of 'P' is set as false value if absent in accessor descriptor 'desc' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
- var getFun = function () {
- return 10;
- };
- var setFun = function (value) {
- obj.setVerifyHelpProp = value;
- };
-
- Object.defineProperties(obj, {
- prop: {
- set: setFun,
- get: getFun,
- enumerable: true
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "prop", getFun, setFun, "setVerifyHelpProp", true, false);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' doesn't exist in 'O', test
+ [[Configurable]] of 'P' is set as false value if absent in
+ accessor descriptor 'desc' (8.12.9 step 4.b.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFun = function () {
+ return 10;
+ };
+ var setFun = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+
+ Object.defineProperties(obj, {
+ prop: {
+ set: setFun,
+ get: getFun,
+ enumerable: true
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "prop", getFun, setFun, "setVerifyHelpProp", true, false);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-37.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-37.js
index a38a90b2d..a126d416f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-37.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-37.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-37.js
- * @description Object.defineProperties - 'desc' is accessor descriptor, test setting all attribute values of 'P' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
- var getFun = function () {
- return 10;
- };
- var setFun = function (value) {
- obj.setVerifyHelpProp = value;
- };
-
- Object.defineProperties(obj, {
- prop: {
- get: getFun,
- set: setFun,
- enumerable: false,
- configurable: false
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "prop", getFun, setFun, "setVerifyHelpProp", false, false);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'desc' is accessor descriptor, test
+ setting all attribute values of 'P' (8.12.9 step 4.b.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFun = function () {
+ return 10;
+ };
+ var setFun = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+
+ Object.defineProperties(obj, {
+ prop: {
+ get: getFun,
+ set: setFun,
+ enumerable: false,
+ configurable: false
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "prop", getFun, setFun, "setVerifyHelpProp", false, false);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38-1.js
index 1ca03a3d6..05f859328 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38-1.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38-1.js
- * @description Object.defineProperties - 'P' exists in 'O' is an accessor property, test 'P' makes no change if 'desc' is generic descriptor without any attribute (8.12.9 step 5)
- */
-
-
-function testcase() {
-
- var obj = {};
- var getFunc = function () {
- return 12;
- };
- Object.defineProperties(obj, {
- foo: {
- get: getFunc,
- enumerable: true,
- configurable: true
- }
- });
-
- Object.defineProperties(obj, { foo: {} });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, undefined, undefined, true, 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: >
+ Object.defineProperties - 'P' exists in 'O' is an accessor
+ property, test 'P' makes no change if 'desc' is generic descriptor
+ without any attribute (8.12.9 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var getFunc = function () {
+ return 12;
+ };
+ Object.defineProperties(obj, {
+ foo: {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ }
+ });
+
+ Object.defineProperties(obj, { foo: {} });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, undefined, undefined, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38.js
index 0d5944fc7..c9db07c32 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38.js
@@ -1,20 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-38.js
- * @description Object.defineProperties - 'P' exists in 'O', test 'P' makes no change if 'desc' is generic descriptor without any attribute (8.12.9 step 5)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.foo = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(obj, { foo: {} });
- return dataPropertyAttributesAreCorrect(obj, "foo", 100, true, true, 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: >
+ Object.defineProperties - 'P' exists in 'O', test 'P' makes no
+ change if 'desc' is generic descriptor without any attribute
+ (8.12.9 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.foo = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(obj, { foo: {} });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 100, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-39.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-39.js
index 65cf71f8d..067520a93 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-39.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-39.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-39.js
- * @description Object.defineProperties - 'P' is data descriptor and every fields in 'desc' is the same with 'P' (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(obj, {
- foo: {
- value: 101,
- enumerable: true,
- writable: true,
- configurable: true
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 101, true, true, 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: >
+ Object.defineProperties - 'P' is data descriptor and every fields
+ in 'desc' is the same with 'P' (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 101,
+ enumerable: true,
+ writable: true,
+ configurable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 101, true, true, true);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-4.js
index d8a81d3d6..de804241c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-4.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-4.js
- * @description Object.defineProperties - 'P' is own data property that overrides an inherited accessor property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- get: function () {
- return 11;
- },
- configurable: true
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
- Object.defineProperty(obj, "prop", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 13,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own data property that overrides
+ an inherited accessor property (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+ Object.defineProperty(obj, "prop", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 13,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-40.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-40.js
index ce24e8319..d208abd6a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-40.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-40.js
@@ -1,42 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-40.js
- * @description Object.defineProperties - 'P' is accessor descriptor and every fields in 'desc' is the same with 'P' (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 0;
- }
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
- var desc = {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- };
-
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, 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: >
+ Object.defineProperties - 'P' is accessor descriptor and every
+ fields in 'desc' is the same with 'P' (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 0;
+ }
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+ var desc = {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ };
+
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", true, true);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-41.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-41.js
index 5bf0496cb..9ad435a49 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-41.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-41.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-41.js
- * @description Object.defineProperties - type of desc.value is different from type of P.value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(obj, {
- foo: {
- value: "102"
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", "102", true, true, 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: >
+ Object.defineProperties - type of desc.value is different from
+ type of P.value (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: "102"
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", "102", true, true, true);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-42.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-42.js
index d1904a45f..50fad4cbe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-42.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-42.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-42.js
- * @description Object.defineProperties - both desc.value and P.value are undefined (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: undefined };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- value: undefined
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, false, false);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.value and P.value are
+ undefined (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: undefined };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: undefined
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, false, false);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-43.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-43.js
index 1b7306cb6..8e320e935 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-43.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-43.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-43.js
- * @description Object.defineProperties - both desc.value and P.value are null (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: null };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- value: null
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", null, false, false, false);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.value and P.value are null
+ (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: null };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: null
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", null, false, false, false);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-44.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-44.js
index c5ef3f62e..7e671d0f4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-44.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-44.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-44.js
- * @description Object.defineProperties - both desc.value and P.value are NaN (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: NaN };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- value: NaN
- }
- });
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- var verifyValue = false;
- obj.prop = "overrideData";
- verifyValue = obj.foo !== obj.foo && isNaN(obj.foo);
-
- var verifyConfigurable = false;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- return verifyConfigurable && !verifyEnumerable && verifyValue;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.value and P.value are NaN
+ (8.12.9 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: NaN };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: NaN
+ }
+ });
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyValue = false;
+ obj.prop = "overrideData";
+ verifyValue = obj.foo !== obj.foo && isNaN(obj.foo);
+
+ var verifyConfigurable = false;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ return verifyConfigurable && !verifyEnumerable && verifyValue;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-45.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-45.js
index 742f80ec9..b9dc7d131 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-45.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-45.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-45.js
- * @description Object.defineProperties - desc.value is +0 and P.value is -0 (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: -0 };
- Object.defineProperty(obj, "foo", desc);
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: +0
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", -0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - desc.value is +0 and P.value is -0
+ (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: -0 };
+ Object.defineProperty(obj, "foo", desc);
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: +0
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", -0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-46.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-46.js
index df89dbaf6..c66897963 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-46.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-46.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-46.js
- * @description Object.defineProperties - desc.value is -0 and P.value is +0 (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: +0 };
- Object.defineProperty(obj, "foo", desc);
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: -0
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", +0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - desc.value is -0 and P.value is +0
+ (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: +0 };
+ Object.defineProperty(obj, "foo", desc);
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: -0
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", +0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-47.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-47.js
index 17de50069..b477fbca3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-47.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-47.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-47.js
- * @description Object.defineProperties - desc.value and P.value are two numbers with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: 101 };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- value: 101
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 101, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - desc.value and P.value are two numbers
+ with the same value (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: 101 };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 101
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 101, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-48.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-48.js
index 19bbebe31..af1072de7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-48.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-48.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-48.js
- * @description Object.defineProperties - desc.value and P.value are two numbers with different values (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(obj, {
- foo: {
- value: 102
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 102, true, true, 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: >
+ Object.defineProperties - desc.value and P.value are two numbers
+ with different values (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 102
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 102, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-49.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-49.js
index fac797631..4977eb74d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-49.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-49.js
@@ -1,26 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-49.js
- * @description Object.defineProperties - both desc.value and P.value are two strings which have same length and same characters in corresponding positions (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: "abcd" };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- value: "abcd"
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", "abcd", false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.value and P.value are two
+ strings which have same length and same characters in
+ corresponding positions (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: "abcd" };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: "abcd"
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", "abcd", false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-5.js
index b45262210..f9e7926d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-5.js
@@ -1,35 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-5.js
- * @description Object.defineProperties - 'P' is own accessor property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var obj = {};
- function getFunc() {
- return 11;
- }
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 12,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, undefined, undefined, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own accessor property (8.12.9
+ step 1 )
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ function getFunc() {
+ return 11;
+ }
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 12,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-50.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-50.js
index 28ada0724..ec82ee225 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-50.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-50.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-50.js
- * @description Object.defineProperties - desc.value and P.value are two strings with different values (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = "abcd"; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(obj, {
- foo: {
- value: "fghj"
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", "fghj", true, true, 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: >
+ Object.defineProperties - desc.value and P.value are two strings
+ with different values (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = "abcd"; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: "fghj"
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", "fghj", true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-51.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-51.js
index 6c185544e..ace89f3dc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-51.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-51.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-51.js
- * @description Object.defineProperties - both desc.value and P.value are boolean values with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { value: true };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- value: true
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", true, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.value and P.value are boolean
+ values with the same value (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { value: true };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", true, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-52.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-52.js
index 8e7c342ee..e6bf31499 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-52.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-52.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-52.js
- * @description Object.defineProperties - desc.value and P.value are two boolean values with different values (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = true; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(obj, {
- foo: {
- value: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", false, true, true, 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: >
+ Object.defineProperties - desc.value and P.value are two boolean
+ values with different values (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = true; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", false, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-53.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-53.js
index 3bccc3c44..d4394bf11 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-53.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-53.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-53.js
- * @description Object.defineProperties - both desc.value and P.value are Ojbects which refer to the same Object (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var obj1 = { length: 10 };
- var desc = { value: obj1 };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- value: obj1
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.value and P.value are Ojbects
+ which refer to the same Object (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var obj1 = { length: 10 };
+ var desc = { value: obj1 };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: obj1
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-54.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-54.js
index 90f33a1e1..e145b5550 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-54.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-54.js
@@ -1,28 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-54.js
- * @description Object.defineProperties - desc.value and P.value are two Ojbects which refer to the different objects (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var obj1 = { length: 10 };
- obj.foo = obj1; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- var obj2 = { length: 20 };
-
- Object.defineProperties(obj, {
- foo: {
- value: obj2
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", obj2, true, true, 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: >
+ Object.defineProperties - desc.value and P.value are two Ojbects
+ which refer to the different objects (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var obj1 = { length: 10 };
+ obj.foo = obj1; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ var obj2 = { length: 20 };
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: obj2
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", obj2, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-55.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-55.js
index cff3b58aa..9287d9592 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-55.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-55.js
@@ -1,26 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-55.js
- * @description Object.defineProperties - both desc.writable and P.writable are boolean values with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { writable: false };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- writable: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.writable and P.writable are
+ boolean values with the same value (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { writable: false };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ writable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-56.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-56.js
index ba575662d..36704a142 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-56.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-56.js
@@ -1,27 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-56.js
- * @description Object.defineProperties - desc.writable and P.writable are two boolean values with different values (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var desc = { writable: false, configurable: true };
- Object.defineProperty(obj, "foo", desc);
-
- Object.defineProperties(obj, {
- foo: {
- writable: true,
- configurable: true
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", undefined, true, false, 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: >
+ Object.defineProperties - desc.writable and P.writable are two
+ boolean values with different values (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var desc = { writable: false, configurable: true };
+ Object.defineProperty(obj, "foo", desc);
+
+ Object.defineProperties(obj, {
+ foo: {
+ writable: true,
+ configurable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", undefined, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-57.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-57.js
index 52cc7a201..7302053dc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-57.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-57.js
@@ -1,47 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-57.js
- * @description Object.defineProperties - both desc.[[Get]] and P.[[Get]] are two objects which refer to the same object (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_Func() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_Func
- });
-
- Object.defineProperties(obj, {
- foo: {
- get: get_Func
- }
- });
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- var verifyValue = false;
- verifyValue = (obj.foo === 10);
-
- var verifyConfigurable = false;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
- return verifyConfigurable && !verifyEnumerable && verifyValue && typeof (desc.set) === "undefined" && desc.get === get_Func;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.[[Get]] and P.[[Get]] are two
+ objects which refer to the same object (8.12.9 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_Func() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_Func
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_Func
+ }
+ });
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyValue = false;
+ verifyValue = (obj.foo === 10);
+
+ var verifyConfigurable = false;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+ return verifyConfigurable && !verifyEnumerable && verifyValue && typeof (desc.set) === "undefined" && desc.get === get_Func;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-58.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-58.js
index dbac01d95..982608063 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-58.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-58.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-58.js
- * @description Object.defineProperties - desc.[[Get]] and P.[[Get]] are two objects which refer to the different objects (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_Func1() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_Func1,
- configurable: true
- });
-
- function get_Func2() {
- return 20;
- }
-
- Object.defineProperties(obj, {
- foo: {
- get: get_Func2
- }
- });
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- var verifyValue = false;
- verifyValue = (obj.foo === 20);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- var verifyConfigurable = false;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- return !verifyConfigurable && !verifyEnumerable && verifyValue && typeof (desc.set) === "undefined" && desc.get === get_Func2;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - desc.[[Get]] and P.[[Get]] are two
+ objects which refer to the different objects (8.12.9 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_Func1() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_Func1,
+ configurable: true
+ });
+
+ function get_Func2() {
+ return 20;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_Func2
+ }
+ });
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyValue = false;
+ verifyValue = (obj.foo === 20);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ var verifyConfigurable = false;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ return !verifyConfigurable && !verifyEnumerable && verifyValue && typeof (desc.set) === "undefined" && desc.get === get_Func2;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-59.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-59.js
index d4194e36c..96a44f566 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-59.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-59.js
@@ -1,31 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-59.js
- * @description Object.defineProperties - both desc.[[Set]] and P.[[Set]] are two objects which refer to the same object (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: set_func
- });
-
- Object.defineProperties(obj, {
- foo: {
- set: set_func
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.[[Set]] and P.[[Set]] are two
+ objects which refer to the same object (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: set_func
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_func
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-6.js
index e62ce1783..4c474e427 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-6.js
@@ -1,35 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-6.js
- * @description Object.defineProperties - 'P' is inherited accessor property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- get: function () {
- return 11;
- },
- configurable: false
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
-
- Object.defineProperties(obj, {
- prop: {
- get: function () {
- return 12;
- },
- configurable: true
- }
- });
- return obj.hasOwnProperty("prop") && obj.prop === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is inherited accessor property
+ (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return 11;
+ },
+ configurable: false
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+
+ Object.defineProperties(obj, {
+ prop: {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ }
+ });
+ return obj.hasOwnProperty("prop") && obj.prop === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-60.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-60.js
index 5551fecf6..39fce005d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-60.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-60.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-60.js
- * @description Object.defineProperties - desc.[[Set]] and P.[[Set]] are two objects which refer to the different objects (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func1() {}
-
- Object.defineProperty(obj, "foo", {
- set: set_func1,
- configurable: true
- });
-
- function set_func2(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperties(obj, {
- foo: {
- set: set_func2
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func2, "setVerifyHelpProp", false, 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: >
+ Object.defineProperties - desc.[[Set]] and P.[[Set]] are two
+ objects which refer to the different objects (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func1() {}
+
+ Object.defineProperty(obj, "foo", {
+ set: set_func1,
+ configurable: true
+ });
+
+ function set_func2(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_func2
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func2, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-61.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-61.js
index 7da46e2bf..0605f5347 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-61.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-61.js
@@ -1,28 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-61.js
- * @description Object.defineProperties - both desc.enumerable and P.enumerable are boolean values with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- enumerable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- enumerable: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.enumerable and P.enumerable
+ are boolean values with the same value (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ enumerable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ enumerable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-62.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-62.js
index 22630d09e..c3608d34e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-62.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-62.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-62.js
- * @description Object.defineProperties - desc.enumerable and P.enumerable are two boolean values with different values (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- enumerable: false,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- enumerable: true
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, 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: >
+ Object.defineProperties - desc.enumerable and P.enumerable are two
+ boolean values with different values (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ enumerable: false,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ enumerable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-63.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-63.js
index 4067832a5..f07ca48b1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-63.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-63.js
@@ -1,28 +1,33 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-63.js
- * @description Object.defineProperties - both desc.configurable and P.configurable are boolean values with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - both desc.configurable and
+ P.configurable are boolean values with the same value (8.12.9 step
+ 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-64.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-64.js
index 2f71ac08f..e811837aa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-64.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-64.js
@@ -1,28 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-64.js
- * @description Object.defineProperties - desc.configurable and P.configurable are two boolean values with different values (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - desc.configurable and P.configurable are
+ two boolean values with different values (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-65.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-65.js
index df6bdaf5e..235019296 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-65.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-65.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-65.js
- * @description Object.defineProperties throws TypeError when P.configurable is false and desc.configurable is true (8.12.9 step 7.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false and desc.configurable is true (8.12.9 step 7.a)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66-1.js
index 264432d22..e85b45d7a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66-1.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66-1.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.enumerable and desc.enumerable has different values (8.12.9 step 7.b)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- enumerable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- enumerable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.enumerable and desc.enumerable has different values
+ (8.12.9 step 7.b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ enumerable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ enumerable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66.js
index 90e60d9d1..4d9926411 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-66.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.enumerable and desc.enumerable has different values (8.12.9 step 7.b)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- enumerable: true,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- enumerable: false
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.enumerable and desc.enumerable has different values
+ (8.12.9 step 7.b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ enumerable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ enumerable: false
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-67.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-67.js
index f3ef192d9..58a9e74cb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-67.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-67.js
@@ -1,53 +1,56 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-67.js
- * @description Object.defineProperties throws TypeError when P is accessor property and P.configurable is false, desc is data property (8.12.9 step 9.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_Func() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_Func,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: 11
- }
- });
- return false;
- } catch (e) {
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- var verifyValue = false;
- verifyValue = (obj.foo === 10);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- var verifyConfigurable = false;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- return e instanceof TypeError && verifyConfigurable && !verifyEnumerable &&
- verifyValue && typeof (desc.set) === "undefined" && desc.get === get_Func;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P is accessor
+ property and P.configurable is false, desc is data property
+ (8.12.9 step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_Func() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_Func,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: 11
+ }
+ });
+ return false;
+ } catch (e) {
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyValue = false;
+ verifyValue = (obj.foo === 10);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ var verifyConfigurable = false;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ return e instanceof TypeError && verifyConfigurable && !verifyEnumerable &&
+ verifyValue && typeof (desc.set) === "undefined" && desc.get === get_Func;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-68.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-68.js
index 29c8ef604..33df489d7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-68.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-68.js
@@ -1,36 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-68.js
- * @description Object.defineProperties throws TypeError when P is data property and P.configurable is false, desc is accessor property (8.12.9 step 9.a)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- configurable: false
- });
-
- function get_func() {
- return 11;
- }
-
- try {
- Object.defineProperties(obj, {
- foo: {
- get: get_func
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P is data property
+ and P.configurable is false, desc is accessor property (8.12.9
+ step 9.a)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ configurable: false
+ });
+
+ function get_func() {
+ return 11;
+ }
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-69.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-69.js
index 7cc4380ad..da5118157 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-69.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-69.js
@@ -1,50 +1,52 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-69.js
- * @description Object.defineProperties - 'P' is data property and P.configurable is true, desc is accessor property (8.12.9 step 9.b.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- configurable: true
- });
-
- function get_Func() {
- return 20;
- }
-
- Object.defineProperties(obj, {
- foo: {
- get: get_Func
- }
- });
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- var verifyValue = false;
- verifyValue = (obj.foo === 20);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- var verifyConfigurable = true;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- return !verifyConfigurable && !verifyEnumerable && verifyValue &&
- typeof desc.set === "undefined" && desc.get === get_Func;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is data property and P.configurable
+ is true, desc is accessor property (8.12.9 step 9.b.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ configurable: true
+ });
+
+ function get_Func() {
+ return 20;
+ }
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_Func
+ }
+ });
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyValue = false;
+ verifyValue = (obj.foo === 20);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ var verifyConfigurable = true;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ return !verifyConfigurable && !verifyEnumerable && verifyValue &&
+ typeof desc.set === "undefined" && desc.get === get_Func;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-7.js
index ff379e968..274564e37 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-7.js
- * @description Object.defineProperties - 'P' is own accessor property that overrides an inherited data property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- value: 11,
- configurable: true
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
- Object.defineProperty(obj, "prop", {
- get: function () {
- return 12;
- },
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 13,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && obj.prop === 12;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own accessor property that
+ overrides an inherited data property (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ value: 11,
+ configurable: true
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+ Object.defineProperty(obj, "prop", {
+ get: function () {
+ return 12;
+ },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 13,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && obj.prop === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-70.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-70.js
index e7b77b928..ef4f624af 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-70.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-70.js
@@ -1,32 +1,37 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-70.js
- * @description Object.defineProperties - 'P' is accessor property and P.configurable is true, 'desc' in 'Properties' is data property (8.12.9 step 9.c.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_func() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: 12
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 12, false, false, 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: >
+ Object.defineProperties - 'P' is accessor property and
+ P.configurable is true, 'desc' in 'Properties' is data property
+ (8.12.9 step 9.c.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 12
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 12, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-71.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-71.js
index 11de43285..eea0cc8b4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-71.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-71.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-71.js
- * @description Object.defineProperties throws TypeError when 'P' is data property and P.configurable is false, P.writable is false, desc is data property and desc.writable is true (8.12.9 step 10.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- writable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when 'P' is data property
+ and P.configurable is false, P.writable is false, desc is data
+ property and desc.writable is true (8.12.9 step 10.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ writable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-72.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-72.js
index 6d56f3a84..b196f1c8c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-72.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-72.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-72.js
- * @description Object.defineProperties throws TypeError when P is data property and P.configurable is false, P.writable is false, desc is data property and desc.value is not equal to P.value (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: 20
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P is data property
+ and P.configurable is false, P.writable is false, desc is data
+ property and desc.value is not equal to P.value (8.12.9 step
+ 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: 20
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-73.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-73.js
index 8cb92538b..c9fe72621 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-73.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-73.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-73.js
- * @description Object.defineProperties will not throw TypeError if P.configurable is false, P.writalbe is false, P.value is undefined and properties.value is undefined (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: undefined,
- writable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: undefined
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError if P.configurable
+ is false, P.writalbe is false, P.value is undefined and
+ properties.value is undefined (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: undefined,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: undefined
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-74.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-74.js
index 79838f499..9af9f1323 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-74.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-74.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-74.js
- * @description Object.defineProperties will not throw TypeError if P.configurable is false, P.writalbe is false, P.value is null and properties.value is null (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: null,
- writable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: null
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", null, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError if P.configurable
+ is false, P.writalbe is false, P.value is null and
+ properties.value is null (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: null,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: null
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", null, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-75.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-75.js
index 9125bd953..2197a5877 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-75.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-75.js
@@ -1,48 +1,51 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-75.js
- * @description Object.defineProperties will not throw TypeError if P.configurable is false, P.writalbe is false, P.value is NaN and properties.value is NaN (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "foo", {
- value: NaN,
- writable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: NaN
- }
- });
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- obj.prop = "overrideData";
- var verifyValue = false;
- verifyValue = obj.foo !== obj.foo && isNaN(obj.foo);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- var verifyConfigurable = false;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- return verifyValue && !verifyEnumerable && verifyConfigurable;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError if P.configurable
+ is false, P.writalbe is false, P.value is NaN and properties.value
+ is NaN (8.12.9 step 10.a.ii.1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "foo", {
+ value: NaN,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: NaN
+ }
+ });
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ obj.prop = "overrideData";
+ var verifyValue = false;
+ verifyValue = obj.foo !== obj.foo && isNaN(obj.foo);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ var verifyConfigurable = false;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ return verifyValue && !verifyEnumerable && verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-76.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-76.js
index 19a8311fb..a068d6257 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-76.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-76.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-76.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.writalbe is false, properties.value is +0 and P.value is -0 (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: -0,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: +0
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", -0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.writalbe is false, properties.value is +0 and P.value is
+ -0 (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: -0,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: +0
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", -0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-77.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-77.js
index 82b203e86..cec3bdf33 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-77.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-77.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-77.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.writalbe is false, properties.value is +0 and P.value is -0 (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: +0,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: -0
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", +0, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.writalbe is false, properties.value is +0 and P.value is
+ -0 (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: +0,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: -0
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", +0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-78.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-78.js
index 565be90a4..2b5c447f4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-78.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-78.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-78.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two numbers with the same value (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 100,
- writable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: 100
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 100, false, false, false);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, P.writalbe is false, properties.value and
+ P.value are two numbers with the same value (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 100,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 100
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 100, false, false, false);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-79.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-79.js
index ed4ceadfe..5d1477eb8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-79.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-79.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-79.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two numbers with different values (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: 20
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.writalbe is false, properties.value and P.value are two
+ numbers with different values (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: 20
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", 10, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-8.js
index 900f06b39..df51f9701 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-8.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-8.js
- * @description Object.defineProperties - 'P' is own accessor property that overrides an inherited accessor property (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "prop", {
- get: function() {
- return 11;
- },
- configurable: true
- });
- var Con = function () { };
- Con.prototype = proto;
-
- var obj = new Con();
- Object.defineProperty(obj, "prop", {
- get: function () {
- return 12;
- },
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- value: 13,
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && obj.prop === 12;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own accessor property that
+ overrides an inherited accessor property (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ get: function() {
+ return 11;
+ },
+ configurable: true
+ });
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var obj = new Con();
+ Object.defineProperty(obj, "prop", {
+ get: function () {
+ return 12;
+ },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ value: 13,
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && obj.prop === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-80.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-80.js
index 6ec41150d..f0af94ffb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-80.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-80.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-80.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two strings with the same value (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: "abcd",
- writable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: "abcd"
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", "abcd", false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, P.writalbe is false, properties.value and
+ P.value are two strings with the same value (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: "abcd",
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: "abcd"
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", "abcd", false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-81.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-81.js
index 99dd20a73..c6cc8d2a1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-81.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-81.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-81.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two strings with different values (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: "abcd",
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: "defg"
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", "abcd", false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.writalbe is false, properties.value and P.value are two
+ strings with different values (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: "abcd",
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: "defg"
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", "abcd", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-82.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-82.js
index d994b8ef8..247e9c6a7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-82.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-82.js
@@ -1,29 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-82.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two booleans with the same value (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: false,
- writable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", false, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, P.writalbe is false, properties.value and
+ P.value are two booleans with the same value (8.12.9 step
+ 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: false,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", false, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-83.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-83.js
index a3541be1b..cae8d8329 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-83.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-83.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-83.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two booleans with different values (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: false,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", false, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.writalbe is false, properties.value and P.value are two
+ booleans with different values (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: false,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", false, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84-1.js
index 9de4f530b..857f028b9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84-1.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84-1.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two Objects refer to the same object which has been updated before use it to update the object (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var obj1 = { length: 10 };
-
- Object.defineProperty(obj, "foo", {
- value: obj1,
- writable: false,
- configurable: false
- });
-
- var obj2 = obj1;
- obj2.y = "hello";
-
- Object.defineProperties(obj, {
- foo: {
- value: obj2
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, P.writalbe is false, properties.value and
+ P.value are two Objects refer to the same object which has been
+ updated before use it to update the object (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var obj1 = { length: 10 };
+
+ Object.defineProperty(obj, "foo", {
+ value: obj1,
+ writable: false,
+ configurable: false
+ });
+
+ var obj2 = obj1;
+ obj2.y = "hello";
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: obj2
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84.js
index 2e4ba8a12..5ebb60c94 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84.js
@@ -1,31 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-84.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two Objects refer to the same object (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var obj1 = { length: 10 };
-
- Object.defineProperty(obj, "foo", {
- value: obj1,
- writable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: obj1
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, P.writalbe is false, properties.value and
+ P.value are two Objects refer to the same object (8.12.9 step
+ 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var obj1 = { length: 10 };
+
+ Object.defineProperty(obj, "foo", {
+ value: obj1,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: obj1
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-85.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-85.js
index b217a18cf..a298fe97b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-85.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-85.js
@@ -1,37 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-85.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.writalbe is false, properties.value and P.value are two objects with different values (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var obj1 = { length: 10 };
-
- Object.defineProperty(obj, "foo", {
- value: obj1,
- writable: false,
- configurable: false
- });
-
- var obj2 = { length: 20 };
-
- try {
- Object.defineProperties(obj, {
- foo: {
- value: obj2
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.writalbe is false, properties.value and P.value are two
+ objects with different values (8.12.9 step 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var obj1 = { length: 10 };
+
+ Object.defineProperty(obj, "foo", {
+ value: obj1,
+ writable: false,
+ configurable: false
+ });
+
+ var obj2 = { length: 20 };
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ value: obj2
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86-1.js
index 4db27601d..99cdced57 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86-1.js
@@ -1,39 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86-1.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, both properties.[[Set]] and P.[[Set]] are two objects which refer to the same object and the object has been updated after defined(8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var set_func = function (value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: set_func,
- configurable: false
- });
-
- set_func = function (value) {
- obj.setVerifyHelpProp1 = value;
- }
-
- try {
- Object.defineProperties(obj, {
- foo: {
- set: set_func
- }
- });
- } catch (e) {
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, both properties.[[Set]] and P.[[Set]] are
+ two objects which refer to the same object and the object has been
+ updated after defined(8.12.9 step 11.a.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var set_func = function (value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: set_func,
+ configurable: false
+ });
+
+ set_func = function (value) {
+ obj.setVerifyHelpProp1 = value;
+ }
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_func
+ }
+ });
+ } catch (e) {
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86.js
index 21371f11b..983d18cec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86.js
@@ -1,33 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-86.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, both properties.[[Set]] and P.[[Set]] are two objects which refer to the same object (8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: set_func,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- set: set_func
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, both properties.[[Set]] and P.[[Set]] are
+ two objects which refer to the same object (8.12.9 step 11.a.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: set_func,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_func
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-87.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-87.js
index 186b7924b..dc41c738a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-87.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-87.js
@@ -1,39 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-87.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, both properties.[[Set]] and P.[[Set]] are two objects which refer to different objects (8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func1(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: set_func1,
- configurable: false
- });
-
- function set_func2() {}
-
- try {
- Object.defineProperties(obj, {
- foo: {
- set: set_func2
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func1, "setVerifyHelpProp", false, false);
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, both properties.[[Set]] and P.[[Set]] are two objects which
+ refer to different objects (8.12.9 step 11.a.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func1(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: set_func1,
+ configurable: false
+ });
+
+ function set_func2() {}
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_func2
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func1, "setVerifyHelpProp", false, false);
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-88.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-88.js
index 45f793fb9..170a11ea1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-88.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-88.js
@@ -1,53 +1,56 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-88.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.[[Set]] is undefined, properties.[[Set]] refers to an objcet (8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_Func() {
- return 0;
- }
-
- Object.defineProperty(obj, "foo", {
- set: undefined,
- get: get_Func,
- enumerable: false,
- configurable: false
- });
-
- function set_Func() { }
-
- try {
- Object.defineProperties(obj, {
- foo: {
- set: set_Func
- }
- });
- return false;
- } catch (e) {
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- var verifyConfigurable = false;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- return e instanceof TypeError && !verifyEnumerable && verifyConfigurable && typeof (desc.set) === "undefined";
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.[[Set]] is undefined, properties.[[Set]] refers to an
+ objcet (8.12.9 step 11.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_Func() {
+ return 0;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: undefined,
+ get: get_Func,
+ enumerable: false,
+ configurable: false
+ });
+
+ function set_Func() { }
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ set: set_Func
+ }
+ });
+ return false;
+ } catch (e) {
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ var verifyConfigurable = false;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ return e instanceof TypeError && !verifyEnumerable && verifyConfigurable && typeof (desc.set) === "undefined";
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-89.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-89.js
index 9e8cc4ddb..a49f11b5e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-89.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-89.js
@@ -1,48 +1,51 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-89.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, P.[[Set]] and properties.[[Set]] are undefined (8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function get_Func() {
- return 0;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_Func,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- set: undefined
- }
- });
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "foo") {
- verifyEnumerable = true;
- }
- }
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- var verifyConfigurable = false;
- delete obj.foo;
- verifyConfigurable = obj.hasOwnProperty("foo");
-
- return verifyConfigurable && !verifyEnumerable && typeof (desc.set) === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, P.[[Set]] and properties.[[Set]] are
+ undefined (8.12.9 step 11.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function get_Func() {
+ return 0;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_Func,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ set: undefined
+ }
+ });
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "foo") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ var verifyConfigurable = false;
+ delete obj.foo;
+ verifyConfigurable = obj.hasOwnProperty("foo");
+
+ return verifyConfigurable && !verifyEnumerable && typeof (desc.set) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-9.js
index 2c6ab892f..b498b08d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-9.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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-9.js
- * @description Object.defineProperties - 'P' is own accessor property without a get function (8.12.9 step 1 )
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "prop", {
- set: function () { },
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- prop: {
- get: function () { },
- configurable: true
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is own accessor property without a
+ get function (8.12.9 step 1 )
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "prop", {
+ set: function () { },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ prop: {
+ get: function () { },
+ configurable: true
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-90.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-90.js
index d1ae73f9e..57f1eb159 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-90.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-90.js
@@ -1,37 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-90.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, both properties.[[Get]] and P.[[Get]] are two objects which refer to the same object (8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
- function get_func() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- get: get_func
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, both properties.[[Get]] and P.[[Get]] are
+ two objects which refer to the same object (8.12.9 step 11.a.ii)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+ function get_func() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-91.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-91.js
index 067804e90..541df5f89 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-91.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-91.js
@@ -1,46 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-91.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, both properties.[[Get]] and P.[[Get]] are two objects which refer to different objects (8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
- function get_func1() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func1,
- set: set_func,
- enumerable: false,
- configurable: false
- });
-
- function get_func2() {
- return 20;
- }
-
- try {
- Object.defineProperties(obj, {
- foo: {
- get: get_func2
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(obj, "foo", get_func1, set_func, "setVerifyHelpProp", false, false);
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, both properties.[[Get]] and P.[[Get]] are two objects which
+ refer to different objects (8.12.9 step 11.a.ii)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+ function get_func1() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func1,
+ set: set_func,
+ enumerable: false,
+ configurable: false
+ });
+
+ function get_func2() {
+ return 20;
+ }
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func2
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(obj, "foo", get_func1, set_func, "setVerifyHelpProp", false, false);
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-92.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-92.js
index aeb83b136..83d225dea 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-92.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-92.js
@@ -1,42 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-92.js
- * @description Object.defineProperties throws TypeError when P.configurable is false, P.[[Get]] is undefined, properties.[[Get]] refers to an objcet (8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: undefined,
- set: set_func,
- enumerable: false,
- configurable: false
- });
-
- function get_func() {
- return 0;
- }
-
- try {
- Object.defineProperties(obj, {
- foo: {
- get: get_func
- }
- });
- return false;
- } catch (e) {
- return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties throws TypeError when P.configurable is
+ false, P.[[Get]] is undefined, properties.[[Get]] refers to an
+ objcet (8.12.9 step 11.a.ii)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: undefined,
+ set: set_func,
+ enumerable: false,
+ configurable: false
+ });
+
+ function get_func() {
+ return 0;
+ }
+
+ try {
+ Object.defineProperties(obj, {
+ foo: {
+ get: get_func
+ }
+ });
+ return false;
+ } catch (e) {
+ return (e instanceof TypeError) && accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js
index 2ed50278f..3c90207c7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js
@@ -1,45 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js
- * @description Object.defineProperties will update [[Value]] attribute of named data property 'P' successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false but not when both are false (8.12.9 - step Note & 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "property1", {
- value: 1003,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- property: {
- value: 1002
- },
- property1: {
- value: 1004
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(obj, "property", 1002, false, false, true) &&
- dataPropertyAttributesAreCorrect(obj, "property1", 1003, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will update [[Value]] attribute of named
+ data property 'P' successfully when [[Configurable]] attribute is
+ true and [[Writable]] attribute is false but not when both are
+ false (8.12.9 - step Note & 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "property1", {
+ value: 1003,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ property: {
+ value: 1002
+ },
+ property1: {
+ value: 1004
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(obj, "property", 1002, false, false, true) &&
+ dataPropertyAttributesAreCorrect(obj, "property1", 1003, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-2.js
index df041fb15..3c103b9f7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-2.js
@@ -1,45 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-2.js
- * @description Object.defineProperties will update [[Value]] attribute of indexed data property 'P' successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false but not when both are false (8.12.9 - step Note & 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "1", {
- value: 1003,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperties(obj, {
- 0: {
- value: 1002
- },
- 1: {
- value: 1004
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(obj, "0", 1002, false, false, true) &&
- dataPropertyAttributesAreCorrect(obj, "1", 1003, false, false, false);
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will update [[Value]] attribute of indexed
+ data property 'P' successfully when [[Configurable]] attribute is
+ true and [[Writable]] attribute is false but not when both are
+ false (8.12.9 - step Note & 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "1", {
+ value: 1003,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ 0: {
+ value: 1002
+ },
+ 1: {
+ value: 1004
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(obj, "0", 1002, false, false, true) &&
+ dataPropertyAttributesAreCorrect(obj, "1", 1003, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-3.js
index ee800e22b..85319df9d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-3.js
@@ -1,45 +1,50 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-3.js
- * @description Object.defineProperties will fail to update [[Value]] attribute of named data property 'P' when [[Configurable]] attribute of first updating property is false (8.12.9 - step Note & 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: false,
- configurable: false
- });
-
- Object.defineProperty(obj, "property1", {
- value: 1003,
- writable: false,
- configurable: true
- });
-
- try {
- Object.defineProperties(obj, {
- property: {
- value: 1002
- },
- property1: {
- value: 1004
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(obj, "property", 1001, false, false, false) &&
- dataPropertyAttributesAreCorrect(obj, "property1", 1003, false, false, 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: >
+ Object.defineProperties will fail to update [[Value]] attribute of
+ named data property 'P' when [[Configurable]] attribute of first
+ updating property is false (8.12.9 - step Note & 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "property1", {
+ value: 1003,
+ writable: false,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ property: {
+ value: 1002
+ },
+ property1: {
+ value: 1004
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(obj, "property", 1001, false, false, false) &&
+ dataPropertyAttributesAreCorrect(obj, "property1", 1003, false, false, true);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-4.js
index 51d9aab69..74f9168ca 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-4.js
@@ -1,45 +1,50 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-4.js
- * @description Object.defineProperties will fail to update [[Value]] attribute of indexed data property 'P' when [[Configurable]] attribute of first updating property are false (8.12.9 - step Note & 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: false,
- configurable: false
- });
-
- Object.defineProperty(obj, "1", {
- value: 1003,
- writable: false,
- configurable: true
- });
-
- try {
- Object.defineProperties(obj, {
- 0: {
- value: 1002
- },
- 1: {
- value: 1004
- }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(obj, "0", 1001, false, false, false) &&
- dataPropertyAttributesAreCorrect(obj, "1", 1003, false, false, 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: >
+ Object.defineProperties will fail to update [[Value]] attribute of
+ indexed data property 'P' when [[Configurable]] attribute of first
+ updating property are false (8.12.9 - step Note & 10.a.ii.1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "1", {
+ value: 1003,
+ writable: false,
+ configurable: true
+ });
+
+ try {
+ Object.defineProperties(obj, {
+ 0: {
+ value: 1002
+ },
+ 1: {
+ value: 1004
+ }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(obj, "0", 1001, false, false, false) &&
+ dataPropertyAttributesAreCorrect(obj, "1", 1003, false, false, true);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93.js
index aebee7e85..24bc242b9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93.js
@@ -1,34 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93.js
- * @description Object.defineProperties will not throw TypeError when P.configurable is false, P.[[Get]] and properties.[[Get]] are undefined (8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function set_func(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: undefined,
- set: set_func,
- enumerable: false,
- configurable: false
- });
-
- Object.defineProperties(obj, {
- foo: {
- get: undefined
- }
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties will not throw TypeError when
+ P.configurable is false, P.[[Get]] and properties.[[Get]] are
+ undefined (8.12.9 step 11.a.ii)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function set_func(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: undefined,
+ set: set_func,
+ enumerable: false,
+ configurable: false
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ get: undefined
+ }
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, set_func, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-94.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-94.js
index 9c1924831..7499ae71a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-94.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-94.js
@@ -1,25 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-94.js
- * @description Object.defineProperties - 'P' is data property, properties.value and P.value are two different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperties(obj, {
- foo: {
- value: 200
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, 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: >
+ Object.defineProperties - 'P' is data property, properties.value
+ and P.value are two different values (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 200
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-95.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-95.js
index 8227e0c23..48dee43a9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-95.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-95.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-95.js
- * @description Object.defineProperties - 'P' is data property, P.value is present and properties.value is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 200,
- enumerable: true,
- writable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: undefined
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", undefined, true, true, 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: >
+ Object.defineProperties - 'P' is data property, P.value is present
+ and properties.value is undefined (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 200,
+ enumerable: true,
+ writable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: undefined
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", undefined, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-96.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-96.js
index 65427d1b4..7d02cc7e1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-96.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-96.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-96.js
- * @description Object.defineProperties - 'P' is data property, properties.value is present and P.value is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: undefined,
- enumerable: true,
- writable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- value: 200
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, 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: >
+ Object.defineProperties - 'P' is data property, properties.value
+ is present and P.value is undefined (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: undefined,
+ enumerable: true,
+ writable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ value: 200
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-97.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-97.js
index 3cbd1372d..d9a023732 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-97.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-97.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-97.js
- * @description Object.defineProperties - 'P' is data property, P.writable and properties.writable are different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 100,
- enumerable: true,
- writable: false,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- writable: true
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 100, true, true, 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: >
+ Object.defineProperties - 'P' is data property, P.writable and
+ properties.writable are different values (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 100,
+ enumerable: true,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ writable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 100, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-98.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-98.js
index adf27f03f..af1933c5b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-98.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-98.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-98.js
- * @description Object.defineProperties - 'P' is data property, P.enumerable and properties.enumerable are different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 200,
- enumerable: false,
- writable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- enumerable: true
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, 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: >
+ Object.defineProperties - 'P' is data property, P.enumerable and
+ properties.enumerable are different values (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 200,
+ enumerable: false,
+ writable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ enumerable: true
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-99.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-99.js
index 3d52bb30b..be759fda4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-99.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-99.js
@@ -1,30 +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.2/15.2.3/15.2.3.7/15.2.3.7-6-a-99.js
- * @description Object.defineProperties - 'P' is data property, P.configurable is true and properties.configurable is false
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 200,
- enumerable: true,
- writable: true,
- configurable: true
- });
-
- Object.defineProperties(obj, {
- foo: {
- configurable: false
- }
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, false);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperties - 'P' is data property, P.configurable is
+ true and properties.configurable is false
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 200,
+ enumerable: true,
+ writable: true,
+ configurable: true
+ });
+
+ Object.defineProperties(obj, {
+ foo: {
+ configurable: false
+ }
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, false);
+ }
+runTestCase(testcase);