aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.2/15.2.3/15.2.3.6
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.2/15.2.3/15.2.3.6')
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-1.js36
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-2.js34
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-1.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-2.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-3.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-4.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-1.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-10.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-11.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-12.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-13.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-14.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-15.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-16.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17-1.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-18.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-19.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-2.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-20.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-21.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-22.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-23.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-24.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-25.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-26.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-27.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-28.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-29.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-3.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-30.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-31.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-32.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-33.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-34.js39
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-35.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-36.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-37.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-38.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-39.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-4.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-40.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-41.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-42.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-43.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-44.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-45.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-46.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-47.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-48.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-5.js39
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-6.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-7.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-8.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-9.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-1.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-10.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-100.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-101.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-102.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-103.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-104.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-105.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-106.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-107.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-108.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-109.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-11.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-110.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-111.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-112.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-113.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-114.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-115.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-116.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-117.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-118.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-119.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-12.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-120.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-121.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-123.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-124.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-125.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-126.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-127.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-129.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-13.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-130.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-131.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-132.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-133.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-134.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-135.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-136.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-137.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-138.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-14.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148-1.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149-1.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-15.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-151.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-152.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-153.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-154.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-155.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-156.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-157.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-158.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-159.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-16.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-160.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-161.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-162.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-163.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-164.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165-1.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-17.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-177.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-178.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-179.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-18.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-180.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-181.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-182.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-183.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-184.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-185.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-186.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-187.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-188.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-189.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-19.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-190.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-191.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-192.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-193.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-194.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-195.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-196.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-197.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-198.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-199.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-2.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-20.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-200.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-202.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-203.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-204.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-205.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-206.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-207.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-208.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-209.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-21.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-210.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-211.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-212.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-213.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-214.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-215.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-216.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-217.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-22.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225-1.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-23.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-230.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-231.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-232.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-235.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-236.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-237.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-238.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-239.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-24.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-240.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-241.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-242.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-243.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-244.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-245.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-246.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-247.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-25.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257-1.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-26.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-260.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-261.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-262.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-27.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-28.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-29.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-3.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-30.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-31.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-32.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38-1.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-4.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-45.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-46.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-47.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-48.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-49.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-5.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-50.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-51.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-52.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-53.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-54.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-55.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-56.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-57.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-58.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-59.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-6.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-60.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-61.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-62.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-63.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-64.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-65.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-66.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-67.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-68.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-7.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-70.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-71.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-72.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-73.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-74.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-75.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-76.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-77.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-78.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-79.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-8.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-80.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-81.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-82.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-83.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-84.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-85.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86-1.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-9.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96-1.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-98.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-99.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-1.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-10.js93
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-100.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-101.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-102.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-103.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-104.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-105.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-106.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-107.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-108.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-109.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-11.js93
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-110.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-111.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-112.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-113.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-114.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-115.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-116.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-117.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-118.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-119.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-12.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-120.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-121.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-122.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-123.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-124.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-125.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-126.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-127.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-128.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-129.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-13.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-130.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-131.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-132.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-133.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-134.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-135.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-136.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-137.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-138.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-139.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-14.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-140.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-141.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-142.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-143.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-144.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-145.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-146.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-147.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-148.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-149.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-15.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-150.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-151.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-152.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-153.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-154.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-155.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-156.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-157.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-159.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-16.js88
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-160.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-161.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-162.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-163.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-164.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-165.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-166.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-167.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-168.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-169.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-17.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-171.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-172.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-173.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-174.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-175.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-176.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-177.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-178.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-179-1.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-18.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-181.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-182.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-183.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-184.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-185.js44
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-186.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-187.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-188.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-189.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-19.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-190.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-191.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-192.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-193.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-194.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-195.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-196.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-197.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-198.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-199.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-2.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-20.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-200.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-201.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-202.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-203.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-204.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-205.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-206.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-207.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-208.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-209.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-21.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-210.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-211.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-212.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-213.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-214.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-215.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-216.js45
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-217.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-218.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-219.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-22.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-220.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-221.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-222.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-223.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-224.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-225.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-226.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-227.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-228.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-229.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-23.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-230.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-231.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-232.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-233.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-234.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-235.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-236.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-237.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-238.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-239.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-24.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-240.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-241.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242-1.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243-1.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-244.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-245.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-246.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-247.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-248.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-249.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-25.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-250.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-251.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-252.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-253.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-254.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-255.js113
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-256.js106
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-257.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-258.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-259.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-26.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-260.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-261.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-262.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-263.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-264.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-265.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-266.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-267.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-268.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-269.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-27.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-270.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-271.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-272.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-273.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-274.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-275.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-276.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-277.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-278.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-279.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-28.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-280.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-281.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-282.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-283.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-284.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-285.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-286.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-287.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-288.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289-1.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-29.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290-1.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291-1.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292-1.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-1.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-2.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-3.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294-1.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295-1.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296-1.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297-1.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298-1.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299-1.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-3.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-30.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300-1.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301-1.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302-1.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-303.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-304.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-305.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-306.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-307.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-308.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-309.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-31.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-310.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-311.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-312.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313-1.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314-1.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315-1.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316-1.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317-1.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319-1.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-32.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320-1.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321-1.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322-1.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323-1.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324-1.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325-1.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-326.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-327.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-328.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-329.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-33.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-330.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-331.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-332.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-1.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-10.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-11.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-2.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-3.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-4.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-5.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-6.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-7.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-8.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-9.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-334.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-335.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-336.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-337.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-338.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-1.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-2.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-3.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-4.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-34.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-340.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-341.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-342.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-343.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-344.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-345.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-346.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-347.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-348.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-349.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-35.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-350.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-351.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-352.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-353.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-1.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-10.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-11.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-12.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-13.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-15.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-16.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-2.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-3.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-4.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-6.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-7.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-8.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-355.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-356.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-357.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-358.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-359.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-36.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-1.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-2.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-3.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-5.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-6.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-7.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-361.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-362.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-363.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-364.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-365.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-366.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-367.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-368.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-369.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-37.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-370.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-371.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-372.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-373.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-374.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-375.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-376.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-377.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-378.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-379.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-38.js53
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-380.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-381.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-382.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-383.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-384.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-385.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-386.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-387.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-388.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-389.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-39.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-390.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-391.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-392.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-393.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-394.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-395.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-396.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-397.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-398.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-399.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-4.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-40.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-402.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-403.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-404.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-405.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-406.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-407.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-408.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-409.js70
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-41.js55
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-410.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-411.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-412.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-413.js103
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-414.js120
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-415.js103
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-416.js120
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-417.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-418.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-419.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-42.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-420.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-421.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-422.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-423.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-424.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-425.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-426.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-427.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-428.js88
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-429.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-43.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-430.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-431.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-432.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-433.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-434.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-435.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-436.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-437.js98
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-438.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-439.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-440.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-441.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-442.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-443.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-444.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-445.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-446.js88
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-447.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-448.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-449.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-45.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-450.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-451.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-452.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-453.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-454.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-455.js98
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-456.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-457.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-458.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-459.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-46.js59
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-460.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-461.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-462.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-463.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-464.js100
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-465.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-466.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-467.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-468.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-469.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-47.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-470.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-471.js98
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-472.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-473.js110
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-474.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-475.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-476.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-477.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-478.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-479.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-48.js51
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-480.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-481.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-482.js100
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-483.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-484.js73
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-485.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-486.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-487.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-488.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-489.js98
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-49.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-490.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-491.js110
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-492.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-493.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-494.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-495.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-496.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-497.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-498.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-499.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-5.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-50.js49
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-500.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-501.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-502.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-503.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-504.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-505.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-506.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-507.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-508.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-509.js106
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-51.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-510.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-511.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-512.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-513.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-514.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-515.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-516.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-517.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-518.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-519.js74
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-52.js43
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-520.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-521.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-522.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-523.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-524.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-525.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-526.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-527.js106
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-528.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-529.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-53.js57
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-530.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-1.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-10.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-11.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-12.js93
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-13.js101
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-15.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-16.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-17.js85
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-2.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-3.js93
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-4.js100
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-6.js67
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-7.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-8.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-532.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-533.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-534.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-535.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-536.js106
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-537.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-1.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-2.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-3.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-5.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-6.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-7.js96
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-539.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-54.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js108
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-10.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js108
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js111
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-4.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-5.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js108
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-7.js108
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js112
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-9.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-541.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-542.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-543.js98
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-544.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-545.js116
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-546.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-1.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-2.js99
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-3.js95
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-4.js99
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-548.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-549.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-55.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-550.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-551.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-552.js90
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-553.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-554.js108
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-555.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-556.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-557.js75
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-558.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-559.js87
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-56.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-560.js79
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-561.js98
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-562.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-563.js116
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-564.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-565.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-566.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-567.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-568.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-569.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-57.js82
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-570.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-571.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-572.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-575.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-576.js56
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-577.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-578.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-579.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-58.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-580.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-581.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-582.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-583.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-584.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-585.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-586.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-587.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-588.js112
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-589.js132
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-59.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-590.js148
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-591.js114
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-592.js132
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-593.js71
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-594.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-595.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-596.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-597.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-598.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-599.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-6.js102
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-60.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-600.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-601.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-602.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-603.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-604.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-605.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-606.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-607.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-608.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-609.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-61.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-610.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-611.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-612.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-613.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-614.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-615.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-616.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-617.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-618.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-619.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-62.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-620.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-621.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-622.js92
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-623.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-624.js94
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-63.js86
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-64.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-65.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-66.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-67.js47
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-68.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-69.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-7.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-70.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-71.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-72.js52
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-73.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-74.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-75.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-76.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-77.js54
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-78.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-79.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-8.js89
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-80.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-81.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-1.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-10.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-11.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-12.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-13.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-14.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-15.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-16.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-17.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-18.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-19.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-2.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-20.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-21.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-22.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-23.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-24.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-3.js65
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-4.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-5.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-6.js66
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-7.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-8.js80
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-9.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-83.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-84.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-85.js103
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-86.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-87.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-88.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-89.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-9.js91
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-90.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-91.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-92.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-93.js63
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-94.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-95.js72
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-96.js69
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-97.js81
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-98.js77
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-99.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A1.js19
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A2.js11
1117 files changed, 38662 insertions, 34655 deletions
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-1.js
index c9f48dc26..ed36d3527 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-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.6/15.2.3.6-0-1.js
- * @description Object.defineProperty must exist as a function
- */
-
-
-function testcase() {
- var f = Object.defineProperty;
- 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.defineProperty must exist as a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var f = Object.defineProperty;
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-2.js
index 71d533903..d068cd7b9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-2.js
@@ -1,17 +1,17 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-0-2.js
- * @description Object.defineProperty must exist as a function taking 3 parameters
- */
-
-
-function testcase() {
- if (Object.defineProperty.length === 3) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperty must exist as a function taking 3 parameters
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ if (Object.defineProperty.length === 3) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-1.js
index 2c596c6ca..712e0ea32 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-1.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-1.js
- * @description Object.defineProperty applied to undefined throws a TypeError
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(undefined, "foo", {});
- 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.defineProperty applied to undefined throws a TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(undefined, "foo", {});
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-2.js
index a155f823f..d45694ef9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-2.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-2.js
- * @description Object.defineProperty applied to null throws a TypeError
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(null, "foo", {});
- 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.defineProperty applied to null throws a TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(null, "foo", {});
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-3.js
index 4c029e3c2..30ebae21f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-3.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-3.js
- * @description Object.defineProperty applied to number primitive throws a TypeError
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(5, "foo", {});
- 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.defineProperty applied to number primitive throws a
+ TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(5, "foo", {});
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-4.js
index d79ebd929..3b46f379e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-4.js
@@ -1,20 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1-4.js
- * @description Object.defineProperty applied to string primitive throws a TypeError
- */
-
-
-function testcase() {
- try {
- Object.defineProperty("hello\nworld\\!", "foo", {});
- 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.defineProperty applied to string primitive throws a
+ TypeError
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty("hello\nworld\\!", "foo", {});
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1.js
index e51301056..9c1304726 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-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.6/15.2.3.6-1.js
- * @description Object.defineProperty throws TypeError if type of first param is not Object
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(true, "foo", {});
- }
- 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.defineProperty throws TypeError if type of first param is
+ not Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(true, "foo", {});
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-1.js
index 643e6f35a..509b13a2b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-1.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-1.js
- * @description Object.defineProperty - argument 'P' is undefined that converts to string 'undefined'
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, undefined, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is undefined that converts to
+ string 'undefined'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, undefined, {});
+
+ return obj.hasOwnProperty("undefined");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-10.js
index 83cea7e1a..339fd020f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-10.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.6/15.2.3.6-2-10.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is a negative number)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, -20, {});
-
- return obj.hasOwnProperty("-20");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is a negative number)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, -20, {});
+
+ return obj.hasOwnProperty("-20");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-11.js
index 7f634c3f6..ec52e96c2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-11.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.6/15.2.3.6-2-11.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is Infinity)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, Infinity, {});
-
- return obj.hasOwnProperty("Infinity");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, Infinity, {});
+
+ return obj.hasOwnProperty("Infinity");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-12.js
index 6f21c4d4e..0b03fdba6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-12.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.6/15.2.3.6-2-12.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is +Infinity)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, +Infinity, {});
-
- return obj.hasOwnProperty("Infinity");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is +Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, +Infinity, {});
+
+ return obj.hasOwnProperty("Infinity");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-13.js
index 82eaa17a4..af9adf1e9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-13.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.6/15.2.3.6-2-13.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is -Infinity)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, -Infinity, {});
-
- return obj.hasOwnProperty("-Infinity");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is -Infinity)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, -Infinity, {});
+
+ return obj.hasOwnProperty("-Infinity");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-14.js
index 9daed0b1a..0c5388021 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-14.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.6/15.2.3.6-2-14.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(following 20 zeros))
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 100000000000000000000, {});
-
- return obj.hasOwnProperty("100000000000000000000");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(following 20 zeros))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 100000000000000000000, {});
+
+ return obj.hasOwnProperty("100000000000000000000");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-15.js
index f5d5a2ddc..b808625d6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-15.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.6/15.2.3.6-2-15.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(following 21 zeros))
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1000000000000000000000, {});
-
- return obj.hasOwnProperty("1e+21");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(following 21 zeros))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1000000000000000000000, {});
+
+ return obj.hasOwnProperty("1e+21");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-16.js
index b7d58a383..7b8a66cf2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-16.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.6/15.2.3.6-2-16.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(following 22 zeros))
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 10000000000000000000000, {});
-
- return obj.hasOwnProperty("1e+22");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(following 22 zeros))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 10000000000000000000000, {});
+
+ return obj.hasOwnProperty("1e+22");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17-1.js
index f4b416302..87c5a3aa3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17-1.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17-1.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(trailing 5 zeros))
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 000001, {});
-
- return obj.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.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(trailing 5 zeros))
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 000001, {});
+
+ return obj.hasOwnProperty("1");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17.js
index 956715ede..2e23aa56f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-17.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.6/15.2.3.6-2-17.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1e+20)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1e+20, {});
-
- return obj.hasOwnProperty("100000000000000000000");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1e+20)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1e+20, {});
+
+ return obj.hasOwnProperty("100000000000000000000");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-18.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-18.js
index 3afc34d76..31191c12a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-18.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-18.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.6/15.2.3.6-2-18.js
- * @description Object.defineProperty - argument 'P' is a number that converts to string (value is 1e+21)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1e+21, {});
-
- return obj.hasOwnProperty("1e+21");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ string (value is 1e+21)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1e+21, {});
+
+ return obj.hasOwnProperty("1e+21");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-19.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-19.js
index 76ad5009c..b8dceda31 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-19.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-19.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.6/15.2.3.6-2-19.js
- * @description Object.defineProperty - argument 'P' is a number that converts to string (value is 1e+22)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1e+22, {});
-
- return obj.hasOwnProperty("1e+22");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ string (value is 1e+22)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1e+22, {});
+
+ return obj.hasOwnProperty("1e+22");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-2.js
index 934733239..aca3e1580 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-2.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-2.js
- * @description Object.defineProperty - argument 'P' is null that converts to string 'null'
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, null, {});
-
- return obj.hasOwnProperty("null");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is null that converts to
+ string 'null'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, null, {});
+
+ return obj.hasOwnProperty("null");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-20.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-20.js
index 2f81e33ae..e69979c47 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-20.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-20.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.6/15.2.3.6-2-20.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 0.000001)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 0.000001, {});
-
- return obj.hasOwnProperty("0.000001");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 0.000001)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 0.000001, {});
+
+ return obj.hasOwnProperty("0.000001");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-21.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-21.js
index 8197f6e67..e62e552a9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-21.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-21.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.6/15.2.3.6-2-21.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 0.0000001)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 0.0000001, {});
-
- return obj.hasOwnProperty("1e-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.defineProperty - argument 'P' is a number that converts to
+ a string (value is 0.0000001)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 0.0000001, {});
+
+ return obj.hasOwnProperty("1e-7");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-22.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-22.js
index 70a580c84..26b5e61e7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-22.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-22.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.6/15.2.3.6-2-22.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 0.00000001)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 0.00000001, {});
-
- return obj.hasOwnProperty("1e-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.defineProperty - argument 'P' is a number that converts to
+ a string (value is 0.00000001)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 0.00000001, {});
+
+ return obj.hasOwnProperty("1e-8");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-23.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-23.js
index edab30d3f..f3297f8ba 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-23.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-23.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.6/15.2.3.6-2-23.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1e-7)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1e-7, {});
-
- return obj.hasOwnProperty("1e-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.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1e-7)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1e-7, {});
+
+ return obj.hasOwnProperty("1e-7");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-24.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-24.js
index 69328f49a..54f99fc2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-24.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-24.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.6/15.2.3.6-2-24.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1e-6)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1e-6, {});
-
- return obj.hasOwnProperty("0.000001");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1e-6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1e-6, {});
+
+ return obj.hasOwnProperty("0.000001");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-25.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-25.js
index e0eb145e1..33e57c9f3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-25.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-25.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.6/15.2.3.6-2-25.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1e-5)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1e-5, {});
-
- return obj.hasOwnProperty("0.00001");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1e-5)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1e-5, {});
+
+ return obj.hasOwnProperty("0.00001");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-26.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-26.js
index 08b3ed3af..3ab748563 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-26.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-26.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.6/15.2.3.6-2-26.js
- * @description Object.defineProperty - argument 'P' is an integer that converts to a string (value is 123)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 123, {});
-
- return obj.hasOwnProperty("123");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is an integer that converts
+ to a string (value is 123)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 123, {});
+
+ return obj.hasOwnProperty("123");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-27.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-27.js
index 41f2b8195..abaa8c38d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-27.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-27.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.6/15.2.3.6-2-27.js
- * @description Object.defineProperty - argument 'P' is a decimal that converts to a string (value is 123.456)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 123.456, {});
-
- return obj.hasOwnProperty("123.456");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a decimal that converts to
+ a string (value is 123.456)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 123.456, {});
+
+ return obj.hasOwnProperty("123.456");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-28.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-28.js
index 227ffaf85..95aa4b0c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-28.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-28.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.6/15.2.3.6-2-28.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(following 19 zeros).1)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 10000000000000000000.1, {});
-
- return obj.hasOwnProperty("10000000000000000000");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(following 19 zeros).1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 10000000000000000000.1, {});
+
+ return obj.hasOwnProperty("10000000000000000000");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-29.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-29.js
index da4a9ffd2..1d4509c9a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-29.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-29.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.6/15.2.3.6-2-29.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(following 20 zeros).1)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 100000000000000000000.1, {});
-
- return obj.hasOwnProperty("100000000000000000000");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(following 20 zeros).1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 100000000000000000000.1, {});
+
+ return obj.hasOwnProperty("100000000000000000000");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-3.js
index 2287ed50d..78415acb3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-3.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.6/15.2.3.6-2-3.js
- * @description Object.defineProperty - argument 'P' is a boolean whose value is false
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, false, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is a boolean whose value is
+ false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, false, {});
+
+ return obj.hasOwnProperty("false");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-30.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-30.js
index ab74c52ad..40f9d1013 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-30.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-30.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.6/15.2.3.6-2-30.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(following 21 zeros).1)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 1000000000000000000000.1, {});
-
- return obj.hasOwnProperty("1e+21");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(following 21 zeros).1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 1000000000000000000000.1, {});
+
+ return obj.hasOwnProperty("1e+21");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-31.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-31.js
index 7593eba1a..9502ac4be 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-31.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-31.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.6/15.2.3.6-2-31.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 1(following 22 zeros).1)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 10000000000000000000000.1, {});
-
- return obj.hasOwnProperty("1e+22");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 1(following 22 zeros).1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 10000000000000000000000.1, {});
+
+ return obj.hasOwnProperty("1e+22");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-32.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-32.js
index 70f24d872..7806da03a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-32.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-32.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.6/15.2.3.6-2-32.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 123.1234567)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 123.1234567, {});
-
- return obj.hasOwnProperty("123.1234567");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is 123.1234567)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 123.1234567, {});
+
+ return obj.hasOwnProperty("123.1234567");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-33.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-33.js
index 1fe107f2f..4fdc49ef2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-33.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-33.js
@@ -1,19 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-33.js
- * @description Object.defineProperty - argument 'P' is applied to an empty string
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "", {});
-
- return obj.hasOwnProperty("");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperty - argument 'P' is applied to an empty string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "", {});
+
+ return obj.hasOwnProperty("");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-34.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-34.js
index f736cc67c..26381dc8c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-34.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-34.js
@@ -1,20 +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.6/15.2.3.6-2-34.js
- * @description Object.defineProperty - argument 'P' is applied to string 'AB
- * \cd'
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "AB\n\\cd", {});
-
- return obj.hasOwnProperty("AB\n\\cd");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperty - argument 'P' is applied to string 'AB \cd'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "AB\n\\cd", {});
+
+ return obj.hasOwnProperty("AB\n\\cd");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-35.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-35.js
index bbdd67f3a..56ec4af4a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-35.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-35.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.6/15.2.3.6-2-35.js
- * @description Object.defineProperty - argument 'P' is applied to string 'undefined'
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "undefined", {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is applied to string
+ 'undefined'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "undefined", {});
+
+ return obj.hasOwnProperty("undefined");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-36.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-36.js
index 36e1ea812..39fdc47c7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-36.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-36.js
@@ -1,19 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-36.js
- * @description Object.defineProperty - argument 'P' is applied to string 'null'
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "null", {});
-
- return obj.hasOwnProperty("null");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.defineProperty - argument 'P' is applied to string 'null'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "null", {});
+
+ return obj.hasOwnProperty("null");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-37.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-37.js
index f80a52355..a05a144c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-37.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-37.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.6/15.2.3.6-2-37.js
- * @description Object.defineProperty - argument 'P' is applied to string '123αβπcd'
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "123αβπcd", {});
-
- return obj.hasOwnProperty("123αβπcd");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is applied to string
+ '123αβπcd'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "123αβπcd", {});
+
+ return obj.hasOwnProperty("123αβπcd");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-38.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-38.js
index 134fc21b7..08f884573 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-38.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-38.js
@@ -1,19 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-38.js
- * @description Object.defineProperty - argument 'P' is applied to string '1'
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "1", {});
-
- return obj.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.defineProperty - argument 'P' is applied to string '1'
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "1", {});
+
+ return obj.hasOwnProperty("1");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-39.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-39.js
index ffdfcd303..b05c23ced 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-39.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-39.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.6/15.2.3.6-2-39.js
- * @description Object.defineProperty - argument 'P' is an array that converts to a string
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, [1, 2], {});
-
- return obj.hasOwnProperty("1,2");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is an array that converts to
+ a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, [1, 2], {});
+
+ return obj.hasOwnProperty("1,2");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-4.js
index ef5340718..3385dafc5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-4.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.6/15.2.3.6-2-4.js
- * @description Object.defineProperty - argument 'P' is a boolean whose value is true
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, true, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is a boolean whose value is
+ true
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, true, {});
+
+ return obj.hasOwnProperty("true");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-40.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-40.js
index 4fb5484b1..b81cb7bdd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-40.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-40.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.6/15.2.3.6-2-40.js
- * @description Object.defineProperty - argument 'P' is a String Object that converts to a string
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, new String("Hello"), {});
-
- return obj.hasOwnProperty("Hello");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a String Object that
+ converts to a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, new String("Hello"), {});
+
+ return obj.hasOwnProperty("Hello");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-41.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-41.js
index 7dba4b58d..80382a337 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-41.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-41.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.6/15.2.3.6-2-41.js
- * @description Object.defineProperty - argument 'P' is a Boolean Object that converts to a string
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, new Boolean(false), {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is a Boolean Object that
+ converts to a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, new Boolean(false), {});
+
+ return obj.hasOwnProperty("false");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-42.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-42.js
index 2f303245c..94fd9eaf3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-42.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-42.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.6/15.2.3.6-2-42.js
- * @description Object.defineProperty - argument 'P' is a Number Object that converts to a string
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, new Number(123), {});
-
- return obj.hasOwnProperty("123");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a Number Object that
+ converts to a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, new Number(123), {});
+
+ return obj.hasOwnProperty("123");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-43.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-43.js
index 685aa0212..ecf4ca2cc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-43.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-43.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.6/15.2.3.6-2-43.js
- * @description Object.defineProperty - argument 'P' is an object that has an own toString method
- */
-
-
-function testcase() {
- var obj = {};
-
- var ownProp = {
- toString: function () {
- return "abc";
- }
- };
-
- Object.defineProperty(obj, ownProp, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is an object that has an own
+ toString method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var ownProp = {
+ toString: function () {
+ return "abc";
+ }
+ };
+
+ Object.defineProperty(obj, ownProp, {});
+
+ return obj.hasOwnProperty("abc");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-44.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-44.js
index cfffabf60..1a8db7153 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-44.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-44.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.6/15.2.3.6-2-44.js
- * @description Object.defineProperty - argument 'P' is an object that has an own valueOf method
- */
-
-
-function testcase() {
- var obj = {};
-
- var ownProp = {
- valueOf: function () {
- return "abc";
- },
- toString: undefined
- };
-
- Object.defineProperty(obj, ownProp, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is an object that has an own
+ valueOf method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var ownProp = {
+ valueOf: function () {
+ return "abc";
+ },
+ toString: undefined
+ };
+
+ Object.defineProperty(obj, ownProp, {});
+
+ return obj.hasOwnProperty("abc");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-45.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-45.js
index 71f6b7509..b813f4f61 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-45.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-45.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.6/15.2.3.6-2-45.js
- * @description Object.defineProperty - argument 'P' is an object whose toString method returns an object and whose valueOf method returns a primitive value
- */
-
-
-function testcase() {
- var obj = {};
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- var ownProp = {
- toString: function () {
- toStringAccessed = true;
- return {};
- },
- valueOf: function () {
- valueOfAccessed = true;
- return "abc";
- }
- };
-
- Object.defineProperty(obj, ownProp, {});
-
- return obj.hasOwnProperty("abc") && valueOfAccessed && toStringAccessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is an object whose toString
+ method returns an object and whose valueOf method returns a
+ primitive value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ var ownProp = {
+ toString: function () {
+ toStringAccessed = true;
+ return {};
+ },
+ valueOf: function () {
+ valueOfAccessed = true;
+ return "abc";
+ }
+ };
+
+ Object.defineProperty(obj, ownProp, {});
+
+ return obj.hasOwnProperty("abc") && valueOfAccessed && toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-46.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-46.js
index 48145318e..82279bff6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-46.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-46.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.6/15.2.3.6-2-46.js
- * @description Object.defineProperty - argument 'P' is an object that has an own toString and valueOf method
- */
-
-
-function testcase() {
- var obj = {};
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- var ownProp = {
- toString: function () {
- toStringAccessed = true;
- return "abc";
- },
- valueOf: function () {
- valueOfAccessed = true;
- return "prop";
- }
- };
- Object.defineProperty(obj, ownProp, {});
-
- return obj.hasOwnProperty("abc") && !valueOfAccessed && toStringAccessed;
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is an object that has an own
+ toString and valueOf method
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ var ownProp = {
+ toString: function () {
+ toStringAccessed = true;
+ return "abc";
+ },
+ valueOf: function () {
+ valueOfAccessed = true;
+ return "prop";
+ }
+ };
+ Object.defineProperty(obj, ownProp, {});
+
+ return obj.hasOwnProperty("abc") && !valueOfAccessed && toStringAccessed;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-47.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-47.js
index 2a5620e6f..dc85ef971 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-47.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-47.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.6/15.2.3.6-2-47.js
- * @description Object.defineProperty - TypeError exception is thrown when 'P' is an object that neither toString nor valueOf returns a primitive value
- */
-
-
-function testcase() {
- var obj = {};
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- var ownProp = {
- toString: function () {
- toStringAccessed = true;
- return {};
- },
- valueOf: function () {
- valueOfAccessed = true;
- return {};
- }
- };
-
- try {
- Object.defineProperty(obj, ownProp, {});
- return false;
- } catch (e) {
- return valueOfAccessed && toStringAccessed && 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.defineProperty - TypeError exception is thrown when 'P' is
+ an object that neither toString nor valueOf returns a primitive
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ var ownProp = {
+ toString: function () {
+ toStringAccessed = true;
+ return {};
+ },
+ valueOf: function () {
+ valueOfAccessed = true;
+ return {};
+ }
+ };
+
+ try {
+ Object.defineProperty(obj, ownProp, {});
+ return false;
+ } catch (e) {
+ return valueOfAccessed && toStringAccessed && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-48.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-48.js
index 824c336de..50ca500d3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-48.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-48.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.6/15.2.3.6-2-48.js
- * @description Object.defineProperty - an inherited toString method is invoked when 'P' is an object with an own valueOf and an inherited toString methods
- */
-
-
-function testcase() {
- var obj = {};
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- var proto = {
- toString: function () {
- toStringAccessed = true;
- return "test";
- }
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- child.valueOf = function () {
- valueOfAccessed = true;
- return "10";
- };
-
- Object.defineProperty(obj, child, {});
-
- return obj.hasOwnProperty("test") && !valueOfAccessed && toStringAccessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - an inherited toString method is invoked
+ when 'P' is an object with an own valueOf and an inherited
+ toString methods
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ var proto = {
+ toString: function () {
+ toStringAccessed = true;
+ return "test";
+ }
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ child.valueOf = function () {
+ valueOfAccessed = true;
+ return "10";
+ };
+
+ Object.defineProperty(obj, child, {});
+
+ return obj.hasOwnProperty("test") && !valueOfAccessed && toStringAccessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-5.js
index 0f9128c49..f5ac377ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-5.js
@@ -1,18 +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.6/15.2.3.6-2-5.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is NaN)
- */
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, NaN, {});
-
- return obj.hasOwnProperty("NaN");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is NaN)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, NaN, {});
+
+ return obj.hasOwnProperty("NaN");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-6.js
index 7701ff460..f01131b18 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-6.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.6/15.2.3.6-2-6.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is 0)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 0, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is a number that converts to
+ a string (value is 0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 0, {});
+
+ return obj.hasOwnProperty("0");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-7.js
index 4dc96d02c..5ced883e3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-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.6/15.2.3.6-2-7.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is +0)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, +0, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is a number that converts to
+ a string (value is +0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, +0, {});
+
+ return obj.hasOwnProperty("0");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-8.js
index 789cbce5e..4177f1cbc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-8.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.6/15.2.3.6-2-8.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is -0)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, -0, {});
-
- return obj.hasOwnProperty("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.defineProperty - argument 'P' is a number that converts to
+ a string (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, -0, {});
+
+ return obj.hasOwnProperty("0");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-9.js
index fa31d480e..c5dad51ae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-9.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.6/15.2.3.6-2-9.js
- * @description Object.defineProperty - argument 'P' is a number that converts to a string (value is a positive number)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, 30, {});
-
- return obj.hasOwnProperty("30");
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - argument 'P' is a number that converts to
+ a string (value is a positive number)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, 30, {});
+
+ return obj.hasOwnProperty("30");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-1.js
index d3e699338..2ce0ce184 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-1.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.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-1.js
- * @description Object.defineProperty throws TypeError if desc has 'get' and 'value' present(8.10.5 step 9.a)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var getter = function () { return 1; }
- var desc = { get: getter, value: 101};
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if desc has 'get' and
+ 'value' present(8.10.5 step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var getter = function () { return 1; }
+ var desc = { get: getter, value: 101};
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-10.js
index 9cd1f631f..859ad8fa9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-10.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-10.js
- * @description Object.defineProperty throws TypeError if setter is not callable but not undefined (Number)(8.10.5 step 8.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy setter
- var setter = 42;
- var desc = { set: setter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if setter is not callable
+ but not undefined (Number)(8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy setter
+ var setter = 42;
+ var desc = { set: setter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-100.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-100.js
index f5078b932..6b6058b7a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-100.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-100.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.6/15.2.3.6-3-100.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is null (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { configurable: null });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ null (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { configurable: null });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-101.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-101.js
index 653f5c31b..4bda6cf06 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-101.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-101.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is true (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: true });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ true (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: true });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-102.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-102.js
index 16776e027..9948d7187 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-102.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-102.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is false (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { configurable: false });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ false (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { configurable: false });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-103.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-103.js
index faf1675f5..288ecfa44 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-103.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-103.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is 0 (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { configurable: 0 });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ 0 (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { configurable: 0 });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-104.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-104.js
index c751573e3..dbeaefd06 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-104.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-104.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.6/15.2.3.6-3-104.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is +0 (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: +0 });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ +0 (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: +0 });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-105.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-105.js
index 85a56f3ff..9c0fa9089 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-105.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-105.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is -0 (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { configurable: -0 });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ -0 (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { configurable: -0 });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-106.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-106.js
index 741a49695..736f456e7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-106.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-106.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is NaN (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { configurable: NaN });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ NaN (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { configurable: NaN });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-107.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-107.js
index 82aafca72..ae869f50d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-107.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-107.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.6/15.2.3.6-3-107.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a positive number (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: 12345 });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a positive number (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: 12345 });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-108.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-108.js
index 19e24ee50..058500c93 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-108.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-108.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.6/15.2.3.6-3-108.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a negative number (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: -12345 });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a negative number (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: -12345 });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-109.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-109.js
index 1e925d72a..d22aa6840 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-109.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-109.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.6/15.2.3.6-3-109.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is an empty string (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { configurable: "" });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ an empty string (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { configurable: "" });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-11.js
index 6a625e49e..7bae4f1d2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-11.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.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-11.js
- * @description Object.defineProperty throws TypeError if setter is not callable but not undefined (Boolean)(8.10.5 step 8.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy setter
- var setter = true;
- var desc = { set: setter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if setter is not callable
+ but not undefined (Boolean)(8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy setter
+ var setter = true;
+ var desc = { set: setter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-110.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-110.js
index befba1ceb..a2e2ee96b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-110.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-110.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.6/15.2.3.6-3-110.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a non-empty string (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: " " });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a non-empty string (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: " " });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-111.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-111.js
index 978124b2b..615861e3c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-111.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-111.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.6/15.2.3.6-3-111.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a Function object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- configurable: function () { }
- });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a Function object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ configurable: function () { }
+ });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-112.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-112.js
index dd9d99434..05145d458 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-112.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-112.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.6/15.2.3.6-3-112.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is an Array object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: [1, 2, 3] });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ an Array object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: [1, 2, 3] });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-113.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-113.js
index 44a2045d0..2dc65e2c9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-113.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-113.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.6/15.2.3.6-3-113.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a String object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: new String("bbq") });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a String object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: new String("bbq") });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-114.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-114.js
index c346c627c..5eabc4729 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-114.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-114.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.6/15.2.3.6-3-114.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a Boolean object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: new Boolean(true) });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a Boolean object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: new Boolean(true) });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-115.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-115.js
index 8c5bcb0e2..10fcf7aad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-115.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-115.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.6/15.2.3.6-3-115.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a Number object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: new Number(0) });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a Number object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: new Number(0) });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-116.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-116.js
index 9d78d02a0..44955adf8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-116.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-116.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.6/15.2.3.6-3-116.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is the Math object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: Math });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ the Math object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: Math });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-117.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-117.js
index cc5475cec..51c75d199 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-117.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-117.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.6/15.2.3.6-3-117.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a Date object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { configurable: new Date() });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a Date object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { configurable: new Date() });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-118.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-118.js
index de72c62bd..4ecbd609d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-118.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-118.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a RegExp object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- configurable: new RegExp()
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a RegExp object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ configurable: new RegExp()
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-119.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-119.js
index 7c8a08d2e..3f58d2597 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-119.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-119.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.6/15.2.3.6-3-119.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is the JSON object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- configurable: JSON
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ the JSON object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ configurable: JSON
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-12.js
index cf3340623..e536a9138 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-12.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.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-12.js
- * @description Object.defineProperty throws TypeError if setter is not callable but not undefined (String)(8.10.5 step 8.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy setter
- var setter = "abc";
- var desc = { set: setter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if setter is not callable
+ but not undefined (String)(8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy setter
+ var setter = "abc";
+ var desc = { set: setter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-120.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-120.js
index 7356a5825..c80a36e1d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-120.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-120.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.6/15.2.3.6-3-120.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is a Error object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- configurable: new SyntaxError()
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ a Error object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ configurable: new SyntaxError()
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-121.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-121.js
index d1985452d..d2b166f5a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-121.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-121.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.6/15.2.3.6-3-121.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is the Argument object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var argObj = (function () { return arguments; })(1, true, "a");
-
- var attr = {
- configurable: argObj
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ the Argument object (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var argObj = (function () { return arguments; })(1, true, "a");
+
+ var attr = {
+ configurable: argObj
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-123.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-123.js
index 164b77efa..9bca80793 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-123.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-123.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.6/15.2.3.6-3-123.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is the global object (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- configurable: fnGlobalObject()
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ the global object (8.10.5 step 4.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ configurable: fnGlobalObject()
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-124.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-124.js
index 2d9630280..4d42b82dd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-124.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-124.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.6/15.2.3.6-3-124.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is treated as true when it is a string (value is 'false') (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- configurable: "false"
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ treated as true when it is a string (value is 'false') (8.10.5
+ step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ configurable: "false"
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-125.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-125.js
index c80b40fff..c9abbee75 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-125.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-125.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.6/15.2.3.6-3-125.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is treated as true when it is new Boolean(false) (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- configurable: new Boolean(false)
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ treated as true when it is new Boolean(false) (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ configurable: new Boolean(false)
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-126.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-126.js
index 93d54513d..ec60ea843 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-126.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-126.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.6/15.2.3.6-3-126.js
- * @description Object.defineProperty - 'value' property in 'Attributes' is present (8.10.5 step 5)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = { value: 100 };
-
- Object.defineProperty(obj, "property", attr);
-
- 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.defineProperty - 'value' property in 'Attributes' is
+ present (8.10.5 step 5)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = { value: 100 };
+
+ Object.defineProperty(obj, "property", attr);
+
+ return obj.property === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-127.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-127.js
index 8c11ff61a..bbfa08b7e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-127.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-127.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.6/15.2.3.6-3-127.js
- * @description Object.defineProperty - 'value' property in 'Attributes' is not present (8.10.5 step 5)
- */
-
-
-function testcase() {
- var obj = { };
-
- var attr = {
- writable: true
- };
-
- Object.defineProperty(obj, "property", attr);
-
- 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.defineProperty - 'value' property in 'Attributes' is not
+ present (8.10.5 step 5)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var attr = {
+ writable: true
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-129.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-129.js
index bc8cf1939..e94a0a99c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-129.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-129.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.6/15.2.3.6-3-129.js
- * @description Object.defineProperty - 'value' property in 'Attributes' is an inherited data property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var proto = {
- value: "inheritedDataProperty"
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' is an
+ inherited data property (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var proto = {
+ value: "inheritedDataProperty"
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "inheritedDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-13.js
index 5adcf3741..3422c24fc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-13.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.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-13.js
- * @description Object.defineProperty throws TypeError if the setter in desc is not callable (Null)(8.10.5 step 8.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy setter
- var setter = null;
- var desc = { set: setter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if the setter in desc is
+ not callable (Null)(8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy setter
+ var setter = null;
+ var desc = { set: setter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-130.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-130.js
index c34ab1812..c7402ea63 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-130.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-130.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.6/15.2.3.6-3-130.js
- * @description Object.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- child.value = "ownDataProperty";
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ child.value = "ownDataProperty";
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-131.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-131.js
index 7a9b9d065..f625a3f79 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-131.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-131.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.6/15.2.3.6-3-131.js
- * @description Object.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "value", {
- value: "ownDataProperty"
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "value", {
+ value: "ownDataProperty"
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-132.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-132.js
index 1db8581a3..108d9ccb4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-132.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-132.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.6/15.2.3.6-3-132.js
- * @description Object.defineProperty - 'value' property in 'Attributes' is own accessor property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var attr = {};
- Object.defineProperty(attr, "value", {
- get: function () {
- return "ownAccessorProperty";
- }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- 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.defineProperty - 'value' property in 'Attributes' is own
+ accessor property (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var attr = {};
+ Object.defineProperty(attr, "value", {
+ get: function () {
+ return "ownAccessorProperty";
+ }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-133.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-133.js
index 364bf467b..2cd8387c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-133.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-133.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.6/15.2.3.6-3-133.js
- * @description Object.defineProperty - 'value' property in 'Attributes' is 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' is 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "inheritedAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-134.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-134.js
index 42af6c0ba..96b44584e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-134.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-134.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.6/15.2.3.6-3-134.js
- * @description Object.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "value", {
- get: function () {
- return "ownAccessorProperty";
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "value", {
+ get: function () {
+ return "ownAccessorProperty";
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-135.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-135.js
index 6bd46c089..cea3fb902 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-135.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-135.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.6/15.2.3.6-3-135.js
- * @description Object.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "value", {
- get: function () {
- return "ownAccessorProperty";
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "value", {
+ get: function () {
+ return "ownAccessorProperty";
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-136.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-136.js
index c3618dc98..1ef3edd1e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-136.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-136.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-136.js
- * @description Object.defineProperty - 'value' property in 'Attributes' is own accessor property without a get function (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {};
- Object.defineProperty(attr, "value", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- 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.defineProperty - 'value' property in 'Attributes' is own
+ accessor property without a get function (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {};
+ Object.defineProperty(attr, "value", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-137.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-137.js
index 00d33ec09..23e3370c2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-137.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-137.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.6/15.2.3.6-3-137.js
- * @description Object.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "value", {
- set : function () { }
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "value", {
+ set : function () { }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-138.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-138.js
index 8b836edf8..1ec652ec5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-138.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-138.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.6/15.2.3.6-3-138.js
- * @description Object.defineProperty - 'value' property in 'Attributes' is an inherited accessor property without a get function (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { property : 120 };
-
- var proto = {};
- Object.defineProperty(proto, "value", {
- set: function () { }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'value' property in 'Attributes' is an
+ inherited accessor property without a get function (8.10.5 step
+ 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { property : 120 };
+
+ var proto = {};
+ Object.defineProperty(proto, "value", {
+ set: function () { }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139-1.js
index 154b7fdb5..a566ea3cd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139-1.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Function.prototype.value = "Function";
- var funObj = function (a, b) {
- return a + b;
- };
-
- Object.defineProperty(obj, "property", funObj);
-
- return obj.property === "Function";
- } finally {
- delete Function.prototype.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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'value' property
+ of prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Function.prototype.value = "Function";
+ var funObj = function (a, b) {
+ return a + b;
+ };
+
+ Object.defineProperty(obj, "property", funObj);
+
+ return obj.property === "Function";
+ } finally {
+ delete Function.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139.js
index 1423f1550..44a0c4c98 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-139.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.6/15.2.3.6-3-139.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var funObj = function (a, b) {
- return a + b;
- };
-
- funObj.value = "Function";
-
- Object.defineProperty(obj, "property", funObj);
-
- 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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'value' property
+ (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var funObj = function (a, b) {
+ return a + b;
+ };
+
+ funObj.value = "Function";
+
+ Object.defineProperty(obj, "property", funObj);
+
+ return obj.property === "Function";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-14.js
index 91fedfed6..c1025ec38 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-14.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.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-14.js
- * @description Object.defineProperty throws TypeError if setter is not callable but not undefined (Object)(8.10.5 step 8.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var setter = { a: 1 };
- var desc = { set: setter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if setter is not callable
+ but not undefined (Object)(8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var setter = { a: 1 };
+ var desc = { set: setter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140-1.js
index 9899cd3c3..01598a46f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140-1.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.6/15.2.3.6-3-140-1.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Array.prototype.value = "Array";
- var arrObj = [1, 2, 3];
-
- Object.defineProperty(obj, "property", arrObj);
-
- return obj.property === "Array";
- } finally {
- delete Array.prototype.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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Array.prototype.value = "Array";
+ var arrObj = [1, 2, 3];
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ return obj.property === "Array";
+ } finally {
+ delete Array.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140.js
index 977b0b3d9..aaa162e67 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-140.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-140.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var arrObj = [1, 2, 3];
-
- arrObj.value = "Array";
-
- Object.defineProperty(obj, "property", arrObj);
-
- 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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var arrObj = [1, 2, 3];
+
+ arrObj.value = "Array";
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ return obj.property === "Array";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141-1.js
index 99fba7b05..b5dda7186 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141-1.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.6/15.2.3.6-3-141-1.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- String.prototype.value = "String";
- var strObj = new String("abc");
-
- Object.defineProperty(obj, "property", strObj);
-
- return obj.property === "String";
- } finally {
- delete String.prototype.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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ String.prototype.value = "String";
+ var strObj = new String("abc");
+
+ Object.defineProperty(obj, "property", strObj);
+
+ return obj.property === "String";
+ } finally {
+ delete String.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141.js
index 06bdac203..203524a4b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-141.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.6/15.2.3.6-3-141.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var strObj = new String("abc");
-
- strObj.value = "String";
-
- Object.defineProperty(obj, "property", strObj);
-
- 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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var strObj = new String("abc");
+
+ strObj.value = "String";
+
+ Object.defineProperty(obj, "property", strObj);
+
+ return obj.property === "String";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142-1.js
index 8d6a6e19f..4b8755e62 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142-1.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.6/15.2.3.6-3-142-1.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Boolean.prototype.value = "Boolean";
- var boolObj = new Boolean(true);
-
- Object.defineProperty(obj, "property", boolObj);
-
- return obj.property === "Boolean";
- } finally {
- delete Boolean.prototype.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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Boolean.prototype.value = "Boolean";
+ var boolObj = new Boolean(true);
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ return obj.property === "Boolean";
+ } finally {
+ delete Boolean.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142.js
index 305fa18e8..c79900909 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-142.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.6/15.2.3.6-3-142.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var boolObj = new Boolean(true);
-
- boolObj.value = "Boolean";
-
- Object.defineProperty(obj, "property", boolObj);
-
- 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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var boolObj = new Boolean(true);
+
+ boolObj.value = "Boolean";
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ return obj.property === "Boolean";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143-1.js
index 4443e97da..2c24add4a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143-1.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.6/15.2.3.6-3-143-1.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Number.prototype.value = "Number";
- var numObj = new Number(-2);
-
- Object.defineProperty(obj, "property", numObj);
-
- return obj.property === "Number";
- } finally {
- delete Number.prototype.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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Number.prototype.value = "Number";
+ var numObj = new Number(-2);
+
+ Object.defineProperty(obj, "property", numObj);
+
+ return obj.property === "Number";
+ } finally {
+ delete Number.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143.js
index d499ffdfc..ab8c90a51 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-143.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.6/15.2.3.6-3-143.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var numObj = new Number(-2);
-
- numObj.value = "Number";
-
- Object.defineProperty(obj, "property", numObj);
-
- 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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var numObj = new Number(-2);
+
+ numObj.value = "Number";
+
+ Object.defineProperty(obj, "property", numObj);
+
+ return obj.property === "Number";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144-1.js
index cb560bafc..f2820d886 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144-1.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.6/15.2.3.6-3-144-1.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.value = "Math";
-
- Object.defineProperty(obj, "property", Math);
-
- return obj.property === "Math";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.value = "Math";
+
+ Object.defineProperty(obj, "property", Math);
+
+ return obj.property === "Math";
+ } finally {
+ delete Object.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144.js
index 999fb99fd..07a6d079f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-144.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.6/15.2.3.6-3-144.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Math.value = "Math";
-
- Object.defineProperty(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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Math.value = "Math";
+
+ Object.defineProperty(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.6/15.2.3.6-3-145-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145-1.js
index e231405eb..5f5af8469 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145-1.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.6/15.2.3.6-3-145-1.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Date.prototype.value = "Date";
- var dateObj = new Date();
-
- Object.defineProperty(obj, "property", dateObj);
-
- return obj.property === "Date";
- } finally {
- delete Date.prototype.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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Date.prototype.value = "Date";
+ var dateObj = new Date();
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ return obj.property === "Date";
+ } finally {
+ delete Date.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145.js
index 4712d1573..afe52f031 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-145.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.6/15.2.3.6-3-145.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var dateObj = new Date();
-
- dateObj.value = "Date";
-
- Object.defineProperty(obj, "property", dateObj);
-
- 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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var dateObj = new Date();
+
+ dateObj.value = "Date";
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ return obj.property === "Date";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146-1.js
index 75a98b991..17abab35d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146-1.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.6/15.2.3.6-3-146-1.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- RegExp.prototype.value = "RegExp";
- var regObj = new RegExp();
-
- Object.defineProperty(obj, "property", regObj);
-
- return obj.property === "RegExp";
- } finally {
- delete RegExp.prototype.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.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ RegExp.prototype.value = "RegExp";
+ var regObj = new RegExp();
+
+ Object.defineProperty(obj, "property", regObj);
+
+ return obj.property === "RegExp";
+ } finally {
+ delete RegExp.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146.js
index 4fe4d56a0..071e3e9b5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-146.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.6/15.2.3.6-3-146.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var regObj = new RegExp();
-
- regObj.value = "RegExp";
-
- Object.defineProperty(obj, "property", regObj);
-
- 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.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var regObj = new RegExp();
+
+ regObj.value = "RegExp";
+
+ Object.defineProperty(obj, "property", regObj);
+
+ return obj.property === "RegExp";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147-1.js
index 524de019e..35e9fdc75 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147-1.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.6/15.2.3.6-3-147-1.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.value = "JSON";
-
- Object.defineProperty(obj, "property", JSON);
-
- return obj.property === "JSON";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.value = "JSON";
+
+ Object.defineProperty(obj, "property", JSON);
+
+ return obj.property === "JSON";
+ } finally {
+ delete Object.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147.js
index 6a6a1e320..8fb39d154 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147.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.6/15.2.3.6-3-147.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- JSON.value = "JSON";
-
- Object.defineProperty(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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ JSON.value = "JSON";
+
+ Object.defineProperty(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.6/15.2.3.6-3-148-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148-1.js
index 09320877f..137224bb9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148-1.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.6/15.2.3.6-3-148-1.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Error.prototype.value = "Error";
- var errObj = new Error();
-
- Object.defineProperty(obj, "property", errObj);
-
- return obj.property === "Error";
- } finally {
- delete Error.prototype.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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'value' property of
+ prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Error.prototype.value = "Error";
+ var errObj = new Error();
+
+ Object.defineProperty(obj, "property", errObj);
+
+ return obj.property === "Error";
+ } finally {
+ delete Error.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148.js
index 4a54162a6..ba2a17eae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-148.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.6/15.2.3.6-3-148.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var errObj = new Error();
-
- errObj.value = "Error";
-
- Object.defineProperty(obj, "property", errObj);
-
- 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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'value' property (8.10.5
+ step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var errObj = new Error();
+
+ errObj.value = "Error";
+
+ Object.defineProperty(obj, "property", errObj);
+
+ return obj.property === "Error";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149-1.js
index b28a813f3..e705ed76e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149-1.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.6/15.2.3.6-3-149-1.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'value' property of prototype object (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Object.prototype.value = "arguments";
- var argObj = (function () { return arguments; })();
-
-
- Object.defineProperty(obj, "property", argObj);
-
- return obj.property === "arguments";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'value' property
+ of prototype object (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Object.prototype.value = "arguments";
+ var argObj = (function () { return arguments; })();
+
+
+ Object.defineProperty(obj, "property", argObj);
+
+ return obj.property === "arguments";
+ } finally {
+ delete Object.prototype.value;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149.js
index baefc9f46..8d4bad7ef 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-149.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.6/15.2.3.6-3-149.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var argObj = (function () { return arguments; })();
-
- argObj.value = "arguments";
-
- Object.defineProperty(obj, "property", argObj);
-
- return obj.property === "arguments";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'value' property
+ (8.10.5 step 5.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var argObj = (function () { return arguments; })();
+
+ argObj.value = "arguments";
+
+ Object.defineProperty(obj, "property", argObj);
+
+ return obj.property === "arguments";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-15.js
index 2a034e99b..ef4379e5c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-15.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-15.js
- * @description Object.defineProperty - 'Attributes' is undefined (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- try {
- Object.defineProperty(obj, "property", 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.defineProperty - 'Attributes' is undefined (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ try {
+ Object.defineProperty(obj, "property", 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.6/15.2.3.6-3-151.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-151.js
index ec9780f92..6983fa9a6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-151.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-151.js
@@ -1,25 +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.6/15.2.3.6-3-151.js
- * @description Object.defineProperty - 'Attributes' is the global object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- fnGlobalObject().value = "global";
-
- Object.defineProperty(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.defineProperty - 'Attributes' is the global object that
+ uses Object's [[Get]] method to access the 'value' property
+ (8.10.5 step 5.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ fnGlobalObject().value = "global";
+
+ Object.defineProperty(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.6/15.2.3.6-3-152.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-152.js
index 0d468c2a9..4719da628 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-152.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-152.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.6/15.2.3.6-3-152.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is present (8.10.5 step 6)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- writable: false
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ present (8.10.5 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ writable: false
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-153.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-153.js
index 72e7d6b2f..25c9116ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-153.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-153.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.6/15.2.3.6-3-153.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is not present (8.10.5 step 6)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {
- value: 100
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is not
+ present (8.10.5 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {
+ value: 100
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-154.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-154.js
index 6790eb660..4eeeef3ca 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-154.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-154.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.6/15.2.3.6-3-154.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is own data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var attr = {
- writable: true
- };
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is own
+ data property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var attr = {
+ writable: true
+ };
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-155.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-155.js
index b0ac8715e..5d97ab076 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-155.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-155.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.6/15.2.3.6-3-155.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is an inherited data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var proto = {
- writable: true
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is an
+ inherited data property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var proto = {
+ writable: true
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-156.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-156.js
index e859a2842..2d1984744 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-156.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-156.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.6/15.2.3.6-3-156.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is own data property that overrides an inherited data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var proto = {
- writable: false
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- child.writable = true;
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' 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: false
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ child.writable = true;
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-157.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-157.js
index f412b5974..71613295a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-157.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-157.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.6/15.2.3.6-3-157.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is own data 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 false;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "writable", {
- value: true
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' 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 = { };
+ Object.defineProperty(proto, "writable", {
+ get : function () {
+ return false;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "writable", {
+ value: true
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-158.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-158.js
index c8b1817a5..a0823437d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-158.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-158.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.6/15.2.3.6-3-158.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is own accessor property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var attr = { };
- Object.defineProperty(attr, "writable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is own
+ accessor property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var attr = { };
+ Object.defineProperty(attr, "writable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-159.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-159.js
index 85c67de2d..13dff9b38 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-159.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-159.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.6/15.2.3.6-3-159.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-16.js
index 088eec10b..6a32851c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-16.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.6/15.2.3.6-3-16.js
- * @description Object.defineProperty - 'Attributes' is null (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty({}, "property", 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.defineProperty - 'Attributes' is null (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty({}, "property", 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.6/15.2.3.6-3-160.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-160.js
index a42d5091d..b330024b0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-160.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-160.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.6/15.2.3.6-3-160.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is own accessor property that overrides an inherited data property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- writable: false
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "writable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' 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: false
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "writable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-161.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-161.js
index abb690ad0..6360bbde7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-161.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-161.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.6/15.2.3.6-3-161.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' 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 false;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "writable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' 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 false;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "writable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-162.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-162.js
index f3f34991e..afedbec52 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-162.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-162.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.6/15.2.3.6-3-162.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is own accessor property without a get function (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attr = {};
- Object.defineProperty(attr, "writable", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is own
+ accessor property without a get function (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attr = {};
+ Object.defineProperty(attr, "writable", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-163.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-163.js
index 2fa958a07..05e3dbb72 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-163.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-163.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.6/15.2.3.6-3-163.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "writable", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "writable", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-164.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-164.js
index d488c75e6..88162dae2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-164.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-164.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.6/15.2.3.6-3-164.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is an 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is an
+ 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165-1.js
index 73c56b0bf..eee7c6f1d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165-1.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.6/15.2.3.6-3-165-1.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Function.prototype.writable = true;
- var funObj = function (a, b) {
- return a + b;
- };
-
- Object.defineProperty(obj, "property", funObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Function.prototype.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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'writable'
+ property of prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Function.prototype.writable = true;
+ var funObj = function (a, b) {
+ return a + b;
+ };
+
+ Object.defineProperty(obj, "property", funObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Function.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165.js
index 1fa727599..d98af1d28 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-165.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.6/15.2.3.6-3-165.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var funObj = function (a, b) {
- return a + b;
- };
-
- funObj.writable = true;
-
- Object.defineProperty(obj, "property", funObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'writable'
+ property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var funObj = function (a, b) {
+ return a + b;
+ };
+
+ funObj.writable = true;
+
+ Object.defineProperty(obj, "property", funObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166-1.js
index a71f60ed4..e135a6e81 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166-1.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.6/15.2.3.6-3-166-1.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Array.prototype.writable = true;
- var arrObj = [1, 2, 3];
-
- Object.defineProperty(obj, "property", arrObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Array.prototype.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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Array.prototype.writable = true;
+ var arrObj = [1, 2, 3];
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Array.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166.js
index 04aeb0720..65ae4c8aa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-166.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.6/15.2.3.6-3-166.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var arrObj = [1, 2, 3];
-
- arrObj.writable = true;
-
- Object.defineProperty(obj, "property", arrObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var arrObj = [1, 2, 3];
+
+ arrObj.writable = true;
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167-1.js
index 22d7991de..9e07c7a83 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167-1.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.6/15.2.3.6-3-167-1.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- String.prototype.writable = true;
- var strObj = new String("abc");
-
- Object.defineProperty(obj, "property", strObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete String.prototype.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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ String.prototype.writable = true;
+ var strObj = new String("abc");
+
+ Object.defineProperty(obj, "property", strObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete String.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167.js
index a8a48051a..94c5fab3f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-167.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.6/15.2.3.6-3-167.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var strObj = new String("abc");
-
- strObj.writable = true;
-
- Object.defineProperty(obj, "property", strObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var strObj = new String("abc");
+
+ strObj.writable = true;
+
+ Object.defineProperty(obj, "property", strObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168-1.js
index 3ddd35487..75fedb607 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168-1.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.6/15.2.3.6-3-168-1.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Boolean.prototype.writable = true;
- var boolObj = new Boolean(true);
-
- Object.defineProperty(obj, "property", boolObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Boolean.prototype.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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Boolean.prototype.writable = true;
+ var boolObj = new Boolean(true);
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Boolean.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168.js
index 3f331a720..dbeb12efb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-168.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.6/15.2.3.6-3-168.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var boolObj = new Boolean(true);
-
- boolObj.writable = true;
-
- Object.defineProperty(obj, "property", boolObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var boolObj = new Boolean(true);
+
+ boolObj.writable = true;
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169-1.js
index ec860a7f8..e3ec9c1f3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169-1.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.6/15.2.3.6-3-169-1.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Number.prototype.writable = true;
- var numObj = new Number(-2);
-
- Object.defineProperty(obj, "property", numObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Number.prototype.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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Number.prototype.writable = true;
+ var numObj = new Number(-2);
+
+ Object.defineProperty(obj, "property", numObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Number.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169.js
index a4952a071..3f5ff34c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-169.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.6/15.2.3.6-3-169.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var numObj = new Number(-2);
-
- numObj.writable = true;
-
- Object.defineProperty(obj, "property", numObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var numObj = new Number(-2);
+
+ numObj.writable = true;
+
+ Object.defineProperty(obj, "property", numObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-17.js
index 186557612..692cfaa34 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-17.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.6/15.2.3.6-3-17.js
- * @description Object.defineProperty - 'Attributes' is a boolean primitive (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty({}, "property", 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.defineProperty - 'Attributes' is a boolean primitive
+ (8.10.5 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty({}, "property", 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.6/15.2.3.6-3-170-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170-1.js
index d919a4ea7..659fb8af5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170-1.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.6/15.2.3.6-3-170-1.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.writable = true;
-
- Object.defineProperty(obj, "property", Math);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.writable = true;
+
+ Object.defineProperty(obj, "property", Math);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Object.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170.js
index 253c2ad22..523e5eba4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-170.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.6/15.2.3.6-3-170.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Math.writable = true;
-
- Object.defineProperty(obj, "property", Math);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } 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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Math.writable = true;
+
+ Object.defineProperty(obj, "property", Math);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Math.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171-1.js
index b08660c81..e5989f464 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171-1.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.6/15.2.3.6-3-171-1.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Date.prototype.writable = true;
-
- dateObj = new Date();
-
- Object.defineProperty(obj, "property", dateObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Date.prototype.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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Date.prototype.writable = true;
+
+ dateObj = new Date();
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Date.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171.js
index f498ab44c..e6ee33d69 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-171.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.6/15.2.3.6-3-171.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var dateObj = new Date();
-
- dateObj.writable = true;
-
- Object.defineProperty(obj, "property", dateObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var dateObj = new Date();
+
+ dateObj.writable = true;
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172-1.js
index dc877724b..2f60e8d6d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172-1.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.6/15.2.3.6-3-172-1.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- RegExp.prototype.writable = true;
-
- var regObj = new RegExp();
-
- Object.defineProperty(obj, "property", regObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete RegExp.prototype.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.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ RegExp.prototype.writable = true;
+
+ var regObj = new RegExp();
+
+ Object.defineProperty(obj, "property", regObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete RegExp.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172.js
index e6abbf435..cae0365e9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-172.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.6/15.2.3.6-3-172.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var regObj = new RegExp();
-
- regObj.writable = true;
-
- Object.defineProperty(obj, "property", regObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var regObj = new RegExp();
+
+ regObj.writable = true;
+
+ Object.defineProperty(obj, "property", regObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173-1.js
index 25bf5b186..ddb22283c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173-1.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.6/15.2.3.6-3-173-1.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.writable = true;
-
- Object.defineProperty(obj, "property", JSON);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.writable = true;
+
+ Object.defineProperty(obj, "property", JSON);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Object.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173.js
index cc731e9f5..8b1b7dddb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-173.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.6/15.2.3.6-3-173.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- JSON.writable = true;
-
- Object.defineProperty(obj, "property", JSON);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } 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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ JSON.writable = true;
+
+ Object.defineProperty(obj, "property", JSON);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete JSON.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174-1.js
index 3f2136029..f51321f5e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174-1.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.6/15.2.3.6-3-174-1.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Error.prototype.writable = true;
-
- var errObj = new Error();
-
- Object.defineProperty(obj, "property", errObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Error.prototype.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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'writable' property of
+ prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Error.prototype.writable = true;
+
+ var errObj = new Error();
+
+ Object.defineProperty(obj, "property", errObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Error.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174.js
index dc4a24bd0..bd3f1d500 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-174.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.6/15.2.3.6-3-174.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var errObj = new Error();
-
- errObj.writable = true;
-
- Object.defineProperty(obj, "property", errObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'writable' property (8.10.5
+ step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var errObj = new Error();
+
+ errObj.writable = true;
+
+ Object.defineProperty(obj, "property", errObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175-1.js
index 548b1dfde..c9f09abd0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175-1.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.6/15.2.3.6-3-175-1.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'writable' property of prototype object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Object.prototype.writable = true;
-
- var argObj = (function () { return arguments; })();
-
- Object.defineProperty(obj, "property", argObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'writable'
+ property of prototype object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Object.prototype.writable = true;
+
+ var argObj = (function () { return arguments; })();
+
+ Object.defineProperty(obj, "property", argObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete Object.prototype.writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175.js
index dcdd3af4d..31fe64eb4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-175.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.6/15.2.3.6-3-175.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var argObj = (function () { return arguments; })();
-
- argObj.writable = true;
-
- Object.defineProperty(obj, "property", argObj);
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'writable'
+ property (8.10.5 step 6.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var argObj = (function () { return arguments; })();
+
+ argObj.writable = true;
+
+ Object.defineProperty(obj, "property", argObj);
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-177.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-177.js
index aa9e02095..baac4604e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-177.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-177.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.6/15.2.3.6-3-177.js
- * @description Object.defineProperty - 'Attributes' is the global object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- fnGlobalObject().writable = true;
-
- Object.defineProperty(obj, "property", fnGlobalObject());
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === true;
- } 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.defineProperty - 'Attributes' is the global object that
+ uses Object's [[Get]] method to access the 'writable' property
+ (8.10.5 step 6.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ fnGlobalObject().writable = true;
+
+ Object.defineProperty(obj, "property", fnGlobalObject());
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ } finally {
+ delete fnGlobalObject().writable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-178.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-178.js
index e72ef3efb..c015b4135 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-178.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-178.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.6/15.2.3.6-3-178.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is undefined (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- writable: undefined
- });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ undefined (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ writable: undefined
+ });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-179.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-179.js
index 964de16d0..bfffa007b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-179.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-179.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is null (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { writable: null });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ null (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { writable: null });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-18.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-18.js
index c1a21e1af..05133a016 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-18.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-18.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.6/15.2.3.6-3-18.js
- * @description Object.defineProperty - 'Attributes' is a number primitive (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty({}, "property", 12);
- 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.defineProperty - 'Attributes' is a number primitive (8.10.5
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty({}, "property", 12);
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-180.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-180.js
index 0667b22b9..157836920 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-180.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-180.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is true (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: true });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ true (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: true });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-181.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-181.js
index 5ded528a9..140da1a39 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-181.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-181.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is false (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { writable: false });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ false (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { writable: false });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-182.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-182.js
index eef3c8f6e..e9f7d89d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-182.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-182.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is 0 (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { writable: 0 });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is 0
+ (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { writable: 0 });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-183.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-183.js
index ed70af1df..f9c9ce962 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-183.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-183.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is +0 (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: +0 });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is +0
+ (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: +0 });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-184.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-184.js
index 338d0836f..400aa97d9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-184.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-184.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is -0 (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { writable: -0 });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is -0
+ (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { writable: -0 });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-185.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-185.js
index 6260df554..71d61b4cf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-185.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-185.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is NaN (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { writable: NaN});
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ NaN (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { writable: NaN});
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-186.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-186.js
index 2debfa016..4e10934e7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-186.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-186.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.6/15.2.3.6-3-186.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a positive number (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: 12345 });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ positive number (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: 12345 });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-187.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-187.js
index cb030ea74..3a731ae82 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-187.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-187.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.6/15.2.3.6-3-187.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a negative number (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: -12345 });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ negative number (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: -12345 });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-188.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-188.js
index 22757b34a..c3925712e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-188.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-188.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.6/15.2.3.6-3-188.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is an empty string (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: "" });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (typeof (obj.property) === "undefined");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is an
+ empty string (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: "" });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (typeof (obj.property) === "undefined");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-189.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-189.js
index de71c7d57..d729777ce 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-189.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-189.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.6/15.2.3.6-3-189.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a non-empty string (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: " " });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ non-empty string (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: " " });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-19.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-19.js
index 01f27408e..7d1e7e163 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-19.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-19.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.6/15.2.3.6-3-19.js
- * @description Object.defineProperty - 'Attributes' is a string primitive (8.10.5 step 1)
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty({}, "property", "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.defineProperty - 'Attributes' is a string primitive (8.10.5
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty({}, "property", "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.6/15.2.3.6-3-190.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-190.js
index 86dabf73d..63dd66020 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-190.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-190.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.6/15.2.3.6-3-190.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a Function object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- writable: function () { }
- });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ Function object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ writable: function () { }
+ });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-191.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-191.js
index 4a0928a7e..ed38db00a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-191.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-191.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.6/15.2.3.6-3-191.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is an Array object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: [1, 2, 3] });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is an
+ Array object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: [1, 2, 3] });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-192.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-192.js
index da1141b72..c2270f2ba 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-192.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-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.6/15.2.3.6-3-192.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a String object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: new String("bbq") });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ String object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: new String("bbq") });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-193.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-193.js
index 0a3846103..49d7533ab 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-193.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-193.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.6/15.2.3.6-3-193.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a Boolean object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: new Boolean(true) });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ Boolean object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: new Boolean(true) });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-194.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-194.js
index 73bfddb79..529aafdcb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-194.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-194.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.6/15.2.3.6-3-194.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a Number object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: new Number(123) });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ Number object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: new Number(123) });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-195.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-195.js
index d304daff5..1f74fdd9c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-195.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-195.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.6/15.2.3.6-3-195.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is the Math object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: Math });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is the
+ Math object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: Math });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-196.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-196.js
index ec2cb278f..26772f36d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-196.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-196.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.6/15.2.3.6-3-196.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a Date object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: new Date() });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ Date object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: new Date() });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-197.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-197.js
index ff4376aff..953861b46 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-197.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-197.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.6/15.2.3.6-3-197.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a RegExp object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- writable: new RegExp()
- });
-
- var beforeWrite = obj.hasOwnProperty("property") && typeof obj.property === "undefined";
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite && afterWrite;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'writable' property in 'Attributes' is a
+ RegExp object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ writable: new RegExp()
+ });
+
+ var beforeWrite = obj.hasOwnProperty("property") && typeof obj.property === "undefined";
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite && afterWrite;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-198.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-198.js
index 56700f498..e8a79ed01 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-198.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-198.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.6/15.2.3.6-3-198.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is the JSON object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: JSON });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is the
+ JSON object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: JSON });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-199.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-199.js
index b63b7cfed..b22cf212f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-199.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-199.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.6/15.2.3.6-3-199.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is a Error object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: new SyntaxError() });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is a
+ Error object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: new SyntaxError() });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-2.js
index 53a1b09ea..c006cd395 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-2.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.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-2.js
- * @description Object.defineProperty throws TypeError if desc has 'get' and 'writable' present(8.10.5 step 9.a)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var getter = function () { return 1; }
- var desc = { get: getter, writable: false };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if desc has 'get' and
+ 'writable' present(8.10.5 step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var getter = function () { return 1; }
+ var desc = { get: getter, writable: false };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-20.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-20.js
index f7ba28c60..8111b13e7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-20.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-20.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.6/15.2.3.6-3-20.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is present (8.10.5 step 3)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var accessed = false;
- Object.defineProperty(obj, "property", {
- enumerable: false
- });
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
- return !accessed && 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.defineProperty - 'enumerable' property in 'Attributes' is
+ present (8.10.5 step 3)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var accessed = false;
+ Object.defineProperty(obj, "property", {
+ enumerable: false
+ });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed && obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-200.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-200.js
index c2dfe1e3b..f4b06fe35 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-200.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-200.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.6/15.2.3.6-3-200.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is the Argument object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- var argObj = (function () { return arguments; })(1, true, "a");
-
- Object.defineProperty(obj, "property", { writable: argObj });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is the
+ Argument object (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var argObj = (function () { return arguments; })(1, true, "a");
+
+ Object.defineProperty(obj, "property", { writable: argObj });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-202.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-202.js
index 8a0090653..8d88962ea 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-202.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-202.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.6/15.2.3.6-3-202.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is the global object (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- writable: fnGlobalObject()
- });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is the
+ global object (8.10.5 step 6.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ writable: fnGlobalObject()
+ });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-203.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-203.js
index 9c06ba693..d9e8f2e2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-203.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-203.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.6/15.2.3.6-3-203.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is treated as true when it is a string(value is 'false') (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: "false" });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ treated as true when it is a string(value is 'false') (8.10.5 step
+ 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: "false" });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-204.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-204.js
index 71d641835..911ebed19 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-204.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-204.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.6/15.2.3.6-3-204.js
- * @description Object.defineProperty - 'writable' property in 'Attributes' is treated as true when it is new Boolean(false) (8.10.5 step 6.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", { writable: new Boolean(false) });
-
- var beforeWrite = obj.hasOwnProperty("property");
-
- obj.property = "isWritable";
-
- var afterWrite = (obj.property === "isWritable");
-
- return beforeWrite === true && afterWrite === 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.defineProperty - 'writable' property in 'Attributes' is
+ treated as true when it is new Boolean(false) (8.10.5 step 6.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", { writable: new Boolean(false) });
+
+ var beforeWrite = obj.hasOwnProperty("property");
+
+ obj.property = "isWritable";
+
+ var afterWrite = (obj.property === "isWritable");
+
+ return beforeWrite === true && afterWrite === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-205.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-205.js
index 94feb43bc..5fbadb3d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-205.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-205.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.6/15.2.3.6-3-205.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is present (8.10.5 step 7)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return "present";
- }
- });
-
- 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.defineProperty - 'get' property in 'Attributes' is present
+ (8.10.5 step 7)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return "present";
+ }
+ });
+
+ return obj.property === "present";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-206.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-206.js
index ac90edbbc..34b2fabd4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-206.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-206.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.6/15.2.3.6-3-206.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is not present (8.10.5 step 7)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- set: function () {}
- });
-
- return typeof obj.property === "undefined" && 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.defineProperty - 'get' property in 'Attributes' is not
+ present (8.10.5 step 7)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ set: function () {}
+ });
+
+ return typeof obj.property === "undefined" && obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-207.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-207.js
index 1a290b65d..64b675a9b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-207.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-207.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-207.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is own data property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- var attributes = {
- get: function () {
- return "ownDataProperty";
- }
- };
-
- Object.defineProperty(obj, "property", attributes);
-
- 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.defineProperty - 'get' property in 'Attributes' is own data
+ property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var attributes = {
+ get: function () {
+ return "ownDataProperty";
+ }
+ };
+
+ Object.defineProperty(obj, "property", attributes);
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-208.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-208.js
index 03b742529..2e85819f3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-208.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-208.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.6/15.2.3.6-3-208.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is an inherited data property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {
- get: function () {
- return "inheritedDataProperty";
- }
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' is an
+ inherited data property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var proto = {
+ get: function () {
+ return "inheritedDataProperty";
+ }
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "inheritedDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-209.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-209.js
index bdaabaeb8..4fd8b8dbd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-209.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-209.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.6/15.2.3.6-3-209.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is own data property that overrides an inherited data property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {
- get: function () {
- return "inheritedDataProperty";
- }
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- child.get = function () {
- return "ownDataProperty";
- };
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' is own data
+ 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ child.get = function () {
+ return "ownDataProperty";
+ };
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-21.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-21.js
index 689f4bfea..80ae34c9b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-21.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-21.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.6/15.2.3.6-3-21.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is not present (8.10.5 step 3)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var attr = {};
- var accessed = false;
- Object.defineProperty(obj, "property", attr);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ not present (8.10.5 step 3)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ var attr = {};
+ var accessed = false;
+ Object.defineProperty(obj, "property", attr);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-210.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-210.js
index 71ac691ca..b783291f7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-210.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-210.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.6/15.2.3.6-3-210.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is own data property that overrides an inherited accessor property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {};
- var fun = function () {
- return "inheritedAccessorProperty";
- };
- Object.defineProperty(proto, "get", {
- get: function () {
- return fun;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "get", {
- value: function () {
- return "ownDataProperty";
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' 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 = {};
+ var fun = function () {
+ return "inheritedAccessorProperty";
+ };
+ Object.defineProperty(proto, "get", {
+ get: function () {
+ return fun;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "get", {
+ value: function () {
+ return "ownDataProperty";
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownDataProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-211.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-211.js
index 5ef27cb36..8b60a7c6e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-211.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-211.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.6/15.2.3.6-3-211.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is own accessor property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attributes = {};
- Object.defineProperty(attributes, "get", {
- get: function () {
- return function () {
- return "ownAccessorProperty";
- };
- }
- });
-
- Object.defineProperty(obj, "property", attributes);
-
- 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.defineProperty - 'get' property in 'Attributes' is own
+ accessor property (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attributes = {};
+ Object.defineProperty(attributes, "get", {
+ get: function () {
+ return function () {
+ return "ownAccessorProperty";
+ };
+ }
+ });
+
+ Object.defineProperty(obj, "property", attributes);
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-212.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-212.js
index 550275f63..13f42afdd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-212.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-212.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.6/15.2.3.6-3-212.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' is 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "inheritedAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-213.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-213.js
index 74ba2ab28..5d9002587 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-213.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-213.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.6/15.2.3.6-3-213.js
- * @description Object.defineProperty - 'get' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "get", {
- get: function () {
- return function () {
- return "ownAccessorProperty";
- };
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "get", {
+ get: function () {
+ return function () {
+ return "ownAccessorProperty";
+ };
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-214.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-214.js
index ba3922808..b58a9176d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-214.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-214.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.6/15.2.3.6-3-214.js
- * @description Object.defineProperty - 'get' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "get", {
- get: function () {
- return function () {
- return "ownAccessorProperty";
- };
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "get", {
+ get: function () {
+ return function () {
+ return "ownAccessorProperty";
+ };
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.property === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-215.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-215.js
index ddcf67651..6ca8e8ac7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-215.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-215.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-215.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is own accessor property without a get function (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attributes = {};
- Object.defineProperty(attributes, "get", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", attributes);
-
- return typeof obj.property === "undefined" && 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.defineProperty - 'get' property in 'Attributes' is own
+ accessor property without a get function (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attributes = {};
+ Object.defineProperty(attributes, "get", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", attributes);
+
+ return typeof obj.property === "undefined" && obj.hasOwnProperty("property");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-216.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-216.js
index 56e83aa08..6cbff0a95 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-216.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-216.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.6/15.2.3.6-3-216.js
- * @description Object.defineProperty - 'get' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "get", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "get", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.hasOwnProperty("property") && typeof obj.property === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-217.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-217.js
index a0efd8401..c0e4d0a74 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-217.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-217.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.6/15.2.3.6-3-217.js
- * @description Object.defineProperty - 'get' property in 'Attributes' is an 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- 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.defineProperty - 'get' property in 'Attributes' is an
+ 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ return obj.hasOwnProperty("property") && typeof obj.property === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218-1.js
index 625f7edad..cf9676753 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218-1.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Function.prototype.get = function () {
- return "functionGetProperty";
- };
- var funObj = function () { };
-
- Object.defineProperty(obj, "property", funObj);
-
- return obj.property === "functionGetProperty";
- } finally {
- delete Function.prototype.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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'get' property of
+ prototype object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Function.prototype.get = function () {
+ return "functionGetProperty";
+ };
+ var funObj = function () { };
+
+ Object.defineProperty(obj, "property", funObj);
+
+ return obj.property === "functionGetProperty";
+ } finally {
+ delete Function.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218.js
index 5e5567c18..b057f423c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-218.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.6/15.2.3.6-3-218.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var funObj = function () { };
-
- funObj.get = function () {
- return "functionGetProperty";
- };
-
- Object.defineProperty(obj, "property", funObj);
-
- return obj.property === "functionGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'get' property
+ (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var funObj = function () { };
+
+ funObj.get = function () {
+ return "functionGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", funObj);
+
+ return obj.property === "functionGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219-1.js
index 44f84c37b..3fdef4ecb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219-1.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Array.prototype.get = function () {
- return "arrayGetProperty";
- };
- var arrObj = [];
-
- Object.defineProperty(obj, "property", arrObj);
-
- return obj.property === "arrayGetProperty";
- } finally {
- delete Array.prototype.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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Array.prototype.get = function () {
+ return "arrayGetProperty";
+ };
+ var arrObj = [];
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ return obj.property === "arrayGetProperty";
+ } finally {
+ delete Array.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219.js
index 7c5b8ea27..2369626f6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-219.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.6/15.2.3.6-3-219.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var arrObj = [];
-
- arrObj.get = function () {
- return "arrayGetProperty";
- };
-
- Object.defineProperty(obj, "property", arrObj);
-
- return obj.property === "arrayGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var arrObj = [];
+
+ arrObj.get = function () {
+ return "arrayGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ return obj.property === "arrayGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-22.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-22.js
index a00177fe2..e0c02b7a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-22.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-22.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.6/15.2.3.6-3-22.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is own data property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", {
- enumerable: true
- });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ own data property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", {
+ enumerable: true
+ });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220-1.js
index 3cff0394c..73eb5aa40 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220-1.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- String.prototype.get = function () {
- return "stringGetProperty";
- };
- var strObj = new String();
-
- Object.defineProperty(obj, "property", strObj);
-
- return obj.property === "stringGetProperty";
- } finally {
- delete String.prototype.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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ String.prototype.get = function () {
+ return "stringGetProperty";
+ };
+ var strObj = new String();
+
+ Object.defineProperty(obj, "property", strObj);
+
+ return obj.property === "stringGetProperty";
+ } finally {
+ delete String.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220.js
index 97c08e5e3..7ec85d3fc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-220.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.6/15.2.3.6-3-220.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var strObj = new String();
-
- strObj.get = function () {
- return "stringGetProperty";
- };
-
- Object.defineProperty(obj, "property", strObj);
-
- return obj.property === "stringGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var strObj = new String();
+
+ strObj.get = function () {
+ return "stringGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", strObj);
+
+ return obj.property === "stringGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221-1.js
index 2e55c5af8..cc26b7fe0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221-1.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Boolean.prototype.get = function () {
- return "booleanGetProperty";
- };
- var boolObj = new Boolean(true);
-
- Object.defineProperty(obj, "property", boolObj);
-
- return obj.property === "booleanGetProperty";
- } finally {
- delete Boolean.prototype.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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Boolean.prototype.get = function () {
+ return "booleanGetProperty";
+ };
+ var boolObj = new Boolean(true);
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ return obj.property === "booleanGetProperty";
+ } finally {
+ delete Boolean.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221.js
index 9319508af..ccdf7df91 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-221.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.6/15.2.3.6-3-221.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var boolObj = new Boolean(true);
-
- boolObj.get = function () {
- return "booleanGetProperty";
- };
-
- Object.defineProperty(obj, "property", boolObj);
-
- return obj.property === "booleanGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var boolObj = new Boolean(true);
+
+ boolObj.get = function () {
+ return "booleanGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ return obj.property === "booleanGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222-1.js
index 71ec25e89..b43df51f0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222-1.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Number.prototype.get = function () {
- return "numberGetProperty";
- };
- var numObj = new Number(-2);
-
- Object.defineProperty(obj, "property", numObj);
-
- return obj.property === "numberGetProperty";
- } finally {
- delete Number.prototype.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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Number.prototype.get = function () {
+ return "numberGetProperty";
+ };
+ var numObj = new Number(-2);
+
+ Object.defineProperty(obj, "property", numObj);
+
+ return obj.property === "numberGetProperty";
+ } finally {
+ delete Number.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222.js
index 9d5905998..abee553b7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-222.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.6/15.2.3.6-3-222.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var numObj = new Number(-2);
-
- numObj.get = function () {
- return "numberGetProperty";
- };
-
- Object.defineProperty(obj, "property", numObj);
-
- return obj.property === "numberGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var numObj = new Number(-2);
+
+ numObj.get = function () {
+ return "numberGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", numObj);
+
+ return obj.property === "numberGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js
index a0de89638..675201f9e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.get = function () {
- return "mathGetProperty";
- };
-
- Object.defineProperty(obj, "property", Math);
-
- return obj.property === "mathGetProperty";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.get = function () {
+ return "mathGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", Math);
+
+ return obj.property === "mathGetProperty";
+ } finally {
+ delete Object.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223.js
index 59ca2b6d1..60e0091e8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223.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.6/15.2.3.6-3-223.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Math.get = function () {
- return "mathGetProperty";
- };
-
- Object.defineProperty(obj, "property", Math);
-
- return obj.property === "mathGetProperty";
- } 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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Math.get = function () {
+ return "mathGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", Math);
+
+ return obj.property === "mathGetProperty";
+ } finally {
+ delete Math.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224-1.js
index 3ca48c6da..b0f69d048 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224-1.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Date.prototype.get = function () {
- return "dateGetProperty";
- };
- var dateObj = new Date();
-
- Object.defineProperty(obj, "property", dateObj);
-
- return obj.property === "dateGetProperty";
- } finally {
- delete Date.prototype.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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Date.prototype.get = function () {
+ return "dateGetProperty";
+ };
+ var dateObj = new Date();
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ return obj.property === "dateGetProperty";
+ } finally {
+ delete Date.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224.js
index 32f8ae62b..b72c393d9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-224.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.6/15.2.3.6-3-224.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var dateObj = new Date();
-
- dateObj.get = function () {
- return "dateGetProperty";
- };
-
- Object.defineProperty(obj, "property", dateObj);
-
- return obj.property === "dateGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var dateObj = new Date();
+
+ dateObj.get = function () {
+ return "dateGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ return obj.property === "dateGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225-1.js
index 915b2d15f..2ddb49508 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225-1.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.6/15.2.3.6-3-225-1.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- RegExp.prototype.get = function () {
- return "regExpGetProperty";
- };
- var regObj = new RegExp();
-
-
- Object.defineProperty(obj, "property", regObj);
-
- return obj.property === "regExpGetProperty";
- } finally {
- delete RegExp.prototype.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.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ RegExp.prototype.get = function () {
+ return "regExpGetProperty";
+ };
+ var regObj = new RegExp();
+
+
+ Object.defineProperty(obj, "property", regObj);
+
+ return obj.property === "regExpGetProperty";
+ } finally {
+ delete RegExp.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225.js
index aff5c5713..95ad2a3cb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-225.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.6/15.2.3.6-3-225.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var regObj = new RegExp();
-
- regObj.get = function () {
- return "regExpGetProperty";
- };
-
- Object.defineProperty(obj, "property", regObj);
-
- return obj.property === "regExpGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var regObj = new RegExp();
+
+ regObj.get = function () {
+ return "regExpGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", regObj);
+
+ return obj.property === "regExpGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226-1.js
index 3e106a3c9..e05859515 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226-1.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.get = function () {
- return "jsonGetProperty";
- };
-
- Object.defineProperty(obj, "property", JSON);
-
- return obj.property === "jsonGetProperty";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.get = function () {
+ return "jsonGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", JSON);
+
+ return obj.property === "jsonGetProperty";
+ } finally {
+ delete Object.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226.js
index 855c4f5eb..cb21b44c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-226.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.6/15.2.3.6-3-226.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- JSON.get = function () {
- return "jsonGetProperty";
- };
-
- Object.defineProperty(obj, "property", JSON);
-
- return obj.property === "jsonGetProperty";
- } 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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ JSON.get = function () {
+ return "jsonGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", JSON);
+
+ return obj.property === "jsonGetProperty";
+ } finally {
+ delete JSON.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227-1.js
index 39738a3b2..9bc610916 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227-1.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Error.prototype.get = function () {
- return "errorGetProperty";
- };
- var errObj = new Error();
-
- Object.defineProperty(obj, "property", errObj);
-
- return obj.property === "errorGetProperty";
- } finally {
- delete Error.prototype.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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'get' property of prototype
+ object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Error.prototype.get = function () {
+ return "errorGetProperty";
+ };
+ var errObj = new Error();
+
+ Object.defineProperty(obj, "property", errObj);
+
+ return obj.property === "errorGetProperty";
+ } finally {
+ delete Error.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227.js
index b6ca7f60d..aac6ec370 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-227.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.6/15.2.3.6-3-227.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var errObj = new Error();
-
- errObj.get = function () {
- return "errorGetProperty";
- };
-
- Object.defineProperty(obj, "property", errObj);
-
- return obj.property === "errorGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'get' property (8.10.5 step
+ 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var errObj = new Error();
+
+ errObj.get = function () {
+ return "errorGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", errObj);
+
+ return obj.property === "errorGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228-1.js
index 8acd1a79a..6394df3df 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228-1.js
@@ -1,27 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228-1.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Object.prototype.get = function () {
- return "argumentGetProperty";
- };
- var argObj = (function () { return arguments; })();
-
- Object.defineProperty(obj, "property", argObj);
-
- return obj.property === "argumentGetProperty";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'get' property of
+ prototype object (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Object.prototype.get = function () {
+ return "argumentGetProperty";
+ };
+ var argObj = (function () { return arguments; })();
+
+ Object.defineProperty(obj, "property", argObj);
+
+ return obj.property === "argumentGetProperty";
+ } finally {
+ delete Object.prototype.get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228.js
index 55f601b6d..d968c3cda 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-228.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.6/15.2.3.6-3-228.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var argObj = (function () { return arguments; })();
-
- argObj.get = function () {
- return "argumentGetProperty";
- };
-
- Object.defineProperty(obj, "property", argObj);
-
- return obj.property === "argumentGetProperty";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'get' property
+ (8.10.5 step 7.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var argObj = (function () { return arguments; })();
+
+ argObj.get = function () {
+ return "argumentGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", argObj);
+
+ return obj.property === "argumentGetProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-23.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-23.js
index fb90a87c0..840a31ba1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-23.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-23.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.6/15.2.3.6-3-23.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is an inherited data property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var proto = {};
- Object.defineProperty(proto, "enumerable", {
- value: true
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ an inherited data property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var proto = {};
+ Object.defineProperty(proto, "enumerable", {
+ value: true
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-230.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-230.js
index f362d6898..6b4153fe2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-230.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-230.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.6/15.2.3.6-3-230.js
- * @description Object.defineProperty - 'Attributes' is the global object that uses Object's [[Get]] method to access the 'get' property (8.10.5 step 7.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- fnGlobalObject().get = function () {
- return "globalGetProperty";
- };
-
- Object.defineProperty(obj, "property", fnGlobalObject());
-
- return obj.property === "globalGetProperty";
- } 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.defineProperty - 'Attributes' is the global object that
+ uses Object's [[Get]] method to access the 'get' property (8.10.5
+ step 7.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ fnGlobalObject().get = function () {
+ return "globalGetProperty";
+ };
+
+ Object.defineProperty(obj, "property", fnGlobalObject());
+
+ return obj.property === "globalGetProperty";
+ } finally {
+ delete fnGlobalObject().get;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-231.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-231.js
index 7c033d081..f0edaea44 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-231.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-231.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.6/15.2.3.6-3-231.js
- * @description Object.defineProperty - value of 'get' property in 'Attributes' is undefined (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(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.defineProperty - value of 'get' property in 'Attributes' is
+ undefined (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(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.6/15.2.3.6-3-232.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-232.js
index 448811af8..996f87713 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-232.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-232.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.6/15.2.3.6-3-232.js
- * @description Object.defineProperty - value of 'get' property in 'Attributes' is a function (8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return "getFunction";
- }
- });
-
- return obj.hasOwnProperty("property") && obj.property === "getFunction";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - value of 'get' property in 'Attributes' is
+ a function (8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return "getFunction";
+ }
+ });
+
+ return obj.hasOwnProperty("property") && obj.property === "getFunction";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-235.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-235.js
index ebecd3c04..004a8f73f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-235.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-235.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.6/15.2.3.6-3-235.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is present (8.10.5 step 8)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- Object.defineProperty(obj, "property", {
- set: function (value) {
- data = value;
- }
- });
-
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'set' property in 'Attributes' is present
+ (8.10.5 step 8)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ Object.defineProperty(obj, "property", {
+ set: function (value) {
+ data = value;
+ }
+ });
+
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-236.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-236.js
index 92bb2997e..424a8e11e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-236.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-236.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.6/15.2.3.6-3-236.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is not present (8.10.5 step 8)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return 11;
- }
- });
-
- obj.property = 14;
- var desc = Object.getOwnPropertyDescriptor(obj, "property");
- return obj.hasOwnProperty("property") && obj.property === 11 && 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.defineProperty - 'set' property in 'Attributes' is not
+ present (8.10.5 step 8)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 11;
+ }
+ });
+
+ obj.property = 14;
+ var desc = Object.getOwnPropertyDescriptor(obj, "property");
+ return obj.hasOwnProperty("property") && obj.property === 11 && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-237.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-237.js
index c73d6ef86..3075b4c7b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-237.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-237.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.6/15.2.3.6-3-237.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- Object.defineProperty(obj, "property", {
- set: function (value) {
- data = value;
- }
- });
-
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'set' property in 'Attributes' is own data
+ property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ Object.defineProperty(obj, "property", {
+ set: function (value) {
+ data = value;
+ }
+ });
+
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-238.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-238.js
index fa8b007f0..66c343a2b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-238.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-238.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.6/15.2.3.6-3-238.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is an inherited data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var proto = {
- set: function (value) {
- data = value;
- }
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'set' property in 'Attributes' is an
+ inherited data property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var proto = {
+ set: function (value) {
+ data = value;
+ }
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-239.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-239.js
index 7018a807c..a9d676278 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-239.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-239.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.6/15.2.3.6-3-239.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own data property that overrides an inherited data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data1 = "data";
- var data2 = "data";
- var proto = {
- set: function (value) {
- data1 = value;
- }
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- child.set = function (value) {
- data2 = value;
- };
-
- Object.defineProperty(obj, "property", child);
-
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data1 === "data" && data2 === "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.defineProperty - 'set' property in 'Attributes' is own data
+ property that overrides an inherited data property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data1 = "data";
+ var data2 = "data";
+ var proto = {
+ set: function (value) {
+ data1 = value;
+ }
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ child.set = function (value) {
+ data2 = value;
+ };
+
+ Object.defineProperty(obj, "property", child);
+
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data1 === "data" && data2 === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-24.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-24.js
index 858ae62bc..5ad138378 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-24.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-24.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.6/15.2.3.6-3-24.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' 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 = {};
- Object.defineProperty(proto, "enumerable", {
- value: false
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "enumerable", {
- value: true
- });
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' 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 = {};
+ Object.defineProperty(proto, "enumerable", {
+ value: false
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "enumerable", {
+ value: true
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-240.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-240.js
index 8fe34665a..0844cfaa5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-240.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-240.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.6/15.2.3.6-3-240.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own data property that overrides an inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {};
- var data1 = "data";
- var data2 = "data";
-
- Object.defineProperty(proto, "set", {
- get: function () {
- return function (value) {
- data1 = value;
- };
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "set", {
- value: function (value) {
- data2 = value;
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data1 === "data" && data2 === "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.defineProperty - 'set' property in 'Attributes' is own data
+ property that overrides an inherited accessor property (8.10.5
+ step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var proto = {};
+ var data1 = "data";
+ var data2 = "data";
+
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return function (value) {
+ data1 = value;
+ };
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "set", {
+ value: function (value) {
+ data2 = value;
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data1 === "data" && data2 === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-241.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-241.js
index a85be3a4d..7d6e0c415 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-241.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-241.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.6/15.2.3.6-3-241.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var attributes = {};
- Object.defineProperty(attributes, "set", {
- get: function () {
- return function (value) {
- data = value;
- };
- }
- });
-
- Object.defineProperty(obj, "property", attributes);
- obj.property = "ownAccessorProperty";
-
- return obj.hasOwnProperty("property") && data === "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.defineProperty - 'set' property in 'Attributes' is own
+ accessor property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var attributes = {};
+ Object.defineProperty(attributes, "set", {
+ get: function () {
+ return function (value) {
+ data = value;
+ };
+ }
+ });
+
+ Object.defineProperty(obj, "property", attributes);
+ obj.property = "ownAccessorProperty";
+
+ return obj.hasOwnProperty("property") && data === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-242.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-242.js
index d173a4b4a..f48f4e915 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-242.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-242.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.6/15.2.3.6-3-242.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is an inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {};
- var data = "data";
- Object.defineProperty(proto, "set", {
- get: function () {
- return function (value) {
- data = value;
- };
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
- obj.property = "inheritedAccessorProperty";
-
- return obj.hasOwnProperty("property") && data === "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.defineProperty - 'set' property in 'Attributes' is an
+ inherited accessor property (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var proto = {};
+ var data = "data";
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return function (value) {
+ data = value;
+ };
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+ obj.property = "inheritedAccessorProperty";
+
+ return obj.hasOwnProperty("property") && data === "inheritedAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-243.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-243.js
index 151713f9d..4d121f95b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-243.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-243.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.6/15.2.3.6-3-243.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own accessor property that overrides an inherited data property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data1 = "data";
- var data2 = "data";
-
- var proto = {
- set: function (value) {
- data1 = value;
- }
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "set", {
- get: function () {
- return function (value) {
- data2 = value;
- };
- }
- });
-
- Object.defineProperty(obj, "property", child);
- obj.property = "ownAccessorProperty";
-
- return obj.hasOwnProperty("property") && data1 === "data" && data2 === "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.defineProperty - 'set' property in 'Attributes' is own
+ accessor property that overrides an inherited data property
+ (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data1 = "data";
+ var data2 = "data";
+
+ var proto = {
+ set: function (value) {
+ data1 = value;
+ }
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "set", {
+ get: function () {
+ return function (value) {
+ data2 = value;
+ };
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+ obj.property = "ownAccessorProperty";
+
+ return obj.hasOwnProperty("property") && data1 === "data" && data2 === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-244.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-244.js
index 33a32b486..2a372ca5f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-244.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-244.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.6/15.2.3.6-3-244.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own accessor property that overrides an inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {};
- var data1 = "data";
- var data2 = "data";
- Object.defineProperty(proto, "set", {
- get: function () {
- return function (value) {
- data1 = value;
- };
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "set", {
- get: function () {
- return function (value) {
- data2 = value;
- };
- }
- });
-
- Object.defineProperty(obj, "property", child);
- obj.property = "ownAccessorProperty";
-
- return obj.hasOwnProperty("property") && data1 === "data" && data2 === "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.defineProperty - 'set' property in 'Attributes' is own
+ accessor property that overrides an inherited accessor property
+ (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var proto = {};
+ var data1 = "data";
+ var data2 = "data";
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return function (value) {
+ data1 = value;
+ };
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "set", {
+ get: function () {
+ return function (value) {
+ data2 = value;
+ };
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+ obj.property = "ownAccessorProperty";
+
+ return obj.hasOwnProperty("property") && data1 === "data" && data2 === "ownAccessorProperty";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-245.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-245.js
index 5ec76f912..7a2de53a8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-245.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-245.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.6/15.2.3.6-3-245.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own accessor property without a get function (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var attributes = {};
- Object.defineProperty(attributes, "set", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", attributes);
-
- obj.property = "overrideOwnData";
-
- var desc = Object.getOwnPropertyDescriptor(obj, "property");
- return obj.hasOwnProperty("property") && typeof obj.property === "undefined" &&
- 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.defineProperty - 'set' property in 'Attributes' is own
+ accessor property without a get function (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var attributes = {};
+ Object.defineProperty(attributes, "set", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", attributes);
+
+ obj.property = "overrideOwnData";
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "property");
+ return obj.hasOwnProperty("property") && typeof obj.property === "undefined" &&
+ typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-246.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-246.js
index 6fd046ee3..e4abe6ec8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-246.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-246.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.6/15.2.3.6-3-246.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is own accessor property(without a get function) that overrides an inherited accessor property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {};
- var data = "data";
- Object.defineProperty(proto, "set", {
- get: function () {
- return function (value) {
- data = value;
- };
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "set", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", child);
-
- obj.property = "overrideData";
- return obj.hasOwnProperty("property") && typeof obj.property === "undefined" && data === "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.defineProperty - 'set' property in 'Attributes' 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 obj = {};
+ var proto = {};
+ var data = "data";
+ Object.defineProperty(proto, "set", {
+ get: function () {
+ return function (value) {
+ data = value;
+ };
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "set", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ obj.property = "overrideData";
+ return obj.hasOwnProperty("property") && typeof obj.property === "undefined" && data === "data";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-247.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-247.js
index 822915fc5..3b9982bb4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-247.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-247.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.6/15.2.3.6-3-247.js
- * @description Object.defineProperty - 'set' property in 'Attributes' is an inherited accessor property without a get function (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var proto = {};
- Object.defineProperty(proto, "set", {
- set: function () { }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- obj.property = "overrideData";
- 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.defineProperty - 'set' property in 'Attributes' is an
+ inherited accessor property without a get function (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var proto = {};
+ Object.defineProperty(proto, "set", {
+ set: function () { }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ obj.property = "overrideData";
+ return obj.hasOwnProperty("property") && typeof obj.property === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248-1.js
index e11f2af1b..3ee98218c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248-1.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- try {
- Function.prototype.set = function (value) {
- data = value;
- };
- var funObj = function () { };
-
- Object.defineProperty(obj, "property", funObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Function.prototype.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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'set' property of
+ prototype object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ try {
+ Function.prototype.set = function (value) {
+ data = value;
+ };
+ var funObj = function () { };
+
+ Object.defineProperty(obj, "property", funObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Function.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248.js
index c526e0a7d..33b108828 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-248.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.6/15.2.3.6-3-248.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var funObj = function () { };
-
- funObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", funObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'set' property
+ (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var funObj = function () { };
+
+ funObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", funObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249-1.js
index 269335b6e..45c3e4cd6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249-1.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- try {
- Array.prototype.set = function (value) {
- data = value;
- };
- var arrObj = [];
-
- Object.defineProperty(obj, "property", arrObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Array.prototype.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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ try {
+ Array.prototype.set = function (value) {
+ data = value;
+ };
+ var arrObj = [];
+
+ Object.defineProperty(obj, "property", arrObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Array.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249.js
index 644f03dcd..d91b0c00b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-249.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.6/15.2.3.6-3-249.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var arrObj = [];
-
- arrObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", arrObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var arrObj = [];
+
+ arrObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", arrObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-25.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-25.js
index 7fabfbc93..a4af1ca97 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-25.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-25.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.6/15.2.3.6-3-25.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is own data property that overrides an inherited accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var proto = {};
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return false;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "enumerable", {
- value: true
- });
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ own data property that overrides an inherited accessor property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var proto = {};
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "enumerable", {
+ value: true
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250-1.js
index ef9f8f89c..1091cd11c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250-1.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- String.prototype.set = function (value) {
- data = value;
- };
- var strObj = new String();
- var data = "data";
-
- Object.defineProperty(obj, "property", strObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete String.prototype.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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ String.prototype.set = function (value) {
+ data = value;
+ };
+ var strObj = new String();
+ var data = "data";
+
+ Object.defineProperty(obj, "property", strObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete String.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250.js
index 103787346..45eece558 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-250.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.6/15.2.3.6-3-250.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var strObj = new String();
- var data = "data";
-
- strObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", strObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var strObj = new String();
+ var data = "data";
+
+ strObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", strObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251-1.js
index 32cc13dc9..08c04c56c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251-1.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- try {
- Boolean.prototype.set = function (value) {
- data = value;
- };
- var boolObj = new Boolean(true);
-
- Object.defineProperty(obj, "property", boolObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Boolean.prototype.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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ try {
+ Boolean.prototype.set = function (value) {
+ data = value;
+ };
+ var boolObj = new Boolean(true);
+
+ Object.defineProperty(obj, "property", boolObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Boolean.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251.js
index a87cb25b3..3605839e2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-251.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.6/15.2.3.6-3-251.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var boolObj = new Boolean(true);
-
- boolObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", boolObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var boolObj = new Boolean(true);
+
+ boolObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", boolObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252-1.js
index 63a4a3cb8..feabdb6c2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252-1.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- try {
- Number.prototype.set = function (value) {
- data = value;
- };
- var numObj = new Number(-2);
-
- Object.defineProperty(obj, "property", numObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Number.prototype.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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ try {
+ Number.prototype.set = function (value) {
+ data = value;
+ };
+ var numObj = new Number(-2);
+
+ Object.defineProperty(obj, "property", numObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Number.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252.js
index e558bff7d..cfda6a76a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-252.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.6/15.2.3.6-3-252.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var numObj = new Number(-2);
-
- numObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", numObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var numObj = new Number(-2);
+
+ numObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", numObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253-1.js
index b71261cfb..553209320 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253-1.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- try {
- Object.prototype.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", Math);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ try {
+ Object.prototype.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", Math);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Object.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253.js
index d615e9bd3..8c75b2c3f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-253.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.6/15.2.3.6-3-253.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- try {
- Math.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", Math);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Math.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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ try {
+ Math.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", Math);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Math.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254-1.js
index 2a1625024..95576137c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254-1.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- try {
- Date.prototype.set = function (value) {
- data = value;
- };
- var dateObj = new Date();
-
- Object.defineProperty(obj, "property", dateObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Date.prototype.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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ try {
+ Date.prototype.set = function (value) {
+ data = value;
+ };
+ var dateObj = new Date();
+
+ Object.defineProperty(obj, "property", dateObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Date.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254.js
index 321587fca..83f5bc95b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-254.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.6/15.2.3.6-3-254.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var dateObj = new Date();
-
- dateObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", dateObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var dateObj = new Date();
+
+ dateObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", dateObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255-1.js
index 1fb7df112..c7db01476 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255-1.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- try {
- RegExp.prototype.set = function (value) {
- data = value;
- };
- var regObj = new RegExp();
-
- Object.defineProperty(obj, "property", regObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete RegExp.prototype.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.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ try {
+ RegExp.prototype.set = function (value) {
+ data = value;
+ };
+ var regObj = new RegExp();
+
+ Object.defineProperty(obj, "property", regObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete RegExp.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255.js
index 2a7bfc361..ca9a8d343 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-255.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.6/15.2.3.6-3-255.js
- * @description Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var regObj = new RegExp();
-
- regObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", regObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is a RegExp object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var regObj = new RegExp();
+
+ regObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", regObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256-1.js
index 0b4ab5b22..71c84005e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256-1.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- try {
- Object.prototype.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", JSON);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ try {
+ Object.prototype.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", JSON);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Object.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256.js
index 3678ddbce..a55d73f8e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-256.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.6/15.2.3.6-3-256.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- try {
- JSON.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", JSON);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete JSON.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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ try {
+ JSON.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", JSON);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete JSON.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257-1.js
index c394fbe61..0ccf1ed91 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257-1.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.6/15.2.3.6-3-257-1.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- try {
- Error.prototype.set = function (value) {
- data = value;
- };
- var errObj = new Error();
-
- Object.defineProperty(obj, "property", errObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Error.prototype.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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'set' property of prototype
+ object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ try {
+ Error.prototype.set = function (value) {
+ data = value;
+ };
+ var errObj = new Error();
+
+ Object.defineProperty(obj, "property", errObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Error.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257.js
index 233eca455..c9c75e18c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-257.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.6/15.2.3.6-3-257.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var errObj = new Error();
-
- errObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", errObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'set' property (8.10.5 step
+ 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var errObj = new Error();
+
+ errObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", errObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258-1.js
index eff77365d..eea697b7e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258-1.js
@@ -1,29 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258-1.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'set' property of prototype object (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- try {
- Object.prototype.set = function (value) {
- data = value;
- };
- var argObj = (function () { return arguments; })();
-
- Object.defineProperty(obj, "property", argObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'set' property of
+ prototype object (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ try {
+ Object.prototype.set = function (value) {
+ data = value;
+ };
+ var argObj = (function () { return arguments; })();
+
+ Object.defineProperty(obj, "property", argObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete Object.prototype.set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258.js
index 69d50cce0..d2b31644b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-258.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.6/15.2.3.6-3-258.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
- var argObj = (function () { return arguments; })();
- argObj.set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", argObj);
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'set' property
+ (8.10.5 step 8.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+ var argObj = (function () { return arguments; })();
+ argObj.set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", argObj);
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-26.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-26.js
index 2bd0c1995..a1f6f324c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-26.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-26.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.6/15.2.3.6-3-26.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is own accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var attr = {};
- Object.defineProperty(attr, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ own accessor property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var attr = {};
+ Object.defineProperty(attr, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-260.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-260.js
index 1617e468b..ccc35d88d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-260.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-260.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.6/15.2.3.6-3-260.js
- * @description Object.defineProperty - 'Attributes' is the global object that uses Object's [[Get]] method to access the 'set' property (8.10.5 step 8.a)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- try {
- fnGlobalObject().set = function (value) {
- data = value;
- };
-
- Object.defineProperty(obj, "property", fnGlobalObject());
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && data === "overrideData";
- } finally {
- delete fnGlobalObject().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.defineProperty - 'Attributes' is the global object that
+ uses Object's [[Get]] method to access the 'set' property (8.10.5
+ step 8.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ try {
+ fnGlobalObject().set = function (value) {
+ data = value;
+ };
+
+ Object.defineProperty(obj, "property", fnGlobalObject());
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ } finally {
+ delete fnGlobalObject().set;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-261.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-261.js
index 87c1671d9..8376d5df2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-261.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-261.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-261.js
- * @description Object.defineProperty - value of 'set' property in 'Attributes' is undefined (8.10.5 step 8.b)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- set: undefined
- });
-
- obj.property = "overrideData";
- var desc = Object.getOwnPropertyDescriptor(obj, "property");
- return obj.hasOwnProperty("property") && typeof obj.property === "undefined" &&
- 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.defineProperty - value of 'set' property in 'Attributes' is
+ undefined (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ set: undefined
+ });
+
+ obj.property = "overrideData";
+ var desc = Object.getOwnPropertyDescriptor(obj, "property");
+ return obj.hasOwnProperty("property") && typeof obj.property === "undefined" &&
+ typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-262.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-262.js
index 07ff2f24c..5c5e55da4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-262.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-262.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.6/15.2.3.6-3-262.js
- * @description Object.defineProperty - value of 'set' property in 'Attributes' is a function (8.10.5 step 8.b)
- */
-
-
-function testcase() {
- var obj = {};
- var data = "data";
-
- Object.defineProperty(obj, "property", {
- set: function (value) {
- data = value;
- }
- });
- obj.property = "overrideData";
-
- return obj.hasOwnProperty("property") && 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.defineProperty - value of 'set' property in 'Attributes' is
+ a function (8.10.5 step 8.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var data = "data";
+
+ Object.defineProperty(obj, "property", {
+ set: function (value) {
+ data = value;
+ }
+ });
+ obj.property = "overrideData";
+
+ return obj.hasOwnProperty("property") && data === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-27.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-27.js
index 0fe3631cb..4c4078530 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-27.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-27.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.6/15.2.3.6-3-27.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is an inherited accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var proto = {};
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ an inherited accessor property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var proto = {};
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-28.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-28.js
index 14afef136..d4c66c92d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-28.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-28.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.6/15.2.3.6-3-28.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' 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: false };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(child, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' 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: false };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(child, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-29.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-29.js
index cc8d5a26c..60b6e5771 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-29.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-29.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.6/15.2.3.6-3-29.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is own accessor property that overrides an inherited accessor property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- var proto = {};
-
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return false;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(child, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ own accessor property that overrides an inherited accessor
+ property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ var proto = {};
+
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return false;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(child, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-3.js
index b16380866..8769f2574 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-3.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-3.js
- * @description Object.defineProperty throws TypeError if desc has 'set' and 'value' present(8.10.5 step 9.a)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy setter
- var setter = function () { }
- var desc = { set: setter, value: 101};
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if desc has 'set' and
+ 'value' present(8.10.5 step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy setter
+ var setter = function () { }
+ var desc = { set: setter, value: 101};
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-30.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-30.js
index 1543c1cb7..0099cb6aa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-30.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-30.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.6/15.2.3.6-3-30.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is own accessor property without a get function (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var attr = {};
- Object.defineProperty(attr, "enumerable", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' 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 attr = {};
+ Object.defineProperty(attr, "enumerable", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-31.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-31.js
index bc3065029..3b7a54a26 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-31.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-31.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.6/15.2.3.6-3-31.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' 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 accessed = false;
- var proto = {};
-
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return true;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(child, "enumerable", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' 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 accessed = false;
+ var proto = {};
+
+ Object.defineProperty(proto, "enumerable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(child, "enumerable", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-32.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-32.js
index 0867df59b..ea9727ae7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-32.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-32.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.6/15.2.3.6-3-32.js
- * @description Object.defineProperty - 'enumerable' property in 'Attributes' is an inherited accessor property without a get function (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- var proto = {};
-
- Object.defineProperty(proto, "enumerable", {
- set: function () { }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'enumerable' property in 'Attributes' is
+ an inherited accessor property without a get function (8.10.5 step
+ 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ var proto = {};
+
+ Object.defineProperty(proto, "enumerable", {
+ set: function () { }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33-1.js
index a363f14bd..1b9741726 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33-1.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.6/15.2.3.6-3-33-1.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Function.prototype.enumerable = true;
- var fun = function () { };
-
- Object.defineProperty(obj, "property", fun);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete Function.prototype.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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'enumerable'
+ property of prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Function.prototype.enumerable = true;
+ var fun = function () { };
+
+ Object.defineProperty(obj, "property", fun);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete Function.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33.js
index f6aa32b17..dbbb4e6d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33.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.6/15.2.3.6-3-33.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var fun = function () { };
- fun.enumerable = true;
-
- Object.defineProperty(obj, "property", fun);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'enumerable'
+ property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var fun = function () { };
+ fun.enumerable = true;
+
+ Object.defineProperty(obj, "property", fun);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34-1.js
index 018eeedbd..a578afefd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34-1.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.6/15.2.3.6-3-34-1.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Array.prototype.enumerable = true;
- var arrObj = [];
-
- Object.defineProperty(obj, "property", arrObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete Array.prototype.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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Array.prototype.enumerable = true;
+ var arrObj = [];
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete Array.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34.js
index 2e580141e..6a63671f5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-34.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.6/15.2.3.6-3-34.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var arrObj = [];
- arrObj.enumerable = true;
-
- Object.defineProperty(obj, "property", arrObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var arrObj = [];
+ arrObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35-1.js
index 3c97c70f5..03654eda2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35-1.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.6/15.2.3.6-3-35-1.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- String.prototype.enumerable = true;
- var strObj = new String();
-
- Object.defineProperty(obj, "property", strObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete String.prototype.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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ String.prototype.enumerable = true;
+ var strObj = new String();
+
+ Object.defineProperty(obj, "property", strObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete String.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35.js
index e4c8e794b..ee0f2fa4b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-35.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.6/15.2.3.6-3-35.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var strObj = new String();
- strObj.enumerable = true;
-
- Object.defineProperty(obj, "property", strObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var strObj = new String();
+ strObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", strObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36-1.js
index e1ce707c4..f2a2695ac 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36-1.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.6/15.2.3.6-3-36-1.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Boolean.prototype.enumerable = true;
- var boolObj = new Boolean(true);
-
- Object.defineProperty(obj, "property", boolObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete Boolean.prototype.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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Boolean.prototype.enumerable = true;
+ var boolObj = new Boolean(true);
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete Boolean.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36.js
index 29b38d730..d117de23a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-36.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.6/15.2.3.6-3-36.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var boolObj = new Boolean(true);
- boolObj.enumerable = true;
-
- Object.defineProperty(obj, "property", boolObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var boolObj = new Boolean(true);
+ boolObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37-1.js
index de92b2abc..69d5b5522 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37-1.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.6/15.2.3.6-3-37-1.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Number.prototype.enumerable = true;
- var numObj = new Number(-2);
-
- Object.defineProperty(obj, "property", numObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete Number.prototype.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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Number.prototype.enumerable = true;
+ var numObj = new Number(-2);
+
+ Object.defineProperty(obj, "property", numObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete Number.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37.js
index 6007388b2..25bb9e576 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37.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.6/15.2.3.6-3-37.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var numObj = new Number(-2);
- numObj.enumerable = true;
-
- Object.defineProperty(obj, "property", numObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var numObj = new Number(-2);
+ numObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", numObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38-1.js
index eec223e6b..a8a33d9cd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38-1.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.6/15.2.3.6-3-38-1.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Object.prototype.enumerable = true;
-
- Object.defineProperty(obj, "property", Math);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
- return accessed;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Object.prototype.enumerable = true;
+
+ Object.defineProperty(obj, "property", Math);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ } finally {
+ delete Object.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38.js
index 7e5783e21..5b348fef9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-38.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.6/15.2.3.6-3-38.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- try {
- Math.enumerable = true;
-
- Object.defineProperty(obj, "property", Math);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ try {
+ Math.enumerable = true;
+
+ Object.defineProperty(obj, "property", Math);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ } finally {
+ delete Math.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39-1.js
index 90d762a50..2bd0cae69 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39-1.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.6/15.2.3.6-3-39-1.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- try {
- Date.prototype.enumerable = true;
- var dateObj = new Date();
-
- Object.defineProperty(obj, "property", dateObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
- return accessed;
- } finally {
- delete Date.prototype.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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ try {
+ Date.prototype.enumerable = true;
+ var dateObj = new Date();
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ } finally {
+ delete Date.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39.js
index af1983efa..f69b55734 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-39.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.6/15.2.3.6-3-39.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var dateObj = new Date();
- dateObj.enumerable = true;
-
- Object.defineProperty(obj, "property", dateObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var dateObj = new Date();
+ dateObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-4.js
index 30a200ec3..60fefa644 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-4.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.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-4.js
- * @description Object.defineProperty throws TypeError if desc has 'set' and 'writable' present(8.10.5 step 9.a)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var setter = function () { }
- var desc = { set: setter, writable: false };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if desc has 'set' and
+ 'writable' present(8.10.5 step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var setter = function () { }
+ var desc = { set: setter, writable: false };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40-1.js
index b6839971d..c3c5e8f32 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40-1.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.6/15.2.3.6-3-40-1.js
- * @description Object.defineProperty - 'Attributes' is an RegExp object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- RegExp.prototype.enumerable = true;
- var regObj = new RegExp();
-
- Object.defineProperty(obj, "property", regObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete RegExp.prototype.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.defineProperty - 'Attributes' is an RegExp object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ RegExp.prototype.enumerable = true;
+ var regObj = new RegExp();
+
+ Object.defineProperty(obj, "property", regObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete RegExp.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40.js
index 890591d86..60deebbe0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-40.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.6/15.2.3.6-3-40.js
- * @description Object.defineProperty - 'Attributes' is an RegExp object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var regObj = new RegExp();
- regObj.enumerable = true;
-
- Object.defineProperty(obj, "property", regObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is an RegExp object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var regObj = new RegExp();
+ regObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", regObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41-1.js
index 48f2b429d..5a9761c74 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41-1.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.6/15.2.3.6-3-41-1.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Object.prototype.enumerable = true;
-
- Object.defineProperty(obj, "property", JSON);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Object.prototype.enumerable = true;
+
+ Object.defineProperty(obj, "property", JSON);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete Object.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41.js
index 975fc998a..040e69a93 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-41.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.6/15.2.3.6-3-41.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- try {
- JSON.enumerable = true;
-
- Object.defineProperty(obj, "property", JSON);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ try {
+ JSON.enumerable = true;
+
+ Object.defineProperty(obj, "property", JSON);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete JSON.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42-1.js
index f8941d772..bd65fc0b3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42-1.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.6/15.2.3.6-3-42-1.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Error.prototype.enumerable = true;
- var errObj = new Error();
-
- Object.defineProperty(obj, "property", errObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete Error.prototype.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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'enumerable' property of
+ prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Error.prototype.enumerable = true;
+ var errObj = new Error();
+
+ Object.defineProperty(obj, "property", errObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete Error.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42.js
index c5cecf28a..ab044c8d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-42.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.6/15.2.3.6-3-42.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var errObj = new Error();
- errObj.enumerable = true;
-
- Object.defineProperty(obj, "property", errObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'enumerable' property
+ (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var errObj = new Error();
+ errObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", errObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43-1.js
index c7a419ed3..4ea312d14 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43-1.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.6/15.2.3.6-3-43-1.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'enumerable' property of prototype object (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- try {
- Object.prototype.enumerable = true;
- var argObj = (function () { return arguments; })();
-
- Object.defineProperty(obj, "property", argObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
-
- return accessed;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'enumerable'
+ property of prototype object (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ try {
+ Object.prototype.enumerable = true;
+ var argObj = (function () { return arguments; })();
+
+ Object.defineProperty(obj, "property", argObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete Object.prototype.enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43.js
index 1e32c97a4..7e6260729 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-43.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.6/15.2.3.6-3-43.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- var argObj = (function () { return arguments; })();
- argObj.enumerable = true;
-
- Object.defineProperty(obj, "property", argObj);
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'enumerable'
+ property (8.10.5 step 3.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ var argObj = (function () { return arguments; })();
+ argObj.enumerable = true;
+
+ Object.defineProperty(obj, "property", argObj);
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-45.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-45.js
index 9c03904b0..9a85d6512 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-45.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-45.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.6/15.2.3.6-3-45.js
- * @description Object.defineProperty - 'Attributes' is the global object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- try {
- fnGlobalObject().enumerable = true;
-
- Object.defineProperty(obj, "property", fnGlobalObject());
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - 'Attributes' is the global object that
+ uses Object's [[Get]] method to access the '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.defineProperty(obj, "property", fnGlobalObject());
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+
+ return accessed;
+ } finally {
+ delete fnGlobalObject().enumerable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-46.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-46.js
index 5660ea763..12e99c9a8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-46.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-46.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.6/15.2.3.6-3-46.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is undefined (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", {
- enumerable: undefined
- });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is undefined (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", {
+ enumerable: undefined
+ });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-47.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-47.js
index cd9c7d174..ece56f502 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-47.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-47.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.6/15.2.3.6-3-47.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is null (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: null });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is null (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: null });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-48.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-48.js
index 7b364dadb..ad4bf8cce 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-48.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-48.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.6/15.2.3.6-3-48.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is true (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: true });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is true (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: true });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-49.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-49.js
index f8dd8f2c3..61bdc3937 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-49.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-49.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.6/15.2.3.6-3-49.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is false (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: false });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is false (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: false });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-5.js
index 3d42cf630..9044964e0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-5.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-5.js
- * @description Object.defineProperty throws TypeError if getter is not callable but not undefined (Number)(8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var getter = 42;
- var desc = { get: getter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if getter is not callable
+ but not undefined (Number)(8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var getter = 42;
+ var desc = { get: getter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-50.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-50.js
index 559c425d2..fdc7dcdec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-50.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-50.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.6/15.2.3.6-3-50.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is 0 (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: 0 });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is 0 (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: 0 });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-51.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-51.js
index 57123624b..161db5415 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-51.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-51.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.6/15.2.3.6-3-51.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is +0 (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: +0 });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is +0 (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: +0 });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-52.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-52.js
index acd57ed07..1082d235c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-52.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-52.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.6/15.2.3.6-3-52.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is -0 (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: -0 });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is -0 (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: -0 });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-53.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-53.js
index 44fbcc1cf..47ffac470 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-53.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-53.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.6/15.2.3.6-3-53.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is NaN (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: NaN });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is NaN (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: NaN });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-54.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-54.js
index 89248e8cf..801409520 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-54.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-54.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.6/15.2.3.6-3-54.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a positive number (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: 12 });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a positive number (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: 12 });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-55.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-55.js
index 845995180..9574a86b1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-55.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-55.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.6/15.2.3.6-3-55.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a negative number (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: -2 });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a negative number (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: -2 });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-56.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-56.js
index 5b906685a..549a404e3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-56.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-56.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.6/15.2.3.6-3-56.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is an empty string (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: "" });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is an empty string (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: "" });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return !accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-57.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-57.js
index 50d0dd4c8..f4d90140d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-57.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-57.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.6/15.2.3.6-3-57.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a non-empty string (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: "AB\n\\cd" });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a non-empty string (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: "AB\n\\cd" });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-58.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-58.js
index 8b7de6bee..7f2cef94c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-58.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-58.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.6/15.2.3.6-3-58.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a Function object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", {
- enumerable: function () { }
- });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a Function object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", {
+ enumerable: function () { }
+ });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-59.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-59.js
index f5eb483b9..db8113f3e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-59.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-59.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.6/15.2.3.6-3-59.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is an Array object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: [] });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is an Array object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: [] });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-6.js
index b2ac8c880..060480648 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-6.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-6.js
- * @description Object.defineProperty throws TypeError if getter is not callable but not undefined (Boolean)(8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var getter = true;
- var desc = { get: getter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if getter is not callable
+ but not undefined (Boolean)(8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var getter = true;
+ var desc = { get: getter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-60.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-60.js
index ec0295ebd..e9b640594 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-60.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-60.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.6/15.2.3.6-3-60.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a String Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: new String() });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a String Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: new String() });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-61.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-61.js
index 2a50ac60b..ceebd2faf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-61.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-61.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.6/15.2.3.6-3-61.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a Boolean Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: new Boolean() });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a Boolean Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: new Boolean() });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-62.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-62.js
index 711a35a04..75606ef86 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-62.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-62.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.6/15.2.3.6-3-62.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a Number Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: new Number() });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a Number Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: new Number() });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-63.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-63.js
index 4be8551e4..812c5a54b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-63.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-63.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.6/15.2.3.6-3-63.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is the Math Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: Math });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is the Math Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: Math });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-64.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-64.js
index da77c80fe..328bf6e2f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-64.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-64.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.6/15.2.3.6-3-64.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a Date Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: new Date() });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a Date Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: new Date() });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-65.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-65.js
index 1d30ad14a..4c7843798 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-65.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-65.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.6/15.2.3.6-3-65.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is a RegExp Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: new RegExp() });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is a RegExp Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: new RegExp() });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-66.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-66.js
index 3fa17944f..af63c9173 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-66.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-66.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.6/15.2.3.6-3-66.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is the JSON Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: JSON });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is the JSON Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: JSON });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-67.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-67.js
index d9e8cccd2..78473bbcd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-67.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-67.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.6/15.2.3.6-3-67.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is an Error Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: new Error() });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is an Error Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: new Error() });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-68.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-68.js
index 83724d073..ffdbb6499 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-68.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-68.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.6/15.2.3.6-3-68.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is an Arguments Object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
- var argObj = (function () { return arguments; })(0, 1, 2);
-
- Object.defineProperty(obj, "property", { enumerable: argObj });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is an Arguments Object (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+ var argObj = (function () { return arguments; })(0, 1, 2);
+
+ Object.defineProperty(obj, "property", { enumerable: argObj });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-7.js
index 396b86e04..9159df04b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-7.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-7.js
- * @description Object.defineProperty throws TypeError if getter is not callable but not undefined (String)(8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var getter = "abc";
- var desc = { get: getter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if getter is not callable
+ but not undefined (String)(8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var getter = "abc";
+ var desc = { get: getter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-70.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-70.js
index 2fbd98c12..c638ab71a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-70.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-70.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.6/15.2.3.6-3-70.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is the global object (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: fnGlobalObject() });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is the global object (8.10.5 step 3.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: fnGlobalObject() });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-71.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-71.js
index 01f23a96a..83a6a7892 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-71.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-71.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.6/15.2.3.6-3-71.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is treated as true when it is a string (value is 'false') (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: "false" });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' is treated as true when it is a string (value is
+ 'false') (8.10.5 step 3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var accessed = false;
+
+ Object.defineProperty(obj, "property", { enumerable: "false" });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-72.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-72.js
index 83c061229..dcb7b7a48 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-72.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-72.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.6/15.2.3.6-3-72.js
- * @description Object.defineProperty - value of 'enumerable' property in 'Attributes' is new Boolean(false) which is treated as true value (8.10.5 step 3.b)
- */
-
-
-function testcase() {
- var obj = {};
- var accessed = false;
-
- Object.defineProperty(obj, "property", { enumerable: new Boolean(false) });
-
- for (var prop in obj) {
- if (prop === "property") {
- 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.defineProperty - value of 'enumerable' property in
+ 'Attributes' 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.defineProperty(obj, "property", { enumerable: new Boolean(false) });
+
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-73.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-73.js
index 6adafd6bb..a54dc285b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-73.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-73.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.6/15.2.3.6-3-73.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is present (8.10.5 step 4)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- configurable: false
- });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ present (8.10.5 step 4)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ configurable: false
+ });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-74.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-74.js
index 2fc02fe58..b313bfb28 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-74.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-74.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.6/15.2.3.6-3-74.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is not present (8.10.5 step 4)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { value: 100 });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = (obj.property === 100);
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ not present (8.10.5 step 4)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { value: 100 });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = (obj.property === 100);
+
+ return beforeDeleted === true && afterDeleted === true;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-75.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-75.js
index 402d9a044..71cc96acb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-75.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-75.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.6/15.2.3.6-3-75.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is own data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", {
- configurable: true
- });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ own data property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", {
+ configurable: true
+ });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-76.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-76.js
index de1315156..ef828ea56 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-76.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-76.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.6/15.2.3.6-3-76.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is an inherited data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var proto = {
- configurable: false
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
- return beforeDeleted && afterDeleted && 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.defineProperty - 'configurable' property in 'Attributes' is
+ an inherited data property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var proto = {
+ configurable: false
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+ return beforeDeleted && afterDeleted && typeof (obj.property) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-77.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-77.js
index 941bb92fe..b75f05bee 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-77.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-77.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.6/15.2.3.6-3-77.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is own data property that overrides an inherited data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var proto = {
- configurable: false
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- child.configurable = true;
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' 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: false
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ child.configurable = true;
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-78.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-78.js
index ce0a02d2b..a5d8aa8fa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-78.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-78.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.6/15.2.3.6-3-78.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' 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 false;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "configurable", {
- value: true
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' 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 false;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "configurable", {
+ value: true
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-79.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-79.js
index 384faafe8..3d31d9d55 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-79.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-79.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.6/15.2.3.6-3-79.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is own accessor property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var attr = {};
- Object.defineProperty(attr, "configurable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ own accessor property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var attr = {};
+ Object.defineProperty(attr, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-8.js
index 93bb5a964..71f736c0c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-8.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-8.js
- * @description Object.defineProperty throws TypeError if getter is not callable but not undefined (Null)(8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var getter = null;
- var desc = { get: getter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if getter is not callable
+ but not undefined (Null)(8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var getter = null;
+ var desc = { get: getter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-80.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-80.js
index 8e9d497e2..93fd2f5ec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-80.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-80.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.6/15.2.3.6-3-80.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-81.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-81.js
index c66f4fd30..7e66dc2fc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-81.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-81.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.6/15.2.3.6-3-81.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is own accessor property that overrides an inherited data property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var proto = {
- configurable: false
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "configurable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' 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: false
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-82.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-82.js
index fd14e4b25..e576fdb0e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-82.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-82.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.6/15.2.3.6-3-82.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' 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 false;
- }
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "configurable", {
- get: function () {
- return true;
- }
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' 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 false;
+ }
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "configurable", {
+ get: function () {
+ return true;
+ }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-83.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-83.js
index edf9d50f7..d7850d588 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-83.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-83.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.6/15.2.3.6-3-83.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is own accessor property without a get function (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var attr = {};
- Object.defineProperty(attr, "configurable", {
- set : function () { }
- });
-
- Object.defineProperty(obj, "property", attr);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ own accessor property without a get function (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var attr = {};
+ Object.defineProperty(attr, "configurable", {
+ set : function () { }
+ });
+
+ Object.defineProperty(obj, "property", attr);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-84.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-84.js
index 95e0ebf2f..3a551eafb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-84.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-84.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.6/15.2.3.6-3-84.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- Object.defineProperty(child, "configurable", {
- set: function () { }
- });
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ Object.defineProperty(child, "configurable", {
+ set: function () { }
+ });
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-85.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-85.js
index 1cccfd1db..6c9e53f54 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-85.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-85.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.6/15.2.3.6-3-85.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is an 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 ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(obj, "property", child);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ an 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 ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(obj, "property", child);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86-1.js
index e9dca71af..673707772 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86-1.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.6/15.2.3.6-3-86-1.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'configurable' property of prototype object (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Function.prototype.configurable = true;
- var funObj = function (a, b) {
- return a + b;
- };
-
- Object.defineProperty(obj, "property", funObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Function.prototype.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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'configurable'
+ property of prototype object (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Function.prototype.configurable = true;
+ var funObj = function (a, b) {
+ return a + b;
+ };
+
+ Object.defineProperty(obj, "property", funObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Function.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86.js
index cdd246800..9f952f0ad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-86.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.6/15.2.3.6-3-86.js
- * @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var funObj = function (a, b) {
- return a + b;
- };
-
- funObj.configurable = true;
-
- Object.defineProperty(obj, "property", funObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is a Function object which
+ implements its own [[Get]] method to access the 'configurable'
+ property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var funObj = function (a, b) {
+ return a + b;
+ };
+
+ funObj.configurable = true;
+
+ Object.defineProperty(obj, "property", funObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87-1.js
index d07f2529e..0d2745429 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87-1.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.6/15.2.3.6-3-87-1.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Array.prototype.configurable = true;
- var arrObj = [1, 2, 3];
-
- Object.defineProperty(obj, "property", arrObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Array.prototype.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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Array.prototype.configurable = true;
+ var arrObj = [1, 2, 3];
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Array.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87.js
index d48f3cd0a..bbb4443dd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-87.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.6/15.2.3.6-3-87.js
- * @description Object.defineProperty - 'Attributes' is an Array object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var arrObj = [1, 2, 3];
-
- arrObj.configurable = true;
-
- Object.defineProperty(obj, "property", arrObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is an Array object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var arrObj = [1, 2, 3];
+
+ arrObj.configurable = true;
+
+ Object.defineProperty(obj, "property", arrObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88-1.js
index f7cc6f533..6a8f8e591 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88-1.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.6/15.2.3.6-3-88-1.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- String.prototype.configurable = true;
- var strObj = new String("abc");
-
- Object.defineProperty(obj, "property", strObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete String.prototype.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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ String.prototype.configurable = true;
+ var strObj = new String("abc");
+
+ Object.defineProperty(obj, "property", strObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete String.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88.js
index 03270ccf4..f5cf216a2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-88.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.6/15.2.3.6-3-88.js
- * @description Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var strObj = new String("abc");
-
- strObj.configurable = true;
-
- Object.defineProperty(obj, "property", strObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is a String object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var strObj = new String("abc");
+
+ strObj.configurable = true;
+
+ Object.defineProperty(obj, "property", strObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89-1.js
index 5acb26c6b..866433910 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89-1.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.6/15.2.3.6-3-89-1.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Boolean.prototype.configurable = true;
- var boolObj = new Boolean(true);
-
- Object.defineProperty(obj, "property", boolObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Boolean.prototype.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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Boolean.prototype.configurable = true;
+ var boolObj = new Boolean(true);
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Boolean.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89.js
index e0f2442f3..245ce9eac 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-89.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.6/15.2.3.6-3-89.js
- * @description Object.defineProperty - 'Attributes' is a Boolean object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var boolObj = new Boolean(true);
-
- boolObj.configurable = true;
-
- Object.defineProperty(obj, "property", boolObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is a Boolean object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var boolObj = new Boolean(true);
+
+ boolObj.configurable = true;
+
+ Object.defineProperty(obj, "property", boolObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-9.js
index 1b37e2601..5f39b2eb2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-9.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * The abtract operation ToPropertyDescriptor is used to package the
- * into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
- * if the property desc ends up having a mix of accessor and data property elements.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-9.js
- * @description Object.defineProperty throws TypeError if getter is not callable but not undefined (Object)(8.10.5 step 7.b)
- */
-
-
-function testcase() {
- var o = {};
-
- // dummy getter
- var getter = { a: 1 };
- var desc = { get: getter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ The abtract operation ToPropertyDescriptor is used to package the
+ into a property desc. Step 10 of ToPropertyDescriptor throws a TypeError
+ if the property desc ends up having a mix of accessor and data property elements.
+description: >
+ Object.defineProperty throws TypeError if getter is not callable
+ but not undefined (Object)(8.10.5 step 7.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // dummy getter
+ var getter = { a: 1 };
+ var desc = { get: getter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90-1.js
index fcb7bbda7..f1be0dc2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90-1.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.6/15.2.3.6-3-90-1.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Number.prototype.configurable = true;
- var numObj = new Number(-2);
-
- Object.defineProperty(obj, "property", numObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Number.prototype.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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Number.prototype.configurable = true;
+ var numObj = new Number(-2);
+
+ Object.defineProperty(obj, "property", numObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Number.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90.js
index 038b4007f..e29a05464 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-90.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.6/15.2.3.6-3-90.js
- * @description Object.defineProperty - 'Attributes' is a Number object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var numObj = new Number(-2);
-
- numObj.configurable = true;
-
- Object.defineProperty(obj, "property", numObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is a Number object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var numObj = new Number(-2);
+
+ numObj.configurable = true;
+
+ Object.defineProperty(obj, "property", numObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91-1.js
index dab6f1eef..964814795 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91-1.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.6/15.2.3.6-3-91-1.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.configurable = true;
-
- Object.defineProperty(obj, "property", Math);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.configurable = true;
+
+ Object.defineProperty(obj, "property", Math);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Object.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91.js
index 4976765c5..75f3e4f5d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-91.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.6/15.2.3.6-3-91.js
- * @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Math.configurable = true;
-
- Object.defineProperty(obj, "property", Math);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is the Math object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Math.configurable = true;
+
+ Object.defineProperty(obj, "property", Math);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Math.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92-1.js
index ab866d48d..2c0438b8a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92-1.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.6/15.2.3.6-3-92-1.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Date.prototype.configurable = true;
- var dateObj = new Date();
-
- Object.defineProperty(obj, "property", dateObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Date.prototype.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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Date.prototype.configurable = true;
+ var dateObj = new Date();
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Date.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92.js
index 2bb1800e4..495d1a9a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-92.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.6/15.2.3.6-3-92.js
- * @description Object.defineProperty - 'Attributes' is a Date object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var dateObj = new Date();
-
- dateObj.configurable = true;
-
- Object.defineProperty(obj, "property", dateObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is a Date object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var dateObj = new Date();
+
+ dateObj.configurable = true;
+
+ Object.defineProperty(obj, "property", dateObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93-1.js
index 08777be8e..398ee7806 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93-1.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.6/15.2.3.6-3-93-1.js
- * @description Object.defineProperty - 'Attributes' is an RegExp object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- RegExp.prototype.configurable = true;
- var regObj = new RegExp();
-
- Object.defineProperty(obj, "property", regObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete RegExp.prototype.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.defineProperty - 'Attributes' is an RegExp object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ RegExp.prototype.configurable = true;
+ var regObj = new RegExp();
+
+ Object.defineProperty(obj, "property", regObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete RegExp.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93.js
index 8721cbfad..81a1010ec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-93.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.6/15.2.3.6-3-93.js
- * @description Object.defineProperty - 'Attributes' is an RegExp object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var regObj = new RegExp();
-
- regObj.configurable = true;
-
- Object.defineProperty(obj, "property", regObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is an RegExp object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var regObj = new RegExp();
+
+ regObj.configurable = true;
+
+ Object.defineProperty(obj, "property", regObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94-1.js
index 13ae26509..78b397ca6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94-1.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.6/15.2.3.6-3-94-1.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.configurable = true;
-
- Object.defineProperty(obj, "property", JSON);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.configurable = true;
+
+ Object.defineProperty(obj, "property", JSON);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Object.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94.js
index 754f81925..f1d6c3451 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-94.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.6/15.2.3.6-3-94.js
- * @description Object.defineProperty - 'Attributes' is the JSON object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- JSON.configurable = true;
-
- Object.defineProperty(obj, "property", JSON);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is the JSON object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ JSON.configurable = true;
+
+ Object.defineProperty(obj, "property", JSON);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete JSON.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95-1.js
index 388055eca..84b1dd97b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95-1.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.6/15.2.3.6-3-95-1.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
- try {
- Error.prototype.configurable = true;
- var errObj = new Error();
-
- Object.defineProperty(obj, "property", errObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Error.prototype.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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ try {
+ Error.prototype.configurable = true;
+ var errObj = new Error();
+
+ Object.defineProperty(obj, "property", errObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Error.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95.js
index 8b437d687..23c7ab642 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-95.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.6/15.2.3.6-3-95.js
- * @description Object.defineProperty - 'Attributes' is an Error object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = { };
-
- var errObj = new Error();
-
- errObj.configurable = true;
-
- Object.defineProperty(obj, "property", errObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is an Error object that uses
+ Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ var errObj = new Error();
+
+ errObj.configurable = true;
+
+ Object.defineProperty(obj, "property", errObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96-1.js
index dc5583c8b..30997afdf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96-1.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.6/15.2.3.6-3-96-1.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- Object.prototype.configurable = true;
- var argObj = (function () { return arguments; })();
-
- Object.defineProperty(obj, "property", argObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === false;
- } finally {
- delete Object.prototype.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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'configurable'
+ property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ Object.prototype.configurable = true;
+ var argObj = (function () { return arguments; })();
+
+ Object.defineProperty(obj, "property", argObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete Object.prototype.configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96.js
index 1bba519c7..8fbe20aa1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-96.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.6/15.2.3.6-3-96.js
- * @description Object.defineProperty - 'Attributes' is an Arguments object which implements its own [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- var argObj = (function () { return arguments; })();
- argObj.configurable = true;
-
- Object.defineProperty(obj, "property", argObj);
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is an Arguments object which
+ implements its own [[Get]] method to access the 'configurable'
+ property (8.10.5 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var argObj = (function () { return arguments; })();
+ argObj.configurable = true;
+
+ Object.defineProperty(obj, "property", argObj);
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-98.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-98.js
index 693fa704b..853485b05 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-98.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-98.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.6/15.2.3.6-3-98.js
- * @description Object.defineProperty - 'Attributes' is the global object that uses Object's [[Get]] method to access the 'configurable' property (8.10.5 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- try {
- fnGlobalObject().configurable = true;
-
- Object.defineProperty(obj, "property", fnGlobalObject());
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property");
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'Attributes' is the global object that
+ uses Object's [[Get]] method to access the 'configurable' property
+ (8.10.5 step 4.a)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ try {
+ fnGlobalObject().configurable = true;
+
+ Object.defineProperty(obj, "property", fnGlobalObject());
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property");
+
+ return beforeDeleted === true && afterDeleted === false;
+ } finally {
+ delete fnGlobalObject().configurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-99.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-99.js
index 5ead44f1d..f3832b582 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-99.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-99.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.6/15.2.3.6-3-99.js
- * @description Object.defineProperty - 'configurable' property in 'Attributes' is undefined (8.10.5 step 4.b)
- */
-
-
-function testcase() {
- var obj = { };
-
- Object.defineProperty(obj, "property", { configurable: undefined });
-
- var beforeDeleted = obj.hasOwnProperty("property");
-
- delete obj.property;
-
- var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
-
- return beforeDeleted === true && afterDeleted === 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.defineProperty - 'configurable' property in 'Attributes' is
+ undefined (8.10.5 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { };
+
+ Object.defineProperty(obj, "property", { configurable: undefined });
+
+ var beforeDeleted = obj.hasOwnProperty("property");
+
+ delete obj.property;
+
+ var afterDeleted = obj.hasOwnProperty("property") && typeof (obj.property) === "undefined";
+
+ return beforeDeleted === true && afterDeleted === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-1.js
index 090b0a8a2..a5ece30c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-1.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O passing 'true' for the Throw flag. In this case, step 3 of
- * [[DefineOwnProperty]] requires that it throw a TypeError exception when
- * current is undefined and extensible is false. The value of desc does not
- * matter.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-1.js
- * @description Object.defineProperty throws TypeError when adding properties to non-extensible objects(8.12.9 step 3)
- */
-
-
-function testcase() {
- var o = {};
- Object.preventExtensions(o);
-
- try {
- var desc = { value: 1 };
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError &&
- (o.hasOwnProperty("foo") === 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.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O passing 'true' for the Throw flag. In this case, step 3 of
+ [[DefineOwnProperty]] requires that it throw a TypeError exception when
+ current is undefined and extensible is false. The value of desc does not
+ matter.
+description: >
+ Object.defineProperty throws TypeError when adding properties to
+ non-extensible objects(8.12.9 step 3)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+ Object.preventExtensions(o);
+
+ try {
+ var desc = { value: 1 };
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError &&
+ (o.hasOwnProperty("foo") === false)) {
+ return true;
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-10.js
index 05daa8c21..d6b8f0f4e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-10.js
@@ -1,45 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
- * current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
- * of each other.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-10.js
- * @description Object.defineProperty throws TypeError when changing [[Enumerable]] from false to true on non-configurable accessor properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create an accessor property; all other attributes default to false.
- // dummy getter
- var getter = function () { return 1; }
- var d1 = { get: getter, enumerable: false, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- // now, setting enumerable to true should fail, since [[Configurable]]
- // on the original property will be false.
- var desc = { get: getter, enumerable: true };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.get === getter &&
- d2.enumerable === false &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
+ current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
+ of each other.
+description: >
+ Object.defineProperty throws TypeError when changing
+ [[Enumerable]] from false to true on non-configurable accessor
+ properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create an accessor property; all other attributes default to false.
+ // dummy getter
+ var getter = function () { return 1; }
+ var d1 = { get: getter, enumerable: false, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, setting enumerable to true should fail, since [[Configurable]]
+ // on the original property will be false.
+ var desc = { get: getter, enumerable: true };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.get === getter &&
+ d2.enumerable === false &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-100.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-100.js
index 53da96a36..98221d31d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-100.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-100.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.6/15.2.3.6-4-100.js
- * @description Object.defineProperty - 'name' and 'desc' are data properties, desc.value and name.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.defineProperty(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.defineProperty - 'name' and 'desc' are data properties,
+ desc.value and name.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.defineProperty(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.6/15.2.3.6-4-101.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-101.js
index 831fddabf..e55ffdb91 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-101.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-101.js
@@ -1,21 +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.6/15.2.3.6-4-101.js
- * @description Object.defineProperty - 'name' and 'desc' are data properties, name.value is present and desc.value is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(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.defineProperty - 'name' and 'desc' are data properties,
+ name.value is present and desc.value is undefined (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.defineProperty(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.6/15.2.3.6-4-102.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-102.js
index a73307e83..5b31d0b86 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-102.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-102.js
@@ -1,21 +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.6/15.2.3.6-4-102.js
- * @description Object.defineProperty - 'name' and 'desc' are data properties, desc.value is present and name.value is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = undefined; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(obj, "foo", { value: 100 });
- 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.defineProperty - 'name' and 'desc' are data properties,
+ desc.value is present and name.value is undefined (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = undefined; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperty(obj, "foo", { value: 100 });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 100, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-103.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-103.js
index bc923d561..7b8fbf6a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-103.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-103.js
@@ -1,25 +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.6/15.2.3.6-4-103.js
- * @description Object.defineProperty - 'name' and 'desc' are data properties, name.writable and desc.writable are different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- writable: false, configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- writable: 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.defineProperty - 'name' and 'desc' are data properties,
+ name.writable and desc.writable are different values (8.12.9 step
+ 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ writable: false, configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ writable: 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.6/15.2.3.6-4-104.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-104.js
index d8e53de95..15a696f7b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-104.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-104.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.6/15.2.3.6-4-104.js
- * @description Object.defineProperty - 'name' and 'desc' are data properties, name.enumerable and desc.enumerable are different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- enumerable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: true
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", undefined, 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.defineProperty - 'name' and 'desc' are data properties,
+ name.enumerable and desc.enumerable are different values (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: true
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-105.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-105.js
index 2bfc4a283..3fb480427 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-105.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-105.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.6/15.2.3.6-4-105.js
- * @description Object.defineProperty - 'name' and 'desc' are data properties, name.configurable = true and desc.configurable = false (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 200,
- enumerable: true,
- writable: true,
- configurable: true
- });
-
- Object.defineProperty(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.defineProperty - 'name' and 'desc' are data properties,
+ name.configurable = true and desc.configurable = false (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.defineProperty(obj, "foo", {
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 200, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-106.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-106.js
index 5caba4135..1f2e83788 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-106.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-106.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.6/15.2.3.6-4-106.js
- * @description Object.defineProperty - 'name' and 'desc' are data properties, several attributes values of name and desc are different (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 100,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- value: 200,
- writable: false,
- enumerable: false
- });
- return dataPropertyAttributesAreCorrect(obj, "foo", 200, 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.defineProperty - 'name' and 'desc' are data properties,
+ several attributes values of name and desc are different (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 100,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ value: 200,
+ writable: false,
+ enumerable: false
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 200, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-107.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-107.js
index e126f9d78..24e4d6f59 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-107.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-107.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.6/15.2.3.6-4-107.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, both desc.[[Get]] and name.[[Get]] are two different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 10;
- }
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc,
- configurable: true
- });
-
- function getFunc2() {
- return 20;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc2
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc2, setFunc, "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.defineProperty - 'name' and 'desc' are accessor properties,
+ both desc.[[Get]] and name.[[Get]] are two different values
+ (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return 10;
+ }
+
+ function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc,
+ configurable: true
+ });
+
+ function getFunc2() {
+ return 20;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc2
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc2, setFunc, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-108.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-108.js
index ba3ce3643..351eddafa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-108.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-108.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.6/15.2.3.6-4-108.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, name.[[Get]] is present and desc.[[Get]] is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 10;
- }
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- set: setFunc,
- get: undefined
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "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.defineProperty - 'name' and 'desc' are accessor
+ properties, name.[[Get]] is present and desc.[[Get]] is undefined
+ (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return 10;
+ }
+
+ function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc,
+ get: undefined
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-109.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-109.js
index 4f1990030..d90b03f7b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-109.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-109.js
@@ -1,35 +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.6/15.2.3.6-4-109.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, name.[[Get]] is undefined and desc.[[Get]] is function (8.12.9 step 12)
- */
-
-
-function testcase() {
- var obj = {};
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: setFunc,
- get: undefined,
- enumerable: true,
- configurable: true
- });
-
- function getFunc() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "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.defineProperty - 'name' and 'desc' are accessor properties,
+ name.[[Get]] is undefined and desc.[[Get]] is function (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc,
+ get: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ function getFunc() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-11.js
index ec9f8cb4c..697b383b1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-11.js
@@ -1,45 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
- * current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
- * of each other.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-11.js
- * @description Object.defineProperty throws TypeError when changing [[Enumerable]] from true to false on non-configurable accessor properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create an accessor property; all other attributes default to false.
- // dummy getter
- var getter = function () { return 1; }
- var d1 = { get: getter, enumerable: true, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- // now, setting enumerable to true should fail, since [[Configurable]]
- // on the original property will be false.
- var desc = { get: getter, enumerable: false };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.get === getter &&
- d2.enumerable === true &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
+ current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
+ of each other.
+description: >
+ Object.defineProperty throws TypeError when changing
+ [[Enumerable]] from true to false on non-configurable accessor
+ properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create an accessor property; all other attributes default to false.
+ // dummy getter
+ var getter = function () { return 1; }
+ var d1 = { get: getter, enumerable: true, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, setting enumerable to true should fail, since [[Configurable]]
+ // on the original property will be false.
+ var desc = { get: getter, enumerable: false };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.get === getter &&
+ d2.enumerable === true &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-110.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-110.js
index 71c6df7f3..571e523ec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-110.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-110.js
@@ -1,35 +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.6/15.2.3.6-4-110.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, both desc.[[Set]] and name.[[Set]] are two different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function setFunc1() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- set: setFunc1,
- enumerable: true,
- configurable: true
- });
-
- function setFunc2(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: setFunc2
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc2, "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.defineProperty - 'name' and 'desc' are accessor properties,
+ both desc.[[Set]] and name.[[Set]] are two different values
+ (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function setFunc1() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc1,
+ enumerable: true,
+ configurable: true
+ });
+
+ function setFunc2(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc2
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc2, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-111.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-111.js
index 28818d63b..a2439d8c2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-111.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-111.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.6/15.2.3.6-4-111.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, name.[[Set]] is present and desc.[[Set]] is undefined (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 10;
- }
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- set: undefined,
- get: getFunc
- });
-
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
- return obj.hasOwnProperty("foo") && 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.defineProperty - 'name' and 'desc' are accessor
+ properties, name.[[Set]] is present and desc.[[Set]] is undefined
+ (8.12.9 step 12)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return 10;
+ }
+
+ function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ set: undefined,
+ get: getFunc
+ });
+
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+ return obj.hasOwnProperty("foo") && typeof (desc.set) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-112.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-112.js
index c5d0dcca3..25ff28167 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-112.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-112.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.6/15.2.3.6-4-112.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, name.[[Set]] is undefined and desc.[[Set]] is function (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- set: undefined,
- get: getFunc,
- enumerable: true,
- configurable: true
- });
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: setFunc
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "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.defineProperty - 'name' and 'desc' are accessor properties,
+ name.[[Set]] is undefined and desc.[[Set]] is function (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: undefined,
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-113.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-113.js
index 2ed5affe5..34df10007 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-113.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-113.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.6/15.2.3.6-4-113.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, name.enumerable and desc.enumerable are different values (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- enumerable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, 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.defineProperty - 'name' and 'desc' are accessor properties,
+ name.enumerable and desc.enumerable are different values (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ enumerable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-114.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-114.js
index bb4fa578b..96e5b6fc2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-114.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-114.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.6/15.2.3.6-4-114.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, name.configurable = true and desc.configurable = false (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- function getFunc() {
- return 10;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- configurable: false
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "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.defineProperty - 'name' and 'desc' are accessor properties,
+ name.configurable = true and desc.configurable = false (8.12.9
+ step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ function getFunc() {
+ return 10;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ configurable: false
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-115.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-115.js
index db97764b7..edb5fd194 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-115.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-115.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.6/15.2.3.6-4-115.js
- * @description Object.defineProperty - 'name' and 'desc' are accessor properties, several attributes values of 'name' and 'desc' are different (8.12.9 step 12)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc1() {
- return 10;
- }
- function setFunc1() {}
-
- Object.defineProperty(obj, "foo", {
- get: getFunc1,
- set: setFunc1,
- enumerable: true,
- configurable: true
- });
-
- function getFunc2() {
- return 20;
- }
- function setFunc2(value) {
- obj.setVerifyHelpProp = value;
- }
- Object.defineProperty(obj, "foo", {
- get: getFunc2,
- set: setFunc2,
- enumerable: false
- });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc2, setFunc2, "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.defineProperty - 'name' and 'desc' are accessor properties,
+ several attributes values of 'name' and 'desc' are different
+ (8.12.9 step 12)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc1() {
+ return 10;
+ }
+ function setFunc1() {}
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc1,
+ set: setFunc1,
+ enumerable: true,
+ configurable: true
+ });
+
+ function getFunc2() {
+ return 20;
+ }
+ function setFunc2(value) {
+ obj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(obj, "foo", {
+ get: getFunc2,
+ set: setFunc2,
+ enumerable: false
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc2, setFunc2, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-116.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-116.js
index 2e3f5f1b5..6b2f72758 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-116.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-116.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.6/15.2.3.6-4-116.js
- * @description Object.defineProperty - 'O' is an Array, test the length property of 'O' is own data property (15.4.5.1 step 1)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
- Object.defineProperty(arrObj, "1", {
- value: 1,
- configurable: false
- });
- try {
- Object.defineProperty(arrObj, "length", { value: 1 });
- return false;
- } catch (e) {
- var desc = Object.getOwnPropertyDescriptor(arrObj, "length");
-
- return Object.hasOwnProperty.call(arrObj, "length") && desc.value === 2 &&
- desc.writable === true && 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.defineProperty - '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 arrObj = [0, 1];
+ Object.defineProperty(arrObj, "1", {
+ value: 1,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arrObj, "length", { value: 1 });
+ return false;
+ } catch (e) {
+ var desc = Object.getOwnPropertyDescriptor(arrObj, "length");
+
+ return Object.hasOwnProperty.call(arrObj, "length") && desc.value === 2 &&
+ desc.writable === true && desc.configurable === false && desc.enumerable === false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-117.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-117.js
index 7c0533191..bdfd00050 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-117.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-117.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.6/15.2.3.6-4-117.js
- * @description Object.defineProperty - '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 arrObj = [0, 1, 2];
- var arrProtoLen;
-
- try {
- arrProtoLen = Array.prototype.length;
- Array.prototype.length = 0;
-
-
- Object.defineProperty(arrObj, "2", {
- configurable: false
- });
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 3 && Array.prototype.length === 0;
- } 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.defineProperty - '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 arrObj = [0, 1, 2];
+ var arrProtoLen;
+
+ try {
+ arrProtoLen = Array.prototype.length;
+ Array.prototype.length = 0;
+
+
+ Object.defineProperty(arrObj, "2", {
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 3 && Array.prototype.length === 0;
+ } finally {
+ Array.prototype.length = arrProtoLen;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-118.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-118.js
index e7a327ad7..0e3c6150a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-118.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-118.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.6/15.2.3.6-4-118.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {});
-
- var verifyValue = false;
- if (arrObj.length === 0) {
- verifyValue = true;
- }
-
- arrObj.length = 2;
- var verifyWritable = arrObj.length === 2;
-
- var verifyEnumerable = false;
- for (var p in arrObj) {
- if (p === "length" && arrObj.hasOwnProperty(p)) {
- verifyEnumerable = true;
- }
- }
-
- delete arrObj.length;
- var verifyConfigurable = arrObj.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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {});
+
+ var verifyValue = false;
+ if (arrObj.length === 0) {
+ verifyValue = true;
+ }
+
+ arrObj.length = 2;
+ var verifyWritable = arrObj.length === 2;
+
+ var verifyEnumerable = false;
+ for (var p in arrObj) {
+ if (p === "length" && arrObj.hasOwnProperty(p)) {
+ verifyEnumerable = true;
+ }
+ }
+
+ delete arrObj.length;
+ var verifyConfigurable = arrObj.hasOwnProperty("length");
+
+ return verifyValue && verifyWritable && !verifyEnumerable && verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-119.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-119.js
index 19e59dcb7..b30e42744 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-119.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-119.js
@@ -1,41 +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.6/15.2.3.6-4-119.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
- Object.defineProperty(arrObj, "length", {
- writable: true,
- enumerable: false,
- configurable: false
- });
-
- var verifyValue = false;
- if (arrObj.length === 0) {
- verifyValue = true;
- }
-
- arrObj.length = 2;
- var verifyWritable = arrObj.length === 2 ? true : false;
-
- var verifyEnumerable = false;
- for (var p in arrObj) {
- if (p === "length" && arrObj.hasOwnProperty(p)) {
- verifyEnumerable = true;
- }
- }
-
- delete arrObj.length;
- var verifyConfigurable = arrObj.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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
+ Object.defineProperty(arrObj, "length", {
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+
+ var verifyValue = false;
+ if (arrObj.length === 0) {
+ verifyValue = true;
+ }
+
+ arrObj.length = 2;
+ var verifyWritable = arrObj.length === 2 ? true : false;
+
+ var verifyEnumerable = false;
+ for (var p in arrObj) {
+ if (p === "length" && arrObj.hasOwnProperty(p)) {
+ verifyEnumerable = true;
+ }
+ }
+
+ delete arrObj.length;
+ var verifyConfigurable = arrObj.hasOwnProperty("length");
+
+ return verifyValue && verifyWritable && !verifyEnumerable && verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-12.js
index 8fcdcd99c..fe688e0af 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-12.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 9a of
- * [[DefineOwnProperty]] rejects changing the kind of a property.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-12.js
- * @description Object.defineProperty throws TypeError when changing non-configurable data properties to accessor properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create a data valued property; all other attributes default to false.
- var d1 = { value: 101, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- // changing "foo" to be an accessor should fail, since [[Configurable]]
- // on the original property will be false.
-
- // dummy getter
- var getter = function () { return 1; }
-
- var desc = { get: getter };
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain a data valued property.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.value === 101 &&
- d2.writable === false &&
- d2.enumerable === false &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 9a of
+ [[DefineOwnProperty]] rejects changing the kind of a property.
+description: >
+ Object.defineProperty throws TypeError when changing
+ non-configurable data properties to accessor properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create a data valued property; all other attributes default to false.
+ var d1 = { value: 101, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ // changing "foo" to be an accessor should fail, since [[Configurable]]
+ // on the original property will be false.
+
+ // dummy getter
+ var getter = function () { return 1; }
+
+ var desc = { get: getter };
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain a data valued property.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.value === 101 &&
+ d2.writable === false &&
+ d2.enumerable === false &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-120.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-120.js
index c2e7a5f11..cbf6cbd31 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-120.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-120.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.6/15.2.3.6-4-120.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
- try {
- Object.defineProperty(arrObj, "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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
+ try {
+ Object.defineProperty(arrObj, "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.6/15.2.3.6-4-121.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-121.js
index 5672d0694..2a2f01a83 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-121.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-121.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.6/15.2.3.6-4-121.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
- try {
- Object.defineProperty(arrObj, "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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
+ try {
+ Object.defineProperty(arrObj, "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.6/15.2.3.6-4-122.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-122.js
index 420473415..3251c6935 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-122.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-122.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.6/15.2.3.6-4-122.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test TypeError is thrown when 'desc' is accessor descriptor (15.4.5.1 step 3.a.i)
- */
-
-
-function testcase() {
-
- var arrObj = [];
- try {
- Object.defineProperty(arrObj, "length", {
- get: function () {
- return 2;
- }
- });
- 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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test TypeError is thrown when 'desc' is accessor
+ descriptor (15.4.5.1 step 3.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+ try {
+ Object.defineProperty(arrObj, "length", {
+ get: function () {
+ return 2;
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-123.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-123.js
index 8d6644765..7bb08b03c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-123.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-123.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.6/15.2.3.6-4-123.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
- try {
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
- Object.defineProperty(arrObj, "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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
+ try {
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+ Object.defineProperty(arrObj, "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.6/15.2.3.6-4-124.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-124.js
index 0fc7189ba..51ece404a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-124.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-124.js
@@ -1,21 +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.6/15.2.3.6-4-124.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
- return dataPropertyAttributesAreCorrect(arrObj, "length", 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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "length", 0, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-125.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-125.js
index cc26da9c0..37bd7fffb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-125.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-125.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.6/15.2.3.6-4-125.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test that RangeError exception is thrown when [[Value]] field of 'desc' is undefined (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: undefined
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test that RangeError exception is thrown when
+ [[Value]] field of 'desc' is undefined (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: undefined
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-126.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-126.js
index 375400ff2..4b6c966a4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-126.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-126.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is null (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: null
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is null
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: null
+ });
+ return arrObj.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-127.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-127.js
index 161425acd..9ffe6a909 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-127.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-127.js
- * @description Object.defineProperty - '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 arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: false
- });
- return arrObj.length === 0 && !arrObj.hasOwnProperty("0") && !arrObj.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.defineProperty - '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 arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: false
+ });
+ return arrObj.length === 0 && !arrObj.hasOwnProperty("0") && !arrObj.hasOwnProperty("1");
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-128.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-128.js
index 02eae0118..405def788 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-128.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-128.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: true
- });
- return arrObj.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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: true
+ });
+ return arrObj.length === 1;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-129.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-129.js
index 12179b302..eee6a9ecd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-129.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-129.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.6/15.2.3.6-4-129.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is not thrown when the [[Value]] field of 'desc' is 0 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: 0
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is not thrown when the
+ [[Value]] field of 'desc' is 0 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 0
+ });
+ return arrObj.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-13.js
index e1e4ed945..f6a5201d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-13.js
@@ -1,44 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 9a of
- * [[DefineOwnProperty]] rejects changing the kind of a property.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-13.js
- * @description Object.defineProperty throws TypeError when changing non-configurable accessor properties to data properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create an accessor property; all other attributes default to false.
-
- // dummy getter
- var getter = function () { return 1; }
- var d1 = { get: getter, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- // changing "foo" to be a data property should fail, since [[Configurable]]
- // on the original property will be false.
- var desc = { value: 101 };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain an accessor property.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.get === getter &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 9a of
+ [[DefineOwnProperty]] rejects changing the kind of a property.
+description: >
+ Object.defineProperty throws TypeError when changing
+ non-configurable accessor properties to data properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create an accessor property; all other attributes default to false.
+
+ // dummy getter
+ var getter = function () { return 1; }
+ var d1 = { get: getter, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ // changing "foo" to be a data property should fail, since [[Configurable]]
+ // on the original property will be false.
+ var desc = { value: 101 };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain an accessor property.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.get === getter &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-130.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-130.js
index 37f5a177c..0c1e89f0d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-130.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-130.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.6/15.2.3.6-4-130.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is not thrown when the [[Value]] field of 'desc' is +0 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: +0
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is not thrown when the
+ [[Value]] field of 'desc' is +0 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: +0
+ });
+ return arrObj.length === 0;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-131.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-131.js
index 7978a452f..2e4132d8d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-131.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-131.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-131.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is not thrown when the [[Value]] field of 'desc' is -0 (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: -0
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is not thrown when the
+ [[Value]] field of 'desc' is -0 (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: -0
+ });
+ return arrObj.length === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-132.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-132.js
index 8f4d5708e..4cb42dfbc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-132.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-132.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-132.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is not thrown when the [[Value]] field of 'desc' is a positive number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: 12
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is not thrown when the
+ [[Value]] field of 'desc' is a positive number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 12
+ });
+ return arrObj.length === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-133.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-133.js
index f073bf08a..4288b6d90 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-133.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-133.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.6/15.2.3.6-4-133.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is a negative number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: -9
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when the
+ [[Value]] field of 'desc' is a negative number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: -9
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-134.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-134.js
index b20c788be..94a56be8f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-134.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-134.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is +Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: +Infinity
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when the
+ [[Value]] field of 'desc' is +Infinity (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: +Infinity
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-135.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-135.js
index 2168209fb..5514e106f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-135.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-135.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.6/15.2.3.6-4-135.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is -Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: -Infinity
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when the
+ [[Value]] field of 'desc' is -Infinity (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: -Infinity
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-136.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-136.js
index 5cee918b1..19518c4f4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-136.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-136.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.6/15.2.3.6-4-136.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is NaN (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: NaN
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when the
+ [[Value]] field of 'desc' is NaN (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: NaN
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-137.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-137.js
index c5d1bb9e3..4ecffe355 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-137.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-137.js
@@ -1,22 +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.6/15.2.3.6-4-137.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is not thrown when the [[Value]] field of 'desc' is a string containing a positive number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: "2"
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is not thrown when 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: "2"
+ });
+ return arrObj.length === 2;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-138.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-138.js
index 1963ea22a..06a1dcaec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-138.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-138.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.6/15.2.3.6-4-138.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is a string containing a negative number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: "-42"
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when 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 arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: "-42"
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-139.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-139.js
index ada6045d5..ccf290492 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-139.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-139.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.6/15.2.3.6-4-139.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is a string containing a decimal number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: "200.59"
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when 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 arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: "200.59"
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-14.js
index 1c1c17d92..ba0dd25ae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-14.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For configurable properties, step 9b of
- * [[DefineOwnProperty]] permits changing the kind of a property.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-14.js
- * @description Object.defineProperty permits changing data property to accessor property for configurable properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create a data property. In this case,
- // [[Enumerable]] and [[Configurable]] are true
- o["foo"] = 101;
-
- // changing "foo" to be an accessor should succeed, since [[Configurable]]
- // on the original property will be true. Existing values of [[Configurable]]
- // and [[Enumerable]] need to be preserved and the rest need to be set to
- // their default values
-
- // dummy getter
- var getter = function () { return 1; }
- var d1 = { get: getter };
- Object.defineProperty(o, "foo", d1);
-
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (d2.get === getter &&
- d2.enumerable === true &&
- d2.configurable === true) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For configurable properties, step 9b of
+ [[DefineOwnProperty]] permits changing the kind of a property.
+description: >
+ Object.defineProperty permits changing data property to accessor
+ property for configurable properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create a data property. In this case,
+ // [[Enumerable]] and [[Configurable]] are true
+ o["foo"] = 101;
+
+ // changing "foo" to be an accessor should succeed, since [[Configurable]]
+ // on the original property will be true. Existing values of [[Configurable]]
+ // and [[Enumerable]] need to be preserved and the rest need to be set to
+ // their default values
+
+ // dummy getter
+ var getter = function () { return 1; }
+ var d1 = { get: getter };
+ Object.defineProperty(o, "foo", d1);
+
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (d2.get === getter &&
+ d2.enumerable === true &&
+ d2.configurable === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-140.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-140.js
index 29ef4bc04..9982d7c48 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-140.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-140.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.6/15.2.3.6-4-140.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is a string containing +Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: "+Infinity"
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when the
+ [[Value]] field of 'desc' is a string containing +Infinity
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: "+Infinity"
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-141.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-141.js
index 8038fb6d1..ede79a6c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-141.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-141.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.6/15.2.3.6-4-141.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when the [[Value]] field of 'desc' is a string containing -Infinity (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: "-Infinity"
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when the
+ [[Value]] field of 'desc' is a string containing -Infinity
+ (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: "-Infinity"
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-142.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-142.js
index 87b4656eb..ae53726d5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-142.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-142.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-142.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: "2E3"
- });
- return arrObj.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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: "2E3"
+ });
+ return arrObj.length === 2E3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-143.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-143.js
index 6b28a7ca5..4fcb99dfd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-143.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-143.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-143.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing a hex number (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: "0x00B"
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing a hex number (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: "0x00B"
+ });
+ return arrObj.length === 0x00B;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-144.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-144.js
index 36e256cfe..6ec81e61d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-144.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-144.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-144.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing a number with leading zeros (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: "0002.0"
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test the [[Value]] field of 'desc' is a string
+ containing a number with leading zeros (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: "0002.0"
+ });
+ return arrObj.length === 2;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-145.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-145.js
index a2a9d61b6..8be5d77f6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-145.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-145.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.6/15.2.3.6-4-145.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError exception is thrown when 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 arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: "two"
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError exception is thrown when 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 arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: "two"
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-146.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-146.js
index 21f006195..632b55130 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-146.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-146.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.6/15.2.3.6-4-146.js
- * @description Object.defineProperty - '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 method (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: {
- toString: function () {
- return '2';
- }
- }
- });
- return arrObj.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.defineProperty - '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 method (15.4.5.1 step 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: {
+ toString: function () {
+ return '2';
+ }
+ }
+ });
+ return arrObj.length === 2;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-147.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-147.js
index b843eb3ab..a9b524b5a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-147.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-147.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.6/15.2.3.6-4-147.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: {
- valueOf: function () {
- return 2;
- }
- }
- });
- return arrObj.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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: {
+ valueOf: function () {
+ return 2;
+ }
+ }
+ });
+ return arrObj.length === 2;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-148.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-148.js
index b4784be75..ad044d782 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-148.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-148.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.6/15.2.3.6-4-148.js
- * @description Object.defineProperty - '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 arrObj = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- Object.defineProperty(arrObj, "length", {
- value: {
- toString: function () {
- toStringAccessed = true;
- return '2';
- },
-
- valueOf: function () {
- valueOfAccessed = true;
- return {};
- }
- }
- });
- return arrObj.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.defineProperty - '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 arrObj = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ Object.defineProperty(arrObj, "length", {
+ value: {
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ },
+
+ valueOf: function () {
+ valueOfAccessed = true;
+ return {};
+ }
+ }
+ });
+ return arrObj.length === 2 && toStringAccessed && valueOfAccessed;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-149.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-149.js
index 3d2070448..3119f0b7a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-149.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-149.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.6/15.2.3.6-4-149.js
- * @description Object.defineProperty - '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 arrObj = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- Object.defineProperty(arrObj, "length", {
- value: {
- toString: function () {
- toStringAccessed = true;
- return '2';
- },
-
- valueOf: function () {
- valueOfAccessed = true;
- return 3;
- }
- }
- });
- return arrObj.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.defineProperty - '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 arrObj = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ Object.defineProperty(arrObj, "length", {
+ value: {
+ toString: function () {
+ toStringAccessed = true;
+ return '2';
+ },
+
+ valueOf: function () {
+ valueOfAccessed = true;
+ return 3;
+ }
+ }
+ });
+ return arrObj.length === 3 && !toStringAccessed && valueOfAccessed;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-15.js
index 2fc369c50..766d7eb5b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-15.js
@@ -1,40 +1,42 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For configurable properties, step 9c of
- * [[DefineOwnProperty]] permits changing the kind of a property.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-15.js
- * @description Object.defineProperty permits changing accessor property to data property for configurable properties
- */
-
-
-function testcase() {
- var o = {};
-
- // define an accessor property
- // dummy getter
- var getter = function () { return 1; }
- var d1 = { get: getter, configurable: true };
- Object.defineProperty(o, "foo", d1);
-
- // changing "foo" to be a data valued property should succeed, since
- // [[Configurable]] on the original property will be true. Existing
- // values of [[Configurable]] and [[Enumerable]] need to be preserved
- // and the rest need to be set to their default values.
- var desc = { value: 101 };
- Object.defineProperty(o, "foo", desc);
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (d2.value === 101 &&
- d2.writable === false &&
- d2.enumerable === false &&
- d2.configurable === true) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For configurable properties, step 9c of
+ [[DefineOwnProperty]] permits changing the kind of a property.
+description: >
+ Object.defineProperty permits changing accessor property to data
+ property for configurable properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // define an accessor property
+ // dummy getter
+ var getter = function () { return 1; }
+ var d1 = { get: getter, configurable: true };
+ Object.defineProperty(o, "foo", d1);
+
+ // changing "foo" to be a data valued property should succeed, since
+ // [[Configurable]] on the original property will be true. Existing
+ // values of [[Configurable]] and [[Enumerable]] need to be preserved
+ // and the rest need to be set to their default values.
+ var desc = { value: 101 };
+ Object.defineProperty(o, "foo", desc);
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (d2.value === 101 &&
+ d2.writable === false &&
+ d2.enumerable === false &&
+ d2.configurable === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-150.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-150.js
index 759bfa95c..bd293c76f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-150.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-150.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.6/15.2.3.6-4-150.js
- * @description Object.defineProperty - '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 arrObj = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- try {
- Object.defineProperty(arrObj, "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.defineProperty - '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 arrObj = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ try {
+ Object.defineProperty(arrObj, "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.6/15.2.3.6-4-151.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-151.js
index 9ea4035ee..24db0127e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-151.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-151.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.6/15.2.3.6-4-151.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', and the [[Value]] field of 'desc' is an Object with an own toString method and an inherited valueOf method (15.4.5.1 step 3.c), test that the inherited valueOf method is used
- */
-
-
-function testcase() {
-
- var arrObj = [];
- var toStringAccessed = false;
- var valueOfAccessed = false;
-
- var proto = {
- valueOf: function () {
- valueOfAccessed = true;
- return 2;
- }
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
- child.toString = function () {
- toStringAccessed = true;
- return 3;
- };
-
- Object.defineProperty(arrObj, "length", {
- value: child
- });
- return arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', and the [[Value]] field of 'desc' is an Object
+ with an own toString method and an inherited valueOf method
+ (15.4.5.1 step 3.c), test that the inherited valueOf method is used
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+ var toStringAccessed = false;
+ var valueOfAccessed = false;
+
+ var proto = {
+ valueOf: function () {
+ valueOfAccessed = true;
+ return 2;
+ }
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+ child.toString = function () {
+ toStringAccessed = true;
+ return 3;
+ };
+
+ Object.defineProperty(arrObj, "length", {
+ value: child
+ });
+ return arrObj.length === 2 && !toStringAccessed && valueOfAccessed;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-152.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-152.js
index 4f12e9d19..f5262825d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-152.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-152.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.6/15.2.3.6-4-152.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError is thrown when the [[Value]] field of 'desc' is a positive non-integer values (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: 123.5
- });
-
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError is thrown when the [[Value]]
+ field of 'desc' is a positive non-integer values (15.4.5.1 step
+ 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: 123.5
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-153.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-153.js
index 18cf66cdc..4b0a4924e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-153.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-153.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.6/15.2.3.6-4-153.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test RangeError is thrown when the [[Value]] field of 'desc' is a negative non-integer values (15.4.5.1 step 3.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: -4294967294.5
- });
-
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', test RangeError is thrown when the [[Value]]
+ field of 'desc' is a negative non-integer values (15.4.5.1 step
+ 3.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: -4294967294.5
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-154.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-154.js
index 49a672ef6..ea5f0d51a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-154.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-154.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.6/15.2.3.6-4-154.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: 4294967294
- });
-
- return arrObj.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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 4294967294
+ });
+
+ return arrObj.length === 4294967294;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-155.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-155.js
index a4160921c..ec1d81012 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-155.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-155.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.6/15.2.3.6-4-155.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- value: 4294967295
- });
-
- return arrObj.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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 4294967295
+ });
+
+ return arrObj.length === 4294967295;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-156.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-156.js
index b565c16de..a5c80fd30 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-156.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-156.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.6/15.2.3.6-4-156.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: 4294967296
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - '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 arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: 4294967296
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-157.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-157.js
index 1cba7dee5..a97f7dd45 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-157.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-157.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.6/15.2.3.6-4-157.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: 4294967297
- });
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - '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 arrObj = [];
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: 4294967297
+ });
+ return false;
+ } catch (e) {
+ return e instanceof RangeError;
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-159.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-159.js
index cb0e6636b..a2a514be9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-159.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-159.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.6/15.2.3.6-4-159.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', set the [[Value]] field of 'desc' to a value greater than the existing value of length (15.4.5.1 step 3.f)
- */
-
-
-function testcase() {
-
- var arrObj = [0, , 2];
-
- Object.defineProperty(arrObj, "length", {
- value: 5
- });
-
- return arrObj.length === 5 && arrObj[0] === 0 &&
- !arrObj.hasOwnProperty("1") && arrObj[2] === 2 &&
- !arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', set the [[Value]] field of 'desc' to a value
+ greater than the existing value of length (15.4.5.1 step 3.f)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, , 2];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 5
+ });
+
+ return arrObj.length === 5 && arrObj[0] === 0 &&
+ !arrObj.hasOwnProperty("1") && arrObj[2] === 2 &&
+ !arrObj.hasOwnProperty("4");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-16.js
index 1c7de9b17..7cbdd9025 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-16.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 10.a.i
- * of [[DefineOwnProperty]] rejects if relaxing the [[Writable]] attribute.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-16.js
- * @description Object.defineProperty throws TypeError when relaxing [[Writable]] on non-configurable data properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create a data valued property; all other attributes default to false.
- var d1 = { value: 101 };
- Object.defineProperty(o, "foo", d1);
-
- // now, relaxing [[Writable]] on "foo" should fail, since both
- // [[Configurable]] and [[Writable]] on the original property will be false.
- var desc = { value: 101, writable: true };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.value === 101 &&
- d2.writable === false &&
- d2.enumerable === false &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 10.a.i
+ of [[DefineOwnProperty]] rejects if relaxing the [[Writable]] attribute.
+description: >
+ Object.defineProperty throws TypeError when relaxing [[Writable]]
+ on non-configurable data properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create a data valued property; all other attributes default to false.
+ var d1 = { value: 101 };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, relaxing [[Writable]] on "foo" should fail, since both
+ // [[Configurable]] and [[Writable]] on the original property will be false.
+ var desc = { value: 101, writable: true };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.value === 101 &&
+ d2.writable === false &&
+ d2.enumerable === false &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-160.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-160.js
index 09c7c1fe1..b0906914a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-160.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-160.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.6/15.2.3.6-4-160.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', set the [[Value]] field of 'desc' to a value equal to the existing value of length (15.4.5.1 step 3.f)
- */
-
-
-function testcase() {
-
- var arrObj = [0, , 2];
-
- Object.defineProperty(arrObj, "length", {
- value: 3
- });
-
- return arrObj.length === 3 && arrObj[0] === 0 && !arrObj.hasOwnProperty("1") && arrObj[2] === 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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', set the [[Value]] field of 'desc' to a value
+ equal to the existing value of length (15.4.5.1 step 3.f)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, , 2];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 3
+ });
+
+ return arrObj.length === 3 && arrObj[0] === 0 && !arrObj.hasOwnProperty("1") && arrObj[2] === 2;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-161.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-161.js
index 1cd46f225..ef76a4de2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-161.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-161.js
@@ -1,21 +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.6/15.2.3.6-4-161.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', set the [[Value]] field of 'desc' to a value lesser than the existing value of length and test that indexes beyond the new length are deleted(15.4.5.1 step 3.f)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
- return arrObj.length === 1 && !arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', set the [[Value]] field of 'desc' to a value
+ lesser than the existing value of length and test that indexes
+ beyond the new length are deleted(15.4.5.1 step 3.f)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+ return arrObj.length === 1 && !arrObj.hasOwnProperty("1");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-162.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-162.js
index e1300103c..3c5d7fb45 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-162.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-162.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.6/15.2.3.6-4-162.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: 12
- });
- 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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: 12
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-163.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-163.js
index 9826a0fc3..9046c366d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-163.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-163.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.6/15.2.3.6-4-163.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', the [[Value]] field of 'desc' equals to value of the length property, test no TypeError is thrown when the length property is not writable (15.4.5.1 step 3.f.i)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: 0
- });
- return true;
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', the [[Value]] field of 'desc' equals to value of
+ the length property, test no TypeError is thrown when the length
+ property is not writable (15.4.5.1 step 3.f.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: 0
+ });
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-164.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-164.js
index 28be447c1..f0baf514d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-164.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-164.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.6/15.2.3.6-4-164.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: 0
- });
- 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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: 0
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-165.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-165.js
index 908f9e16c..4f87c8f7c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-165.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-165.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.6/15.2.3.6-4-165.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 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 arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
-
- var indexDeleted = !arrObj.hasOwnProperty("1");
-
- arrObj.length = 10;
-
- return indexDeleted && arrObj.length === 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.defineProperty - 'O' is an Array, 'name' 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 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 arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+
+ var indexDeleted = !arrObj.hasOwnProperty("1");
+
+ arrObj.length = 10;
+
+ return indexDeleted && arrObj.length === 10;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-166.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-166.js
index 694739aa4..a511e3d04 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-166.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-166.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.6/15.2.3.6-4-166.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 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 arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: 1,
- writable: true
- });
-
- var indexDeleted = !arrObj.hasOwnProperty("1");
-
- arrObj.length = 10;
-
- return indexDeleted && arrObj.length === 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.defineProperty - 'O' is an Array, 'name' 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 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 arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1,
+ writable: true
+ });
+
+ var indexDeleted = !arrObj.hasOwnProperty("1");
+
+ arrObj.length = 10;
+
+ return indexDeleted && arrObj.length === 10;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-167.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-167.js
index b8910299b..62e5be0ce 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-167.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-167.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.6/15.2.3.6-4-167.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 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 arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: 1,
- writable: false
- });
-
- var indexDeleted = !arrObj.hasOwnProperty("1");
-
- arrObj.length = 10;
-
- return indexDeleted && arrObj.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.defineProperty - 'O' is an Array, 'name' 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 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 arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1,
+ writable: false
+ });
+
+ var indexDeleted = !arrObj.hasOwnProperty("1");
+
+ arrObj.length = 10;
+
+ return indexDeleted && arrObj.length === 1;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-168.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-168.js
index a5d64cf43..e7e7b3c8b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-168.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-168.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.6/15.2.3.6-4-168.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', whose writable attribute is being changed to false and the [[Value]] field of 'desc' is less than value of the length property and also lesser than an index of the array which is set to configurable:false, test that new length is set to a value greater than the non-deletable index by 1, writable attribute of length is set to false and TypeError exception is thrown (15.4.5.1 step 3.i.iii)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1, 2];
-
- try {
- Object.defineProperty(arrObj, "1", {
- configurable: false
- });
-
- Object.defineProperty(arrObj, "length", {
- value: 0,
- writable: false
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', whose writable attribute is being changed to
+ false and the [[Value]] field of 'desc' is less than value of the
+ length property and also lesser than an index of the array which
+ is set to configurable:false, test that new length is set to a
+ value greater than the non-deletable index by 1, writable
+ attribute of length is set to false and TypeError exception is
+ thrown (15.4.5.1 step 3.i.iii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1, 2];
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "length", {
+ value: 0,
+ writable: false
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-169.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-169.js
index ec22abbb6..33d5d602c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-169.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-169.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.6/15.2.3.6-4-169.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property and also lesser than an index of the array which is set to configurable: false, test that new length is set to a value greater than the non-deletable index by 1, and TypeError is thrown (15.4.5.1 step 3.l.i)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1, 2];
-
- Object.defineProperty(arrObj, "1", {
- configurable: false
- });
-
- Object.defineProperty(arrObj, "2", {
- configurable: true
- });
-
- try {
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 2 && !arrObj.hasOwnProperty("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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property and also lesser than an index of the array
+ which is set to configurable: false, test that new length is set
+ to a value greater than the non-deletable index by 1, and
+ TypeError is thrown (15.4.5.1 step 3.l.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1, 2];
+
+ Object.defineProperty(arrObj, "1", {
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "2", {
+ configurable: true
+ });
+
+ try {
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2 && !arrObj.hasOwnProperty("2");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-17.js
index 2cc43439d..3aa9ddcb9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-17.js
@@ -1,44 +1,46 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 10.a.ii.1
- * of [[DefineOwnProperty]] rejects changing the value of non-writable properties.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-17.js
- * @description Object.defineProperty throws TypeError when changing value of non-writable non-configurable data properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create a data valued property; all other attributes default to false.
- var d1 = { value: 101 };
- Object.defineProperty(o, "foo", d1);
-
- // now, trying to change the value of "foo" should fail, since both
- // [[Configurable]] and [[Writable]] on the original property will be false.
- var desc = { value: 102 };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (d2.value === 101 &&
- d2.writable === false &&
- d2.enumerable === false &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 10.a.ii.1
+ of [[DefineOwnProperty]] rejects changing the value of non-writable properties.
+description: >
+ Object.defineProperty throws TypeError when changing value of
+ non-writable non-configurable data properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create a data valued property; all other attributes default to false.
+ var d1 = { value: 101 };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, trying to change the value of "foo" should fail, since both
+ // [[Configurable]] and [[Writable]] on the original property will be false.
+ var desc = { value: 102 };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (d2.value === 101 &&
+ d2.writable === false &&
+ d2.enumerable === false &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.js
index 081192037..b679d5c23 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.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.6/15.2.3.6-4-170.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property and also lesser than an index of the array which is set to configurable: false, test that new length is set to a value greater than the non-deletable index by 1, writable attribute of length is set to false and TypeError exception is thrown (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
-
- try {
- Object.defineProperty(arrObj, "1", {
- configurable: false
- });
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 2 && arrObj.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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property and also lesser than an index of the array
+ which is set to configurable: false, test that new length is set
+ to a value greater than the non-deletable index by 1, writable
+ attribute of length is set to false and TypeError exception is
+ thrown (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("1");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-171.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-171.js
index ed05a2c03..5dca25ac1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-171.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-171.js
@@ -1,25 +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.6/15.2.3.6-4-171.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of an 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 arrObj = [0, 1];
- try {
- Array.prototype[1] = 2; // Not setting 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.defineProperty(arrObj, "length", {
- value: 1
- });
- return arrObj.length === 1 && !arrObj.hasOwnProperty("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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of an
+ 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 arrObj = [0, 1];
+ try {
+ Array.prototype[1] = 2; // Not setting 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.defineProperty(arrObj, "length", {
+ value: 1
+ });
+ return arrObj.length === 1 && !arrObj.hasOwnProperty("1");
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-172.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-172.js
index 8c597c867..22c464857 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-172.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-172.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.6/15.2.3.6-4-172.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 an inherited data property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
- try {
- Object.defineProperty(arrObj, "1", {
- configurable: false
- });
-
- Array.prototype[1] = 2;
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("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.defineProperty - 'O' is an Array, 'name' 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 an
+ inherited data property can stop deleting index named properties
+ (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+ try {
+ Object.defineProperty(arrObj, "1", {
+ configurable: false
+ });
+
+ Array.prototype[1] = 2;
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("1");
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-173.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-173.js
index 5eb573acd..217dc2bb9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-173.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-173.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.6/15.2.3.6-4-173.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 an inherited accessor property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
- try {
- Object.defineProperty(arrObj, "1", {
- configurable: false
- });
-
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("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.defineProperty - 'O' is an Array, 'name' 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 an
+ inherited accessor property can stop deleting index named
+ properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+ try {
+ Object.defineProperty(arrObj, "1", {
+ configurable: false
+ });
+
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("1");
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-174.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-174.js
index bc961f324..a6d5cd8ae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-174.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-174.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.6/15.2.3.6-4-174.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [0, 1];
-
- try {
- Object.defineProperty(arrObj, "1", {
- get: function () {
- return 1;
- },
- configurable: false
- });
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 2 && arrObj.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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [0, 1];
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("1");
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-175.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-175.js
index 9f47e7ac7..b9ff68c65 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-175.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-175.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.6/15.2.3.6-4-175.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', the [[Value]] field of 'desc' is less than value of the length property, test the [[Configurable]] attribute of an 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 arrObj = [0, 1];
- try {
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 1;
- },
- configurable: true // Not setting 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.defineProperty(arrObj, "length", {
- value: 1
- });
-
- return arrObj.length === 1 && !arrObj.hasOwnProperty("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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', the [[Value]] field of 'desc' is less than value
+ of the length property, test the [[Configurable]] attribute of an
+ 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 arrObj = [0, 1];
+ try {
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: true // Not setting 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.defineProperty(arrObj, "length", {
+ value: 1
+ });
+
+ return arrObj.length === 1 && !arrObj.hasOwnProperty("1");
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-176.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-176.js
index dea5c5f8f..490605a44 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-176.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-176.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 an inherited data property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
- try {
- Object.defineProperty(arrObj, "1", {
- get: function () {
- return 2;
- },
- configurable: false
- });
-
- Array.prototype[1] = 2;
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("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.defineProperty - 'O' is an Array, 'name' 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
+ an inherited data property can stop deleting index named
+ properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+ try {
+ Object.defineProperty(arrObj, "1", {
+ get: function () {
+ return 2;
+ },
+ configurable: false
+ });
+
+ Array.prototype[1] = 2;
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("1");
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-177.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-177.js
index 0aa030a91..13bc2687d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-177.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-177.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.6/15.2.3.6-4-177.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 an inherited accessor property can stop deleting index named properties (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
- try {
- Object.defineProperty(arrObj, "1", {
- get: function () {
- return 1;
- },
- configurable: false
- });
-
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return 2;
- },
- configurable: true
- });
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("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.defineProperty - 'O' is an Array, 'name' 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
+ an inherited accessor property can stop deleting index named
+ properties (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+ try {
+ Object.defineProperty(arrObj, "1", {
+ get: function () {
+ return 1;
+ },
+ configurable: false
+ });
+
+ Object.defineProperty(Array.prototype, "1", {
+ get: function () {
+ return 2;
+ },
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.length === 2 && arrObj.hasOwnProperty("1");
+ } finally {
+ delete Array.prototype[1];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-178.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-178.js
index bfd9568e1..298d05314 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-178.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-178.js
@@ -1,22 +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.6/15.2.3.6-4-178.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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' is deleted (15.4.5.1 step 3.l.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: 1
- });
-
- return !arrObj.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.defineProperty - 'O' is an Array, 'name' 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' is deleted (15.4.5.1 step 3.l.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 1
+ });
+
+ return !arrObj.hasOwnProperty("1");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-179-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-179-1.js
index d4c07fdc1..99ea64fd1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-179-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-179-1.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.6/15.2.3.6-4-179-1.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', the [[Value]] field of 'desc' is greater than value of the length property, test value of the length property is same as [[Value]] (15.4.5.1 step 3.l.iii.1)
- */
-
-
-function testcase() {
- var arrObj = [0, 1, 2, 3];
-
- Object.defineProperty(arrObj, "1", {
- configurable: false
- });
-
- Object.defineProperty(arrObj, "length", {
- value: 3
- });
-
- return arrObj.length === 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.defineProperty - 'O' is an Array, 'name' is the length
+ property of 'O', the [[Value]] field of 'desc' is greater than
+ value of the length property, test value of the length property
+ is same as [[Value]] (15.4.5.1 step 3.l.iii.1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [0, 1, 2, 3];
+
+ Object.defineProperty(arrObj, "1", {
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "length", {
+ value: 3
+ });
+
+ return arrObj.length === 3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-18.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-18.js
index 594d44fae..66fe559d7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-18.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-18.js
@@ -1,45 +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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 11.a.i
- * of [[DefineOwnProperty]] rejects changing the setter if present.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-18.js
- * @description Object.defineProperty throws TypeError when changing setter of non-configurable accessor properties(8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
- var o = {};
-
- // create an accessor property; all other attributes default to false.
- // dummy getter
- var getter = function () { return 1;}
- var d1 = { get: getter };
- Object.defineProperty(o, "foo", d1);
-
- // now, trying to change the setter should fail, since [[Configurable]]
- // on the original property will be false.
- var setter = function (x) {};
- var desc = { set: setter };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.get === getter &&
- d2.configurable === false &&
- d2.enumerable === 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.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 11.a.i
+ of [[DefineOwnProperty]] rejects changing the setter if present.
+description: >
+ Object.defineProperty throws TypeError when changing setter of
+ non-configurable accessor properties(8.12.9 step 11.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create an accessor property; all other attributes default to false.
+ // dummy getter
+ var getter = function () { return 1;}
+ var d1 = { get: getter };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, trying to change the setter should fail, since [[Configurable]]
+ // on the original property will be false.
+ var setter = function (x) {};
+ var desc = { set: setter };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.get === getter &&
+ d2.configurable === false &&
+ d2.enumerable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-181.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-181.js
index 673f243f8..85a27686d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-181.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-181.js
@@ -1,24 +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.6/15.2.3.6-4-181.js
- * @description Object.defineProperty - 'O' is an Array, 'name' 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 arrObj = [0, 1];
-
- Object.defineProperty(arrObj, "length", {
- value: 0,
- writable: false
- });
-
- arrObj.length = 10; //try to overwrite length value of arr
- return !arrObj.hasOwnProperty("1") && arrObj.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.defineProperty - 'O' is an Array, 'name' 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 arrObj = [0, 1];
+
+ Object.defineProperty(arrObj, "length", {
+ value: 0,
+ writable: false
+ });
+
+ arrObj.length = 10; //try to overwrite length value of arr
+ return !arrObj.hasOwnProperty("1") && arrObj.length === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-182.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-182.js
index d93d9ee72..f3cc77abc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-182.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-182.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.6/15.2.3.6-4-182.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is available String values that convert to numbers (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- value: 12
- });
-
- return arrObj[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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is available String values that convert to
+ numbers (15.4.5.1 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ value: 12
+ });
+
+ return arrObj[0] === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-183.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-183.js
index caedf0ef7..a154fb339 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-183.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-183.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-183.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is boundary value 2^32 - 2 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 4294967294, {
- value: 100
- });
-
- return arrObj.hasOwnProperty("4294967294") && arrObj.length === 4294967295 && arrObj[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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is boundary value 2^32 - 2 (15.4.5.1 step
+ 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 4294967294, {
+ value: 100
+ });
+
+ return arrObj.hasOwnProperty("4294967294") && arrObj.length === 4294967295 && arrObj[4294967294] === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-184.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-184.js
index 7b412fff2..230c42472 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-184.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-184.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-184.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is boundary value 2^32 - 1 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 4294967295, {
- value: 100
- });
-
- return arrObj.hasOwnProperty("4294967295") && arrObj.length === 0 && arrObj[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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is boundary value 2^32 - 1 (15.4.5.1 step
+ 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 4294967295, {
+ value: 100
+ });
+
+ return arrObj.hasOwnProperty("4294967295") && arrObj.length === 0 && arrObj[4294967295] === 100; ;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-185.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-185.js
index 3ef3d8254..f8f97f64d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-185.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-185.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.6/15.2.3.6-4-185.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is boundary value 2^32 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 4294967296, {
- value: 100
- });
-
- return arrObj.hasOwnProperty("4294967296") && arrObj.length === 0 && arrObj[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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is boundary value 2^32 (15.4.5.1 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 4294967296, {
+ value: 100
+ });
+
+ return arrObj.hasOwnProperty("4294967296") && arrObj.length === 0 && arrObj[4294967296] === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-186.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-186.js
index 7a184b20d..7a07c3ec4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-186.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-186.js
@@ -1,21 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-186.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is boundary value 2^32 + 1 (15.4.5.1 step 4.a)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 4294967297, {
- value: 100
- });
-
- return arrObj.hasOwnProperty("4294967297") && arrObj.length === 0 && arrObj[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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is boundary value 2^32 + 1 (15.4.5.1 step
+ 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 4294967297, {
+ value: 100
+ });
+
+ return arrObj.hasOwnProperty("4294967297") && arrObj.length === 0 && arrObj[4294967297] === 100;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-187.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-187.js
index 18b798635..d9e5375f9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-187.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-187.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.6/15.2.3.6-4-187.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, test TypeError is not thrown if the [[Writable]] attribute of the length property in 'O' is false and value of 'name' is less than value of the length property (15.4.5.1 step 4.b)
- */
-
-
-function testcase() {
- var arrObj = [1, 2, 3];
-
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
-
- try {
- Object.defineProperty(arrObj, 1, {
- value: "abc"
- });
-
- return true;
- } catch (e) {
- return false;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, test TypeError is not thrown if the [[Writable]]
+ attribute of the length property in 'O' is false and value of
+ 'name' is less than value of the length property (15.4.5.1 step
+ 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [1, 2, 3];
+
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, 1, {
+ value: "abc"
+ });
+
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-188.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-188.js
index 3e57e0499..2cb7352c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-188.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-188.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.6/15.2.3.6-4-188.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, test TypeError is thrown if the [[Writable]] attribute of the length property in 'O' is false and value of 'name' equals to value of the length property (15.4.5.1 step 4.b)
- */
-
-
-function testcase() {
- var arrObj = [1, 2, 3];
-
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
-
- try {
- Object.defineProperty(arrObj, 3, {
- value: "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, test TypeError is thrown if the [[Writable]]
+ attribute of the length property in 'O' is false and value of
+ 'name' equals to value of the length property (15.4.5.1 step 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [1, 2, 3];
+
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, 3, {
+ value: "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.6/15.2.3.6-4-189.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-189.js
index 97f56931b..79591cf59 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-189.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-189.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.6/15.2.3.6-4-189.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, test TypeError is thrown if the [[Writable]] attribute of the length property in 'O' is false and value of 'name' is greater than value of the length property (15.4.5.1 step 4.b)
- */
-
-
-function testcase() {
- var arrObj = [1, 2, 3];
-
- Object.defineProperty(arrObj, "length", {
- writable: false
- });
-
- try {
- Object.defineProperty(arrObj, 4, {
- value: "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, test TypeError is thrown if the [[Writable]]
+ attribute of the length property in 'O' is false and value of
+ 'name' is greater than value of the length property (15.4.5.1 step
+ 4.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [1, 2, 3];
+
+ Object.defineProperty(arrObj, "length", {
+ writable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, 4, {
+ value: "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.6/15.2.3.6-4-19.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-19.js
index e99a9696f..adede8405 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-19.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-19.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 11.a.i
- * of [[DefineOwnProperty]] permits setting a setter (if absent).
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-19.js
- * @description Object.defineProperty permits setting a setter (if absent) of non-configurable accessor properties(8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
- var o = {};
-
- // create an accessor property; all other attributes default to false.
- // dummy getter
- var getter = function () { return 1;}
- var d1 = { get: getter };
- Object.defineProperty(o, "foo", d1);
-
- // now, trying to set the setter should succeed even though [[Configurable]]
- // on the original property will be false.
- var desc = { set: undefined };
- Object.defineProperty(o, "foo", desc);
-
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (d2.get === getter &&
- d2.set === undefined &&
- d2.configurable === false &&
- d2.enumerable === 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.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 11.a.i
+ of [[DefineOwnProperty]] permits setting a setter (if absent).
+description: >
+ Object.defineProperty permits setting a setter (if absent) of
+ non-configurable accessor properties(8.12.9 step 10.a.ii.1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create an accessor property; all other attributes default to false.
+ // dummy getter
+ var getter = function () { return 1;}
+ var d1 = { get: getter };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, trying to set the setter should succeed even though [[Configurable]]
+ // on the original property will be false.
+ var desc = { set: undefined };
+ Object.defineProperty(o, "foo", desc);
+
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (d2.get === getter &&
+ d2.set === undefined &&
+ d2.configurable === false &&
+ d2.enumerable === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-190.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-190.js
index d064d5129..6889055d5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-190.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-190.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.6/15.2.3.6-4-190.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is own data property, test TypeError is thrown on updating the configurable attribute from false to true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- Object.defineProperty(arrObj, 0, {
- value: "ownDataProperty",
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, 0, {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arrObj, "0", "ownDataProperty", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is own data property, test TypeError is
+ thrown on updating the configurable attribute from false to true
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ Object.defineProperty(arrObj, 0, {
+ value: "ownDataProperty",
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, 0, {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arrObj, "0", "ownDataProperty", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-191.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-191.js
index e8bc3671a..e5e3bd924 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-191.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-191.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.6/15.2.3.6-4-191.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is an inherited data property, test that defining own index named property is successful (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- value: 11,
- configurable: true
- });
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- configurable: false
- });
- return arrObj.hasOwnProperty("0") && Array.prototype[0] === 11 && typeof arrObj[0] === "undefined";
- } 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is an inherited data property, test that
+ defining own index named property is successful (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ value: 11,
+ configurable: true
+ });
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ configurable: false
+ });
+ return arrObj.hasOwnProperty("0") && Array.prototype[0] === 11 && typeof arrObj[0] === "undefined";
+ } finally {
+ delete Array.prototype[0];
+ }
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-192.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-192.js
index cf055da6f..ea7245c94 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-192.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-192.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.6/15.2.3.6-4-192.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is own data property that overrides an inherited data property, test TypeError is thrown on updating the [[Configurable]] attribute from false to true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- value: 11,
- configurable: true
- });
-
- var arrObj = [];
- Object.defineProperty(arrObj, "0", {
- value: 12,
- configurable: false
- });
-
- Object.defineProperty(arrObj, "0", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && Array.prototype[0] === 11 && arrObj[0] === 12;
- } 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is own data property that overrides an
+ inherited data property, test TypeError is thrown on updating the
+ [[Configurable]] attribute from false to true (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ value: 11,
+ configurable: true
+ });
+
+ var arrObj = [];
+ Object.defineProperty(arrObj, "0", {
+ value: 12,
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && Array.prototype[0] === 11 && arrObj[0] === 12;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-193.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-193.js
index 5164b0cbb..81e796646 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-193.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-193.js
@@ -1,37 +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.6/15.2.3.6-4-193.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is own data property that overrides an inherited accessor property, test TypeError is thrown when update the [[Configurable]] attribute to true and value of [[Configurable]] attribute of original is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 11;
- },
- configurable: true
- });
-
- var arrObj = [];
- Object.defineProperty(arrObj, "0", {
- value: 12,
- configurable: false
- });
-
- Object.defineProperty(arrObj, "0", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && Array.prototype[0] === 11 && arrObj[0] === 12;
- } 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is own data property that overrides an
+ inherited accessor property, test TypeError is thrown when update
+ the [[Configurable]] attribute to true and value of
+ [[Configurable]] attribute of original is false (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 arrObj = [];
+ Object.defineProperty(arrObj, "0", {
+ value: 12,
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && Array.prototype[0] === 11 && arrObj[0] === 12;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-194.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-194.js
index 6f1be2fad..11eb45572 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-194.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-194.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.6/15.2.3.6-4-194.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is own accessor property, test TypeError is thrown on updating the configurable attribute from false to true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- var getFunc = function () {
- return 11;
- };
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "0", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is own accessor property, test TypeError is
+ thrown on updating the configurable attribute from false to true
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ var getFunc = function () {
+ return 11;
+ };
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "0", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-195.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-195.js
index 68090c288..14d0f42bf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-195.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-195.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.6/15.2.3.6-4-195.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is 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 arrObj = [];
-
- function getFunc() {
- return arrObj.helpVerifySet;
- }
- function setFunc(value) {
- arrObj.helpVerifySet = value;
- }
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- arrObj[0] = 13;
-
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "helpVerifySet", false, false);
- } 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is an inherited accessor property (15.4.5.1
+ step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+
+ var arrObj = [];
+
+ function getFunc() {
+ return arrObj.helpVerifySet;
+ }
+ function setFunc(value) {
+ arrObj.helpVerifySet = value;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ arrObj[0] = 13;
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "helpVerifySet", false, false);
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-196.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-196.js
index 46bb3d694..4d0131eec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-196.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-196.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.6/15.2.3.6-4-196.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' 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 arrObj = [];
- Object.defineProperty(arrObj, "0", {
- get: function () { },
- configurable: false
- });
-
- Object.defineProperty(arrObj, "0", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError;
- } 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' 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 arrObj = [];
+ Object.defineProperty(arrObj, "0", {
+ get: function () { },
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-197.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-197.js
index 7a7e8052b..a19b81b39 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-197.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-197.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.6/15.2.3.6-4-197.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' 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 () { },
- configurable: true
- });
-
- var arrObj = [];
- Object.defineProperty(arrObj, "0", {
- get: function () { },
- configurable: false
- });
-
- Object.defineProperty(arrObj, "0", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError;
- } 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' 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 () { },
+ configurable: true
+ });
+
+ var arrObj = [];
+ Object.defineProperty(arrObj, "0", {
+ get: function () { },
+ configurable: false
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-198.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-198.js
index 0b084a852..806ee66ac 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-198.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-198.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.6/15.2.3.6-4-198.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' 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 arrObj = [];
- Object.preventExtensions(arrObj);
-
- try {
- var desc = { value: 1 };
- Object.defineProperty(arrObj, "0", desc);
- return false;
- } catch (e) {
- return e instanceof TypeError && (arrObj.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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' 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 arrObj = [];
+ Object.preventExtensions(arrObj);
+
+ try {
+ var desc = { value: 1 };
+ Object.defineProperty(arrObj, "0", desc);
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && (arrObj.hasOwnProperty("0") === false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-199.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-199.js
index 27e367f62..b4706e71b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-199.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-199.js
@@ -1,21 +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.6/15.2.3.6-4-199.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O', test 'name' is defined as data property when 'desc' is generic descriptor (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- enumerable: true
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O', test 'name'
+ 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ enumerable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, false, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-2.js
index 93c27d4ca..03a544ffc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-2.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For newly defined data properties, attributes
- * missing from desc should have values set to the defaults from 8.6.1.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-2.js
- * @description Object.defineProperty sets missing attributes to their default values (data properties)(8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var o = {};
-
- var desc = { value: 1 };
- Object.defineProperty(o, "foo", desc);
-
- var propDesc = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (propDesc.value === 1 && // this is the value that was set
- propDesc.writable === false && // false by default
- propDesc.enumerable === false && // false by default
- propDesc.configurable === false) { // false by default
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For newly defined data properties, attributes
+ missing from desc should have values set to the defaults from 8.6.1.
+description: >
+ Object.defineProperty sets missing attributes to their default
+ values (data properties)(8.12.9 step 4.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ var desc = { value: 1 };
+ Object.defineProperty(o, "foo", desc);
+
+ var propDesc = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (propDesc.value === 1 && // this is the value that was set
+ propDesc.writable === false && // false by default
+ propDesc.enumerable === false && // false by default
+ propDesc.configurable === false) { // false by default
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-20.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-20.js
index 3629b6975..70f615398 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-20.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-20.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 11.a.ii
- * of [[DefineOwnProperty]] rejects changing the getter if present.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-20.js
- * @description Object.defineProperty throws TypeError when changing getter (if present) of non-configurable accessor properties(8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
- var o = {};
-
- // create an accessor property; all other attributes default to false.
- // dummy getter/setter
- var getter = function () { return 1;}
- var d1 = { get: getter, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- // now, trying to change the setter should fail, since [[Configurable]]
- // on the original property will be false.
- var desc = { get: undefined };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (d2.get === getter &&
- d2.configurable === false &&
- d2.enumerable === 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.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 11.a.ii
+ of [[DefineOwnProperty]] rejects changing the getter if present.
+description: >
+ Object.defineProperty throws TypeError when changing getter (if
+ present) of non-configurable accessor properties(8.12.9 step
+ 11.a.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create an accessor property; all other attributes default to false.
+ // dummy getter/setter
+ var getter = function () { return 1;}
+ var d1 = { get: getter, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, trying to change the setter should fail, since [[Configurable]]
+ // on the original property will be false.
+ var desc = { get: undefined };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (d2.get === getter &&
+ d2.configurable === false &&
+ d2.enumerable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-200.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-200.js
index 31a71ea86..9e65f6cb5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-200.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-200.js
@@ -1,23 +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.6/15.2.3.6-4-200.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O', test [[Value]] of 'name' property of 'Attributes' is set as undefined if [[Value]] is absent in data descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- writable: true,
- enumerable: true,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O', test
+ [[Value]] of 'name' property of 'Attributes' is set as undefined
+ if [[Value]] is absent in data descriptor 'desc' (15.4.5.1 step
+ 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-201.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-201.js
index 736b8595a..040e0d070 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-201.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-201.js
@@ -1,22 +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.6/15.2.3.6-4-201.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O' and [[Writable]] is absent in data descriptor 'desc', test [[Writable]] attribute of property 'name' is set to false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- value: 1001,
- enumerable: true,
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O' and
+ [[Writable]] is absent in data descriptor 'desc', test
+ [[Writable]] attribute of property 'name' is set to false
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ value: 1001,
+ enumerable: true,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, false, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-202.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-202.js
index 6f0ef7904..3db929a3f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-202.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-202.js
@@ -1,22 +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.6/15.2.3.6-4-202.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O' and [[Enumerable]] is absent in data descriptor 'desc', test [[Enumerable]] of property 'name' is set to false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- value: 1001,
- writable: true,
- configurable: true
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O' and
+ [[Enumerable]] is absent in data descriptor 'desc', test
+ [[Enumerable]] of property 'name' is set to false (15.4.5.1 step
+ 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ value: 1001,
+ writable: true,
+ configurable: true
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-203.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-203.js
index e685e4fb0..a175287de 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-203.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-203.js
@@ -1,22 +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.6/15.2.3.6-4-203.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O' and [[Configurable]] is absent in data descriptor 'desc', test [[Configurable]] of property 'name' is set to false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- value: 1001,
- writable: true,
- enumerable: true
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O' and
+ [[Configurable]] is absent in data descriptor 'desc', test
+ [[Configurable]] of property 'name' is set to false (15.4.5.1 step
+ 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ value: 1001,
+ writable: true,
+ enumerable: true
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-204.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-204.js
index 02dd9fcfb..49dcdf5d9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-204.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-204.js
@@ -1,24 +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.6/15.2.3.6-4-204.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'desc' is data descriptor, test updating all attribute values of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [1]; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(arrObj, "0", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'desc' is data descriptor, test updating all
+ attribute values of 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [1]; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperty(arrObj, "0", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-205.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-205.js
index 39b6827c0..fa2218369 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-205.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-205.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.6/15.2.3.6-4-205.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O' and [[Get]] is absent in accessor descriptor 'desc', test [[Get]] attribute of property 'name' is set to undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- var setFunc = function (value) {
- arrObj.setVerifyHelpProp = value;
- };
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O' and [[Get]]
+ is absent in accessor descriptor 'desc', test [[Get]] attribute of
+ property 'name' is set to undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ var setFunc = function (value) {
+ arrObj.setVerifyHelpProp = value;
+ };
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-206.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-206.js
index 866022f02..ebfb93ec6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-206.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-206.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.6/15.2.3.6-4-206.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O', test [[Set]] of 'name' property in 'Attributes' is set as undefined if [[Set]] is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- var getFunc = function () { };
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- enumerable: true,
- configurable: true
- });
-
- var desc = Object.getOwnPropertyDescriptor(arrObj, "0");
-
- return arrObj.hasOwnProperty("0") && desc.hasOwnProperty("set") && 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O', test [[Set]]
+ of 'name' property in 'Attributes' is set as undefined if [[Set]]
+ is absent in accessor descriptor 'desc' (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+ var getFunc = function () { };
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(arrObj, "0");
+
+ return arrObj.hasOwnProperty("0") && desc.hasOwnProperty("set") && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-207.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-207.js
index 6e53b7131..17f0bffde 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-207.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-207.js
@@ -1,27 +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.6/15.2.3.6-4-207.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O' and [[Enumerable]] is absent in accessor descriptor 'desc', test [[Enumerable]] attribute of property 'name' is set to false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- var setFunc = function (value) {
- arrObj.setVerifyHelpProp = value;
- };
- var getFunc = function () { };
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc,
- get: getFunc,
- configurable: true
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O' and
+ [[Enumerable]] is absent in accessor descriptor 'desc', test
+ [[Enumerable]] attribute of property 'name' is set to false
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ var setFunc = function (value) {
+ arrObj.setVerifyHelpProp = value;
+ };
+ var getFunc = function () { };
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc,
+ get: getFunc,
+ configurable: true
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-208.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-208.js
index 3d700f5c1..1f095fab2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-208.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-208.js
@@ -1,26 +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.6/15.2.3.6-4-208.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' property doesn't exist in 'O' and [[Configurable]] is absent in accessor descriptor 'desc', test [[Configurable]] attribute of property 'name' is set to false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- var setFunc = function (value) {
- arrObj.setVerifyHelpProp = value;
- };
- var getFunc = function () { };
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc,
- get: getFunc,
- enumerable: true
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' property doesn't exist in 'O' and
+ [[Configurable]] is absent in accessor descriptor 'desc', test
+ [[Configurable]] attribute of property 'name' is set to false
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ var setFunc = function (value) {
+ arrObj.setVerifyHelpProp = value;
+ };
+ var getFunc = function () { };
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc,
+ get: getFunc,
+ enumerable: true
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "setVerifyHelpProp", true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-209.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-209.js
index b856e43da..218b9b8c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-209.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-209.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.6/15.2.3.6-4-209.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'desc' is accessor descriptor, test updating all attribute values of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- var setFunc = function (value) {
- arrObj.setVerifyHelpProp = value;
- };
- var getFunc = function () {
- return 14;
- };
-
- Object.defineProperty(arrObj, "0", {
- get: function () {
- return 11;
- },
- set: function () { },
- configurable: true,
- enumerable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- set: setFunc,
- configurable: false,
- enumerable: false
- });
-
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'desc' is accessor descriptor, test updating all
+ attribute values of 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ var setFunc = function (value) {
+ arrObj.setVerifyHelpProp = value;
+ };
+ var getFunc = function () {
+ return 14;
+ };
+
+ Object.defineProperty(arrObj, "0", {
+ get: function () {
+ return 11;
+ },
+ set: function () { },
+ configurable: true,
+ enumerable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false,
+ enumerable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-21.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-21.js
index 9d56306d9..64196d0dc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-21.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-21.js
@@ -1,40 +1,42 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For non-configurable properties, step 11.a.ii
- * of [[DefineOwnProperty]] permits setting a getter if absent.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-21.js
- * @description Object.defineProperty permits setting a getter (if absent) of non-configurable accessor properties(8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
- var o = {};
-
- // create an accessor property; all other attributes default to false.
- // dummy setter
- var setter = function (x) {}
- var d1 = { set: setter };
- Object.defineProperty(o, "foo", d1);
-
- // now, trying to set the getter should succeed even though [[Configurable]]
- // on the original property will be false. Existing values of need to be preserved.
- var getter = undefined;
- var desc = { get: getter };
-
- Object.defineProperty(o, "foo", desc);
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (d2.get === getter &&
- d2.set === setter &&
- d2.configurable === false &&
- d2.enumerable === 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.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For non-configurable properties, step 11.a.ii
+ of [[DefineOwnProperty]] permits setting a getter if absent.
+description: >
+ Object.defineProperty permits setting a getter (if absent) of
+ non-configurable accessor properties(8.12.9 step 11.a.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create an accessor property; all other attributes default to false.
+ // dummy setter
+ var setter = function (x) {}
+ var d1 = { set: setter };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, trying to set the getter should succeed even though [[Configurable]]
+ // on the original property will be false. Existing values of need to be preserved.
+ var getter = undefined;
+ var desc = { get: getter };
+
+ Object.defineProperty(o, "foo", desc);
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (d2.get === getter &&
+ d2.set === setter &&
+ d2.configurable === false &&
+ d2.enumerable === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-210.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-210.js
index d58394226..5995a0dc9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-210.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-210.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.6/15.2.3.6-4-210.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' makes no change if every field in 'desc' is absent (name is data property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- arrObj[0] = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(arrObj, "0", {});
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' 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 arrObj = [];
+
+ arrObj[0] = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperty(arrObj, "0", {});
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 101, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-211.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-211.js
index 40b8047ba..5473e866f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-211.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-211.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.6/15.2.3.6-4-211.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' makes no change if every field in 'desc' is absent(name is accessor property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- function getFunc() {
- return 11;
- }
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {});
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' 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 arrObj = [];
+
+ function getFunc() {
+ return 11;
+ }
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {});
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-212.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-212.js
index 14edc2d02..a486c243c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-212.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-212.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.6/15.2.3.6-4-212.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' makes no change if the value of every field in 'desc' is the same value as the corresponding field in 'name'(desc is data property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- arrObj[0] = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(arrObj, "0", {
- value: 100,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' makes no change if the value of every field
+ in 'desc' is the same value as the corresponding field in
+ 'name'(desc is data property) (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ arrObj[0] = 100; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperty(arrObj, "0", {
+ value: 100,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 100, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-213.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-213.js
index 67e6b97e0..625664f66 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-213.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-213.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.6/15.2.3.6-4-213.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' makes no change if the value of every field in 'desc' is the same value as the corresponding field in 'name'(desc is accessor property) (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- var getFunc = function () {
- return "100";
- };
- var setFunc = function (value) {
- arrObj.setVerifyHelpProp = value;
- };
-
- var desc = {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- };
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", desc);
-
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' makes no change if the value of every field
+ in 'desc' is the same value as the corresponding field in
+ 'name'(desc is accessor property) (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ var getFunc = function () {
+ return "100";
+ };
+ var setFunc = function (value) {
+ arrObj.setVerifyHelpProp = value;
+ };
+
+ var desc = {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ };
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", desc);
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-214.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-214.js
index db78e51da..630103b89 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-214.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-214.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.6/15.2.3.6-4-214.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property and its configurable and writable attributes are set to false, test TypeError is thrown when the type of the [[Value]] field of 'desc' is different from the type of the [[Value]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 0, {
- value: 101,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "0", { value: "abc" });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property and its configurable and writable attributes are set to
+ false, test TypeError is thrown when the type of the [[Value]]
+ field of 'desc' is different from the type of the [[Value]]
+ attribute value of 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 0, {
+ value: 101,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "0", { value: "abc" });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", 101, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-215.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-215.js
index 7d18b00f6..66c949806 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-215.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-215.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.6/15.2.3.6-4-215.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: undefined });
-
- Object.defineProperty(arrObj, "0", { value: undefined });
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: undefined });
+
+ Object.defineProperty(arrObj, "0", { value: undefined });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-216.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-216.js
index 2bd041728..aa337785b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-216.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-216.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.6/15.2.3.6-4-216.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: null });
-
- Object.defineProperty(arrObj, "0", { value: null });
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: null });
+
+ Object.defineProperty(arrObj, "0", { value: null });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", null, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-217.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-217.js
index fb7727b49..d4966b132 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-217.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-217.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.6/15.2.3.6-4-217.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: NaN });
-
- Object.defineProperty(arrObj, "0", { value: NaN });
-
- var hasProperty = arrObj.hasOwnProperty("0");
- var verifyValue = (arrObj[0] !== arrObj[0]);
-
- var verifyWritable = false;
- arrObj[0] = 1001;
- verifyWritable = arrObj[0] !== 1001 && arrObj[0] !== arrObj[0];
-
- var verifyEnumerable = false;
- for (var p in arrObj) {
- if (p === "0") {
- verifyEnumerable = true;
- }
- }
-
- var verifyConfigurable = false;
- delete arrObj[0];
- verifyConfigurable = arrObj.hasOwnProperty("0");
-
- return hasProperty && 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.defineProperty - '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]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: NaN });
+
+ Object.defineProperty(arrObj, "0", { value: NaN });
+
+ var hasProperty = arrObj.hasOwnProperty("0");
+ var verifyValue = (arrObj[0] !== arrObj[0]);
+
+ var verifyWritable = false;
+ arrObj[0] = 1001;
+ verifyWritable = arrObj[0] !== 1001 && arrObj[0] !== arrObj[0];
+
+ var verifyEnumerable = false;
+ for (var p in arrObj) {
+ if (p === "0") {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyConfigurable = false;
+ delete arrObj[0];
+ verifyConfigurable = arrObj.hasOwnProperty("0");
+
+ return hasProperty && verifyValue && verifyWritable && !verifyEnumerable && verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-218.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-218.js
index f6631ded5..9e7ba4887 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-218.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-218.js
@@ -1,24 +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.6/15.2.3.6-4-218.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, test TypeError is thrown when 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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: -0 });
-
- try {
- Object.defineProperty(arrObj, "0", { value: +0 });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, test TypeError is thrown when 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: -0 });
+
+ try {
+ Object.defineProperty(arrObj, "0", { value: +0 });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", -0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-219.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-219.js
index 8c1d58621..cbbd99c8c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-219.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-219.js
@@ -1,24 +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.6/15.2.3.6-4-219.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, test TypeError is thrown when 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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: +0 });
-
- try {
- Object.defineProperty(arrObj, "0", { value: -0 });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, test TypeError is thrown when 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: +0 });
+
+ try {
+ Object.defineProperty(arrObj, "0", { value: -0 });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", +0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-22.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-22.js
index 4aff046aa..41b6052cf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-22.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-22.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.6/15.2.3.6-4-22.js
- * @description Object.defineProperty - 'name' is existing own data property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "foo", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- value: 12,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && obj.foo === 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.defineProperty - 'name' is existing own data property
+ (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "foo", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ value: 12,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && obj.foo === 11;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-220.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-220.js
index 5974072f8..a9d2f92c7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-220.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-220.js
@@ -1,20 +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.6/15.2.3.6-4-220.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: 101 });
-
- Object.defineProperty(arrObj, "0", { value: 101 });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: 101 });
+
+ Object.defineProperty(arrObj, "0", { value: 101 });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 101, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-221.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-221.js
index ffaf27c9d..0ce808436 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-221.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-221.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.6/15.2.3.6-4-221.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, test TypeError is thrown when the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two numbers with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 0, {
- value: 101,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "0", { value: 123 });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, test TypeError is thrown when the [[Value]] field of
+ 'desc' and the [[Value]] attribute value of 'name' are two numbers
+ with different values (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 0, {
+ value: 101,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "0", { value: 123 });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", 101, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-222.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-222.js
index 02e4278f7..8d4a33c74 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-222.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-222.js
@@ -1,20 +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.6/15.2.3.6-4-222.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: "abcd" });
-
- Object.defineProperty(arrObj, "0", { value: "abcd" });
- return dataPropertyAttributesAreCorrect(arrObj, "0", "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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: "abcd" });
+
+ Object.defineProperty(arrObj, "0", { value: "abcd" });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", "abcd", false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-223.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-223.js
index c83165e04..6b79570b6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-223.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-223.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.6/15.2.3.6-4-223.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, test TypeError is thrown when the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two strings with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 0, {
- value: "abcd",
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "0", { value: "fghj" });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, test TypeError is thrown when the [[Value]] field of
+ 'desc' and the [[Value]] attribute value of 'name' are two strings
+ with different values (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 0, {
+ value: "abcd",
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "0", { value: "fghj" });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", "abcd", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-224.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-224.js
index 432f25b5c..acc415880 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-224.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-224.js
@@ -1,20 +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.6/15.2.3.6-4-224.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- Object.defineProperty(arrObj, "0", { value: true });
-
- Object.defineProperty(arrObj, "0", { value: true });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - '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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { value: true });
+
+ Object.defineProperty(arrObj, "0", { value: true });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", true, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-225.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-225.js
index d42b071a1..597fa6d15 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-225.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-225.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.6/15.2.3.6-4-225.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, test TypeError is thrown when the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two booleans with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, 0, {
- value: true,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "0", { value: false });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, test TypeError is thrown when the [[Value]] field of
+ 'desc' and the [[Value]] attribute value of 'name' are two
+ booleans with different values (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, 0, {
+ value: true,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "0", { value: false });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", true, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-226.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-226.js
index c56e8ac97..069337a69 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-226.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-226.js
@@ -1,22 +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.6/15.2.3.6-4-226.js
- * @description Object.defineProperty - '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 arrObj = [];
-
- var obj1 = { length: 10 };
-
- Object.defineProperty(arrObj, "0", { value: obj1 });
-
- Object.defineProperty(arrObj, "0", { value: obj1 });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - '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 arrObj = [];
+
+ var obj1 = { length: 10 };
+
+ Object.defineProperty(arrObj, "0", { value: obj1 });
+
+ Object.defineProperty(arrObj, "0", { value: obj1 });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", obj1, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-227.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-227.js
index 5012295e7..170c4747a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-227.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-227.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.6/15.2.3.6-4-227.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, test TypeError is thrown when the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two objects which refer to two different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- var obj1 = { length: 10 };
- Object.defineProperty(arrObj, 0, {
- value: obj1,
- writable: false,
- configurable: false
- });
-
- var obj2 = { length: 20 };
-
- try {
- Object.defineProperty(arrObj, "0", { value: obj2 });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, test TypeError is thrown when the [[Value]] field of
+ 'desc' and the [[Value]] attribute value of 'name' are two objects
+ which refer to two different objects (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ var obj1 = { length: 10 };
+ Object.defineProperty(arrObj, 0, {
+ value: obj1,
+ writable: false,
+ configurable: false
+ });
+
+ var obj2 = { length: 20 };
+
+ try {
+ Object.defineProperty(arrObj, "0", { value: obj2 });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "0", obj1, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-228.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-228.js
index f56872439..715f5c98f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-228.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-228.js
@@ -1,20 +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.6/15.2.3.6-4-228.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Writable]] field of 'desc' and the [[Writable]] attribute value of 'name' are two booleans with same value (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", { writable: false });
-
- Object.defineProperty(arrObj, "0", { writable: false });
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Writable]] field of 'desc' and the [[Writable]]
+ 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { writable: false });
+
+ Object.defineProperty(arrObj, "0", { writable: false });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-229.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-229.js
index 288da39b7..1a183663b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-229.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-229.js
@@ -1,20 +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.6/15.2.3.6-4-229.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Writable]] field of 'desc' and the [[Writable]] attribute value of 'name' are two booleans with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", { writable: false, configurable: true });
-
- Object.defineProperty(arrObj, "0", { writable: true });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Writable]] field of 'desc' and the [[Writable]]
+ attribute value of 'name' are two booleans with different values
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { writable: false, configurable: true });
+
+ Object.defineProperty(arrObj, "0", { writable: true });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-23.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-23.js
index 1d809bb53..a7791c41d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-23.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-23.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.6/15.2.3.6-4-23.js
- * @description Object.defineProperty - 'name' is existing an inherited data property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "foo", {
- value: 11,
- configurable: false
- });
-
- var ConstructFun = function () {};
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
-
- Object.defineProperty(obj, "foo", {
- configurable: true
- });
- return obj.hasOwnProperty("foo") && (typeof obj.foo) === "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.defineProperty - 'name' is existing an inherited data
+ property (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "foo", {
+ value: 11,
+ configurable: false
+ });
+
+ var ConstructFun = function () {};
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+
+ Object.defineProperty(obj, "foo", {
+ configurable: true
+ });
+ return obj.hasOwnProperty("foo") && (typeof obj.foo) === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-230.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-230.js
index d438f63ba..7d48cb810 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-230.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-230.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.6/15.2.3.6-4-230.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Get]] field of 'desc' and the [[Get]] attribute value of 'name' are two objects which refer to the same object (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- arrObj.helpVerifySet = 10;
-
- function getFunc() {
- return arrObj.helpVerifySet;
- }
- function setFunc(value) {
- arrObj.helpVerifySet = value;
- }
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- set: setFunc
- });
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "helpVerifySet", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Get]] field of 'desc' and the [[Get]] attribute
+ value of 'name' are two objects which refer to the same object
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ arrObj.helpVerifySet = 10;
+
+ function getFunc() {
+ return arrObj.helpVerifySet;
+ }
+ function setFunc(value) {
+ arrObj.helpVerifySet = value;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, setFunc, "helpVerifySet", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-231.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-231.js
index f839f6027..9ccae2087 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-231.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-231.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.6/15.2.3.6-4-231.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Get]] field of 'desc' and the [[Get]] attribute value of 'name' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- arrObj.helpVerifySet = 10;
-
- function getFunc1() {
- return 20;
- }
- function getFunc2() {
- return arrObj.helpVerifySet;
- }
- function setFunc(value) {
- arrObj.helpVerifySet = value;
- }
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc1,
- set: setFunc,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc2
- });
-
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc2, setFunc, "helpVerifySet", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Get]] field of 'desc' and the [[Get]] attribute
+ value of 'name' are two objects which refer to the different
+ objects (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ arrObj.helpVerifySet = 10;
+
+ function getFunc1() {
+ return 20;
+ }
+ function getFunc2() {
+ return arrObj.helpVerifySet;
+ }
+ function setFunc(value) {
+ arrObj.helpVerifySet = value;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc1,
+ set: setFunc,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc2
+ });
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc2, setFunc, "helpVerifySet", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-232.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-232.js
index c7bc010fe..b044cf79c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-232.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-232.js
@@ -1,24 +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.6/15.2.3.6-4-232.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Set]] field of 'desc' and the [[Set]] attribute value of 'name' are two objects which refer to the same object (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "0", { set: setFunc });
-
- Object.defineProperty(arrObj, "0", { set: setFunc });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Set]] field of 'desc' and the [[Set]] attribute
+ value of 'name' are two objects which refer to the same object
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "0", { set: setFunc });
+
+ Object.defineProperty(arrObj, "0", { set: setFunc });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-233.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-233.js
index 7ebc8fe1e..ca64fd3a6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-233.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-233.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.6/15.2.3.6-4-233.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Set]] field of 'desc' and the [[Set]] attribute value of 'name' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- function setFunc1() { }
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc1,
- configurable: true
- });
-
- function setFunc2(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "0", { set: setFunc2 });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc2, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Set]] field of 'desc' and the [[Set]] attribute
+ value of 'name' are two objects which refer to the different
+ objects (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ function setFunc1() { }
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc1,
+ configurable: true
+ });
+
+ function setFunc2(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "0", { set: setFunc2 });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc2, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-234.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-234.js
index f37e10fad..e03026046 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-234.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-234.js
@@ -1,20 +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.6/15.2.3.6-4-234.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Enumerable]] field of 'desc' and the [[Enumerable]] attribute value of 'name' are two booleans with same value (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", { enumerable: false });
-
- Object.defineProperty(arrObj, "0", { enumerable: false });
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Enumerable]] field of 'desc' and the
+ [[Enumerable]] 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { enumerable: false });
+
+ Object.defineProperty(arrObj, "0", { enumerable: false });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-235.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-235.js
index 30202fc27..21a8f36d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-235.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-235.js
@@ -1,20 +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.6/15.2.3.6-4-235.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Enumerable]] field of 'desc' and the [[Enumerable]] attribute value of 'name' are two booleans with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", { enumerable: false, configurable: true });
-
- Object.defineProperty(arrObj, "0", { enumerable: true });
- return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Enumerable]] field of 'desc' and the
+ [[Enumerable]] attribute value of 'name' are two booleans with
+ different values (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { enumerable: false, configurable: true });
+
+ Object.defineProperty(arrObj, "0", { enumerable: true });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-236.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-236.js
index 645bc9f1a..9ef759c7a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-236.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-236.js
@@ -1,20 +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.6/15.2.3.6-4-236.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Configurable]] field of 'desc' and the [[Configurable]] attribute value of 'name' are two booleans with same value (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", { configurable: false });
-
- Object.defineProperty(arrObj, "0", { configurable: false });
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Configurable]] field of 'desc' and the
+ [[Configurable]] 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { configurable: false });
+
+ Object.defineProperty(arrObj, "0", { configurable: false });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-237.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-237.js
index ff465e8ab..829d76f6e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-237.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-237.js
@@ -1,20 +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.6/15.2.3.6-4-237.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index property, the [[Configurable]] field of 'desc' and the [[Configurable]] attribute value of 'name' are two booleans with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", { configurable: true });
-
- Object.defineProperty(arrObj, "0", { configurable: false });
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ property, the [[Configurable]] field of 'desc' and the
+ [[Configurable]] attribute value of 'name' are two booleans with
+ different values (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", { configurable: true });
+
+ Object.defineProperty(arrObj, "0", { configurable: false });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-238.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-238.js
index 81d000a5d..2225057d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-238.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-238.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.6/15.2.3.6-4-238.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, TypeError is thrown if the [[Configurable]] attribute value of 'name' is false and the [[Configurable]] field of 'desc' is true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: 3,
- writable: true,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- value: 13,
- writable: true,
- configurable: true
- });
- return false;
-
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 3, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, TypeError is thrown if the [[Configurable]]
+ attribute value of 'name' 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: 3,
+ writable: true,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ value: 13,
+ writable: true,
+ configurable: true
+ });
+ return false;
+
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 3, true, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-239.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-239.js
index f5be801a3..a3f7f4f2c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-239.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-239.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.6/15.2.3.6-4-239.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, TypeError is thrown if the [[Configurable]] attribute value of 'name' is false, and [[Enumerable]] of 'desc' is present and its value is different from the [[Enumerable]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: 3,
- writable: true,
- configurable: false,
- enumerable: false
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- value: 13,
- writable: true,
- enumerable: true
- });
- return false;
-
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 3, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, TypeError is thrown if the [[Configurable]]
+ attribute value of 'name' is false, and [[Enumerable]] of 'desc'
+ is present and its value is different from the [[Enumerable]]
+ attribute value of 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: 3,
+ writable: true,
+ configurable: false,
+ enumerable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ value: 13,
+ writable: true,
+ enumerable: true
+ });
+ return false;
+
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 3, true, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-24.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-24.js
index 6b7fac060..852d8b9e3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-24.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-24.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.6/15.2.3.6-4-24.js
- * @description Object.defineProperty - 'name' is own data property that overrides an inherited data property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "foo", {
- value: 12,
- configurable: true
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
- Object.defineProperty(obj, "foo", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && obj.foo === 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.defineProperty - 'name' 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, "foo", {
+ value: 12,
+ configurable: true
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+ Object.defineProperty(obj, "foo", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && obj.foo === 11;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-240.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-240.js
index 1cd43a7df..9f564b5e5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-240.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-240.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.6/15.2.3.6-4-240.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, TypeError is thrown if 'name' is accessor property, and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "1", {
- set: setFunc,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- value: 13
- });
- return false;
-
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "1", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, TypeError is thrown if 'name' is accessor
+ property, and 'desc' is data descriptor, and the [[Configurable]]
+ attribute value of 'name' is false (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "1", {
+ set: setFunc,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ value: 13
+ });
+ return false;
+
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "1", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-241.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-241.js
index 667f0e16e..d79911614 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-241.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-241.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.6/15.2.3.6-4-241.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, TypeError is thrown if 'name' is data property, and'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is false (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: 3,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- set: function () { }
- });
- return false;
-
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, TypeError is thrown if 'name' is data property,
+ and'desc' is accessor descriptor, and the [[Configurable]]
+ attribute value of 'name' is false (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: 3,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ set: function () { }
+ });
+ return false;
+
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 3, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242-1.js
index 304493dae..0a665f79e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242-1.js
@@ -1,24 +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.6/15.2.3.6-4-242-1.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is true, test 'name' is updated successfully (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [3];
-
- Object.defineProperty(arrObj, "0", {
- value: 1001,
- writable: false,
- enumerable: false
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ true, test 'name' is updated successfully (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [3];
+
+ Object.defineProperty(arrObj, "0", {
+ value: 1001,
+ writable: false,
+ enumerable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 1001, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242.js
index 264ea9aaf..723dc7dba 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-242.js
@@ -1,25 +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.6/15.2.3.6-4-242.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is true, test 'name' is converted from data property to accessor property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [3];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "0", {
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is accessor
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ true, test 'name' is converted from data property to accessor
+ property (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [3];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243-1.js
index ff3d56e73..8e68bb4c9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243-1.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.6/15.2.3.6-4-243-1.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and assignment to the accessor property, fails to convert accessor property from accessor property to data property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function getFunc() {
- return 3;
- }
- Object.defineProperty(arrObj, "1", {
- get: getFunc,
- configurable: true
- });
-
- arrObj[1] = 4;
-
- return accessorPropertyAttributesAreCorrect(arrObj, "1", getFunc, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and assignment to
+ the accessor property, fails to convert accessor property from
+ accessor property to data property (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function getFunc() {
+ return 3;
+ }
+ Object.defineProperty(arrObj, "1", {
+ get: getFunc,
+ configurable: true
+ });
+
+ arrObj[1] = 4;
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "1", getFunc, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243.js
index f1eed2709..e26a91b68 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-243.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.6/15.2.3.6-4-243.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is true, test 'name' is converted from accessor property to data property (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function getFunc() {
- return 3;
- }
- Object.defineProperty(arrObj, "1", {
- get: getFunc,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "1", {
- value: 12
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ true, test 'name' is converted from accessor property to data
+ property (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function getFunc() {
+ return 3;
+ }
+ Object.defineProperty(arrObj, "1", {
+ get: getFunc,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "1", {
+ value: 12
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "1", 12, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-244.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-244.js
index 375a1240f..1ead703f2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-244.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-244.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.6/15.2.3.6-4-244.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false and the [[Writable]] field of 'desc' is true (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- writable: false,
- configurable: false
- });
-
- try {
-
- Object.defineProperty(arrObj, "1", {
- writable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ writable: false,
+ configurable: false
+ });
+
+ try {
+
+ Object.defineProperty(arrObj, "1", {
+ writable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", undefined, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-245.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-245.js
index a1630f3c4..481717869 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-245.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-245.js
@@ -1,32 +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.6/15.2.3.6-4-245.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false, and the type of the [[Value]] field of 'desc' is different from the type of the [[Value]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: 3,
- writable: false,
- configurable: false
- });
-
- try {
-
- Object.defineProperty(arrObj, "1", {
- value: "abc"
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' is false, and the type of the [[Value]] field of
+ 'desc' is different from the type of the [[Value]] attribute value
+ of 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: 3,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+
+ Object.defineProperty(arrObj, "1", {
+ value: "abc"
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 3, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-246.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-246.js
index 266e61673..50b08153c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-246.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-246.js
@@ -1,30 +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.6/15.2.3.6-4-246.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false, and 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 arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: -0
-
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- value: +0
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' is false, and 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: -0
+
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ value: +0
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", -0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-247.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-247.js
index 2bb414a3e..05ae70c17 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-247.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-247.js
@@ -1,29 +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.6/15.2.3.6-4-247.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false, and 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 arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: +0
- });
-
- try {
-
- Object.defineProperty(arrObj, "1", {
- value: -0
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' is false, and 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 arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: +0
+ });
+
+ try {
+
+ Object.defineProperty(arrObj, "1", {
+ value: -0
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", +0, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-248.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-248.js
index 0fdb58eb9..bf42ccebf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-248.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-248.js
@@ -1,28 +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.6/15.2.3.6-4-248.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false, and the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two numbers with different vaules (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: 12
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- value: 15
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' is false, and the [[Value]] field of 'desc' and
+ the [[Value]] attribute value of 'name' are two numbers with
+ different vaules (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: 12
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ value: 15
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-249.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-249.js
index e08e831f1..77494b112 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-249.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-249.js
@@ -1,29 +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.6/15.2.3.6-4-249.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false, and the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two strings with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: "abc"
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- value: "fgh"
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", "abc", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' is false, and the [[Value]] field of 'desc' and
+ the [[Value]] attribute value of 'name' are two strings with
+ different values (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: "abc"
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ value: "fgh"
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", "abc", false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-25.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-25.js
index dd46905b9..c454b3c70 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-25.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-25.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.6/15.2.3.6-4-25.js
- * @description Object.defineProperty - 'data' is own data property that overrides an inherited accessor property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "foo", {
- get: function () { },
- configurable: true
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
- Object.defineProperty(obj, "foo", {
- value: 11,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && obj.foo === 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.defineProperty - 'data' 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, "foo", {
+ get: function () { },
+ configurable: true
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+ Object.defineProperty(obj, "foo", {
+ value: 11,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && obj.foo === 11;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-250.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-250.js
index 3a8597948..cd6eb9983 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-250.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-250.js
@@ -1,29 +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.6/15.2.3.6-4-250.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false, and the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two booleans with different values (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- value: false
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- value: true
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' is false, and the [[Value]] field of 'desc' and
+ the [[Value]] attribute value of 'name' are two booleans with
+ different values (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ value: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ value: true
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", false, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-251.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-251.js
index 236792688..871decdfd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-251.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-251.js
@@ -1,28 +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.6/15.2.3.6-4-251.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is data property and 'desc' is data descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Writable]] attribute value of 'name' is false, and the [[Value]] field of 'desc' and the [[Value]] attribute value of 'name' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- var obj = { length: 10 };
-
- Object.defineProperty(arrObj, "1", {
- value: obj
- });
-
- try {
- Object.defineProperty(arrObj, "1", { value: {} });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", obj, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is data property and 'desc' is data
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Writable]] attribute
+ value of 'name' is false, and the [[Value]] field of 'desc' and
+ the [[Value]] attribute value of 'name' are two objects which
+ refer to the different objects (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ var obj = { length: 10 };
+
+ Object.defineProperty(arrObj, "1", {
+ value: obj
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", { value: {} });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "1", obj, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-252.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-252.js
index ae29f699a..9c55d9247 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-252.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-252.js
@@ -1,32 +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.6/15.2.3.6-4-252.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Set]] field of 'desc' is present, and the [[Set]] field of 'desc' and the [[Set]] attribute value of 'name' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "1", {
- set: setFunc
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- set: function () { }
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "1", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and 'desc' is accessor
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Set]] field of 'desc' is
+ present, and the [[Set]] field of 'desc' and the [[Set]] attribute
+ value of 'name' are two objects which refer to the different
+ objects (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "1", {
+ set: setFunc
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ set: function () { }
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "1", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-253.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-253.js
index df9d37de8..6133a074d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-253.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-253.js
@@ -1,32 +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.6/15.2.3.6-4-253.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Set]] field of 'desc' is present, and the [[Set]] field of 'desc' is an object and the [[Set]] attribute value of 'name' is undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- function getFunc() {
- return 12;
- }
-
- Object.defineProperty(arrObj, "1", {
- get: getFunc,
- set: undefined
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- set: function () { }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "1", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and 'desc' is accessor
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Set]] field of 'desc' is
+ present, and the [[Set]] field of 'desc' is an object and the
+ [[Set]] attribute value of 'name' is undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ function getFunc() {
+ return 12;
+ }
+
+ Object.defineProperty(arrObj, "1", {
+ get: getFunc,
+ set: undefined
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ set: function () { }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "1", getFunc, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-254.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-254.js
index 33e5415d1..c91145ea2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-254.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-254.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.6/15.2.3.6-4-254.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is not thrown if the [[Set]] field of 'desc' is present, and the [[Set]] field of 'desc' and the [[Set]] attribute value of 'name' are undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "1", {
- set: undefined
- });
- var hasProperty = arrObj.hasOwnProperty("1");
-
- Object.defineProperty(arrObj, "1", {
- set: undefined
- });
-
- var desc = Object.getOwnPropertyDescriptor(arrObj, "1");
-
- var verifyGet = desc.hasOwnProperty("get") && typeof desc.get === "undefined";
-
- var verifySet = desc.hasOwnProperty("set") && typeof desc.set === "undefined";
-
- var verifyEnumerable = false;
- for (var p in arrObj) {
- if (p === "1") {
- verifyEnumerable = true
- }
- }
-
- var verifyConfigurable = false;
- delete arrObj[1];
- verifyConfigurable = arrObj.hasOwnProperty("1");
-
- 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and 'desc' is accessor
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is not thrown if the [[Set]] field of 'desc'
+ is present, and the [[Set]] field of 'desc' and the [[Set]]
+ attribute value of 'name' are undefined (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "1", {
+ set: undefined
+ });
+ var hasProperty = arrObj.hasOwnProperty("1");
+
+ Object.defineProperty(arrObj, "1", {
+ set: undefined
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(arrObj, "1");
+
+ var verifyGet = desc.hasOwnProperty("get") && typeof desc.get === "undefined";
+
+ var verifySet = desc.hasOwnProperty("set") && typeof desc.set === "undefined";
+
+ var verifyEnumerable = false;
+ for (var p in arrObj) {
+ if (p === "1") {
+ verifyEnumerable = true
+ }
+ }
+
+ var verifyConfigurable = false;
+ delete arrObj[1];
+ verifyConfigurable = arrObj.hasOwnProperty("1");
+
+ return hasProperty && verifyGet && verifySet && !verifyEnumerable && verifyConfigurable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-255.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-255.js
index 80cdfc966..9b3bf308b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-255.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-255.js
@@ -1,53 +1,60 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-255.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Get]] field of 'desc' is present, and the [[Get]] field of 'desc' and the [[Get]] attribute value of 'name' are two objects which refer to the different objects (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- function getFunc() {
- return 12;
- }
- Object.defineProperty(arrObj, "1", {
- get: getFunc
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- get: function () {
- return 14;
- }
- });
-
- return false;
- } catch (e) {
- var hasProperty = arrObj.hasOwnProperty("1");
- var desc = Object.getOwnPropertyDescriptor(arrObj, "1");
-
- var verifyGet = arrObj[1] === getFunc();
-
- var verifySet = desc.hasOwnProperty("set") && typeof desc.set === "undefined";
-
- var verifyEnumerable = false;
- for (var p in arrObj) {
- if (p === "1") {
- verifyEnumerable = true
- }
- }
-
- var verifyConfigurable = false;
- delete arrObj[1];
- verifyConfigurable = arrObj.hasOwnProperty("1");
-
- return e instanceof TypeError && 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and 'desc' is accessor
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Get]] field of 'desc' is
+ present, and the [[Get]] field of 'desc' and the [[Get]] attribute
+ value of 'name' are two objects which refer to the different
+ objects (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ function getFunc() {
+ return 12;
+ }
+ Object.defineProperty(arrObj, "1", {
+ get: getFunc
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ get: function () {
+ return 14;
+ }
+ });
+
+ return false;
+ } catch (e) {
+ var hasProperty = arrObj.hasOwnProperty("1");
+ var desc = Object.getOwnPropertyDescriptor(arrObj, "1");
+
+ var verifyGet = arrObj[1] === getFunc();
+
+ var verifySet = desc.hasOwnProperty("set") && typeof desc.set === "undefined";
+
+ var verifyEnumerable = false;
+ for (var p in arrObj) {
+ if (p === "1") {
+ verifyEnumerable = true
+ }
+ }
+
+ var verifyConfigurable = false;
+ delete arrObj[1];
+ verifyConfigurable = arrObj.hasOwnProperty("1");
+
+ return e instanceof TypeError && hasProperty && verifyGet &&
+ verifySet && !verifyEnumerable && verifyConfigurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-256.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-256.js
index caa7c1142..14aaeef5a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-256.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-256.js
@@ -1,50 +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.6/15.2.3.6-4-256.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is false, test TypeError is thrown if the [[Get]] field of 'desc' is present, and the [[Get]] field of 'desc' is an object and the [[Get]] attribute value of 'name' is undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- function getFunc() {
- return 12;
- }
-
- Object.defineProperty(arrObj, "1", {
- get: getFunc
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- get: undefined
- });
- return false;
- } catch (e) {
- var hasProperty = arrObj.hasOwnProperty("1");
- var desc = Object.getOwnPropertyDescriptor(arrObj, "1");
-
- var verifyGet = arrObj[1] === getFunc();
-
- var verifySet = desc.hasOwnProperty("set") && typeof desc.set === "undefined";
-
- var verifyEnumerable = false;
- for (var p in arrObj) {
- if (p === "1") {
- verifyEnumerable = true
- }
- }
-
- var verifyConfigurable = false;
- delete arrObj[1];
- verifyConfigurable = arrObj.hasOwnProperty("1");
-
- return e instanceof TypeError && 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and 'desc' is accessor
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, test TypeError is thrown if the [[Get]] field of 'desc' is
+ present, and the [[Get]] field of 'desc' is an object and the
+ [[Get]] attribute value of 'name' is undefined (15.4.5.1 step 4.c)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+ function getFunc() {
+ return 12;
+ }
+
+ Object.defineProperty(arrObj, "1", {
+ get: getFunc
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ get: undefined
+ });
+ return false;
+ } catch (e) {
+ var hasProperty = arrObj.hasOwnProperty("1");
+ var desc = Object.getOwnPropertyDescriptor(arrObj, "1");
+
+ var verifyGet = arrObj[1] === getFunc();
+
+ var verifySet = desc.hasOwnProperty("set") && typeof desc.set === "undefined";
+
+ var verifyEnumerable = false;
+ for (var p in arrObj) {
+ if (p === "1") {
+ verifyEnumerable = true
+ }
+ }
+
+ var verifyConfigurable = false;
+ delete arrObj[1];
+ verifyConfigurable = arrObj.hasOwnProperty("1");
+
+ return e instanceof TypeError && hasProperty && verifyGet &&
+ verifySet && !verifyEnumerable && verifyConfigurable;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-257.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-257.js
index 430f39203..4247146a2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-257.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-257.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.6/15.2.3.6-4-257.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, 'name' is accessor property and 'desc' is accessor descriptor, and the [[Configurable]] attribute value of 'name' is false, 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 'name' are undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
- var arrObj = [];
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "1", {
- get: undefined,
- set: setFunc,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "1", {
- get: undefined
- });
-
- return accessorPropertyAttributesAreCorrect(arrObj, "1", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, 'name' is accessor property and 'desc' is accessor
+ descriptor, and the [[Configurable]] attribute value of 'name' is
+ false, 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 'name' are undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "1", {
+ get: undefined,
+ set: setFunc,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "1", {
+ get: undefined
+ });
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "1", undefined, setFunc, "setVerifyHelpProp", false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-258.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-258.js
index 7de8e96d4..629517592 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-258.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-258.js
@@ -1,21 +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.6/15.2.3.6-4-258.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is data property and 'desc' is data descriptor, test updating the [[Value]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [100];
-
- Object.defineProperty(arrObj, "0", {
- value: 200
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is data property and 'desc' is data
+ descriptor, test updating the [[Value]] attribute value of 'name'
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [100];
+
+ Object.defineProperty(arrObj, "0", {
+ value: 200
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 200, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-259.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-259.js
index 49e0c9f0c..361641d90 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-259.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-259.js
@@ -1,21 +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.6/15.2.3.6-4-259.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is data property and 'desc' is data descriptor, test setting the [[Value]] attribute value of 'name' as undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [100];
-
- Object.defineProperty(arrObj, "0", {
- value: undefined
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is data property and 'desc' is data
+ descriptor, test setting the [[Value]] attribute value of 'name'
+ as undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [100];
+
+ Object.defineProperty(arrObj, "0", {
+ value: undefined
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", undefined, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-26.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-26.js
index 24df07582..e09466315 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-26.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-26.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.6/15.2.3.6-4-26.js
- * @description Object.defineProperty - 'name' is own accessor property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return 11;
- },
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "property", {
- get: function () {
- return 12;
- },
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && obj.property === 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.defineProperty - 'name' is own accessor property (8.12.9
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 11;
+ },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && obj.property === 11;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-260.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-260.js
index 10bad6fbb..6153fc396 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-260.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-260.js
@@ -1,20 +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.6/15.2.3.6-4-260.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is data property and 'desc' is data descriptor, test setting the [[Value]] attribute value of 'name' from undefined to number (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [undefined];
- Object.defineProperty(arrObj, "0", {
- value: 100
- });
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is data property and 'desc' is data
+ descriptor, test setting the [[Value]] attribute value of 'name'
+ from undefined to number (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [undefined];
+ Object.defineProperty(arrObj, "0", {
+ value: 100
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 100, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-261.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-261.js
index dd2b6bee3..4fc7e14bf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-261.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-261.js
@@ -1,20 +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.6/15.2.3.6-4-261.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is data property and 'desc' is data descriptor, test updating the [[Writable]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [100];
- Object.defineProperty(arrObj, "0", {
- writable: false
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 100, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is data property and 'desc' is data
+ descriptor, test updating the [[Writable]] attribute value of
+ 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [100];
+ Object.defineProperty(arrObj, "0", {
+ writable: false
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 100, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-262.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-262.js
index 7802175d8..32ebd1286 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-262.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-262.js
@@ -1,21 +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.6/15.2.3.6-4-262.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is data property and 'desc' is data descriptor, test updating the [[Enumerable]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [100];
-
- Object.defineProperty(arrObj, "0", {
- enumerable: false
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 100, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is data property and 'desc' is data
+ descriptor, test updating the [[Enumerable]] attribute value of
+ 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [100];
+
+ Object.defineProperty(arrObj, "0", {
+ enumerable: false
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 100, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-263.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-263.js
index 074e2d50c..faefcc12b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-263.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-263.js
@@ -1,21 +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.6/15.2.3.6-4-263.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is data property and 'desc' is data descriptor, test updating the [[Configurable]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [100];
-
- Object.defineProperty(arrObj, "0", {
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 100, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is data property and 'desc' is data
+ descriptor, test updating the [[Configurable]] attribute value of
+ 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [100];
+
+ Object.defineProperty(arrObj, "0", {
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 100, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-264.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-264.js
index a6ecf82d6..83cb9939b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-264.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-264.js
@@ -1,22 +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.6/15.2.3.6-4-264.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is data property and 'desc' is data descriptor, test updating multiple attribute values of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [100];
- Object.defineProperty(arrObj, "0", {
- writable: false,
- enumerable: false,
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arrObj, "0", 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is data property and 'desc' is data
+ descriptor, test updating multiple attribute values of 'name'
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [100];
+ Object.defineProperty(arrObj, "0", {
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arrObj, "0", 100, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-265.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-265.js
index 7da778fbf..74bb49280 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-265.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-265.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.6/15.2.3.6-4-265.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test updating the [[Get]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function getFunc() {
- return 100;
- }
- Object.defineProperty(arrObj, "0", {
- get: function () {
- return 12;
- },
- configurable: true
- });
- Object.defineProperty(arrObj, "0", {
- get: getFunc
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test updating the [[Get]] attribute value of 'name'
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function getFunc() {
+ return 100;
+ }
+ Object.defineProperty(arrObj, "0", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-266.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-266.js
index 1c6d52019..ec803925f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-266.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-266.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.6/15.2.3.6-4-266.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test setting the [[Get]] attribute value of 'name' as undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
- function getFunc() {
- return 12;
- }
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- get: undefined
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test setting the [[Get]] attribute value of 'name' as
+ undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+ function getFunc() {
+ return 12;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ get: undefined
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-267.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-267.js
index 1ecd7a867..d4f84bc88 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-267.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-267.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.6/15.2.3.6-4-267.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test updating the [[Get]] attribute value of 'name' from undefined to function object (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function getFunc() {
- return 12;
- }
- Object.defineProperty(arrObj, "0", {
- get: undefined,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- get: getFunc
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test updating the [[Get]] attribute value of 'name'
+ from undefined to function object (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function getFunc() {
+ return 12;
+ }
+ Object.defineProperty(arrObj, "0", {
+ get: undefined,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ get: getFunc
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", getFunc, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-268.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-268.js
index 78ce446ad..6f15ff997 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-268.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-268.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.6/15.2.3.6-4-268.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test updating the [[Set]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "0", {
- set: function () { },
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test updating the [[Set]] attribute value of 'name'
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-269.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-269.js
index 5dab710c2..8f3565bab 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-269.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-269.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.6/15.2.3.6-4-269.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test setting the [[Set]] attribute value of 'name' as undefined (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "0", {
- set: function () { },
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- set: undefined
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test setting the [[Set]] attribute value of 'name' as
+ undefined (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "0", {
+ set: function () { },
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ set: undefined
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, undefined, undefined, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-27.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-27.js
index b3fcd69f8..ab82ae91d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-27.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-27.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.6/15.2.3.6-4-27.js
- * @description Object.defineProperty - 'name' is an inherited accessor property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "property", {
- get: function () {
- return 11;
- },
- configurable: false
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return 12;
- },
- configurable: true
- });
- return obj.hasOwnProperty("property") && obj.property === 12;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'name' is an inherited accessor property
+ (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "property", {
+ get: function () {
+ return 11;
+ },
+ configurable: false
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 12;
+ },
+ configurable: true
+ });
+ return obj.hasOwnProperty("property") && obj.property === 12;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-270.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-270.js
index 2686a2862..2e04b627b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-270.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-270.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.6/15.2.3.6-4-270.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test updating the [[Set]] attribute value of 'name' from undefined to function object (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "0", {
- set: undefined,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test updating the [[Set]] attribute value of 'name'
+ from undefined to function object (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ set: undefined,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-271.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-271.js
index becd87c1a..2da4e5887 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-271.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-271.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test updating the [[Enumerable]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- enumerable: false
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test updating the [[Enumerable]] attribute value of
+ 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ enumerable: false
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-272.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-272.js
index 21a63aafa..25f9a86f8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-272.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-272.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.6/15.2.3.6-4-272.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test updating the [[Configurable]] attribute value of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "0", {
- set: setFunc,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "0", {
- configurable: false
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test updating the [[Configurable]] attribute value of
+ 'name' (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "0", {
+ set: setFunc,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "0", {
+ configurable: false
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "0", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-273.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-273.js
index 6839d8a22..e6defe51b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-273.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-273.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.6/15.2.3.6-4-273.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, name is accessor property and 'desc' is accessor descriptor, test updating multiple attribute values of 'name' (15.4.5.1 step 4.c)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- function getFunc() {
- return 12;
- }
- Object.defineProperty(arrObj, "1", {
- get: function () {
- return 6;
- },
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(arrObj, "1", {
- get: getFunc,
- enumerable: false,
- configurable: false
- });
- return accessorPropertyAttributesAreCorrect(arrObj, "1", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, name is accessor property and 'desc' is accessor
+ descriptor, test updating multiple attribute values of 'name'
+ (15.4.5.1 step 4.c)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ function getFunc() {
+ return 12;
+ }
+ Object.defineProperty(arrObj, "1", {
+ get: function () {
+ return 6;
+ },
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(arrObj, "1", {
+ get: getFunc,
+ enumerable: false,
+ configurable: false
+ });
+ return accessorPropertyAttributesAreCorrect(arrObj, "1", getFunc, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-274.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-274.js
index f16bb321b..9a12423ed 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-274.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-274.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.6/15.2.3.6-4-274.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, test the length property of 'O' is not changed if ToUint32('name') is less than value of the length property in 'O' (15.4.5.1 step 4.e)
- */
-
-
-function testcase() {
-
- var arrObj = [];
- arrObj.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
-
- Object.defineProperty(arrObj, "1", {
- value: 14
- });
-
- return arrObj.length === 3 && arrObj[1] === 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, test the length property of 'O' is not changed if
+ ToUint32('name') is less than value of the length property in 'O'
+ (15.4.5.1 step 4.e)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+ arrObj.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
+
+ Object.defineProperty(arrObj, "1", {
+ value: 14
+ });
+
+ return arrObj.length === 3 && arrObj[1] === 14;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-275.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-275.js
index 705e20f7d..3e04c9fb5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-275.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-275.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.6/15.2.3.6-4-275.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, test the length property of 'O' is set as ToUint32('name') + 1 if ToUint32('name') equals to value of the length property in 'O' (15.4.5.1 step 4.e.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [];
- arrObj.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
-
- Object.defineProperty(arrObj, "3", {
- value: 3
- });
-
- return arrObj.length === 4 && arrObj[3] === 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, test the length property of 'O' is set as
+ ToUint32('name') + 1 if ToUint32('name') equals to value of the
+ length property in 'O' (15.4.5.1 step 4.e.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+ arrObj.length = 3; // default value of length: writable: true, configurable: false, enumerable: false
+
+ Object.defineProperty(arrObj, "3", {
+ value: 3
+ });
+
+ return arrObj.length === 4 && arrObj[3] === 3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-276.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-276.js
index 9f7eabc02..b6469a3a4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-276.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-276.js
@@ -1,22 +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.6/15.2.3.6-4-276.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is an array index named property, test the length property of 'O' is set as ToUint32('name') + 1 if ToUint32('name') is greater than value of the length property in 'O' (15.4.5.1 step 4.e.ii)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "5", {
- value: 3
- });
-
- return arrObj.length === 6 && arrObj[5] === 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.defineProperty - 'O' is an Array, 'name' is an array index
+ named property, test the length property of 'O' is set as
+ ToUint32('name') + 1 if ToUint32('name') is greater than value of
+ the length property in 'O' (15.4.5.1 step 4.e.ii)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "5", {
+ value: 3
+ });
+
+ return arrObj.length === 6 && arrObj[5] === 3;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-277.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-277.js
index 77e6fcd32..ebd89d388 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-277.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-277.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.6/15.2.3.6-4-277.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic property that won't exist on 'O', and 'desc' is data descriptor, test 'name' is defined in 'O' with all correct attribute values (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "property", {
- value: 12,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "property", 12, 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.defineProperty - 'O' is an Array, 'name' is generic
+ property that won't exist on 'O', and 'desc' is data descriptor,
+ test 'name' is defined in 'O' with all correct attribute values
+ (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "property", {
+ value: 12,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "property", 12, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-278.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-278.js
index 439838dbf..bb2b0eb7d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-278.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-278.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.6/15.2.3.6-4-278.js
- * @description Object.defineProperty - 'name' is generic property that won't exist on 'O', and 'desc' is accessor descriptor, test 'name' is defined in 'O' with all correct attribute values (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function getFunc() {
- return 12;
- }
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(arrObj, "property", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- return accessorPropertyAttributesAreCorrect(arrObj, "property", getFunc, setFunc, "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.defineProperty - 'name' is generic property that won't
+ exist on 'O', and 'desc' is accessor descriptor, test 'name' is
+ defined in 'O' with all correct attribute values (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function getFunc() {
+ return 12;
+ }
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(arrObj, "property", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "property", getFunc, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-279.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-279.js
index 12d173725..a1989dee4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-279.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-279.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.6/15.2.3.6-4-279.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own accessor property of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'name' (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function getFunc() {
- return 12;
- }
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "property", {
- get: function () {
- return 24;
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(arrObj, "property", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- return accessorPropertyAttributesAreCorrect(arrObj, "property", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ accessor property of 'O', and 'desc' is accessor descriptor, test
+ updating multiple attribute values of 'name' (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function getFunc() {
+ return 12;
+ }
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "property", {
+ get: function () {
+ return 24;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ Object.defineProperty(arrObj, "property", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(arrObj, "property", getFunc, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-28.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-28.js
index ed637d750..6c7f7c1d9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-28.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-28.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.6/15.2.3.6-4-28.js
- * @description Object.defineProperty - 'name' is own accessor property that overrides an inherited data property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "foo", {
- value: 11,
- configurable: true
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
- Object.defineProperty(obj, "foo", {
- get: function () { },
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- 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.defineProperty - 'name' 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, "foo", {
+ value: 11,
+ configurable: true
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+ Object.defineProperty(obj, "foo", {
+ get: function () { },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ 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.6/15.2.3.6-4-280.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-280.js
index 7efb40e5c..73f8e1911 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-280.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-280.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.6/15.2.3.6-4-280.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own data property of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'name' (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- arrObj.property = 12; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(arrObj, "property", {
- writable: false,
- enumerable: false,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ data property of 'O', and 'desc' is data descriptor, test updating
+ multiple attribute values of 'name' (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ arrObj.property = 12; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperty(arrObj, "property", {
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(arrObj, "property", 12, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-281.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-281.js
index 86a44cd23..698eafbc7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-281.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-281.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.6/15.2.3.6-4-281.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own data property of 'O', test TypeError is thrown when updating the [[Value]] attribute value of 'name' which is defined as non-writable and non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "property", {
- value: 12
- });
- try {
- Object.defineProperty(arrObj, "property", {
- value: 36
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Value]] attribute value of 'name' which is defined as
+ non-writable and non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "property", {
+ value: 12
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ value: 36
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "property", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-282.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-282.js
index c8f30edf6..7b06e937a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-282.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-282.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.6/15.2.3.6-4-282.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own data property of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'name' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "property", {
- writable: false
- });
- try {
- Object.defineProperty(arrObj, "property", {
- writable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Writable]] attribute value of 'name' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "property", {
+ writable: false
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ writable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "property", undefined, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-283.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-283.js
index 2bd4e2f5e..5ebfef2b4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-283.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-283.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.6/15.2.3.6-4-283.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own data property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'name' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "property", {
- value: 12,
- enumerable: false
- });
- try {
- Object.defineProperty(arrObj, "property", {
- enumerable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Enumerable]] attribute value of 'name' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "property", {
+ value: 12,
+ enumerable: false
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ enumerable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "property", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-284.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-284.js
index 3c36062ab..e82660a2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-284.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-284.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.6/15.2.3.6-4-284.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own data property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'name' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- Object.defineProperty(arrObj, "property", {
- value: 12
- });
- try {
- Object.defineProperty(arrObj, "property", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Configurable]] attribute value of 'name' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "property", {
+ value: 12
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arrObj, "property", 12, false, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-285.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-285.js
index b803f4b36..e3d9acfad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-285.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-285.js
@@ -1,37 +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.6/15.2.3.6-4-285.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Get]] attribute value of 'name' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function getFunc() {
- return 12;
- }
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "property", {
- get: getFunc,
- set: setFunc
- });
- try {
- Object.defineProperty(arrObj, "property", {
- get: function () {
- return 36;
- }
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", getFunc, setFunc, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Get]] attribute value of 'name' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function getFunc() {
+ return 12;
+ }
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "property", {
+ get: getFunc,
+ set: setFunc
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ get: function () {
+ return 36;
+ }
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", getFunc, setFunc, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-286.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-286.js
index c1946b5df..c0b2bf489 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-286.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-286.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.6/15.2.3.6-4-286.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own accessor property of 'O', and 'desc' is accessor descriptor, test TypeError is thrown when updating the [[Set]] attribute value of 'name' (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "property", {
- set: setFunc
- });
- try {
- Object.defineProperty(arrObj, "property", {
- set: function () {}
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ accessor property of 'O', and 'desc' is accessor descriptor, test
+ TypeError is thrown when updating the [[Set]] attribute value of
+ 'name' (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "property", {
+ set: setFunc
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ set: function () {}
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-287.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-287.js
index cb022e6b9..5541d3244 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-287.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-287.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.6/15.2.3.6-4-287.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'name' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "property", {
- set: setFunc,
- enumerable: false
- });
- try {
- Object.defineProperty(arrObj, "property", {
- enumerable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Enumerable]] attribute value of 'name' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "property", {
+ set: setFunc,
+ enumerable: false
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ enumerable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-288.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-288.js
index 1194ff32a..0294c34d7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-288.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-288.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.6/15.2.3.6-4-288.js
- * @description Object.defineProperty - 'O' is an Array, 'name' is generic own accessor property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'name' which is defined as non-configurable (15.4.5.1 step 5)
- */
-
-
-function testcase() {
-
- var arrObj = [];
-
- function setFunc(value) {
- arrObj.setVerifyHelpProp = value;
- }
- Object.defineProperty(arrObj, "property", {
- set: setFunc,
- configurable: false
- });
- try {
- Object.defineProperty(arrObj, "property", {
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", undefined, setFunc, "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.defineProperty - 'O' is an Array, 'name' is generic own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Configurable]] attribute value of 'name' which is defined as
+ non-configurable (15.4.5.1 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var arrObj = [];
+
+ function setFunc(value) {
+ arrObj.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arrObj, "property", {
+ set: setFunc,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arrObj, "property", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arrObj, "property", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289-1.js
index dca8d24d2..f1fa33417 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289-1.js
@@ -1,25 +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.6/15.2.3.6-4-289-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' is own property which is defined in both [[ParameterMap]] of 'O' and 'O', and is deleted afterwards, and 'desc' is data descriptor, test 'name' is redefined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- delete arguments[0];
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var verifyFormal = a === 0;
- return dataPropertyAttributesAreCorrect(arguments, "0", 10, true, true, true) && verifyFormal;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' is own property which is
+ defined in both [[ParameterMap]] of 'O' and 'O', and is deleted
+ afterwards, and 'desc' is data descriptor, test 'name' is
+ redefined in 'O' with all correct attribute values (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ delete arguments[0];
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var verifyFormal = a === 0;
+ return dataPropertyAttributesAreCorrect(arguments, "0", 10, true, true, true) && verifyFormal;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289.js
index dd725721d..5a40f81c3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-289.js
@@ -1,24 +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.6/15.2.3.6-4-289.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own property of 'O', and is deleted afterwards, and 'desc' is data descriptor, test 'name' is redefined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- delete arguments[0];
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: true,
- enumerable: true,
- configurable: true
- });
- return dataPropertyAttributesAreCorrect(arguments, "0", 10, true, true, true);
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ property of 'O', and is deleted afterwards, and 'desc' is data
+ descriptor, test 'name' is redefined in 'O' with all correct
+ attribute values (10.6 [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ delete arguments[0];
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "0", 10, true, true, true);
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-29.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-29.js
index 6984de947..accfca0b5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-29.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-29.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.6/15.2.3.6-4-29.js
- * @description Object.defineProperty - 'name' is own accessor property that overrides an inherited accessor property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "foo", {
- get: function () { },
- configurable: true
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
- Object.defineProperty(obj, "foo", {
- get: function () { },
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- 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.defineProperty - 'name' 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, "foo", {
+ get: function () { },
+ configurable: true
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+ Object.defineProperty(obj, "foo", {
+ get: function () { },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ 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.6/15.2.3.6-4-290-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290-1.js
index f321f3d93..b86d376b1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290-1.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.6/15.2.3.6-4-290-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' is own property which is defined in both [[ParameterMap]] of 'O' and 'O', is deleted afterwards, and 'desc' is accessor descriptor, test 'name' is redefined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- delete arguments[0];
- function getFunc() {
- return 10;
- }
- function setFunc(value) {
- this.setVerifyHelpProp = value;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var verifyFormal = a === 0;
- return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", true, true) && verifyFormal;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' is own property which is
+ defined in both [[ParameterMap]] of 'O' and 'O', is deleted
+ afterwards, and 'desc' is accessor descriptor, test 'name' is
+ redefined in 'O' with all correct attribute values (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ delete arguments[0];
+ function getFunc() {
+ return 10;
+ }
+ function setFunc(value) {
+ this.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var verifyFormal = a === 0;
+ return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", true, true) && verifyFormal;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290.js
index ba56a742d..26d9bfeb2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-290.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.6/15.2.3.6-4-290.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own property of 'O', and is deleted afterwards, and 'desc' is accessor descriptor, test 'name' is redefined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- delete arguments[0];
- function getFunc() {
- return 10;
- }
- function setFunc(value) {
- this.setVerifyHelpProp = value;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", true, true);
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ property of 'O', and is deleted afterwards, and 'desc' is accessor
+ descriptor, test 'name' is redefined in 'O' with all correct
+ attribute values (10.6 [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ delete arguments[0];
+ function getFunc() {
+ return 10;
+ }
+ function setFunc(value) {
+ this.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", true, true);
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291-1.js
index 581be432f..eb31fd1dc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291-1.js
@@ -1,34 +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.6/15.2.3.6-4-291-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' (10.6 [[DefineOwnProperty]] step 3 and 5.a.i)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- function getFunc1() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc1,
- enumerable: true,
- configurable: true
- });
- function getFunc2() {
- return 20;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc2,
- enumerable: false,
- configurable: false
- });
- var verifyFormal = a === 0;
- return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc2, undefined, undefined, false, false) && verifyFormal;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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
+ 'name' (10.6 [[DefineOwnProperty]] step 3 and 5.a.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ function getFunc1() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc1,
+ enumerable: true,
+ configurable: true
+ });
+ function getFunc2() {
+ return 20;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc2,
+ enumerable: false,
+ configurable: false
+ });
+ var verifyFormal = a === 0;
+ return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc2, undefined, undefined, false, false) && verifyFormal;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291.js
index 54623731e..31e5d2db3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-291.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.6/15.2.3.6-4-291.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own accessor property of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'name' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc1() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc1,
- enumerable: true,
- configurable: true
- });
- function getFunc2() {
- return 20;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc2,
- enumerable: false,
- configurable: false
- });
- return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc2, undefined, undefined, false, false);
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ accessor property of 'O', and 'desc' is accessor descriptor, test
+ updating multiple attribute values of 'name' (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc1() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc1,
+ enumerable: true,
+ configurable: true
+ });
+ function getFunc2() {
+ return 20;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc2,
+ enumerable: false,
+ configurable: false
+ });
+ return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc2, undefined, undefined, false, false);
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292-1.js
index de8a05d21..091291bb1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292-1.js
@@ -1,24 +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.6/15.2.3.6-4-292-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' is own property of 'O' which is also defined in [[ParameterMap]] of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'name' (10.6 [[DefineOwnProperty]] step 3 and 5.b)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "0", {
- value: 20,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var verifyFormal = a === 20;
- return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, false, false) && verifyFormal;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' is own property of 'O' which is
+ also defined in [[ParameterMap]] of 'O', and 'desc' is data
+ descriptor, test updating multiple attribute values of 'name'
+ (10.6 [[DefineOwnProperty]] step 3 and 5.b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "0", {
+ value: 20,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var verifyFormal = a === 20;
+ return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, false, false) && verifyFormal;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292.js
index 66154e72c..60dc82b2c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-292.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.6/15.2.3.6-4-292.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own data property of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'name' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 20,
- writable: false,
- enumerable: false,
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, false, false);
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ data property of 'O', and 'desc' is data descriptor, test updating
+ multiple attribute values of 'name' (10.6 [[DefineOwnProperty]]
+ step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 20,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, false, false);
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-1.js
index 35c4e7da2..9cd23bc6c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-1.js
@@ -1,24 +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.6/15.2.3.6-4-293-1.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own data property of 'O', test TypeError is not thrown when updating the [[Value]] attribute value of 'name' which is defined as non-writable and configurable (10.6 [[DefineOwnProperty]] step 3 and 5b)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false
- });
- Object.defineProperty(arguments, "0", {
- value: 20
- });
- return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, true, true);
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ data property of 'O', test TypeError is not thrown when updating
+ the [[Value]] attribute value of 'name' which is defined as
+ non-writable and configurable (10.6 [[DefineOwnProperty]] step 3
+ and 5b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false
+ });
+ Object.defineProperty(arguments, "0", {
+ value: 20
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, true, true);
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-2.js
index f7e821482..f523f05c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-2.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.6/15.2.3.6-4-293-2.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as unwritable and non-configurable (10.6 [[DefineOwnProperty]] step 4 and step 5b)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- value: 20
- });
- } catch (e) {
- var verifyFormal = a === 10;
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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 'name'
+ which is defined as unwritable and non-configurable (10.6
+ [[DefineOwnProperty]] step 4 and step 5b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ value: 20
+ });
+ } catch (e) {
+ var verifyFormal = a === 10;
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-3.js
index ace83c39b..518413c5a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293-3.js
@@ -1,25 +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.6/15.2.3.6-4-293-3.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' is own data property of 'O' which is also defined in [[ParameterMap]] of 'O', test TypeError is not thrown when updating the [[Value]] attribute value of 'name' which is defined as non-writable and configurable (10.6 [[DefineOwnProperty]] step 3 and step 5.b)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- });
- Object.defineProperty(arguments, "0", {
- value: 20
- });
- var verifyFormal = a === 10;
- return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, true, true) && verifyFormal;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' is own data property of 'O'
+ which is also defined in [[ParameterMap]] of 'O', test TypeError
+ is not thrown when updating the [[Value]] attribute value of
+ 'name' which is defined as non-writable and configurable (10.6
+ [[DefineOwnProperty]] step 3 and step 5.b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ });
+ Object.defineProperty(arguments, "0", {
+ value: 20
+ });
+ var verifyFormal = a === 10;
+ return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, true, true) && verifyFormal;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293.js
index 4adaae351..40ea69dae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-293.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.6/15.2.3.6-4-293.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own data property of 'O', test TypeError is thrown when updating the [[Value]] attribute value of 'name' which is defined as non-writable and non-configurable (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- value: 20
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Value]] attribute value of 'name' which is defined as
+ non-writable and non-configurable (10.6 [[DefineOwnProperty]] step
+ 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ value: 20
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294-1.js
index 87498685f..782a28b69 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294-1.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.6/15.2.3.6-4-294-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4 and 5b)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- writable: true
- });
- } catch (e) {
- var verifyFormal = a === 10;
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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 'name'
+ which is defined as non-configurable (10.6 [[DefineOwnProperty]]
+ step 4 and 5b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ writable: true
+ });
+ } catch (e) {
+ var verifyFormal = a === 10;
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294.js
index 9cb73fd90..d60fbadc8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-294.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.6/15.2.3.6-4-294.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own data property of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- writable: true
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Writable]] attribute value of 'name' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ writable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295-1.js
index 56a7ac89b..e04c9a62e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295-1.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.6/15.2.3.6-4-295-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4 and step 5b)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- enumerable: false
- });
- } catch (e) {
- var verifyFormal = a === 10;
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, true, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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
+ 'name' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4 and step 5b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ enumerable: false
+ });
+ } catch (e) {
+ var verifyFormal = a === 10;
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, true, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295.js
index 8193c4c09..4d72e1714 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-295.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.6/15.2.3.6-4-295.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own data property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- enumerable: false
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, true, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Enumerable]] attribute value of 'name' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ enumerable: false
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, true, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296-1.js
index 69334b52b..c06e67013 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296-1.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.6/15.2.3.6-4-296-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4 and step 5b)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- configurable: true
- });
- } catch (e) {
- var verifyFormal = a === 10;
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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
+ 'name' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4 and step 5b)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ configurable: true
+ });
+ } catch (e) {
+ var verifyFormal = a === 10;
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296.js
index 97feb1a3d..2a98c0c4b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-296.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.6/15.2.3.6-4-296.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own data property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ data property of 'O', test TypeError is thrown when updating the
+ [[Configurable]] attribute value of 'name' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297-1.js
index c68ce6763..97e735b8b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297-1.js
@@ -1,36 +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.6/15.2.3.6-4-297-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4 and step 5a)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- function getFunc1() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc1,
- enumerable: false,
- configurable: false
- });
- function getFunc2() {
- return 20;
- }
- try {
- Object.defineProperty(arguments, "0", {
- get: getFunc2
- });
- } catch (e) {
- var verifyFormal = a === 0;
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc1, undefined, undefined, false, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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 'name'
+ which is defined as non-configurable (10.6 [[DefineOwnProperty]]
+ step 4 and step 5a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ function getFunc1() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc1,
+ enumerable: false,
+ configurable: false
+ });
+ function getFunc2() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(arguments, "0", {
+ get: getFunc2
+ });
+ } catch (e) {
+ var verifyFormal = a === 0;
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc1, undefined, undefined, false, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297.js
index ec1d3f519..c25536343 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-297.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.6/15.2.3.6-4-297.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own accessor property of 'O', test TypeError is thrown when updating the [[Get]] attribute value of 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc1() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc1,
- enumerable: false,
- configurable: false
- });
- function getFunc2() {
- return 20;
- }
- try {
- Object.defineProperty(arguments, "0", {
- get: getFunc2
- });
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc1, undefined, undefined, false, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Get]] attribute value of 'name' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc1() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc1,
+ enumerable: false,
+ configurable: false
+ });
+ function getFunc2() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(arguments, "0", {
+ get: getFunc2
+ });
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc1, undefined, undefined, false, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298-1.js
index d862edfe5..38e295094 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298-1.js
@@ -1,38 +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.6/15.2.3.6-4-298-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] steps 4 and 5a)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- function getFunc() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- function setFunc(value) {
- this.setVerifyHelpProp = value;
- }
- try {
- Object.defineProperty(arguments, "0", {
- set: setFunc
- });
- } catch (e) {
- var verifyFormal = a === 0;
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, false, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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 'name'
+ which is defined as non-configurable (10.6 [[DefineOwnProperty]]
+ steps 4 and 5a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ function getFunc() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ function setFunc(value) {
+ this.setVerifyHelpProp = value;
+ }
+ try {
+ Object.defineProperty(arguments, "0", {
+ set: setFunc
+ });
+ } catch (e) {
+ var verifyFormal = a === 0;
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, false, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298.js
index da8cebac2..e6f5f4b54 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-298.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.6/15.2.3.6-4-298.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own accessor property of 'O', test TypeError is thrown when updating the [[Set]] attribute value of 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- function setFunc(value) {
- this.setVerifyHelpProp = value;
- }
- try {
- Object.defineProperty(arguments, "0", {
- set: setFunc
- });
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, false, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Set]] attribute value of 'name' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ function setFunc(value) {
+ this.setVerifyHelpProp = value;
+ }
+ try {
+ Object.defineProperty(arguments, "0", {
+ set: setFunc
+ });
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, false, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299-1.js
index 6bda361dc..dff143d56 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299-1.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.6/15.2.3.6-4-299-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] steps 4 and 5a)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- function getFunc() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- enumerable: false
- });
- } catch (e) {
- var verifyFormal = a === 0;
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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
+ 'name' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] steps 4 and 5a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ function getFunc() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ enumerable: false
+ });
+ } catch (e) {
+ var verifyFormal = a === 0;
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299.js
index af8330f6c..b62f9fdd5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-299.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.6/15.2.3.6-4-299.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own accessor property of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- enumerable: false
- });
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Enumerable]] attribute value of 'name' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ enumerable: false
+ });
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-3.js
index f180df9a2..55722555f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-3.js
@@ -1,33 +1,35 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For newly defined accessor properties, attributes
- * missing from desc should have values set to the defaults from 8.6.1.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-3.js
- * @description Object.defineProperty sets missing attributes to their default values (accessor)(8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var o = {};
-
- var getter = function () { return 1; };
- var desc = { get: getter };
-
- Object.defineProperty(o, "foo", desc);
-
- var propDesc = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (typeof(propDesc.get) === "function" && // the getter must be the function that was provided
- propDesc.get === getter &&
- propDesc.enumerable === false && // false by default
- propDesc.configurable === false) { // false by default
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For newly defined accessor properties, attributes
+ missing from desc should have values set to the defaults from 8.6.1.
+description: >
+ Object.defineProperty sets missing attributes to their default
+ values (accessor)(8.12.9 step 4.b.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ var getter = function () { return 1; };
+ var desc = { get: getter };
+
+ Object.defineProperty(o, "foo", desc);
+
+ var propDesc = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (typeof(propDesc.get) === "function" && // the getter must be the function that was provided
+ propDesc.get === getter &&
+ propDesc.enumerable === false && // false by default
+ propDesc.configurable === false) { // false by default
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-30.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-30.js
index 035fe3470..1b34d1f58 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-30.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-30.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.6/15.2.3.6-4-30.js
- * @description Object.defineProperty - 'name' is own accessor property without a get function (8.12.9 step 1)
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "foo", {
- set: function () { },
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- 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.defineProperty - 'name' is own accessor property without a
+ get function (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "foo", {
+ set: function () { },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ 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.6/15.2.3.6-4-300-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300-1.js
index 7b6a19ed3..eff27e41f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300-1.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.6/15.2.3.6-4-300-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' 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 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4 and step 5a)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- function getFunc() {
- return 0;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- configurable: true
- });
- } catch (e) {
- var verifyFormal = a === 0;
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false) && verifyFormal;
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' 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
+ 'name' which is defined as non-configurable (10.6
+ [[DefineOwnProperty]] step 4 and step 5a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ function getFunc() {
+ return 0;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ configurable: true
+ });
+ } catch (e) {
+ var verifyFormal = a === 0;
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false) && verifyFormal;
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300.js
index 8a8c988ae..580bea8d3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-300.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.6/15.2.3.6-4-300.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is own accessor property of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'name' which is defined as non-configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
- }
- return false;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is own
+ accessor property of 'O', test TypeError is thrown when updating
+ the [[Configurable]] attribute value of 'name' which is defined as
+ non-configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
+ }
+ return false;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301-1.js
index 94437edad..344fd6a82 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301-1.js
@@ -1,25 +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.6/15.2.3.6-4-301-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' is an index named property of 'O', and 'desc' is data descriptor, test 'name' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- delete arguments[0];
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var verifyFormal = a === 0;
- return dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' is an index named property of
+ 'O', and 'desc' is data descriptor, test 'name' is defined in 'O'
+ with all correct attribute values (10.6 [[DefineOwnProperty]] step
+ 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ delete arguments[0];
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var verifyFormal = a === 0;
+ return dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false) && verifyFormal;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301.js
index b8b2c7216..47292ce8f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-301.js
@@ -1,24 +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.6/15.2.3.6-4-301.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an array index named property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is data descriptor, test 'name' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- delete arguments[0];
- Object.defineProperty(arguments, "0", {
- value: 10,
- writable: false,
- enumerable: false,
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is an
+ array index named property of 'O' but not defined in
+ [[ParameterMap]] of 'O', and 'desc' is data descriptor, test
+ 'name' is defined in 'O' with all correct attribute values (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ delete arguments[0];
+ Object.defineProperty(arguments, "0", {
+ value: 10,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "0", 10, false, false, false);
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302-1.js
index abd315bdb..12a2370d7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302-1.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.6/15.2.3.6-4-302-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' is an index named property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test 'name' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3 and step 5a)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- delete arguments[0];
- function getFunc() {
- return 10;
- }
- function setFunc(value) {
- this.setVerifyHelpProp = value;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- var verifyFormal = a === 0;
- return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", false, false) && verifyFormal;
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' is an index named property of
+ 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is
+ accessor descriptor, test 'name' is defined in 'O' with all
+ correct attribute values (10.6 [[DefineOwnProperty]] step 3 and
+ step 5a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ delete arguments[0];
+ function getFunc() {
+ return 10;
+ }
+ function setFunc(value) {
+ this.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ var verifyFormal = a === 0;
+ return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", false, false) && verifyFormal;
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302.js
index c7974f840..b505f342e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-302.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.6/15.2.3.6-4-302.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test 'name' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- delete arguments[0];
- function getFunc() {
- return 10;
- }
- function setFunc(value) {
- this.setVerifyHelpProp = value;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", false, false);
- }(0, 1, 2));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named property of 'O' but not defined in [[ParameterMap]] of
+ 'O', and 'desc' is accessor descriptor, test 'name' is defined in
+ 'O' with all correct attribute values (10.6 [[DefineOwnProperty]]
+ step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ delete arguments[0];
+ function getFunc() {
+ return 10;
+ }
+ function setFunc(value) {
+ this.setVerifyHelpProp = value;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, setFunc, "setVerifyHelpProp", false, false);
+ }(0, 1, 2));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-303.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-303.js
index 37e9a795b..5850b689b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-303.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-303.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.6/15.2.3.6-4-303.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'name' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc1() {
- return 10;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc1,
- enumerable: true,
- configurable: true
- });
- function getFunc2() {
- return 20;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc2,
- enumerable: false,
- configurable: false
- });
- return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc2, 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', and 'desc' is accessor descriptor, test
+ updating multiple attribute values of 'name' (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc1() {
+ return 10;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc1,
+ enumerable: true,
+ configurable: true
+ });
+ function getFunc2() {
+ return 20;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc2,
+ enumerable: false,
+ configurable: false
+ });
+ return accessorPropertyAttributesAreCorrect(arguments, "0", getFunc2, undefined, undefined, false, false);
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-304.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-304.js
index f081c248e..9399edbf5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-304.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-304.js
@@ -1,23 +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.6/15.2.3.6-4-304.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named data property of 'O' but not defined in [[ParameterMap]] of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'name' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 20,
- writable: false,
- enumerable: false,
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arguments, "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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', and 'desc' is data descriptor, test
+ updating multiple attribute values of 'name' (10.6
+ [[DefineOwnProperty]] step 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 20,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "0", 20, false, false, false);
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-305.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-305.js
index db3bc6a4a..82d0a5a5d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-305.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-305.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.6/15.2.3.6-4-305.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Value]] attribute value of 'name' which is not writable and not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 0,
- writable: false,
- configurable: false
- });
-
- try {
- Object.defineProperty(arguments, "0", {
- value: 10
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, false, false);
- }
- 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Value]] attribute value of 'name' which is not writable and
+ not configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 0,
+ writable: false,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arguments, "0", {
+ value: 10
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, false, false);
+ }
+ return false;
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-306.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-306.js
index 4ee9f83ef..cf8aa78c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-306.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-306.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.6/15.2.3.6-4-306.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 0,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- writable: true
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, false, false);
- }
- 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Writable]] attribute value of 'name' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ writable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, false, false);
+ }
+ return false;
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-307.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-307.js
index 4efa25a10..2d294b1cd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-307.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-307.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.6/15.2.3.6-4-307.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 0,
- writable: false,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- enumerable: false
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, true, false);
- }
- 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Enumerable]] attribute value of 'name' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 0,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ enumerable: false
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, true, false);
+ }
+ return false;
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-308.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-308.js
index 2c7544b78..5f4d046d4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-308.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-308.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.6/15.2.3.6-4-308.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named data property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "0", {
- value: 0,
- writable: false,
- enumerable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, false, false);
- }
- 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named data property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Configurable]] attribute value of 'name' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "0", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError && dataPropertyAttributesAreCorrect(arguments, "0", 0, false, false, false);
+ }
+ return false;
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-309.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-309.js
index 457b3b191..faef520b6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-309.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-309.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.6/15.2.3.6-4-309.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Get]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc1() {
- return 0;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc1,
- enumerable: false,
- configurable: false
- });
- function getFunc2() {
- return 10;
- }
- try {
- Object.defineProperty(arguments, "0", {
- get: getFunc2
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc1, 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Get]] attribute value of 'name' which is not configurable
+ (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc1() {
+ return 0;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc1,
+ enumerable: false,
+ configurable: false
+ });
+ function getFunc2() {
+ return 10;
+ }
+ try {
+ Object.defineProperty(arguments, "0", {
+ get: getFunc2
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc1, undefined, undefined, false, false);
+ }
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-31.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-31.js
index 8b483c4ed..9d232b2fb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-31.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-31.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.6/15.2.3.6-4-31.js
- * @description Object.defineProperty - 'name' 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, "foo", {
- get: function () { },
- configurable: true
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
- Object.defineProperty(obj, "foo", {
- set: function () { },
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- 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.defineProperty - 'name' 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, "foo", {
+ get: function () { },
+ configurable: true
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+ Object.defineProperty(obj, "foo", {
+ set: function () { },
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ 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.6/15.2.3.6-4-310.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-310.js
index bc091eed1..88db4aa76 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-310.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-310.js
@@ -1,36 +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.6/15.2.3.6-4-310.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Set]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc() {
- return 0;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- function setFunc(value) {
- this.setVerifyHelpProp = value;
- }
- try {
- Object.defineProperty(arguments, "0", {
- set: setFunc
- });
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, false, false);
- }
- 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Set]] attribute value of 'name' which is not configurable
+ (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc() {
+ return 0;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ function setFunc(value) {
+ this.setVerifyHelpProp = value;
+ }
+ try {
+ Object.defineProperty(arguments, "0", {
+ set: setFunc
+ });
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, false, false);
+ }
+ return false;
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-311.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-311.js
index 996c38d98..bbe35a7fe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-311.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-311.js
@@ -1,32 +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.6/15.2.3.6-4-311.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Enumerable]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc() {
- return 0;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- enumerable: false
- });
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
- }
- 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Enumerable]] attribute value of 'name' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc() {
+ return 0;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ enumerable: false
+ });
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
+ }
+ return false;
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-312.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-312.js
index 783aa11ba..00455aa7a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-312.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-312.js
@@ -1,32 +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.6/15.2.3.6-4-312.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is an index named accessor property of 'O' but not defined in [[ParameterMap]] of 'O', test TypeError is thrown when updating the [[Configurable]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc() {
- return 0;
- }
- Object.defineProperty(arguments, "0", {
- get: getFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "0", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
- }
- 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.defineProperty - 'O' is an Arguments object, 'name' is an
+ index named accessor property of 'O' but not defined in
+ [[ParameterMap]] of 'O', test TypeError is thrown when updating
+ the [[Configurable]] attribute value of 'name' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc() {
+ return 0;
+ }
+ Object.defineProperty(arguments, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "0", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(arguments, "0", getFunc, undefined, undefined, true, false);
+ }
+ return false;
+ }());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313-1.js
index 0f5ded557..7e4e614e5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313-1.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.6/15.2.3.6-4-313-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is own property, and 'desc' is data descriptor, test 'P' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, true, true, true);
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is own property, 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() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, true, true, true);
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313.js
index 3d7e3a648..4d49be41c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-313.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.6/15.2.3.6-4-313.js
- * @description Object.defineProperty - '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 3)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, true, true, true);
- }(1, 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.defineProperty - '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 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, true, true, true);
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314-1.js
index cdfe740d4..78c61842e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314-1.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.6/15.2.3.6-4-314-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is property, and 'desc' is accessor descriptor, test 'P' is defined in 'O' with all correct attribute values (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- function getFunc() {
- return "getFunctionString";
- }
- function setFunc(value) {
- this.testgetFunction = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", true, true);
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is property, 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() {
+ return (function (a, b, c) {
+ function getFunc() {
+ return "getFunctionString";
+ }
+ function setFunc(value) {
+ this.testgetFunction = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", true, true);
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314.js
index 2e908fe8f..48e38245b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-314.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.6/15.2.3.6-4-314.js
- * @description Object.defineProperty - '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 3)
- */
-
-
-function testcase() {
- return (function () {
- function getFunc() {
- return "getFunctionString";
- }
- function setFunc(value) {
- this.testgetFunction = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", true, true);
- }(1, 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.defineProperty - '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 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ function getFunc() {
+ return "getFunctionString";
+ }
+ function setFunc(value) {
+ this.testgetFunction = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", true, true);
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315-1.js
index 0372ead5c..b11f9bc14 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315-1.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.6/15.2.3.6-4-315-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is own accessor property of 'O', and 'desc' is accessor descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "genericProperty", {
- get: function () {
- return 1001;
- },
- set: function (value) {
- this.testgetFunction1 = value;
- },
- enumerable: true,
- configurable: true
- });
- function getFunc() {
- return "getFunctionString";
- }
- function setFunc(value) {
- this.testgetFunction = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- var verifyFormal = c === 3;
- return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", false, false) && verifyFormal;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is own accessor property 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() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "genericProperty", {
+ get: function () {
+ return 1001;
+ },
+ set: function (value) {
+ this.testgetFunction1 = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ function getFunc() {
+ return "getFunctionString";
+ }
+ function setFunc(value) {
+ this.testgetFunction = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ var verifyFormal = c === 3;
+ return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", false, false) && verifyFormal;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315.js
index 1111a3dc7..d66106e55 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-315.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.6/15.2.3.6-4-315.js
- * @description Object.defineProperty - '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 3)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "genericProperty", {
- get: function () {
- return 1001;
- },
- set: function (value) {
- this.testgetFunction1 = value;
- },
- enumerable: true,
- configurable: true
- });
- function getFunc() {
- return "getFunctionString";
- }
- function setFunc(value) {
- this.testgetFunction = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", false, false);
- }(1, 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.defineProperty - '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 3)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "genericProperty", {
+ get: function () {
+ return 1001;
+ },
+ set: function (value) {
+ this.testgetFunction1 = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ function getFunc() {
+ return "getFunctionString";
+ }
+ function setFunc(value) {
+ this.testgetFunction = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ return accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "testgetFunction", false, false);
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316-1.js
index ad6280865..efc2e01e5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316-1.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.6/15.2.3.6-4-316-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is own data property of 'O', and 'desc' is data descriptor, test updating multiple attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(arguments, "genericProperty", {
- value: 1002,
- enumerable: false,
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1002, true, false, false);
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is own data property 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() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1002,
+ enumerable: false,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1002, true, false, false);
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316.js
index 053bf7ee6..7f71de0b9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-316.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.6/15.2.3.6-4-316.js
- * @description Object.defineProperty - '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 3)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(arguments, "genericProperty", {
- value: 1002,
- enumerable: false,
- configurable: false
- });
- return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1002, true, false, false);
- }(1, 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.defineProperty - '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 3)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1002,
+ enumerable: false,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1002, true, false, false);
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317-1.js
index a3d0f171e..3090c2e61 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317-1.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.6/15.2.3.6-4-317-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is 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() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1001,
- writable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1002
- });
- } catch (e) {
- var verifyFormal = b === 2;
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, false, false, false) && verifyFormal;
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is 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() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1001,
+ writable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1002
+ });
+ } catch (e) {
+ var verifyFormal = b === 2;
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, false, false, false) && verifyFormal;
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317.js
index 52eba6389..cd27c471d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-317.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.6/15.2.3.6-4-317.js
- * @description Object.defineProperty - '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() {
- return (function () {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1001,
- writable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- value: 1002
- });
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, false, false, false);
- }
- return false;
- }(1, 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.defineProperty - '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() {
+ return (function () {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1001,
+ writable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ value: 1002
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", 1001, false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318-1.js
index 243b44b1d..cb42327af 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318-1.js
@@ -1,29 +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.6/15.2.3.6-4-318-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'name' is own data property of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "genericProperty", {
- writable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- writable: true
- });
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'name' is own data property of 'O',
+ test TypeError is thrown when updating the [[Writable]] attribute
+ value of 'name' which is not configurable (10.6
+ [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "genericProperty", {
+ writable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ writable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318.js
index eecedbf9c..c4be13b99 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-318.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.6/15.2.3.6-4-318.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'name' is generic own data property of 'O', test TypeError is thrown when updating the [[Writable]] attribute value of 'name' which is not configurable (10.6 [[DefineOwnProperty]] step 4)
- */
-
-
-function testcase() {
- return (function () {
- Object.defineProperty(arguments, "genericProperty", {
- writable: false,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- writable: true
- });
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object, 'name' is
+ generic own data property of 'O', test TypeError is thrown when
+ updating the [[Writable]] attribute value of 'name' which is not
+ configurable (10.6 [[DefineOwnProperty]] step 4)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ return (function () {
+ Object.defineProperty(arguments, "genericProperty", {
+ writable: false,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ writable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319-1.js
index aa227169d..9f8e7d848 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319-1.js
@@ -1,29 +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.6/15.2.3.6-4-319-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is 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() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "genericProperty", {
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- enumerable: false
- });
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, true, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is 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() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "genericProperty", {
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ enumerable: false
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, true, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319.js
index f61da8784..307a9a100 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-319.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.6/15.2.3.6-4-319.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'P' is 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() {
- return (function () {
- Object.defineProperty(arguments, "genericProperty", {
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- enumerable: false
- });
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, true, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object, 'P' is 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() {
+ return (function () {
+ Object.defineProperty(arguments, "genericProperty", {
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ enumerable: false
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, true, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-32.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-32.js
index ae44cfbb8..817f8d5c4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-32.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-32.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.6/15.2.3.6-4-32.js
- * @description Object.defineProperty - 'name' is an inherited accessor property without a get function (8.12.9 step 1)
- */
-
-
-function testcase() {
- var proto = {};
- Object.defineProperty(proto, "foo", {
- set: function () { },
- configurable: false
- });
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var obj = new ConstructFun();
-
- Object.defineProperty(obj, "foo", {
- configurable: true
- });
- return obj.hasOwnProperty("foo") && typeof obj.foo === "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.defineProperty - 'name' is an inherited accessor property
+ without a get function (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+ Object.defineProperty(proto, "foo", {
+ set: function () { },
+ configurable: false
+ });
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+ var obj = new ConstructFun();
+
+ Object.defineProperty(obj, "foo", {
+ configurable: true
+ });
+ return obj.hasOwnProperty("foo") && typeof obj.foo === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320-1.js
index dcdfb3dca..839b9bf42 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320-1.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.6/15.2.3.6-4-320-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is 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() {
- return (function (a, b, c) {
- Object.defineProperty(arguments, "genericProperty", {
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is 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() {
+ return (function (a, b, c) {
+ Object.defineProperty(arguments, "genericProperty", {
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320.js
index 087e47b5d..34751fc45 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-320.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.6/15.2.3.6-4-320.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'P' is 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() {
- return (function () {
- Object.defineProperty(arguments, "genericProperty", {
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError &&
- dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object, 'P' is 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() {
+ return (function () {
+ Object.defineProperty(arguments, "genericProperty", {
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ dataPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321-1.js
index 33dfeb678..40b3edb9d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321-1.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.6/15.2.3.6-4-321-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is 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() {
- return (function (a, b, c) {
- function getFunc() {
- return "genericPropertyString";
- }
- function setFunc(value) {
- this.helpVerifyGet = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- get: function () {
- return "overideGenericPropertyString";
- }
- });
- } catch (e) {
- var verifyFormal = a === 1;
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "helpVerifyGet", false, false, false) && verifyFormal;
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is 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() {
+ return (function (a, b, c) {
+ function getFunc() {
+ return "genericPropertyString";
+ }
+ function setFunc(value) {
+ this.helpVerifyGet = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ get: function () {
+ return "overideGenericPropertyString";
+ }
+ });
+ } catch (e) {
+ var verifyFormal = a === 1;
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "helpVerifyGet", false, false, false) && verifyFormal;
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321.js
index 5e4bb609e..2d21355c8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-321.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.6/15.2.3.6-4-321.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'P' is 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() {
- return (function () {
- function getFunc() {
- return "genericPropertyString";
- }
- function setFunc(value) {
- this.helpVerifyGet = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- get: function () {
- return "overideGenericPropertyString";
- }
- });
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "helpVerifyGet", false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object, 'P' is 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() {
+ return (function () {
+ function getFunc() {
+ return "genericPropertyString";
+ }
+ function setFunc(value) {
+ this.helpVerifyGet = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ get: function () {
+ return "overideGenericPropertyString";
+ }
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", getFunc, setFunc, "helpVerifyGet", false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322-1.js
index e17fb4008..a5da96d63 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322-1.js
@@ -1,34 +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.6/15.2.3.6-4-322-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is 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() {
- return (function (a, b, c) {
- function setFunc(value) {
- this.genericPropertyString = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- set: setFunc,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- set: function (value) {
- this.genericPropertyString1 = value;
- }
- });
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is 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() {
+ return (function (a, b, c) {
+ function setFunc(value) {
+ this.genericPropertyString = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ set: setFunc,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ set: function (value) {
+ this.genericPropertyString1 = value;
+ }
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322.js
index 61e8254e3..eb2f20d2b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-322.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.6/15.2.3.6-4-322.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'P' is 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() {
- return (function () {
- function setFunc(value) {
- this.genericPropertyString = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- set: setFunc,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- set: function (value) {
- this.genericPropertyString1 = value;
- }
- });
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object, 'P' is 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() {
+ return (function () {
+ function setFunc(value) {
+ this.genericPropertyString = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ set: setFunc,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ set: function (value) {
+ this.genericPropertyString1 = value;
+ }
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323-1.js
index 248c8424d..12553b2fc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323-1.js
@@ -1,34 +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.6/15.2.3.6-4-323-1.js
- * @description Object.defineProperty - ''O' is an Arguments object of a function that has formal parameters, 'P' is 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() {
- return (function (a, b, c) {
- function setFunc(value) {
- this.genericPropertyString = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- enumerable: false
- });
- } catch (e) {
- verifyFormal = c === 3;
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", true, false) && verifyFormal;
- }
- return false;
- }(1, 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.defineProperty - ''O' is an Arguments object of a function
+ that has formal parameters, 'P' is 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() {
+ return (function (a, b, c) {
+ function setFunc(value) {
+ this.genericPropertyString = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ enumerable: false
+ });
+ } catch (e) {
+ verifyFormal = c === 3;
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", true, false) && verifyFormal;
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323.js
index 4460ba4f4..1c293ffec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-323.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.6/15.2.3.6-4-323.js
- * @description Object.defineProperty - ''O' is an Arguments object, 'P' is 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() {
- return (function () {
- function setFunc(value) {
- this.genericPropertyString = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- enumerable: false
- });
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", true, false);
- }
- return false;
- }(1, 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.defineProperty - ''O' is an Arguments object, 'P' is 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() {
+ return (function () {
+ function setFunc(value) {
+ this.genericPropertyString = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ enumerable: false
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", true, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324-1.js
index 40a2ba391..e2c92e883 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324-1.js
@@ -1,32 +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.6/15.2.3.6-4-324-1.js
- * @description Object.defineProperty - 'O' is an Arguments object of a function that has formal parameters, 'P' is 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() {
- return (function (a, b, c) {
- function setFunc(value) {
- this.genericPropertyString = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- set: setFunc,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object of a function
+ that has formal parameters, 'P' is 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() {
+ return (function (a, b, c) {
+ function setFunc(value) {
+ this.genericPropertyString = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ set: setFunc,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324.js
index ace0cc359..5369fa94e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-324.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.6/15.2.3.6-4-324.js
- * @description Object.defineProperty - 'O' is an Arguments object, 'P' is 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() {
- return (function () {
- function setFunc(value) {
- this.genericPropertyString = value;
- }
- Object.defineProperty(arguments, "genericProperty", {
- set: setFunc,
- configurable: false
- });
- try {
- Object.defineProperty(arguments, "genericProperty", {
- configurable: true
- });
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
- }
- return false;
- }(1, 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.defineProperty - 'O' is an Arguments object, 'P' is 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() {
+ return (function () {
+ function setFunc(value) {
+ this.genericPropertyString = value;
+ }
+ Object.defineProperty(arguments, "genericProperty", {
+ set: setFunc,
+ configurable: false
+ });
+ try {
+ Object.defineProperty(arguments, "genericProperty", {
+ configurable: true
+ });
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(arguments, "genericProperty", undefined, setFunc, "genericPropertyString", false, false, false);
+ }
+ return false;
+ }(1, 2, 3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325-1.js
index 51903691d..a5a23671a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325-1.js
@@ -1,25 +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.6/15.2.3.6-4-325-1.js
- * @description Object.defineProperty - 'O' is an Arguments object which created with function take formal parameters, '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 argObj = (function (a, b, c) { return arguments; })(1, 2, 3);
- var accessed = false;
-
- Object.defineProperty(argObj, 0, {
- get: function () {
- accessed = true;
- return 12;
- }
- });
-
- return argObj[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.defineProperty - 'O' is an Arguments object which created
+ with function take formal parameters, '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 argObj = (function (a, b, c) { return arguments; })(1, 2, 3);
+ var accessed = false;
+
+ Object.defineProperty(argObj, 0, {
+ get: function () {
+ accessed = true;
+ return 12;
+ }
+ });
+
+ return argObj[0] === 12 && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325.js
index 1344a6de0..fd818f8ad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-325.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.6/15.2.3.6-4-325.js
- * @description Object.defineProperty - '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 argObj = (function () { return arguments; })(1, 2, 3);
- var accessed = false;
-
- Object.defineProperty(argObj, 0, {
- get: function () {
- accessed = true;
- return 12;
- }
- });
-
- return argObj[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.defineProperty - '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 argObj = (function () { return arguments; })(1, 2, 3);
+ var accessed = false;
+
+ Object.defineProperty(argObj, 0, {
+ get: function () {
+ accessed = true;
+ return 12;
+ }
+ });
+
+ return argObj[0] === 12 && accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-326.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-326.js
index 58f34d27e..1d1411a61 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-326.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-326.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.6/15.2.3.6-4-326.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is true) is writable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ true, [[Configurable]] is true) is writable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-327.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-327.js
index 9744d363b..905248074 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-327.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-327.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.6/15.2.3.6-4-327.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is true) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var property in obj) {
- if (property === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
- 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ true, [[Configurable]] is true) is enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var property in obj) {
+ if (property === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-328.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-328.js
index b35c10923..bdb60b1ee 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-328.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-328.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.6/15.2.3.6-4-328.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && !afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ true, [[Configurable]] is true) is deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && !afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-329.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-329.js
index 1f69125fc..3d7f5c0c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-329.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-329.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.6/15.2.3.6-4-329.js
- * @description ES5 Attributes - success to update [[Writable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- writable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === 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: >
+ ES5 Attributes - success to update [[Writable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is true,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ writable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-33.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-33.js
index abf1f33b9..6cc764181 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-33.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-33.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.6/15.2.3.6-4-33.js
- * @description Object.defineProperty - 'O' is a Function object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var fun = function () { };
-
- Object.defineProperty(fun, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(fun, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && fun.foo === 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.defineProperty - 'O' is a Function object that uses
+ Object's [[GetOwnProperty]] method to access the 'name' property
+ (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var fun = function () { };
+
+ Object.defineProperty(fun, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(fun, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && fun.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-330.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-330.js
index a39bafb51..a9c0fb626 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-330.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-330.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.6/15.2.3.6-4-330.js
- * @description ES5 Attributes - success to update [[enumerable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.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: >
+ ES5 Attributes - success to update [[enumerable]] attribute of
+ data property ([[Writable]] is true, [[Enumerable]] is true,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-331.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-331.js
index 13e3d120e..246011e82 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-331.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-331.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.6/15.2.3.6-4-331.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ data property ([[Writable]] is true, [[Enumerable]] is true,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-332.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-332.js
index 2ad2a0e0a..9dcd55d7a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-332.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-332.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.6/15.2.3.6-4-332.js
- * @description ES5 Attributes - success to update the data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is true) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("value") && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - success to update the data property ([[Writable]]
+ is true, [[Enumerable]] is true, [[Configurable]] is true) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("value") && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-1.js
index 536e5ffad..73eec8fb8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-1.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.6/15.2.3.6-4-333-1.js
- * @description Object.defineProperty will update [[Value]] attribute of named property 'P' successfully when [[Configurable]] attribute is false, [[Writable]] attribute is true and 'O' is an Object object (8.12.9 - step 10)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: true,
- configurable: false
- });
-
- Object.defineProperty(obj, "property", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", 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.defineProperty will update [[Value]] attribute of named
+ property 'P' successfully when [[Configurable]] attribute is
+ false, [[Writable]] attribute is true and 'O' is an Object object
+ (8.12.9 - step 10)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: true,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "property", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", 1002, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-10.js
index 22dd9bb40..5160343df 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-10.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.6/15.2.3.6-4-333-10.js
- * @description ES5 Attributes - indexed data property 'P' with attributes [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false is writable using simple assignment, 'O' is an Arguments object
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var verifyValue = (obj[0] === 2010);
- obj[0] = 1001;
-
- return verifyValue && obj[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: >
+ ES5 Attributes - indexed data property 'P' with attributes
+ [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false
+ is writable using simple assignment, 'O' is an Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var verifyValue = (obj[0] === 2010);
+ obj[0] = 1001;
+
+ return verifyValue && obj[0] === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-11.js
index b06989f7e..d5d8a175c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-11.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.6/15.2.3.6-4-333-11.js
- * @description ES5 Attributes - indexed property 'P' with attributes [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false is writable using simple assignment, 'O' is an Arguments object
- */
-
-
-function testcase() {
- var obj = (function (x) {
- return arguments;
- }(1001));
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var verifyValue = (obj[0] === 2010);
-
- return 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: >
+ ES5 Attributes - indexed property 'P' with attributes
+ [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false
+ is writable using simple assignment, 'O' is an Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function (x) {
+ return arguments;
+ }(1001));
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var verifyValue = (obj[0] === 2010);
+
+ return verifyValue;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-2.js
index 516b2b075..4a2977475 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-2.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.6/15.2.3.6-4-333-2.js
- * @description Object.defineProperty will update [[Value]] attribute of indexed property 'P' successfully when [[Configurable]] attribute is false, [[Writable]] attribute is true and 'A' is an Array object (8.12.9 - step 10)
- */
-
-
-function testcase() {
-
- var obj = [];
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- configurable: false
- });
-
- Object.defineProperty(obj, "0", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 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.defineProperty will update [[Value]] attribute of indexed
+ property 'P' successfully when [[Configurable]] attribute is
+ false, [[Writable]] attribute is true and 'A' is an Array object
+ (8.12.9 - step 10)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = [];
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "0", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1002, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-3.js
index 333904687..390d42ef3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-3.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.6/15.2.3.6-4-333-3.js
- * @description Object.defineProperty will update [[Value]] attribute of named property 'P' successfully when [[Configurable]] attribute is false, [[Writable]] attribute is true and 'O' is an Arguments object (8.12.9 - step 10)
- */
-
-
-function testcase() {
-
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: true,
- configurable: false
- });
-
- Object.defineProperty(obj, "property", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", 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.defineProperty will update [[Value]] attribute of named
+ property 'P' successfully when [[Configurable]] attribute is
+ false, [[Writable]] attribute is true and 'O' is an Arguments
+ object (8.12.9 - step 10)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: true,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "property", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", 1002, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-4.js
index 636de4017..067cb35d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-4.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.6/15.2.3.6-4-333-4.js
- * @description Indexed property 'P' with attributes [[Writable]]: true, [[Enumerable]]:true, [[Configurable]]:false is writable using simple assignment, 'A' is an Array Object
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var verifyValue = (obj[0] === 2010);
- obj[0] = 1001;
-
- return verifyValue && obj[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: >
+ Indexed property 'P' with attributes [[Writable]]: true,
+ [[Enumerable]]:true, [[Configurable]]:false is writable using
+ simple assignment, 'A' is an Array Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var verifyValue = (obj[0] === 2010);
+ obj[0] = 1001;
+
+ return verifyValue && obj[0] === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-5.js
index 6423d07b2..fcd4f14cd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-5.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.6/15.2.3.6-4-333-5.js
- * @description ES5 Attributes - named data property 'P' with attributes [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false is writable using simple assignment, 'O' is an Arguments object
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var verifyValue = (obj.prop === 2010);
- obj.prop = 1001;
-
- return verifyValue && 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: >
+ ES5 Attributes - named data property 'P' with attributes
+ [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false
+ is writable using simple assignment, 'O' is an Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var verifyValue = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return verifyValue && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-6.js
index 53eb04657..c81692eb1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-6.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.6/15.2.3.6-4-333-6.js
- * @description Object.defineProperty will update [[Value]] attribute of indexed property 'P' successfully when [[Configurable]] attribute is false, [[Writable]] attribute is true and 'O' is an Object object (8.12.9 - step 10)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- configurable: false
- });
-
- Object.defineProperty(obj, "0", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 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.defineProperty will update [[Value]] attribute of indexed
+ property 'P' successfully when [[Configurable]] attribute is
+ false, [[Writable]] attribute is true and 'O' is an Object object
+ (8.12.9 - step 10)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "0", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1002, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-7.js
index eb2601b50..f53da4129 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-7.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.6/15.2.3.6-4-333-7.js
- * @description Object.defineProperty will update [[Value]] attribute of named property 'P' successfully when [[Configurable]] attribute is false, [[Writable]] attribute is true and 'A' is an Array object (8.12.9 - step 10)
- */
-
-
-function testcase() {
-
- var obj = [];
-
- Object.defineProperty(obj, "prop", {
- value: 1001,
- writable: true,
- configurable: false
- });
-
- Object.defineProperty(obj, "prop", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "prop", 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.defineProperty will update [[Value]] attribute of named
+ property 'P' successfully when [[Configurable]] attribute is
+ false, [[Writable]] attribute is true and 'A' is an Array object
+ (8.12.9 - step 10)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = [];
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001,
+ writable: true,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "prop", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "prop", 1002, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-8.js
index cf0108a0f..d63e2f22e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-8.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.6/15.2.3.6-4-333-8.js
- * @description Object.defineProperty will update [[Value]] attribute of indexed property 'P'successfully when [[Configurable]] attribute is false, [[Writable]] attribute is true and 'O' is an Arguments object (8.12.9 - step 10)
- */
-
-
-function testcase() {
-
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- configurable: false
- });
-
- Object.defineProperty(obj, "0", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 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.defineProperty will update [[Value]] attribute of indexed
+ property 'P'successfully when [[Configurable]] attribute is false,
+ [[Writable]] attribute is true and 'O' is an Arguments object
+ (8.12.9 - step 10)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "0", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1002, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-9.js
index b75499917..8a51d908b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333-9.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.6/15.2.3.6-4-333-9.js
- * @description Object.defineProperty - Named property 'P' with attributes [[Writable]]: true, [[Enumerable]]:true, [[Configurable]]:false is writable using simple assignment, 'A' is an Array Object
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var verifyValue = (obj.prop === 2010);
- obj.prop = 1001;
-
- return verifyValue && 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.defineProperty - Named property 'P' with attributes
+ [[Writable]]: true, [[Enumerable]]:true, [[Configurable]]:false is
+ writable using simple assignment, 'A' is an Array Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var verifyValue = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return verifyValue && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333.js
index e71c0b5a4..fe138e2cd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-333.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.6/15.2.3.6-4-333.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is false) is writable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ true, [[Configurable]] is false) is writable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-334.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-334.js
index 8ea03a547..6d1983353 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-334.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-334.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.6/15.2.3.6-4-334.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is false) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
- 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ true, [[Configurable]] is false) is enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-335.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-335.js
index a3ce649ff..4f140fb71 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-335.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-335.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.6/15.2.3.6-4-335.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && obj.prop === 2010 && afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ true, [[Configurable]] is false) is undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && obj.prop === 2010 && afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-336.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-336.js
index 3f97068a5..4848014e8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-336.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-336.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.6/15.2.3.6-4-336.js
- * @description ES5 Attributes - Success to update [[Writable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- writable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === 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: >
+ ES5 Attributes - Success to update [[Writable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is true,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ writable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-337.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-337.js
index c15047650..d8390152d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-337.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-337.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.6/15.2.3.6-4-337.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.enumerable === true && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is true,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.enumerable === true && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-338.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-338.js
index 65966ce54..6dece105f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-338.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-338.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.6/15.2.3.6-4-338.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is true,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-1.js
index 2b5e0248e..da7ad464f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-1.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.6/15.2.3.6-4-339-1.js
- * @description Object.defineProperty - Updating indexed data property 'P' with attributes [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false to an accessor property does not succeed, 'A' is an Array object (8.12.9 - step 9.a)
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("0");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "0", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
- return propertyDefineCorrect && desc1.value === 2010 && obj[0] === 2010 && typeof desc2.get === "undefined" && 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.defineProperty - Updating indexed data property 'P' with
+ attributes [[Writable]]: true, [[Enumerable]]: true,
+ [[Configurable]]: false to an accessor property does not succeed,
+ 'A' is an Array object (8.12.9 - step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("0");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "0", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+ return propertyDefineCorrect && desc1.value === 2010 && obj[0] === 2010 && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-2.js
index af39eeb95..9dc9c5221 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-2.js
@@ -1,39 +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.6/15.2.3.6-4-339-2.js
- * @description Object.defineProperty - Updating named data property 'P' with attributes [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false to an accessor property does not succeed, 'O' is an Arguments object (8.12.9 - step 9.a)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && 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.defineProperty - Updating named data property 'P' with
+ attributes [[Writable]]: true, [[Enumerable]]: true,
+ [[Configurable]]: false to an accessor property does not succeed,
+ 'O' is an Arguments object (8.12.9 - step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-3.js
index cb69eb5c6..5a8e8c1a5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-3.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.6/15.2.3.6-4-339-3.js
- * @description Object.defineProperty - Updating named data property 'P' with attributes [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false to an accessor property does not succeed, 'A' is an Array object (8.12.9 - step 9.a)
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 &&
- typeof desc2.get === "undefined" && 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.defineProperty - Updating named data property 'P' with
+ attributes [[Writable]]: true, [[Enumerable]]: true,
+ [[Configurable]]: false to an accessor property does not succeed,
+ 'A' is an Array object (8.12.9 - step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 &&
+ typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-4.js
index e1da377ac..14e470910 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339-4.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.6/15.2.3.6-4-339-4.js
- * @description Object.defineProperty - Updating indexed data property 'P' with attributes [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false to an accessor property does not succeed, 'O' is an Arguments object (8.12.9 - step 9.a)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("0");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "0", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
- return propertyDefineCorrect && desc1.value === 2010 && obj[0] === 2010 &&
- typeof desc2.get === "undefined" && 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.defineProperty - Updating indexed data property 'P' with
+ attributes [[Writable]]: true, [[Enumerable]]: true,
+ [[Configurable]]: false to an accessor property does not succeed,
+ 'O' is an Arguments object (8.12.9 - step 9.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("0");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "0", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+ return propertyDefineCorrect && desc1.value === 2010 && obj[0] === 2010 &&
+ typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339.js
index c0ef34045..1ec8f4a8c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-339.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.6/15.2.3.6-4-339.js
- * @description ES5 Attributes - fail to update the data property ([[Writable]] is true, [[Enumerable]] is true, [[Configurable]] is false) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update the data property ([[Writable]] is
+ true, [[Enumerable]] is true, [[Configurable]] is false) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-34.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-34.js
index f4fadb92d..7f2f4e49f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-34.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-34.js
- * @description Object.defineProperty - 'O' is an Array object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var arrObj = [];
-
- Object.defineProperty(arrObj, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(arrObj, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && arrObj.foo === 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.defineProperty - 'O' is an Array object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ Object.defineProperty(arrObj, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(arrObj, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && arrObj.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-340.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-340.js
index ac7d57c89..9e1eb9c99 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-340.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-340.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.6/15.2.3.6-4-340.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is true) is writable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ false, [[Configurable]] is true) is writable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-341.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-341.js
index a7445fe7e..f80f461e9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-341.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-341.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.6/15.2.3.6-4-341.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is true) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ false, [[Configurable]] is true) is non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-342.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-342.js
index c2a330147..06b692b7e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-342.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-342.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.6/15.2.3.6-4-342.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: true
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && !afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ false, [[Configurable]] is true) is deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && !afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-343.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-343.js
index b3225b1d7..c47e932ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-343.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-343.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.6/15.2.3.6-4-343.js
- * @description ES5 Attributes - success to update [[Writable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- writable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === 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: >
+ ES5 Attributes - success to update [[Writable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is false,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ writable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-344.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-344.js
index 47166a236..b2d712ca7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-344.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-344.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.6/15.2.3.6-4-344.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === 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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ data property ([[Writable]] is true, [[Enumerable]] is false,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-345.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-345.js
index ae7e977df..2e4830697 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-345.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-345.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.6/15.2.3.6-4-345.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ data property ([[Writable]] is true, [[Enumerable]] is false,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-346.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-346.js
index 99f4d2147..aa2f69dd2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-346.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-346.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.6/15.2.3.6-4-346.js
- * @description ES5 Attributes - success to update the data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is true) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the data property ([[Writable]]
+ is true, [[Enumerable]] is false, [[Configurable]] is true) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-347.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-347.js
index 8fba4b6aa..74e8c3776 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-347.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-347.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.6/15.2.3.6-4-347.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is false) is writable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ false, [[Configurable]] is false) is writable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-348.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-348.js
index aabfe152f..c0776646a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-348.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-348.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.6/15.2.3.6-4-348.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is false) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ false, [[Configurable]] is false) is non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-349.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-349.js
index d8371797d..57f3b621f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-349.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-349.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.6/15.2.3.6-4-349.js
- * @description ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && obj.prop === 2010 && afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is true, [[Enumerable]] is
+ false, [[Configurable]] is false) is undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && obj.prop === 2010 && afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-35.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-35.js
index 03dcaee63..e6293d71e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-35.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-35.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.6/15.2.3.6-4-35.js
- * @description Object.defineProperty - 'O' is a String object which implements its own [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var str = new String("abc");
-
- Object.defineProperty(str, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(str, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && str.foo === 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.defineProperty - 'O' is a String object which implements
+ its own [[GetOwnProperty]] method to access the 'name' property
+ (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var str = new String("abc");
+
+ Object.defineProperty(str, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(str, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && str.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-350.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-350.js
index 81ef7f509..1a200b8eb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-350.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-350.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.6/15.2.3.6-4-350.js
- * @description ES5 Attributes - fail to update [[Writable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- writable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === 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: >
+ ES5 Attributes - fail to update [[Writable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is false,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ writable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === true && obj.prop === 2010 && desc2.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-351.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-351.js
index 201db8d9b..68da11cc8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-351.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-351.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.6/15.2.3.6-4-351.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === false && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is false,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-352.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-352.js
index 65055f44b..91db10bc9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-352.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-352.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.6/15.2.3.6-4-352.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of data
+ property ([[Writable]] is true, [[Enumerable]] is false,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-353.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-353.js
index cb519c559..c37ea3aee 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-353.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-353.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.6/15.2.3.6-4-353.js
- * @description ES5 Attributes - fail to update the data property ([[Writable]] is true, [[Enumerable]] is false, [[Configurable]] is false) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update the data property ([[Writable]] is
+ true, [[Enumerable]] is false, [[Configurable]] is false) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-1.js
index 35f0f92b0..6b497b003 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-1.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.6/15.2.3.6-4-354-1.js
- * @description Object.defineProperty will update [[Value]] attribute of named property 'P' successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'O' is an Object object (8.12.9 step - Note)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "property", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", 1002, 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.defineProperty will update [[Value]] attribute of named
+ property 'P' successfully when [[Configurable]] attribute is true
+ and [[Writable]] attribute is false, 'O' is an Object object
+ (8.12.9 step - Note)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "property", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", 1002, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-10.js
index 7e122baaf..ff5f79070 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-10.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.6/15.2.3.6-4-354-10.js
- * @description Object.defineProperty will update [[Value]] attribute of indexed property 'P' successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'O' is an Object object (8.12.9 step - Note)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1002, 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.defineProperty will update [[Value]] attribute of indexed
+ property 'P' successfully when [[Configurable]] attribute is true
+ and [[Writable]] attribute is false, 'O' is an Object object
+ (8.12.9 step - Note)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1002, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-11.js
index d12a2fdad..9ec653795 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-11.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.6/15.2.3.6-4-354-11.js
- * @description Object.defineProperty will update [[Value]] attribute of named property 'P' successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'A' is an Array object (8.12.9 step - Note)
- */
-
-
-function testcase() {
-
- var obj = [];
-
- Object.defineProperty(obj, "prop", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "prop", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "prop", 1002, 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.defineProperty will update [[Value]] attribute of named
+ property 'P' successfully when [[Configurable]] attribute is true
+ and [[Writable]] attribute is false, 'A' is an Array object
+ (8.12.9 step - Note)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = [];
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "prop", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "prop", 1002, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-12.js
index 59ccc3446..6c497fdae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-12.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.6/15.2.3.6-4-354-12.js
- * @description Object.defineProperty will update [[Value]] attribute of indexed property successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'O' is an Arguments object (8.12.9 - step Note)
- */
-
-
-function testcase() {
-
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1002, 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.defineProperty will update [[Value]] attribute of indexed
+ property successfully when [[Configurable]] attribute is true and
+ [[Writable]] attribute is false, 'O' is an Arguments object
+ (8.12.9 - step Note)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1002, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-13.js
index ee2857e8e..10bca4e68 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-13.js
@@ -1,32 +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.6/15.2.3.6-4-354-13.js
- * @description Object.defineProperty will update [[Value]] attribute of indexed property successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'O' is the global object (8.12.9 - step Note)
- */
-
-
-function testcase() {
-
- var obj = fnGlobalObject();
-
- try {
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1002, false, false, true);
- } finally {
- delete obj[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.defineProperty will update [[Value]] attribute of indexed
+ property successfully when [[Configurable]] attribute is true and
+ [[Writable]] attribute is false, 'O' is the global object (8.12.9
+ - step Note)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = fnGlobalObject();
+
+ try {
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1002, false, false, true);
+ } finally {
+ delete obj[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-15.js
index 8282ab37d..3f0e94fad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-15.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.6/15.2.3.6-4-354-15.js
- * @description Object.defineProperty - Named property 'P' with attributes [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true is non-writable using simple assignment, 'A' is an Array object
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var verifyValue = (obj.prop === 2010);
- obj.prop = 1001;
-
- return verifyValue && obj.prop === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - Named property 'P' with attributes
+ [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true
+ is non-writable using simple assignment, 'A' is an Array object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var verifyValue = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return verifyValue && obj.prop === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-16.js
index fccecd3f2..50401f134 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-16.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.6/15.2.3.6-4-354-16.js
- * @description ES5 Attributes - property 'P' is an indexed data property with attributes [[Writable]]: false, [[Enumerable]]: true, [[Configurable]] : true) is non-writable using simple assignment, 'O' is an Arguments object
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var valueVerify = (obj[0] === 2010);
- obj[0] = 1001;
-
- return valueVerify && obj[0] === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property 'P' is an indexed data property with
+ attributes [[Writable]]: false, [[Enumerable]]: true,
+ [[Configurable]] : true) is non-writable using simple assignment,
+ 'O' is an Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var valueVerify = (obj[0] === 2010);
+ obj[0] = 1001;
+
+ return valueVerify && obj[0] === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-2.js
index 3b0f07a32..e53b6128e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-2.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.6/15.2.3.6-4-354-2.js
- * @description Object.defineProperty will update [[Value]] attribute of indexed property 'P' successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'A' is an Array object (8.12.9 step - Note)
- */
-
-
-function testcase() {
-
- var obj = [];
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1002, 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.defineProperty will update [[Value]] attribute of indexed
+ property 'P' successfully when [[Configurable]] attribute is true
+ and [[Writable]] attribute is false, 'A' is an Array object
+ (8.12.9 step - Note)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = [];
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1002, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-3.js
index d58fe5130..80830429c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-3.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.6/15.2.3.6-4-354-3.js
- * @description Object.defineProperty will update [[Value]] attribute successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'O' is an Arguments object (8.12.9 - step Note)
- */
-
-
-function testcase() {
-
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "property", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", 1002, 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.defineProperty will update [[Value]] attribute successfully
+ when [[Configurable]] attribute is true and [[Writable]] attribute
+ is false, 'O' is an Arguments object (8.12.9 - step Note)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "property", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", 1002, false, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-4.js
index 0c85c0e3a..c972d3ba9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-4.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.6/15.2.3.6-4-354-4.js
- * @description Object.defineProperty will update [[Value]] attribute successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false, 'O' is the global object (8.12.9 - step Note)
- */
-
-
-function testcase() {
-
- var obj = fnGlobalObject();
-
- try {
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "property", {
- value: 1002
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", 1002, false, false, true);
- } finally {
- delete obj.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.defineProperty will update [[Value]] attribute successfully
+ when [[Configurable]] attribute is true and [[Writable]] attribute
+ is false, 'O' is the global object (8.12.9 - step Note)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = fnGlobalObject();
+
+ try {
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "property", {
+ value: 1002
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", 1002, false, false, true);
+ } finally {
+ delete obj.property;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-6.js
index 5d5d53a26..1f5ae74b9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-6.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.6/15.2.3.6-4-354-6.js
- * @description Object.defineProperty - Indexed property 'P' with attributes [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true is non-writable using simple assignment, 'A' is an Array object
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var verifyValue = (obj[0] === 2010);
- obj[0] = 1001;
-
- return verifyValue && obj[0] === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - Indexed property 'P' with attributes
+ [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true
+ is non-writable using simple assignment, 'A' is an Array object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var verifyValue = (obj[0] === 2010);
+ obj[0] = 1001;
+
+ return verifyValue && obj[0] === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-7.js
index 79bb324df..39fa38a0c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-7.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.6/15.2.3.6-4-354-7.js
- * @description ES5 Attributes - property 'P' with attributes [[Writable]]: false, [[Enumerable]]: true, [[Configurable]] : true) is non-writable using simple assignment, 'O' is an Arguments object
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var valueVerify = (obj.prop === 2010);
- obj.prop = 1001;
-
- return valueVerify && obj.prop === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property 'P' with attributes [[Writable]]: false,
+ [[Enumerable]]: true, [[Configurable]] : true) is non-writable
+ using simple assignment, 'O' is an Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var valueVerify = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return valueVerify && obj.prop === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-8.js
index 26b64becd..3254ab63f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354-8.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.6/15.2.3.6-4-354-8.js
- * @description ES5 Attributes - property 'P' with attributes [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true is non-writable using simple assignment, 'O' is the global object
- */
-
-
-function testcase() {
- var obj = fnGlobalObject();
- try {
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var valueVerify = (obj.prop === 2010);
- obj.prop = 1001;
-
- return valueVerify && obj.prop === 2010;
- } finally {
- delete obj.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: >
+ ES5 Attributes - property 'P' with attributes [[Writable]]: false,
+ [[Enumerable]]: true, [[Configurable]]: true is non-writable using
+ simple assignment, 'O' is the global object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = fnGlobalObject();
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var valueVerify = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return valueVerify && obj.prop === 2010;
+ } finally {
+ delete obj.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354.js
index 066b53dda..4638b8c6a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-354.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.6/15.2.3.6-4-354.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is true) is unwritable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && obj.prop === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is true, [[Configurable]] is true) is unwritable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-355.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-355.js
index 49651751b..fd1251072 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-355.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-355.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.6/15.2.3.6-4-355.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is true) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var property in obj) {
- if (property === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
- 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: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is true, [[Configurable]] is true) is enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var property in obj) {
+ if (property === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-356.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-356.js
index aeab7d056..326ad3e58 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-356.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-356.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.6/15.2.3.6-4-356.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && !afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is true, [[Configurable]] is true) is deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && !afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-357.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-357.js
index 314041db0..803fbe020 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-357.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-357.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.6/15.2.3.6-4-357.js
- * @description ES5 Attributes - success to update [[Writable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- writable: true
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === 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: >
+ ES5 Attributes - success to update [[Writable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is true,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ writable: true
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-358.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-358.js
index f9c9476f4..cadb747ba 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-358.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-358.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.6/15.2.3.6-4-358.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ data property ([[Writable]] is false, [[Enumerable]] is true,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-359.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-359.js
index abbeafe1a..6eb73b31a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-359.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-359.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.6/15.2.3.6-4-359.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ data property ([[Writable]] is false, [[Enumerable]] is true,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-36.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-36.js
index 79e13efc5..dfe8a46c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-36.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-36.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.6/15.2.3.6-4-36.js
- * @description Object.defineProperty - 'O' is a Boolean object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var obj = new Boolean(true);
-
- Object.defineProperty(obj, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && obj.foo === 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.defineProperty - 'O' is a Boolean object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = new Boolean(true);
+
+ Object.defineProperty(obj, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && obj.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-1.js
index cab503bd1..20ee2e3a0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-1.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.6/15.2.3.6-4-360-1.js
- * @description ES5 Attributes - Updating indexed data property 'P' whose attributes are [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true to an accessor property, 'A' is an Array object (8.12.9 - step 9.b.i)
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "0", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
- desc2.enumerable === true && desc2.configurable === true &&
- obj[0] === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating indexed data property 'P' whose
+ attributes are [[Writable]]: false, [[Enumerable]]: true,
+ [[Configurable]]: true to an accessor property, 'A' is an Array
+ object (8.12.9 - step 9.b.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "0", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
+ desc2.enumerable === true && desc2.configurable === true &&
+ obj[0] === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-2.js
index b224166b9..e3a5469ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-2.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.6/15.2.3.6-4-360-2.js
- * @description ES5 Attributes - Updating data property 'P' whose attributes are [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true to an accessor property, 'O' is an Arguments object (8.12.9 - step 9.b.i)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
- desc2.enumerable === true && desc2.configurable === true &&
- obj.prop === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating data property 'P' whose attributes are
+ [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true
+ to an accessor property, 'O' is an Arguments object (8.12.9 - step
+ 9.b.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
+ desc2.enumerable === true && desc2.configurable === true &&
+ obj.prop === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-3.js
index f13a84ab7..c859a8aa5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-3.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.6/15.2.3.6-4-360-3.js
- * @description ES5 Attributes - Updating data property 'P' whose attributes are [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true to an accessor property, 'O' is the global object (8.12.9 - step 9.b.i)
- */
-
-
-function testcase() {
- var obj = fnGlobalObject();
- try {
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
- desc2.enumerable === true && desc2.configurable === true &&
- obj.prop === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
- } finally {
- delete obj.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: >
+ ES5 Attributes - Updating data property 'P' whose attributes are
+ [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true
+ to an accessor property, 'O' is the global object (8.12.9 - step
+ 9.b.i)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = fnGlobalObject();
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
+ desc2.enumerable === true && desc2.configurable === true &&
+ obj.prop === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
+ } finally {
+ delete obj.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-5.js
index d471e6681..cf60f0f00 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-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.6/15.2.3.6-4-360-5.js
- * @description ES5 Attributes - Updating named data property 'P' whose attributes are [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true to an accessor property, 'A' is an Array object (8.12.9 - step 9.b.i)
- */
-
-
-function testcase() {
- var obj = [];
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
- desc2.enumerable === true && desc2.configurable === true &&
- obj.prop === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating named data property 'P' whose attributes
+ are [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]:
+ true to an accessor property, 'A' is an Array object (8.12.9 -
+ step 9.b.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
+ desc2.enumerable === true && desc2.configurable === true &&
+ obj.prop === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-6.js
index d07f80b7c..d80270aed 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-6.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.6/15.2.3.6-4-360-6.js
- * @description ES5 Attributes - Updating indexed data property 'P' whose attributes are [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true to an accessor property, 'O' is an Arguments object (8.12.9 - step 9.b.i)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "0", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
- desc2.enumerable === true && desc2.configurable === true &&
- obj[0] === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating indexed data property 'P' whose
+ attributes are [[Writable]]: false, [[Enumerable]]: true,
+ [[Configurable]]: true to an accessor property, 'O' is an
+ Arguments object (8.12.9 - step 9.b.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "0", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
+ desc2.enumerable === true && desc2.configurable === true &&
+ obj[0] === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-7.js
index f2b2e47c7..9e5517ad5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360-7.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.6/15.2.3.6-4-360-7.js
- * @description ES5 Attributes - Updating indexed data property 'P' whose attributes are [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: true to an accessor property, 'O' is the global object (8.12.9 - step 9.b.i)
- */
-
-
-function testcase() {
- var obj = fnGlobalObject();
- try {
- Object.defineProperty(obj, "0", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "0", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
- desc2.enumerable === true && desc2.configurable === true &&
- obj[0] === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
- } finally {
- delete obj[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: >
+ ES5 Attributes - Updating indexed data property 'P' whose
+ attributes are [[Writable]]: false, [[Enumerable]]: true,
+ [[Configurable]]: true to an accessor property, 'O' is the global
+ object (8.12.9 - step 9.b.i)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = fnGlobalObject();
+ try {
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "0", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get") &&
+ desc2.enumerable === true && desc2.configurable === true &&
+ obj[0] === 20 && typeof desc2.set === "undefined" && desc2.get === getFunc;
+ } finally {
+ delete obj[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360.js
index 8d9f9d784..7a8bd9d89 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-360.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.6/15.2.3.6-4-360.js
- * @description ES5 Attributes - success to update the data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is true) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the data property ([[Writable]]
+ is false, [[Enumerable]] is true, [[Configurable]] is true) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("value") && desc2.hasOwnProperty("get");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-361.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-361.js
index 92aaa0d49..4c966e4ea 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-361.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-361.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.6/15.2.3.6-4-361.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is false) is unwritable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && obj.prop === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is true, [[Configurable]] is false) is unwritable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-362.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-362.js
index 6eac0123a..8149d1ad8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-362.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-362.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.6/15.2.3.6-4-362.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is false) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var property in obj) {
- if (property === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
- 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: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is true, [[Configurable]] is false) is enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var property in obj) {
+ if (property === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-363.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-363.js
index d4f049f11..a5da8178d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-363.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-363.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.6/15.2.3.6-4-363.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: false
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && obj.prop === 2010 && afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is true, [[Configurable]] is false) is undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && obj.prop === 2010 && afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-364.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-364.js
index f0825b889..429f38901 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-364.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-364.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.6/15.2.3.6-4-364.js
- * @description ES5 Attributes - fail to update [[Writable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- try {
- Object.defineProperty(obj, "prop", {
- writable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === false && 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: >
+ ES5 Attributes - fail to update [[Writable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is true,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ try {
+ Object.defineProperty(obj, "prop", {
+ writable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-365.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-365.js
index 215bbb35c..8e1b8a15f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-365.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-365.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.6/15.2.3.6-4-365.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.enumerable === true && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is true,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.enumerable === true && obj.prop === 2010 && desc2.enumerable === true && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-366.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-366.js
index b873194ea..b1b548c70 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-366.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-366.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.6/15.2.3.6-4-366.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is true,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-367.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-367.js
index 13a5407a9..f9f40747b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-367.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-367.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.6/15.2.3.6-4-367.js
- * @description ES5 Attributes - fail to update the data property ([[Writable]] is false, [[Enumerable]] is true, [[Configurable]] is false) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update the data property ([[Writable]] is
+ false, [[Enumerable]] is true, [[Configurable]] is false) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-368.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-368.js
index 915d69680..3f9a89aa0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-368.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-368.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.6/15.2.3.6-4-368.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is true) is unwritable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && obj.prop === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is false, [[Configurable]] is true) is unwritable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-369.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-369.js
index 908a64805..0460444c4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-369.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-369.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.6/15.2.3.6-4-369.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is true) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is false, [[Configurable]] is true) is non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-37.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-37.js
index ad5dc7e3a..3e681bb19 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-37.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-37.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.6/15.2.3.6-4-37.js
- * @description Object.defineProperty - 'O' is a Number object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var obj = new Number(-2);
-
- Object.defineProperty(obj, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && obj.foo === 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.defineProperty - 'O' is a Number object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = new Number(-2);
+
+ Object.defineProperty(obj, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && obj.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-370.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-370.js
index 7a12af537..6bfdec69f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-370.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-370.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.6/15.2.3.6-4-370.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && !afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is false, [[Configurable]] is true) is deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && !afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-371.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-371.js
index dc4cb0939..51c7074ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-371.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-371.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.6/15.2.3.6-4-371.js
- * @description ES5 Attributes - success to update [[Writable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- writable: true
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === 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: >
+ ES5 Attributes - success to update [[Writable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is false,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ writable: true
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-372.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-372.js
index a711791fd..1d597945e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-372.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-372.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.6/15.2.3.6-4-372.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === 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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ data property ([[Writable]] is false, [[Enumerable]] is false,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-373.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-373.js
index 8a4345a2e..142a81244 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-373.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-373.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.6/15.2.3.6-4-373.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ data property ([[Writable]] is false, [[Enumerable]] is false,
+ [[Configurable]] is true) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.configurable === true && obj.prop === 2010 && desc2.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-374.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-374.js
index 4fb313be2..45605eb6f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-374.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-374.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.6/15.2.3.6-4-374.js
- * @description ES5 Attributes - success to update the data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is true) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- function getFunc() {
- return 20;
- }
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("value") && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - success to update the data property ([[Writable]]
+ is false, [[Enumerable]] is false, [[Configurable]] is true) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("value") && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-375.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-375.js
index 1fcfd727d..c2955885f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-375.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-375.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.6/15.2.3.6-4-375.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is false) is unwritable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = (obj.prop === 2010);
- obj.prop = 1001;
-
- return propertyDefineCorrect && obj.prop === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is false, [[Configurable]] is false) is unwritable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = (obj.prop === 2010);
+ obj.prop = 1001;
+
+ return propertyDefineCorrect && obj.prop === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-376.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-376.js
index 82869f60c..dd471ee28 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-376.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-376.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.6/15.2.3.6-4-376.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is false) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is false, [[Configurable]] is false) is non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-377.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-377.js
index 1c0687842..fcf16bc23 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-377.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-377.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.6/15.2.3.6-4-377.js
- * @description ES5 Attributes - property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var beforeDelete = obj.hasOwnProperty("prop");
- delete obj.prop;
- var afterDelete = obj.hasOwnProperty("prop");
- return beforeDelete && obj.prop === 2010 && afterDelete;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - property ([[Writable]] is false, [[Enumerable]]
+ is false, [[Configurable]] is false) is undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var beforeDelete = obj.hasOwnProperty("prop");
+ delete obj.prop;
+ var afterDelete = obj.hasOwnProperty("prop");
+ return beforeDelete && obj.prop === 2010 && afterDelete;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-378.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-378.js
index 17f98a01a..3c28fd4ad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-378.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-378.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.6/15.2.3.6-4-378.js
- * @description ES5 Attributes - fail to update [[Writable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- writable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === false && 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: >
+ ES5 Attributes - fail to update [[Writable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is false,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ writable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.writable === false && obj.prop === 2010 && desc2.writable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-379.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-379.js
index 0a70a8b9f..4adefcf93 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-379.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-379.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.6/15.2.3.6-4-379.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === false && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is false,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.enumerable === false && obj.prop === 2010 && desc2.enumerable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-38.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-38.js
index 7cb361fbd..72a6ecea2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-38.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-38.js
@@ -1,24 +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.6/15.2.3.6-4-38.js
- * @description Object.defineProperty - 'O' is the Math object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Math, "foo", {
- value: 12,
- configurable: true
- });
-
- return dataPropertyAttributesAreCorrect(Math, "foo", 12, false, false, true);
- } finally {
- delete Math.foo;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is the Math object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Math, "foo", {
+ value: 12,
+ configurable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(Math, "foo", 12, false, false, true);
+ } finally {
+ delete Math.foo;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-380.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-380.js
index 07835493b..f61ae0f75 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-380.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-380.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.6/15.2.3.6-4-380.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of data
+ property ([[Writable]] is false, [[Enumerable]] is false,
+ [[Configurable]] is false) to different value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc1.configurable === false && obj.prop === 2010 && desc2.configurable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-381.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-381.js
index 70b476f95..c184f4b90 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-381.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-381.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.6/15.2.3.6-4-381.js
- * @description ES5 Attributes - fail to update the data property ([[Writable]] is false, [[Enumerable]] is false, [[Configurable]] is false) to an accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: false,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- function getFunc() {
- return 20;
- }
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update the data property ([[Writable]] is
+ false, [[Enumerable]] is false, [[Configurable]] is false) to an
+ accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ function getFunc() {
+ return 20;
+ }
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return propertyDefineCorrect && desc1.value === 2010 && obj.prop === 2010 && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-382.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-382.js
index 8952dff6e..48e3bc5bd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-382.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-382.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-382.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a number
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === 1001 && desc.value === 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: ES5 Attributes - [[Value]] attribute of data property is a number
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === 1001 && desc.value === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-383.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-383.js
index 5df8b370c..57963aaad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-383.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-383.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-383.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a string
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: "ThisIsAString"
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === "ThisIsAString" && desc.value === "ThisIsAString";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: ES5 Attributes - [[Value]] attribute of data property is a string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: "ThisIsAString"
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === "ThisIsAString" && desc.value === "ThisIsAString";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-384.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-384.js
index d74669eb4..683110d0a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-384.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-384.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-384.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a boolean
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: false
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === false && desc.value === 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: ES5 Attributes - [[Value]] attribute of data property is a boolean
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: false
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === false && desc.value === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-385.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-385.js
index 806d331b7..758add5be 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-385.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-385.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-385.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a generic object
- */
-
-
-function testcase() {
- var obj = {};
- var tempObj = { testproperty: 100 };
-
- Object.defineProperty(obj, "prop", {
- value: tempObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === tempObj && desc.value === tempObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is a generic
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var tempObj = { testproperty: 100 };
+
+ Object.defineProperty(obj, "prop", {
+ value: tempObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === tempObj && desc.value === tempObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-386.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-386.js
index 5c096afc3..72857cee8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-386.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-386.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-386.js
- * @description ES5 Attributes - [[Value]] attribute of data property is an Array object
- */
-
-
-function testcase() {
- var obj = {};
- var arrObj = [];
-
- Object.defineProperty(obj, "prop", {
- value: arrObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === arrObj && desc.value === arrObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is an Array
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var arrObj = [];
+
+ Object.defineProperty(obj, "prop", {
+ value: arrObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === arrObj && desc.value === arrObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-387.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-387.js
index cb084446c..73bd00079 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-387.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-387.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-387.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a String object
- */
-
-
-function testcase() {
- var obj = {};
- var strObj = new String();
-
- Object.defineProperty(obj, "prop", {
- value: strObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === strObj && desc.value === strObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is a String
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var strObj = new String();
+
+ Object.defineProperty(obj, "prop", {
+ value: strObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === strObj && desc.value === strObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-388.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-388.js
index 411f92857..f73fd5468 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-388.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-388.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-388.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a Number object
- */
-
-
-function testcase() {
- var obj = {};
- var numObj = new Number();
-
- Object.defineProperty(obj, "prop", {
- value: numObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === numObj && desc.value === numObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is a Number
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var numObj = new Number();
+
+ Object.defineProperty(obj, "prop", {
+ value: numObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === numObj && desc.value === numObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-389.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-389.js
index d80d3c389..9e6020861 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-389.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-389.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-389.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a Boolean Object
- */
-
-
-function testcase() {
- var obj = {};
- var boolObj = new Boolean();
-
- Object.defineProperty(obj, "prop", {
- value: boolObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === boolObj && desc.value === boolObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is a Boolean
+ Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var boolObj = new Boolean();
+
+ Object.defineProperty(obj, "prop", {
+ value: boolObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === boolObj && desc.value === boolObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-39.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-39.js
index 5f2042f09..3012effd2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-39.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-39.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.6/15.2.3.6-4-39.js
- * @description Object.defineProperty - 'O' is a Date object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var desc = new Date();
-
- Object.defineProperty(desc, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(desc, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && desc.foo === 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.defineProperty - 'O' is a Date object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = new Date();
+
+ Object.defineProperty(desc, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(desc, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && desc.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-390.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-390.js
index 8b2e01a40..639ac56bd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-390.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-390.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-390.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a Function object
- */
-
-
-function testcase() {
- var obj = {};
- var funObj = function () { };
-
- Object.defineProperty(obj, "prop", {
- value: funObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === funObj && desc.value === funObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is a
+ Function object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var funObj = function () { };
+
+ Object.defineProperty(obj, "prop", {
+ value: funObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === funObj && desc.value === funObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-391.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-391.js
index 1500ba074..a170f8e9f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-391.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-391.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-391.js
- * @description ES5 Attributes - [[Value]] attribute of data property is an Error object
- */
-
-
-function testcase() {
- var obj = {};
- var errObj = new Error();
-
- Object.defineProperty(obj, "prop", {
- value: errObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === errObj && desc.value === errObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is an Error
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var errObj = new Error();
+
+ Object.defineProperty(obj, "prop", {
+ value: errObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === errObj && desc.value === errObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-392.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-392.js
index f0c90c3f5..3fec1915c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-392.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-392.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-392.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a Date object
- */
-
-
-function testcase() {
- var obj = {};
- var dateObj = new Date();
-
- Object.defineProperty(obj, "prop", {
- value: dateObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === dateObj && desc.value === dateObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is a Date
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var dateObj = new Date();
+
+ Object.defineProperty(obj, "prop", {
+ value: dateObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === dateObj && desc.value === dateObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-393.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-393.js
index 0d0ef208d..10bfdc0ea 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-393.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-393.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-393.js
- * @description ES5 Attributes - [[Value]] attribute of data property is a RegExp object
- */
-
-
-function testcase() {
- var obj = {};
- var regObj = new RegExp();
-
- Object.defineProperty(obj, "prop", {
- value: regObj
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === regObj && desc.value === regObj;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is a RegExp
+ object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var regObj = new RegExp();
+
+ Object.defineProperty(obj, "prop", {
+ value: regObj
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === regObj && desc.value === regObj;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-394.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-394.js
index 90f3a7ad4..10ea31315 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-394.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-394.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-394.js
- * @description ES5 Attributes - [[Value]] attribute of data property is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: undefined
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && typeof obj.prop === "undefined" && typeof desc.value === "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: ES5 Attributes - [[Value]] attribute of data property is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: undefined
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && typeof obj.prop === "undefined" && typeof desc.value === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-395.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-395.js
index e855891a5..3471cb0da 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-395.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-395.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-395.js
- * @description ES5 Attributes - [[Value]] attribute of data property is null
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: null
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === null && desc.value === null;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: ES5 Attributes - [[Value]] attribute of data property is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: null
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === null && desc.value === null;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-396.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-396.js
index 7205ccfeb..09c1dc652 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-396.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-396.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-396.js
- * @description ES5 Attributes - [[Value]] attribute of data property is NaN
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: NaN
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop !== obj.prop && desc.value !== desc.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: ES5 Attributes - [[Value]] attribute of data property is NaN
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: NaN
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop !== obj.prop && desc.value !== desc.value;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-397.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-397.js
index 825824c37..eec97c568 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-397.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-397.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-397.js
- * @description ES5 Attributes - [[Value]] attribute of data property is Infinity
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: Infinity
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === Infinity && desc.value === Infinity;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: ES5 Attributes - [[Value]] attribute of data property is Infinity
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: Infinity
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === Infinity && desc.value === Infinity;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-398.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-398.js
index 580e8e650..782efee26 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-398.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-398.js
@@ -1,23 +1,23 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-398.js
- * @description ES5 Attributes - [[Value]] attribute of data property is -Infinity
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: -Infinity
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === -Infinity && desc.value === -Infinity;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: ES5 Attributes - [[Value]] attribute of data property is -Infinity
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: -Infinity
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === -Infinity && desc.value === -Infinity;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-399.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-399.js
index 0fc50d5d7..81f1ead78 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-399.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-399.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.6/15.2.3.6-4-399.js
- * @description ES5 Attributes - [[Value]] attribute of data property is the global object
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- value: fnGlobalObject()
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.prop === fnGlobalObject() && desc.value === fnGlobalObject();
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] attribute of data property is the
+ global object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ value: fnGlobalObject()
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.prop === fnGlobalObject() && desc.value === fnGlobalObject();
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-4.js
index 93cb5c6bf..1ca1cf5cb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-4.js
@@ -1,30 +1,32 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. For newly defined properties, step 4.a.1 of
- * [[DefineOwnProperty]] creates a data property if handed a generic desc.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-4.js
- * @description Object.defineProperty defines a data property if given a generic desc(8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var o = {};
-
- var desc = {};
- Object.defineProperty(o, "foo", desc);
-
- var propDesc = Object.getOwnPropertyDescriptor(o, "foo");
- if (propDesc.value === undefined && // this is the value that was set
- propDesc.writable === false && // false by default
- propDesc.enumerable === false && // false by default
- propDesc.configurable === false) { // false by default
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. For newly defined properties, step 4.a.1 of
+ [[DefineOwnProperty]] creates a data property if handed a generic desc.
+description: >
+ Object.defineProperty defines a data property if given a generic
+ desc(8.12.9 step 4.a.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ var desc = {};
+ Object.defineProperty(o, "foo", desc);
+
+ var propDesc = Object.getOwnPropertyDescriptor(o, "foo");
+ if (propDesc.value === undefined && // this is the value that was set
+ propDesc.writable === false && // false by default
+ propDesc.enumerable === false && // false by default
+ propDesc.configurable === false) { // false by default
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-40.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-40.js
index e2d80368d..c446a1e67 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-40.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-40.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.6/15.2.3.6-4-40.js
- * @description Object.defineProperty - 'O' is a RegExp object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var desc = new RegExp();
-
- Object.defineProperty(desc, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(desc, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && desc.foo === 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.defineProperty - 'O' is a RegExp object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = new RegExp();
+
+ Object.defineProperty(desc, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(desc, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && desc.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-402.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-402.js
index 126cff39f..610d220f5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-402.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-402.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.6/15.2.3.6-4-402.js
- * @description ES5 Attributes - [[Value]] attribute of inherited property of [[Prototype]] internal property is correct (String instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(String.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var strObj = new String();
-
- return !strObj.hasOwnProperty("prop") && strObj.prop === 1001;
- } finally {
- delete String.prototype.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: >
+ ES5 Attributes - [[Value]] attribute of inherited property of
+ [[Prototype]] internal property is correct (String instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(String.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var strObj = new String();
+
+ return !strObj.hasOwnProperty("prop") && strObj.prop === 1001;
+ } finally {
+ delete String.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-403.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-403.js
index f188b3e94..8e5042e47 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-403.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-403.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.6/15.2.3.6-4-403.js
- * @description ES5 Attributes - Successfully add a property to an object when the object's prototype has a property with same name and [[Writable]] attribute is set to true (Array instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var arrObj = [];
- arrObj.prop = 1002;
-
- return arrObj.hasOwnProperty("prop") && arrObj.prop === 1002;
- } finally {
- delete Array.prototype.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: >
+ ES5 Attributes - Successfully add a property to an object when the
+ object's prototype has a property with same name and [[Writable]]
+ attribute is set to true (Array instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var arrObj = [];
+ arrObj.prop = 1002;
+
+ return arrObj.hasOwnProperty("prop") && arrObj.prop === 1002;
+ } finally {
+ delete Array.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-404.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-404.js
index 0935b2e0c..064c1fe4e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-404.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-404.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.6/15.2.3.6-4-404.js
- * @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to true is enumerable (Boolean instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Boolean.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var boolObj = new Boolean();
-
- var verifyEnumerable = false;
- for (var p in boolObj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !boolObj.hasOwnProperty("prop") && verifyEnumerable;
- } finally {
- delete Boolean.prototype.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: >
+ ES5 Attributes - Inherited property whose [[Enumerable]] attribute
+ is set to true is enumerable (Boolean instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Boolean.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var boolObj = new Boolean();
+
+ var verifyEnumerable = false;
+ for (var p in boolObj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !boolObj.hasOwnProperty("prop") && verifyEnumerable;
+ } finally {
+ delete Boolean.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-405.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-405.js
index a74de9acc..54501d7b2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-405.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-405.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.6/15.2.3.6-4-405.js
- * @description ES5 Attributes - Failed to add a property to an object when the object's object has a property with same name and [[Writable]] attribute is set to false (Number instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Number.prototype, "prop", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var numObj = new Number();
- numObj.prop = 1002;
-
- return !numObj.hasOwnProperty("prop") && numObj.prop === 1001;
- } finally {
- delete Number.prototype.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: >
+ ES5 Attributes - Failed to add a property to an object when the
+ object's object has a property with same name and [[Writable]]
+ attribute is set to false (Number instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Number.prototype, "prop", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var numObj = new Number();
+ numObj.prop = 1002;
+
+ return !numObj.hasOwnProperty("prop") && numObj.prop === 1001;
+ } finally {
+ delete Number.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-406.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-406.js
index 382b49791..a0c387d72 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-406.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-406.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.6/15.2.3.6-4-406.js
- * @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to false is non-enumerable (Function instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Function.prototype, "prop", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
- var funObj = function () { };
-
- var verifyEnumerable = false;
- for (var p in funObj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !funObj.hasOwnProperty("prop") && !verifyEnumerable;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Inherited property whose [[Enumerable]] attribute
+ is set to false is non-enumerable (Function instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ var funObj = function () { };
+
+ var verifyEnumerable = false;
+ for (var p in funObj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !funObj.hasOwnProperty("prop") && !verifyEnumerable;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-407.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-407.js
index cd5fe23d1..22820abc9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-407.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-407.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.6/15.2.3.6-4-407.js
- * @description ES5 Attributes - [[Value]] attribute of inherited property of [[Prototype]] internal property is correct (Error Instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Error.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var errObj = new Error();
-
- return !errObj.hasOwnProperty("prop") && errObj.prop === 1001;
- } finally {
- delete Error.prototype.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: >
+ ES5 Attributes - [[Value]] attribute of inherited property of
+ [[Prototype]] internal property is correct (Error Instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Error.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var errObj = new Error();
+
+ return !errObj.hasOwnProperty("prop") && errObj.prop === 1001;
+ } finally {
+ delete Error.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-408.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-408.js
index 9ec1c8b6d..071af5f89 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-408.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-408.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.6/15.2.3.6-4-408.js
- * @description ES5 Attributes - Successfully add a property to an object when the object's prototype has a property with same name and [[Writable]] attribute is set to true (Date instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Date.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var dateObj = new Date();
- dateObj.prop = 1002;
-
- return dateObj.hasOwnProperty("prop") && dateObj.prop === 1002;
- } finally {
- delete Date.prototype.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: >
+ ES5 Attributes - Successfully add a property to an object when the
+ object's prototype has a property with same name and [[Writable]]
+ attribute is set to true (Date instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Date.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var dateObj = new Date();
+ dateObj.prop = 1002;
+
+ return dateObj.hasOwnProperty("prop") && dateObj.prop === 1002;
+ } finally {
+ delete Date.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-409.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-409.js
index 6540b96a9..0d4d1757c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-409.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-409.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.6/15.2.3.6-4-409.js
- * @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to false is enumerable (RegExp instance)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(RegExp.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- var regObj = new RegExp();
-
- var verifyEnumerable = false;
- for (var p in regObj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !regObj.hasOwnProperty("prop") && verifyEnumerable;
- } finally {
- delete RegExp.prototype.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: >
+ ES5 Attributes - Inherited property whose [[Enumerable]] attribute
+ is set to false is enumerable (RegExp instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(RegExp.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ var regObj = new RegExp();
+
+ var verifyEnumerable = false;
+ for (var p in regObj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !regObj.hasOwnProperty("prop") && verifyEnumerable;
+ } finally {
+ delete RegExp.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-41.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-41.js
index 5697ed634..9e88129c2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-41.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-41.js
@@ -1,25 +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.6/15.2.3.6-4-41.js
- * @description Object.defineProperty - 'O' is the JSON object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
-
- try {
- Object.defineProperty(JSON, "foo", {
- value: 12,
- configurable: true
- });
-
- return dataPropertyAttributesAreCorrect(JSON, "foo", 12, false, false, true);
- } finally {
- delete JSON.foo;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is the JSON object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ try {
+ Object.defineProperty(JSON, "foo", {
+ value: 12,
+ configurable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(JSON, "foo", 12, false, false, true);
+ } finally {
+ delete JSON.foo;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-410.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-410.js
index d2de5c1cf..3677cba36 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-410.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-410.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.6/15.2.3.6-4-410.js
- * @description ES5 Attributes - Failed to add a property to an object when the object's prototype has a property with the same name and [[Writable]] set to false (JSON)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Object.prototype, "prop", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
- JSON.prop = 1002;
-
- return !JSON.hasOwnProperty("prop") && JSON.prop === 1001;
- } finally {
- delete Object.prototype.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: >
+ ES5 Attributes - Failed to add a property to an object when the
+ object's prototype has a property with the same name and
+ [[Writable]] set to false (JSON)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Object.prototype, "prop", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ JSON.prop = 1002;
+
+ return !JSON.hasOwnProperty("prop") && JSON.prop === 1001;
+ } finally {
+ delete Object.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-411.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-411.js
index 4ad89a067..840a9ab9c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-411.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-411.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.6/15.2.3.6-4-411.js
- * @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to false is non-enumerable (Math)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Object.prototype, "prop", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
-
- var verifyEnumerable = false;
- for (var p in Math) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !Math.hasOwnProperty("prop") && !verifyEnumerable;
- } finally {
- delete Object.prototype.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: >
+ ES5 Attributes - Inherited property whose [[Enumerable]] attribute
+ is set to false is non-enumerable (Math)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Object.prototype, "prop", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+
+ var verifyEnumerable = false;
+ for (var p in Math) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !Math.hasOwnProperty("prop") && !verifyEnumerable;
+ } finally {
+ delete Object.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-412.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-412.js
index 1a1307332..13ac4a709 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-412.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-412.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-412.js
- * @description ES5 Attributes - [[Value]] field of inherited property of [[Prototype]] internal property is correct(Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- Object.defineProperty(appointment, "startTime", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(appointment, "name", {
- value: "NAME",
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var meeting = Object.create(appointment);
- Object.defineProperty(meeting, "conferenceCall", {
- value: "In-person meeting",
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var teamMeeting = Object.create(meeting);
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && teamMeeting.name === "NAME" &&
- teamMeeting.startTime === 1001 &&
- teamMeeting.conferenceCall === "In-person meeting";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Value]] field of inherited property of
+ [[Prototype]] internal property is correct(Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ Object.defineProperty(appointment, "startTime", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ Object.defineProperty(appointment, "name", {
+ value: "NAME",
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var meeting = Object.create(appointment);
+ Object.defineProperty(meeting, "conferenceCall", {
+ value: "In-person meeting",
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var teamMeeting = Object.create(meeting);
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && teamMeeting.name === "NAME" &&
+ teamMeeting.startTime === 1001 &&
+ teamMeeting.conferenceCall === "In-person meeting";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-413.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-413.js
index 78f1d55aa..db5f4b7f1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-413.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-413.js
@@ -1,50 +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.6/15.2.3.6-4-413.js
- * @description ES5 Attributes - Successfully add a property to an object when the object's prototype has a property with the same name and [[Writable]] set to true (Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- Object.defineProperty(appointment, "startTime", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(appointment, "name", {
- value: "NAME",
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var meeting = Object.create(appointment);
- Object.defineProperty(meeting, "conferenceCall", {
- value: "In-person meeting",
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var teamMeeting = Object.create(meeting);
- teamMeeting.name = "Team Meeting";
- var dateObj = new Date("10/31/2010 08:00");
- teamMeeting.startTime = dateObj;
- teamMeeting.conferenceCall = "4255551212";
-
- var hasOwnProperty = teamMeeting.hasOwnProperty("name") &&
- teamMeeting.hasOwnProperty("startTime") &&
- teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && teamMeeting.name === "Team Meeting" &&
- teamMeeting.startTime === dateObj &&
- teamMeeting.conferenceCall === "4255551212";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Successfully add a property to an object when the
+ object's prototype has a property with the same name and
+ [[Writable]] set to true (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ Object.defineProperty(appointment, "startTime", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ Object.defineProperty(appointment, "name", {
+ value: "NAME",
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var meeting = Object.create(appointment);
+ Object.defineProperty(meeting, "conferenceCall", {
+ value: "In-person meeting",
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var teamMeeting = Object.create(meeting);
+ teamMeeting.name = "Team Meeting";
+ var dateObj = new Date("10/31/2010 08:00");
+ teamMeeting.startTime = dateObj;
+ teamMeeting.conferenceCall = "4255551212";
+
+ var hasOwnProperty = teamMeeting.hasOwnProperty("name") &&
+ teamMeeting.hasOwnProperty("startTime") &&
+ teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && teamMeeting.name === "Team Meeting" &&
+ teamMeeting.startTime === dateObj &&
+ teamMeeting.conferenceCall === "4255551212";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-414.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-414.js
index 88e052e2b..6ec82f052 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-414.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-414.js
@@ -1,59 +1,61 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-414.js
- * @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to true is enumerable (Object.create)
- */
-
-
-function testcase() {
- var appointment = new Object();
-
- Object.defineProperty(appointment, "startTime", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(appointment, "name", {
- value: "NAME",
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var meeting = Object.create(appointment);
- Object.defineProperty(meeting, "conferenceCall", {
- value: "In-person meeting",
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var teamMeeting = Object.create(meeting);
-
- var verifyTimeProp = false;
- var verifyNameProp = false;
- var verifyCallProp = false;
- for (var p in teamMeeting) {
- if (p === "startTime") {
- verifyTimeProp = true;
- }
- if (p === "name") {
- verifyNameProp = true;
- }
- if (p === "conferenceCall") {
- verifyCallProp = true;
- }
- }
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty("conferenceCall");
-
- return hasOwnProperty && verifyTimeProp && verifyNameProp && verifyCallProp;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Inherited property whose [[Enumerable]] attribute
+ is set to true is enumerable (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = new Object();
+
+ Object.defineProperty(appointment, "startTime", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ Object.defineProperty(appointment, "name", {
+ value: "NAME",
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var meeting = Object.create(appointment);
+ Object.defineProperty(meeting, "conferenceCall", {
+ value: "In-person meeting",
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var teamMeeting = Object.create(meeting);
+
+ var verifyTimeProp = false;
+ var verifyNameProp = false;
+ var verifyCallProp = false;
+ for (var p in teamMeeting) {
+ if (p === "startTime") {
+ verifyTimeProp = true;
+ }
+ if (p === "name") {
+ verifyNameProp = true;
+ }
+ if (p === "conferenceCall") {
+ verifyCallProp = true;
+ }
+ }
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty("conferenceCall");
+
+ return hasOwnProperty && verifyTimeProp && verifyNameProp && verifyCallProp;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-415.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-415.js
index 003a776c3..50269b054 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-415.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-415.js
@@ -1,50 +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.6/15.2.3.6-4-415.js
- * @description ES5 Attributes - Failed to add properties to an object when the object's prototype has properties with the same name and [[Writable]] set to false (Object.create)
- */
-
-
-function testcase() {
- var appointment = new Object();
-
- Object.defineProperty(appointment, "startTime", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
- Object.defineProperty(appointment, "name", {
- value: "NAME",
- writable: false,
- enumerable: false,
- configurable: true
- });
-
- var meeting = Object.create(appointment);
- Object.defineProperty(meeting, "conferenceCall", {
- value: "In-person meeting",
- writable: false,
- enumerable: false,
- configurable: true
- });
-
- var teamMeeting = Object.create(meeting);
- teamMeeting.name = "Team Meeting";
- var dateObj = new Date("10/31/2010 08:00");
- teamMeeting.startTime = dateObj;
- teamMeeting.conferenceCall = "4255551212";
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && teamMeeting.name === "NAME" &&
- teamMeeting.startTime === 1001 &&
- teamMeeting.conferenceCall === "In-person meeting";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Failed to add properties to an object when the
+ object's prototype has properties with the same name and
+ [[Writable]] set to false (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = new Object();
+
+ Object.defineProperty(appointment, "startTime", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ Object.defineProperty(appointment, "name", {
+ value: "NAME",
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+
+ var meeting = Object.create(appointment);
+ Object.defineProperty(meeting, "conferenceCall", {
+ value: "In-person meeting",
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+
+ var teamMeeting = Object.create(meeting);
+ teamMeeting.name = "Team Meeting";
+ var dateObj = new Date("10/31/2010 08:00");
+ teamMeeting.startTime = dateObj;
+ teamMeeting.conferenceCall = "4255551212";
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && teamMeeting.name === "NAME" &&
+ teamMeeting.startTime === 1001 &&
+ teamMeeting.conferenceCall === "In-person meeting";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-416.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-416.js
index 08faa0616..513f607b6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-416.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-416.js
@@ -1,59 +1,61 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-416.js
- * @description ES5 Attributes - Inherited properties whose [[Enumerable]] attribute is set to false is non-enumerable (Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- Object.defineProperty(appointment, "startTime", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
- Object.defineProperty(appointment, "name", {
- value: "NAME",
- writable: false,
- enumerable: false,
- configurable: true
- });
-
- var meeting = Object.create(appointment);
- Object.defineProperty(meeting, "conferenceCall", {
- value: "In-person meeting",
- writable: false,
- enumerable: false,
- configurable: true
- });
-
- var teamMeeting = Object.create(meeting);
-
- var verifyTimeProp = false;
- var verifyNameProp = false;
- var verifyCallProp = false;
- for (var p in teamMeeting) {
- if (p === "startTime") {
- verifyTimeProp = true;
- }
- if (p === "name") {
- verifyNameProp = true;
- }
- if (p === "conferenceCall") {
- verifyCallProp = true;
- }
- }
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty("conferenceCall");
-
- return hasOwnProperty && !verifyTimeProp && !verifyNameProp && !verifyCallProp;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Inherited properties whose [[Enumerable]]
+ attribute is set to false is non-enumerable (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ Object.defineProperty(appointment, "startTime", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+ Object.defineProperty(appointment, "name", {
+ value: "NAME",
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+
+ var meeting = Object.create(appointment);
+ Object.defineProperty(meeting, "conferenceCall", {
+ value: "In-person meeting",
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+
+ var teamMeeting = Object.create(meeting);
+
+ var verifyTimeProp = false;
+ var verifyNameProp = false;
+ var verifyCallProp = false;
+ for (var p in teamMeeting) {
+ if (p === "startTime") {
+ verifyTimeProp = true;
+ }
+ if (p === "name") {
+ verifyNameProp = true;
+ }
+ if (p === "conferenceCall") {
+ verifyCallProp = true;
+ }
+ }
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty("conferenceCall");
+
+ return hasOwnProperty && !verifyTimeProp && !verifyNameProp && !verifyCallProp;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-417.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-417.js
index 10815e9e9..58642052e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-417.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-417.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.6/15.2.3.6-4-417.js
- * @description ES5 Attributes - [[Value]] attribute of inherited property of [[Prototype]] internal property is correct(Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- try {
- Object.defineProperty(Function.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var obj = foo.bind({});
-
- return !obj.hasOwnProperty("prop") && obj.prop === 1001;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - [[Value]] attribute of inherited property of
+ [[Prototype]] internal property is correct(Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+
+ return !obj.hasOwnProperty("prop") && obj.prop === 1001;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-418.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-418.js
index f33b6ac99..fd9ed5119 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-418.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-418.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.6/15.2.3.6-4-418.js
- * @description ES5 Attributes - Successfully add a property to an object when the object's prototype has a property with the same name and [[Writable]] set to true (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- try {
- Object.defineProperty(Function.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var obj = foo.bind({});
- obj.prop = 1002;
-
- return obj.hasOwnProperty("prop") && obj.prop === 1002;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Successfully add a property to an object when the
+ object's prototype has a property with the same name and
+ [[Writable]] set to true (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+ obj.prop = 1002;
+
+ return obj.hasOwnProperty("prop") && obj.prop === 1002;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-419.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-419.js
index 0d74a363b..1b065e7ce 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-419.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-419.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.6/15.2.3.6-4-419.js
- * @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to true is enumerable (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- try {
- Object.defineProperty(Function.prototype, "prop", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- var obj = foo.bind({});
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !obj.hasOwnProperty("prop") && verifyEnumerable;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Inherited property whose [[Enumerable]] attribute
+ is set to true is enumerable (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !obj.hasOwnProperty("prop") && verifyEnumerable;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-42.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-42.js
index ccbdab2de..a42949e8b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-42.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-42.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.6/15.2.3.6-4-42.js
- * @description Object.defineProperty - 'O' is an Error object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var desc = new Error();
-
- Object.defineProperty(desc, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(desc, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && desc.foo === 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.defineProperty - 'O' is an Error object that uses Object's
+ [[GetOwnProperty]] method to access the 'name' property (8.12.9
+ step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = new Error();
+
+ Object.defineProperty(desc, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(desc, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && desc.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-420.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-420.js
index 59310a772..08169eada 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-420.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-420.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.6/15.2.3.6-4-420.js
- * @description ES5 Attributes - Failed to add a property to an object when the object's prototype has a property with the same name and [[Writable]] set to false(Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- try {
- Object.defineProperty(Function.prototype, "prop", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
-
- var obj = foo.bind({});
- obj.prop = 1002;
-
- return !obj.hasOwnProperty("prop") && obj.prop === 1001;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Failed to add a property to an object when the
+ object's prototype has a property with the same name and
+ [[Writable]] set to false(Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+ obj.prop = 1002;
+
+ return !obj.hasOwnProperty("prop") && obj.prop === 1001;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-421.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-421.js
index 054fc5c9e..d3cb2f77d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-421.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-421.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.6/15.2.3.6-4-421.js
- * @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to false is non-enumerable (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- try {
- Object.defineProperty(Function.prototype, "prop", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: true
- });
-
- var obj = foo.bind({});
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !obj.hasOwnProperty("prop") && !verifyEnumerable;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Inherited property whose [[Enumerable]] attribute
+ is set to false is non-enumerable (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !obj.hasOwnProperty("prop") && !verifyEnumerable;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-422.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-422.js
index 92656260c..901d5e231 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-422.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-422.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.6/15.2.3.6-4-422.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-423.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-423.js
index a2f3408c2..74d15a58a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-423.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-423.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.6/15.2.3.6-4-423.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-424.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-424.js
index 107e1ea86..306c67b7b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-424.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-424.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.6/15.2.3.6-4-424.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is true) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-425.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-425.js
index 92fc1591f..70098d2db 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-425.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-425.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.6/15.2.3.6-4-425.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-426.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-426.js
index bb6702b82..c16c7840e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-426.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-426.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.6/15.2.3.6-4-426.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-427.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-427.js
index 2db532720..026b106dd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-427.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-427.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.6/15.2.3.6-4-427.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc1.set === "undefined" && desc2.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc1.set === "undefined" && desc2.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-428.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-428.js
index 577444c04..c78dab519 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-428.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-428.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.6/15.2.3.6-4-428.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && !result2 && desc1.enumerable === true && desc2.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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && !result2 && desc1.enumerable === true && desc2.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-429.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-429.js
index 030a399f3..fa20979f3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-429.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-429.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.6/15.2.3.6-4-429.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-43.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-43.js
index fe43091a4..9084c3274 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-43.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-43.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.6/15.2.3.6-4-43.js
- * @description Object.defineProperty - 'O' is an Arguments object which implements its own [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- var argObj = (function () { return arguments; })();
-
- Object.defineProperty(argObj, "foo", {
- value: 12,
- configurable: false
- });
-
- try {
- Object.defineProperty(argObj, "foo", {
- value: 11,
- configurable: true
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && argObj.foo === 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.defineProperty - 'O' is an Arguments object which
+ implements its own [[GetOwnProperty]] method to access the 'name'
+ property (8.12.9 step 1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var argObj = (function () { return arguments; })();
+
+ Object.defineProperty(argObj, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(argObj, "foo", {
+ value: 11,
+ configurable: true
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && argObj.foo === 12;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-430.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-430.js
index 33047c0e3..0e3f6afa6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-430.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-430.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.6/15.2.3.6-4-430.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is true) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-431.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-431.js
index ed465d2f7..8fea2b897 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-431.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-431.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.6/15.2.3.6-4-431.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-432.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-432.js
index fda0fe3e2..5d068fe64 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-432.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-432.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.6/15.2.3.6-4-432.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-433.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-433.js
index 0faad7336..648de9cc8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-433.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-433.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.6/15.2.3.6-4-433.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is false) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-434.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-434.js
index 016dbb730..790dc4682 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-434.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-434.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.6/15.2.3.6-4-434.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-435.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-435.js
index 64c622484..00e2f4b66 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-435.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-435.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.6/15.2.3.6-4-435.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- return false;
- } catch (e) {
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-436.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-436.js
index 69fcce8ab..91ca6bdda 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-436.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-436.js
@@ -1,39 +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.6/15.2.3.6-4-436.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-437.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-437.js
index f1bf325f9..48903d6a5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-437.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-437.js
@@ -1,47 +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.6/15.2.3.6-4-437.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-438.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-438.js
index 67ae26d55..66738b377 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-438.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-438.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.6/15.2.3.6-4-438.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-439.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-439.js
index f38346525..8fb0085b1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-439.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-439.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.6/15.2.3.6-4-439.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ undefined, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-440.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-440.js
index 6b1ac1e90..f70c241fb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-440.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-440.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.6/15.2.3.6-4-440.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-441.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-441.js
index 706260105..d95c9aee4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-441.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-441.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.6/15.2.3.6-4-441.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-442.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-442.js
index bf4318b6f..ecf6b6898 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-442.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-442.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.6/15.2.3.6-4-442.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is true) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-443.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-443.js
index 583573ab6..2cfd2948a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-443.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-443.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.6/15.2.3.6-4-443.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-444.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-444.js
index 4b6df57a6..cb1bd6426 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-444.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-444.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.6/15.2.3.6-4-444.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-445.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-445.js
index 3e504fdcc..19a39a101 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-445.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-445.js
@@ -1,39 +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.6/15.2.3.6-4-445.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- obj.prop = "overrideData";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return typeof desc1.set === "undefined" && propertyDefineCorrect && desc2.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ obj.prop = "overrideData";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return typeof desc1.set === "undefined" && propertyDefineCorrect && desc2.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-446.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-446.js
index 5f8570b91..c5a46a07c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-446.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-446.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.6/15.2.3.6-4-446.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === 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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-447.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-447.js
index 7b5d9349d..7e6374b31 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-447.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-447.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.6/15.2.3.6-4-447.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-448.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-448.js
index 784d6c2b5..f55cb219b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-448.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-448.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.6/15.2.3.6-4-448.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is true) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-449.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-449.js
index 7489315ca..d128e0010 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-449.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-449.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.6/15.2.3.6-4-449.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-45.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-45.js
index 9b8096e1b..99c5d1693 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-45.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-45.js
@@ -1,24 +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.6/15.2.3.6-4-45.js
- * @description Object.defineProperty - 'O' is the global object that uses Object's [[GetOwnProperty]] method to access the 'name' property (8.12.9 step 1)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(fnGlobalObject(), "foo", {
- value: 12,
- configurable: true
- });
-
- return dataPropertyAttributesAreCorrect(fnGlobalObject(), "foo", 12, false, false, true);
- } finally {
- delete fnGlobalObject().foo;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'O' is the global object that uses
+ Object's [[GetOwnProperty]] method to access the 'name' property
+ (8.12.9 step 1)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(fnGlobalObject(), "foo", {
+ value: 12,
+ configurable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(fnGlobalObject(), "foo", 12, false, false, true);
+ } finally {
+ delete fnGlobalObject().foo;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-450.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-450.js
index 47fd6cfc3..4c74aef86 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-450.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-450.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.6/15.2.3.6-4-450.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-451.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-451.js
index 1a3b63ef6..7451d65b4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-451.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-451.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.6/15.2.3.6-4-451.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is false) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-452.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-452.js
index bbaa8cd03..0f54b0f2d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-452.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-452.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.6/15.2.3.6-4-452.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-453.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-453.js
index 4f5600983..82c9f7841 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-453.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-453.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.6/15.2.3.6-4-453.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- return false;
- } catch (e) {
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-454.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-454.js
index b9f2767cf..026f6fbf1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-454.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-454.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.6/15.2.3.6-4-454.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-455.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-455.js
index 79061d60d..f3815c919 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-455.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-455.js
@@ -1,47 +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.6/15.2.3.6-4-455.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-456.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-456.js
index bcc2bfeff..faaf56b6b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-456.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-456.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.6/15.2.3.6-4-456.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-457.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-457.js
index 0524ed6d6..4d1774200 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-457.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-457.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.6/15.2.3.6-4-457.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is undefined, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ undefined, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-458.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-458.js
index 3b024034b..1f1eef99f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-458.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-458.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.6/15.2.3.6-4-458.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-459.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-459.js
index 88005bd76..de507c330 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-459.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-459.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.6/15.2.3.6-4-459.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-46.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-46.js
index 0ea526f54..9ebbf72b6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-46.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-46.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.6/15.2.3.6-4-46.js
- * @description Object.defineProperty - 'name' is defined as data property if 'name' property doesn't exist in 'O' and 'desc' is generic descriptor (8.12.9 step 4.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- enumerable: true
- });
-
- var isEnumerable = false;
- for (var item in obj) {
- if (obj.hasOwnProperty(item) && item === "property") {
- isEnumerable = true;
- }
- }
-
- return obj.hasOwnProperty("property") && isEnumerable;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty - 'name' is defined as data property if
+ 'name' property doesn't exist in 'O' and 'desc' is generic
+ descriptor (8.12.9 step 4.a)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ enumerable: true
+ });
+
+ var isEnumerable = false;
+ for (var item in obj) {
+ if (obj.hasOwnProperty(item) && item === "property") {
+ isEnumerable = true;
+ }
+ }
+
+ return obj.hasOwnProperty("property") && isEnumerable;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-460.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-460.js
index 88a1a8f82..a4e6ba5b8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-460.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-460.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.6/15.2.3.6-4-460.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is true) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-461.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-461.js
index 32b1ede40..901bd83b3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-461.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-461.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.6/15.2.3.6-4-461.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-462.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-462.js
index 4c3309c28..5a227f879 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-462.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-462.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.6/15.2.3.6-4-462.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-463.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-463.js
index 810c3aa88..9ce9b5585 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-463.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-463.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.6/15.2.3.6-4-463.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && typeof desc2.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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && typeof desc2.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-464.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-464.js
index 3784cfc4f..6c838a934 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-464.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-464.js
@@ -1,48 +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.6/15.2.3.6-4-464.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && !result2 && desc1.enumerable === true && desc2.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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && !result2 && desc1.enumerable === true && desc2.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-465.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-465.js
index f7323c580..db5e34db5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-465.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-465.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.6/15.2.3.6-4-465.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-466.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-466.js
index c70803774..90808e3fe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-466.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-466.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.6/15.2.3.6-4-466.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is true) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-467.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-467.js
index ce527252e..593687901 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-467.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-467.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.6/15.2.3.6-4-467.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-468.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-468.js
index baa9e9bf3..6b8c97292 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-468.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-468.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.6/15.2.3.6-4-468.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-469.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-469.js
index e859414bc..701cd5fb9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-469.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-469.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.6/15.2.3.6-4-469.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is false) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-47.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-47.js
index de6f2cfed..d9f01439d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-47.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-47.js
@@ -1,23 +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.6/15.2.3.6-4-47.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', [[Value]] of 'name' property is set as undefined if it is absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- writable: true,
- enumerable: true,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", undefined, 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.defineProperty - 'name' property doesn't exist in 'O',
+ [[Value]] of 'name' property is set as undefined if it is absent
+ in data descriptor 'desc' (8.12.9 step 4.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", undefined, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-470.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-470.js
index 6fce9a016..56e3c355f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-470.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-470.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.6/15.2.3.6-4-470.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-471.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-471.js
index cdcb3c907..f35920542 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-471.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-471.js
@@ -1,47 +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.6/15.2.3.6-4-471.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- return false;
- } catch (e) {
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-472.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-472.js
index 712a79cc8..74c5ef64c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-472.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-472.js
@@ -1,41 +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.6/15.2.3.6-4-472.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && desc2.set === setFunc && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && desc2.set === setFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-473.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-473.js
index 84de2d33c..b14164708 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-473.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-473.js
@@ -1,53 +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.6/15.2.3.6-4-473.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-474.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-474.js
index 5bbde850e..894c40326 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-474.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-474.js
@@ -1,41 +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.6/15.2.3.6-4-474.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-475.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-475.js
index 3ef0886c4..d3c417385 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-475.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-475.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.6/15.2.3.6-4-475.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ undefined, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-476.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-476.js
index 2d12297b1..56ac6fe01 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-476.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-476.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.6/15.2.3.6-4-476.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-477.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-477.js
index cd9025880..4721f8fcc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-477.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-477.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.6/15.2.3.6-4-477.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-478.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-478.js
index 84b1dd103..67a3eac6f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-478.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-478.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.6/15.2.3.6-4-478.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is true) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-479.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-479.js
index 777fe406a..086fbe7da 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-479.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-479.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.6/15.2.3.6-4-479.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-48.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-48.js
index d4d9c69bb..f43acd4c9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-48.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-48.js
@@ -1,23 +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.6/15.2.3.6-4-48.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', test [[Writable]] of 'name' property of 'Attributes' is set as false value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- enumerable: true,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", 1001, 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.defineProperty - 'name' property doesn't exist in 'O', test
+ [[Writable]] of 'name' property of 'Attributes' is set as false
+ value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ enumerable: true,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", 1001, false, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-480.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-480.js
index 1d6b3d65c..96c40dd98 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-480.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-480.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.6/15.2.3.6-4-480.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && typeof desc1.get === "undefined" && desc2.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-481.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-481.js
index 87f9b2a42..f41978ba0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-481.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-481.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.6/15.2.3.6-4-481.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && typeof desc2.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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && typeof desc2.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-482.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-482.js
index ff99ea1f4..c1411bead 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-482.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-482.js
@@ -1,48 +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.6/15.2.3.6-4-482.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === 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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-483.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-483.js
index e2e958eeb..232a3d24a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-483.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-483.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.6/15.2.3.6-4-483.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-484.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-484.js
index a1b96d8ce..8ba24645f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-484.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-484.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.6/15.2.3.6-4-484.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is true) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-485.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-485.js
index 5fbd6e522..88e0c53c0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-485.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-485.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.6/15.2.3.6-4-485.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.get === "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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-486.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-486.js
index 4a6467517..43a1e76f2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-486.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-486.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.6/15.2.3.6-4-486.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is undefined, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-487.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-487.js
index 5c5b50f27..ac4bfbb62 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-487.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-487.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.6/15.2.3.6-4-487.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is false) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-488.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-488.js
index d72d5ad62..0443ed9c5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-488.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-488.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.6/15.2.3.6-4-488.js
- * @description ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-489.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-489.js
index 57970b739..b826efec1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-489.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-489.js
@@ -1,47 +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.6/15.2.3.6-4-489.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var result1 = typeof obj.prop === "undefined";
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- return false;
- } catch (e) {
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var result1 = typeof obj.prop === "undefined";
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && typeof desc1.get === "undefined" && typeof desc2.get === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-49.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-49.js
index ea500bcc4..bebf97b04 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-49.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-49.js
@@ -1,22 +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.6/15.2.3.6-4-49.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', test [[Enumerable]] of 'name' property of 'Attributes' is set as false value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: true,
- configurable: true
- });
- return dataPropertyAttributesAreCorrect(obj, "property", 1001, 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.defineProperty - 'name' property doesn't exist in 'O', test
+ [[Enumerable]] of 'name' property of 'Attributes' is set as false
+ value if absent in data descriptor 'desc' (8.12.9 step 4.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: true,
+ configurable: true
+ });
+ return dataPropertyAttributesAreCorrect(obj, "property", 1001, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-490.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-490.js
index 87a76d27d..8a61aec5e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-490.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-490.js
@@ -1,41 +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.6/15.2.3.6-4-490.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && desc2.set === setFunc && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && desc2.set === setFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-491.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-491.js
index fc94b3528..c3c0282f1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-491.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-491.js
@@ -1,53 +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.6/15.2.3.6-4-491.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-492.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-492.js
index 8c1ce7770..afda00455 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-492.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-492.js
@@ -1,41 +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.6/15.2.3.6-4-492.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is undefined, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-493.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-493.js
index daf1ca9b8..a1a302d36 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-493.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-493.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.6/15.2.3.6-4-493.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is undefined, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ undefined, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-494.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-494.js
index dd9861d69..20b171d15 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-494.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-494.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.6/15.2.3.6-4-494.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-495.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-495.js
index c131d98b1..a4ead7b8d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-495.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-495.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.6/15.2.3.6-4-495.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-496.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-496.js
index 8054ed35b..7489dba03 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-496.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-496.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.6/15.2.3.6-4-496.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is true) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-497.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-497.js
index f93885e7c..126f6c283 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-497.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-497.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.6/15.2.3.6-4-497.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-498.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-498.js
index 9578a2c1f..9f608b196 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-498.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-498.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.6/15.2.3.6-4-498.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "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: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-499.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-499.js
index 005cc4b5c..efe698b07 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-499.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-499.js
@@ -1,41 +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.6/15.2.3.6-4-499.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- obj.prop = "overrideData";
- return typeof desc1.set === "undefined" && desc2.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ obj.prop = "overrideData";
+ return typeof desc1.set === "undefined" && desc2.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-5.js
index e84e1aefb..b18c9aeb0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-5.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. Step 6 of [[DefineOwnProperty]] returns if
- * every field of desc also occurs in current and every field in desc has
- * the same value as current.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-5.js
- * @description Object.defineProperty is no-op if current and desc are the same data desc
- */
-
-
-function testcase() {
- function sameDataDescriptorValues(d1, d2) {
- return (d1.value === d2.value &&
- d1.enumerable === d2.enumerable &&
- d1.writable === d2.writable &&
- d1.configurable === d2.configurable);
- }
-
- var o = {};
-
- // create a data valued property with the following attributes:
- // value: 101, enumerable: true, writable: true, configurable: true
- o["foo"] = 101;
-
- // query for, and save, the desc. A subsequent call to defineProperty
- // with the same desc should not disturb the property definition.
- var d1 = Object.getOwnPropertyDescriptor(o, "foo");
-
- // now, redefine the property with the same descriptor
- // the property defintion should not get disturbed.
- var desc = { value: 101, enumerable: true, writable: true, configurable: true };
- Object.defineProperty(o, "foo", desc);
-
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (sameDataDescriptorValues(d1, d2) === true) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. Step 6 of [[DefineOwnProperty]] returns if
+ every field of desc also occurs in current and every field in desc has
+ the same value as current.
+description: >
+ Object.defineProperty is no-op if current and desc are the same
+ data desc
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function sameDataDescriptorValues(d1, d2) {
+ return (d1.value === d2.value &&
+ d1.enumerable === d2.enumerable &&
+ d1.writable === d2.writable &&
+ d1.configurable === d2.configurable);
+ }
+
+ var o = {};
+
+ // create a data valued property with the following attributes:
+ // value: 101, enumerable: true, writable: true, configurable: true
+ o["foo"] = 101;
+
+ // query for, and save, the desc. A subsequent call to defineProperty
+ // with the same desc should not disturb the property definition.
+ var d1 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ // now, redefine the property with the same descriptor
+ // the property defintion should not get disturbed.
+ var desc = { value: 101, enumerable: true, writable: true, configurable: true };
+ Object.defineProperty(o, "foo", desc);
+
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (sameDataDescriptorValues(d1, d2) === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-50.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-50.js
index b081e4d1b..5bcdbc306 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-50.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-50.js
@@ -1,22 +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.6/15.2.3.6-4-50.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', test [[Configurable]] of 'name' property is set as false if it is absent in data descriptor 'desc' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: true,
- enumerable: true
- });
- return dataPropertyAttributesAreCorrect(obj, "property", 1001, 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.defineProperty - 'name' property doesn't exist in 'O', test
+ [[Configurable]] of 'name' property is set as false if it is
+ absent in data descriptor 'desc' (8.12.9 step 4.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: true,
+ enumerable: true
+ });
+ return dataPropertyAttributesAreCorrect(obj, "property", 1001, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-500.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-500.js
index 50a4a0b94..77a7f7783 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-500.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-500.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.6/15.2.3.6-4-500.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && !result2 && desc1.enumerable === true && desc2.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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && !result2 && desc1.enumerable === true && desc2.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-501.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-501.js
index 9c07f3250..ba6c400a0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-501.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-501.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.6/15.2.3.6-4-501.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-502.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-502.js
index d2154cb88..22e00f3c2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-502.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-502.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.6/15.2.3.6-4-502.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is true) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-503.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-503.js
index 3205f5055..ae7c126df 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-503.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-503.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.6/15.2.3.6-4-503.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-504.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-504.js
index 950057aef..381067f32 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-504.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-504.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.6/15.2.3.6-4-504.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-505.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-505.js
index c8f6cb1a7..59f16887f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-505.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-505.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.6/15.2.3.6-4-505.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is false) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-506.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-506.js
index 766ffb472..5a1538701 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-506.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-506.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.6/15.2.3.6-4-506.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is true, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-507.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-507.js
index 8e58baa64..ccf0ae148 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-507.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-507.js
@@ -1,41 +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.6/15.2.3.6-4-507.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- return false;
- } catch (e) {
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-508.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-508.js
index d483e4735..58e287675 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-508.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-508.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.6/15.2.3.6-4-508.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-509.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-509.js
index 7ce3e6b47..2b6d83845 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-509.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-509.js
@@ -1,51 +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.6/15.2.3.6-4-509.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-51.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-51.js
index 2bd649c06..56d9b9066 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-51.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-51.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.6/15.2.3.6-4-51.js
- * @description Object.defineProperty - desc is data descriptor, test updating all attribute values of 'name' (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = { "property": 1 }; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(obj, "property", {
- value: 1001,
- writable: false,
- enumerable: false,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "property", 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.defineProperty - desc is data descriptor, test updating all
+ attribute values of 'name' (8.12.9 step 4.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = { "property": 1 }; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperty(obj, "property", {
+ value: 1001,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "property", 1001, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-510.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-510.js
index 79592757d..1aabdcc85 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-510.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-510.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.6/15.2.3.6-4-510.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-511.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-511.js
index f315246d4..525f04b34 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-511.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-511.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.6/15.2.3.6-4-511.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is true, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ a Function, [[Set]] is undefined, [[Enumerable]] is true,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-512.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-512.js
index cb808a6d0..6ab39eb5e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-512.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-512.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.6/15.2.3.6-4-512.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-513.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-513.js
index 754d573d2..75741bc6e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-513.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-513.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.6/15.2.3.6-4-513.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is true) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-514.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-514.js
index da7249b47..46eaa0d2a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-514.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-514.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.6/15.2.3.6-4-514.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is true) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-515.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-515.js
index 579c3d72b..d7d595189 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-515.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-515.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.6/15.2.3.6-4-515.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-516.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-516.js
index f22effbc5..6efac51a8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-516.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-516.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.6/15.2.3.6-4-516.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "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: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-517.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-517.js
index 27b8eb429..a79d1b333 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-517.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-517.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.6/15.2.3.6-4-517.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- obj.prop = "overrideData";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return typeof desc1.set === "undefined" && propertyDefineCorrect && desc2.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ obj.prop = "overrideData";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return typeof desc1.set === "undefined" && propertyDefineCorrect && desc2.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-518.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-518.js
index 3933856c4..a4fe779e1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-518.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-518.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.6/15.2.3.6-4-518.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === 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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-519.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-519.js
index ce2b456f8..d66f1cf19 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-519.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-519.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.6/15.2.3.6-4-519.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-52.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-52.js
index 54fa3cb04..3aaf4ec7c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-52.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-52.js
@@ -1,19 +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.6/15.2.3.6-4-52.js
- * @description Object.defineProperty - 'desc' is generic descriptor without any attribute, test 'name' is defined in 'obj' with all default attribute values (8.12.9 step 4.a.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {});
-
- return dataPropertyAttributesAreCorrect(obj, "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.defineProperty - 'desc' is generic descriptor without any
+ attribute, test 'name' is defined in 'obj' with all default
+ attribute values (8.12.9 step 4.a.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "property", {});
+
+ return dataPropertyAttributesAreCorrect(obj, "property", undefined, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-520.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-520.js
index 71e247324..361343661 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-520.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-520.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.6/15.2.3.6-4-520.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is true) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-521.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-521.js
index ab451beea..8d0bb96b7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-521.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-521.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.6/15.2.3.6-4-521.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-522.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-522.js
index 55dfea506..7ee37fc8b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-522.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-522.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.6/15.2.3.6-4-522.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is undefined
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is false) is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-523.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-523.js
index 229537c2f..c31ef83fd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-523.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-523.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.6/15.2.3.6-4-523.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is false) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-524.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-524.js
index 47481e645..041acd4a5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-524.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-524.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.6/15.2.3.6-4-524.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is
+ undefined, [[Enumerable]] is false, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-525.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-525.js
index fdcec6edd..a0f95e073 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-525.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-525.js
@@ -1,41 +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.6/15.2.3.6-4-525.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- return false;
- } catch (e) {
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-526.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-526.js
index 4960e6c1c..9e41d2554 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-526.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-526.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.6/15.2.3.6-4-526.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return typeof desc1.set === "undefined" && typeof desc2.set === "undefined" && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-527.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-527.js
index d23c21427..8035b9e8f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-527.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-527.js
@@ -1,51 +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.6/15.2.3.6-4-527.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-528.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-528.js
index 42c165f90..64d3f915f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-528.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-528.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.6/15.2.3.6-4-528.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is undefined,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-529.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-529.js
index ff2b1c237..050650e5d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-529.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-529.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.6/15.2.3.6-4-529.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is a Function, [[Set]] is undefined, [[Enumerable]] is false, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ a Function, [[Set]] is undefined, [[Enumerable]] is false,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-53.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-53.js
index 688c9087b..3447c6d39 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-53.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-53.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.6/15.2.3.6-4-53.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', test [[Get]] of 'name' property is set as undefined if it is absent in accessor descriptor 'desc' (8.12.9 step 4.b)
- */
-
-
-function testcase() {
- var obj = {};
- var setFunc = function (value) {
- obj.setVerifyHelpProp = value;
- };
-
- Object.defineProperty(obj, "property", {
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "property", undefined, setFunc, "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.defineProperty - 'name' property doesn't exist in 'O', test
+ [[Get]] of 'name' property is set as undefined if it is absent in
+ accessor descriptor 'desc' (8.12.9 step 4.b)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var setFunc = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+
+ Object.defineProperty(obj, "property", {
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "property", undefined, setFunc, "setVerifyHelpProp", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-530.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-530.js
index 7314432f0..691a35abb 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-530.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-530.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.6/15.2.3.6-4-530.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-1.js
index cc6e005ca..54194092d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-1.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.6/15.2.3.6-4-531-1.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of named accessor property 'P' successfully when [[Configurable]] attribute is true, 'O' is an Object object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "property", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "property", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction1", 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.defineProperty will update [[Get]] and [[Set]] attributes
+ of named accessor property 'P' successfully when [[Configurable]]
+ attribute is true, 'O' is an Object object (8.12.9 step 11)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction1", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-10.js
index a27dcb05f..7d09e798a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-10.js
@@ -1,42 +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.6/15.2.3.6-4-531-10.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of indexed accessor property 'P' successfully when [[Configurable]] attribute is true, 'O' is an Object object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "0", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", 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.defineProperty will update [[Get]] and [[Set]] attributes
+ of indexed accessor property 'P' successfully when
+ [[Configurable]] attribute is true, 'O' is an Object object
+ (8.12.9 step 11)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-11.js
index 6fe1e299b..320c4b814 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-11.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.6/15.2.3.6-4-531-11.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of named accessor property 'P' successfully when [[Configurable]] attribute is true, 'A' is an Array object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = [];
-
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "prop", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunction1", 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.defineProperty will update [[Get]] and [[Set]] attributes
+ of named accessor property 'P' successfully when [[Configurable]]
+ attribute is true, 'A' is an Array object (8.12.9 step 11)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = [];
+
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "prop", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunction1", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-12.js
index c14577213..9c6acc3e1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-12.js
@@ -1,44 +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.6/15.2.3.6-4-531-12.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of indexed accessor property successfully when [[Configurable]] attribute is true, 'O' is an Arguments object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "0", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", 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.defineProperty will update [[Get]] and [[Set]] attributes
+ of indexed accessor property successfully when [[Configurable]]
+ attribute is true, 'O' is an Arguments object (8.12.9 step 11)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-13.js
index acd25aa4a..07d935ad1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-13.js
@@ -1,47 +1,54 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-13.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of indexed accessor property 'P' successfully when [[Configurable]] attribute is true, 'O' is the global object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = fnGlobalObject();
- try {
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "0", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", false, true);
- } finally {
- delete obj[0];
- delete obj.verifySetFunction;
- delete obj.verifySetFunction1;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty will update [[Get]] and [[Set]] attributes
+ of indexed accessor property 'P' successfully when
+ [[Configurable]] attribute is true, 'O' is the global object
+ (8.12.9 step 11)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = fnGlobalObject();
+ try {
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", false, true);
+ } finally {
+ delete obj[0];
+ delete obj.verifySetFunction;
+ delete obj.verifySetFunction1;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-15.js
index 5e8d837ce..f2a0d588a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-15.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.6/15.2.3.6-4-531-15.js
- * @description ES5 Attributes - Updating a named accessor property 'P' using simple assignment is successful, 'A' is an Array object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = [];
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
- var getFunc = function () {
- return verifySetFunc;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && obj.prop === "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: >
+ ES5 Attributes - Updating a named accessor property 'P' using
+ simple assignment is successful, 'A' is an Array object (8.12.5
+ step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+ var getFunc = function () {
+ return verifySetFunc;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && obj.prop === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-16.js
index 9d2d3cdf6..cb366bc1a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-16.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.6/15.2.3.6-4-531-16.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' using simple assignment, 'O' is an Arguments object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
- var getFunc = function () {
- return verifySetFunc;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- obj[0] = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("0");
- var desc = Object.getOwnPropertyDescriptor(obj, "0");
-
- return propertyDefineCorrect && desc.set === setFunc && obj[0] === "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: >
+ ES5 Attributes - Updating an indexed accessor property 'P' using
+ simple assignment, 'O' is an Arguments object (8.12.5 step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+ var getFunc = function () {
+ return verifySetFunc;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj[0] = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("0");
+ var desc = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return propertyDefineCorrect && desc.set === setFunc && obj[0] === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-17.js
index c415046d7..9bbd258a9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-17.js
@@ -1,40 +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.6/15.2.3.6-4-531-17.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' using simple assignment is successful, 'O' is the global object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = fnGlobalObject();
- try {
- obj.verifySetFunc = "data";
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- obj[0] = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("0");
- var desc = Object.getOwnPropertyDescriptor(obj, "0");
-
- return propertyDefineCorrect && desc.set === setFunc && obj[0] === "overrideData";
- } finally {
- delete obj[0];
- delete obj.verifySetFunc;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating an indexed accessor property 'P' using
+ simple assignment is successful, 'O' is the global object (8.12.5
+ step 5.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = fnGlobalObject();
+ try {
+ obj.verifySetFunc = "data";
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj[0] = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("0");
+ var desc = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return propertyDefineCorrect && desc.set === setFunc && obj[0] === "overrideData";
+ } finally {
+ delete obj[0];
+ delete obj.verifySetFunc;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-2.js
index bb6b9f5b1..1bd79d201 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-2.js
@@ -1,42 +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.6/15.2.3.6-4-531-2.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of indexed accessor property 'P' successfully when [[Configurable]] attribute is true, 'A' is an Array object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = [];
-
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "0", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", 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.defineProperty will update [[Get]] and [[Set]] attributes
+ of indexed accessor property 'P' successfully when
+ [[Configurable]] attribute is true, 'A' is an Array object (8.12.9
+ step 11)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = [];
+
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction1", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-3.js
index 284e11b8a..3cecbd31a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-3.js
@@ -1,44 +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.6/15.2.3.6-4-531-3.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of named accessor property successfully when [[Configurable]] attribute is true, 'O' is an Arguments object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "property", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "property", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction1", 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.defineProperty will update [[Get]] and [[Set]] attributes
+ of named accessor property successfully when [[Configurable]]
+ attribute is true, 'O' is an Arguments object (8.12.9 step 11)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction1", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-4.js
index 29f4fa9a3..c76d08340 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-4.js
@@ -1,47 +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.6/15.2.3.6-4-531-4.js
- * @description Object.defineProperty will update [[Get]] and [[Set]] attributes of named accessor property 'P' successfully when [[Configurable]] attribute is true, 'O' is the global object (8.12.9 step 11)
- */
-
-
-function testcase() {
-
- var obj = fnGlobalObject();
- try {
- obj.verifySetFunction = "data";
- Object.defineProperty(obj, "property", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
- });
-
- obj.verifySetFunction1 = "data1";
- var getFunc = function () {
- return obj.verifySetFunction1;
- };
- var setFunc = function (value) {
- obj.verifySetFunction1 = value;
- };
-
- Object.defineProperty(obj, "property", {
- get: getFunc,
- set: setFunc
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction1", false, true);
- } finally {
- delete obj.property;
- delete obj.verifySetFunction;
- delete obj.verifySetFunction1;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.defineProperty will update [[Get]] and [[Set]] attributes
+ of named accessor property 'P' successfully when [[Configurable]]
+ attribute is true, 'O' is the global object (8.12.9 step 11)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = fnGlobalObject();
+ try {
+ obj.verifySetFunction = "data";
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return obj.verifySetFunction;
+ },
+ set: function (value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
+ });
+
+ obj.verifySetFunction1 = "data1";
+ var getFunc = function () {
+ return obj.verifySetFunction1;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction1 = value;
+ };
+
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction1", false, true);
+ } finally {
+ delete obj.property;
+ delete obj.verifySetFunction;
+ delete obj.verifySetFunction1;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-6.js
index 4746a9a23..304f92bf3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-6.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.6/15.2.3.6-4-531-6.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' without [[Set]] using simple assignment is failed, 'A' is an Array object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = [];
-
- var verifySetFunc = "data";
- var getFunc = function () {
- return verifySetFunc;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- enumerable: true,
- configurable: true
- });
-
- obj[0] = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("0");
- var desc = Object.getOwnPropertyDescriptor(obj, "0");
-
- return propertyDefineCorrect && typeof desc.set === "undefined" && obj[0] === "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: >
+ ES5 Attributes - Updating an indexed accessor property 'P' without
+ [[Set]] using simple assignment is failed, 'A' is an Array object
+ (8.12.5 step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ var verifySetFunc = "data";
+ var getFunc = function () {
+ return verifySetFunc;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj[0] = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("0");
+ var desc = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined" && obj[0] === "data";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-7.js
index 4305c12bd..44085cd4b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-7.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.6/15.2.3.6-4-531-7.js
- * @description ES5 Attributes - Updating a named accessor property 'P' without [[Set]] using simple assignment is failed, 'O' is an Arguments object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- var verifySetFunc = "data";
- var getFunc = function () {
- return verifySetFunc;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- enumerable: true,
- configurable: true
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.set === "undefined" && obj.prop === "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: >
+ ES5 Attributes - Updating a named accessor property 'P' without
+ [[Set]] using simple assignment is failed, 'O' is an Arguments
+ object (8.12.5 step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ var verifySetFunc = "data";
+ var getFunc = function () {
+ return verifySetFunc;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined" && obj.prop === "data";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-8.js
index 8a107af0a..d2b5e3c19 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531-8.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.6/15.2.3.6-4-531-8.js
- * @description ES5 Attributes - Updating a named accessor property 'P' without [[Set]] using simple assignment is failed, 'O' is the global object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = fnGlobalObject();
- try {
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- enumerable: true,
- configurable: true
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && typeof desc.set === "undefined" && obj.prop === "data";
- } finally {
- delete obj.prop;
- delete obj.verifySetFunc;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating a named accessor property 'P' without
+ [[Set]] using simple assignment is failed, 'O' is the global
+ object (8.12.5 step 5.b)
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+ var obj = fnGlobalObject();
+ try {
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && typeof desc.set === "undefined" && obj.prop === "data";
+ } finally {
+ delete obj.prop;
+ delete obj.verifySetFunc;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531.js
index a84ff16cb..2e0d4b6ab 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-531.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.6/15.2.3.6-4-531.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-532.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-532.js
index 5414db28c..b6200363a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-532.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-532.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.6/15.2.3.6-4-532.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is true) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-533.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-533.js
index aeecf2285..b881035a4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-533.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-533.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.6/15.2.3.6-4-533.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-534.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-534.js
index b8e7a0888..81f9a9112 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-534.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-534.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.6/15.2.3.6-4-534.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "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: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-535.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-535.js
index 5101eedd6..39db780d0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-535.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-535.js
@@ -1,41 +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.6/15.2.3.6-4-535.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && typeof desc2.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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && typeof desc2.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-536.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-536.js
index 41852bab0..027af44cf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-536.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-536.js
@@ -1,51 +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.6/15.2.3.6-4-536.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && !result2 && desc1.enumerable === true && desc2.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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && !result2 && desc1.enumerable === true && desc2.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-537.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-537.js
index d0085eb2b..8339f1e46 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-537.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-537.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.6/15.2.3.6-4-537.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-1.js
index 4f18a51c1..f3459789f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-1.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.6/15.2.3.6-4-538-1.js
- * @description ES5 Attributes - Updating an indexed 'P' whose [[Configurable]] attribute is true to a data property is successful, 'A' is an Array object (8.12.9 - step 9.c.i)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- Object.defineProperty(obj, "0", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
- typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
- dataPropertyAttributesAreCorrect(obj, "0", 1001, 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: >
+ ES5 Attributes - Updating an indexed 'P' whose [[Configurable]]
+ attribute is true to a data property is successful, 'A' is an
+ Array object (8.12.9 - step 9.c.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ Object.defineProperty(obj, "0", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
+ typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
+ dataPropertyAttributesAreCorrect(obj, "0", 1001, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-2.js
index 05e9fd788..273e21c5a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-2.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.6/15.2.3.6-4-538-2.js
- * @description ES5 Attributes - Updating a named accessor property 'P' whose [[Configurable]] attribute is true to a data property is successful, 'O' is an Arguments object
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
- typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
- dataPropertyAttributesAreCorrect(obj, "prop", 1001, 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: >
+ ES5 Attributes - Updating a named accessor property 'P' whose
+ [[Configurable]] attribute is true to a data property is
+ successful, 'O' is an Arguments object
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
+ typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
+ dataPropertyAttributesAreCorrect(obj, "prop", 1001, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-3.js
index 98c390c46..c4101ae2a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-3.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.6/15.2.3.6-4-538-3.js
- * @description ES5 Attributes - Updating a named accessor property 'P' whose [[Configurable]] attribute is true to a data property is successful, 'O' is the global object
- */
-
-
-function testcase() {
- var obj = fnGlobalObject();
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
- try {
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
- typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
- dataPropertyAttributesAreCorrect(obj, "prop", 1001, false, true, true);
- } finally {
- delete obj.prop;
- delete obj.verifySetFunc;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating a named accessor property 'P' whose
+ [[Configurable]] attribute is true to a data property is
+ successful, 'O' is the global object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = fnGlobalObject();
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
+ typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
+ dataPropertyAttributesAreCorrect(obj, "prop", 1001, false, true, true);
+ } finally {
+ delete obj.prop;
+ delete obj.verifySetFunc;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-5.js
index 5a9e07260..722086e9c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-5.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.6/15.2.3.6-4-538-5.js
- * @description ES5 Attributes - Updating a named accessor property 'P' whose [[Configurable]] attribute is true to a data property is successful, 'A' is an Array object (8.12.9 - step 9.c.i)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
- typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
- dataPropertyAttributesAreCorrect(obj, "prop", 1001, 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: >
+ ES5 Attributes - Updating a named accessor property 'P' whose
+ [[Configurable]] attribute is true to a data property is
+ successful, 'A' is an Array object (8.12.9 - step 9.c.i)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
+ typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
+ dataPropertyAttributesAreCorrect(obj, "prop", 1001, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-6.js
index 680a00f10..cdaa30c07 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-6.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.6/15.2.3.6-4-538-6.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' whose [[Configurable]] attribute is true to a data property is successful, 'O' is an Arguments object
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- Object.defineProperty(obj, "0", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
- typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
- dataPropertyAttributesAreCorrect(obj, "0", 1001, 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: >
+ ES5 Attributes - Updating an indexed accessor property 'P' whose
+ [[Configurable]] attribute is true to a data property is
+ successful, 'O' is an Arguments object
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ Object.defineProperty(obj, "0", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
+ typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
+ dataPropertyAttributesAreCorrect(obj, "0", 1001, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-7.js
index f12ffa2cd..b4d09a2b9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538-7.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.6/15.2.3.6-4-538-7.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' whose [[Configurable]] attribute is true to a data property is successful, 'O' is the global object
- */
-
-
-function testcase() {
- var obj = fnGlobalObject();
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
- try {
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- Object.defineProperty(obj, "0", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
- typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
- dataPropertyAttributesAreCorrect(obj, "0", 1001, false, true, true);
- } finally {
- delete obj[0];
- delete obj.verifySetFunc;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Updating an indexed accessor property 'P' whose
+ [[Configurable]] attribute is true to a data property is
+ successful, 'O' is the global object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = fnGlobalObject();
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+ try {
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ Object.defineProperty(obj, "0", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
+ typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
+ dataPropertyAttributesAreCorrect(obj, "0", 1001, false, true, true);
+ } finally {
+ delete obj[0];
+ delete obj.verifySetFunc;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538.js
index b1ea0ff93..4c66e089b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-538.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.6/15.2.3.6-4-538.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
- typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
- dataPropertyAttributesAreCorrect(obj, "prop", 1001, 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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is true) to a data property
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value") &&
+ typeof desc2.get === "undefined" && typeof desc2.get === "undefined" &&
+ dataPropertyAttributesAreCorrect(obj, "prop", 1001, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-539.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-539.js
index ee682019b..c9865cb8f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-539.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-539.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.6/15.2.3.6-4-539.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-54.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-54.js
index 02e5ac2a1..f07d5b888 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-54.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-54.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.6/15.2.3.6-4-54.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', test [[Set]] of 'name' property of 'Attributes' is set as undefined value if absent in accessor descriptor 'desc' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return "property";
- },
- enumerable: false,
- configurable: false
- });
-
-
- if (obj.property !== "property") {
- return false;
- }
- var desc = Object.getOwnPropertyDescriptor(obj, "property");
- if (typeof desc.set !== "undefined") {
- return false;
- }
- for (var p in obj) {
- if (p === "property") {
- return false;
- }
- }
- delete obj.property;
- if (!obj.hasOwnProperty("property")) {
- 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.defineProperty - 'name' property doesn't exist in 'O', test
+ [[Set]] of 'name' property of 'Attributes' 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 = {};
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return "property";
+ },
+ enumerable: false,
+ configurable: false
+ });
+
+
+ if (obj.property !== "property") {
+ return false;
+ }
+ var desc = Object.getOwnPropertyDescriptor(obj, "property");
+ if (typeof desc.set !== "undefined") {
+ return false;
+ }
+ for (var p in obj) {
+ if (p === "property") {
+ return false;
+ }
+ }
+ delete obj.property;
+ if (!obj.hasOwnProperty("property")) {
+ return false;
+ }
+
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js
index 5626e010e..091d3c711 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js
@@ -1,51 +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.6/15.2.3.6-4-540-1.js
- * @description Object.defineProperty fails to update [[Get]] and [[Set]] attributes of a named accessor property 'P' whose [[Configurable]] attribute is false and throws TypeError exception, 'O' is an Object object (8.12.9 step 11.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- obj.verifySetFunction = "data";
- var getFunc = function () {
- return obj.verifySetFunction;
- };
- var setFunc = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "property", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- var result = false;
- try {
- Object.defineProperty(obj, "property", {
- get: function () {
- return 100;
- }
- });
- } catch (e) {
- result = e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
- }
-
- try {
- Object.defineProperty(obj, "property", {
- set: function (value) {
- obj.verifySetFunction1 = value;
- }
- });
- } catch (e1) {
- return result && e1 instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", 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.defineProperty fails to update [[Get]] and [[Set]]
+ attributes of a named accessor property 'P' whose [[Configurable]]
+ attribute is false and throws TypeError exception, 'O' is an
+ Object object (8.12.9 step 11.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ obj.verifySetFunction = "data";
+ var getFunc = function () {
+ return obj.verifySetFunction;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ var result = false;
+ try {
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 100;
+ }
+ });
+ } catch (e) {
+ result = e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+
+ try {
+ Object.defineProperty(obj, "property", {
+ set: function (value) {
+ obj.verifySetFunction1 = value;
+ }
+ });
+ } catch (e1) {
+ return result && e1 instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-10.js
index 71d928f8f..c41f2f6fe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-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.6/15.2.3.6-4-540-10.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' using simple assignment is successful, 'O' is an Arguments object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- obj[0] = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("0");
- var desc = Object.getOwnPropertyDescriptor(obj, "0");
-
- return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "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: >
+ ES5 Attributes - Updating an indexed accessor property 'P' using
+ simple assignment is successful, 'O' is an Arguments object
+ (8.12.5 step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ obj[0] = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("0");
+ var desc = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js
index 0a8f2c485..4d5337dad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js
@@ -1,51 +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.6/15.2.3.6-4-540-2.js
- * @description Object.defineProperty fails to update [[Get]] and [[Set]] attributes of an indexed property 'P' whose [[Configurable]] attribute is false and throws TypeError exception, 'A' is an Array object (8.12.9 step 11.a)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunction = "data";
- var getFunc = function () {
- return obj.verifySetFunction;
- };
- var setFunc = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- var result = false;
- try {
- Object.defineProperty(obj, "0", {
- get: function () {
- return 100;
- }
- });
- } catch (e) {
- result = e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
- }
-
- try {
- Object.defineProperty(obj, "0", {
- set: function (value) {
- obj.verifySetFunction1 = value;
- }
- });
- } catch (e1) {
- return result && e1 instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", 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.defineProperty fails to update [[Get]] and [[Set]]
+ attributes of an indexed property 'P' whose [[Configurable]]
+ attribute is false and throws TypeError exception, 'A' is an Array
+ object (8.12.9 step 11.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunction = "data";
+ var getFunc = function () {
+ return obj.verifySetFunction;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ var result = false;
+ try {
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return 100;
+ }
+ });
+ } catch (e) {
+ result = e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+
+ try {
+ Object.defineProperty(obj, "0", {
+ set: function (value) {
+ obj.verifySetFunction1 = value;
+ }
+ });
+ } catch (e1) {
+ return result && e1 instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js
index 12812946b..f69922ab9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js
@@ -1,53 +1,58 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js
- * @description Object.defineProperty fails to update [[Get]] and [[Set]] attributes of a named accessor property 'P' whose [[Configurable]] attribute is false, 'O' is an Arguments object (8.12.9 step 11.a)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunction = "data";
- var getFunc = function () {
- return obj.verifySetFunction;
- };
- var setFunc = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "property", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- var result = false;
- try {
- Object.defineProperty(obj, "property", {
- get: function () {
- return 100;
- }
- });
- } catch (e) {
- result = e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
- }
-
- try {
- Object.defineProperty(obj, "property", {
- set: function (value) {
- obj.verifySetFunction1 = value;
- }
- });
- } catch (e1) {
- return result && e1 instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", 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.defineProperty fails to update [[Get]] and [[Set]]
+ attributes of a named accessor property 'P' whose [[Configurable]]
+ attribute is false, 'O' is an Arguments object (8.12.9 step 11.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunction = "data";
+ var getFunc = function () {
+ return obj.verifySetFunction;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ var result = false;
+ try {
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 100;
+ }
+ });
+ } catch (e) {
+ result = e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+
+ try {
+ Object.defineProperty(obj, "property", {
+ set: function (value) {
+ obj.verifySetFunction1 = value;
+ }
+ });
+ } catch (e1) {
+ return result && e1 instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-4.js
index abfe7bee9..32678c4b9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-4.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.6/15.2.3.6-4-540-4.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' using simple assignment is successful, 'A' is an Array object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- obj[0] = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("0");
- var desc = Object.getOwnPropertyDescriptor(obj, "0");
-
- return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "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: >
+ ES5 Attributes - Updating an indexed accessor property 'P' using
+ simple assignment is successful, 'A' is an Array object (8.12.5
+ step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ obj[0] = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("0");
+ var desc = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-5.js
index 001e9a3c2..612598df1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-5.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.6/15.2.3.6-4-540-5.js
- * @description ES5 Attributes - Updating a named accessor property 'P' using simple assignment is successful, 'O' is an Arguments object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "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: >
+ ES5 Attributes - Updating a named accessor property 'P' using
+ simple assignment is successful, 'O' is an Arguments object
+ (8.12.5 step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js
index 7dc675fec..c121b7313 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js
@@ -1,51 +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.6/15.2.3.6-4-540-6.js
- * @description Object.defineProperty fails to update [[Get]] and [[Set]] attributes of an indexed accessor property 'P' whose [[Configurable]] attribute is false and throws TypeError exception, 'O' is an Object object (8.12.9 step 11.a)
- */
-
-
-function testcase() {
- var obj = {};
-
- obj.verifySetFunction = "data";
- var getFunc = function () {
- return obj.verifySetFunction;
- };
- var setFunc = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- var result = false;
- try {
- Object.defineProperty(obj, "0", {
- get: function () {
- return 100;
- }
- });
- } catch (e) {
- result = e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
- }
-
- try {
- Object.defineProperty(obj, "0", {
- set: function (value) {
- obj.verifySetFunction1 = value;
- }
- });
- } catch (e1) {
- return result && e1 instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", 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.defineProperty fails to update [[Get]] and [[Set]]
+ attributes of an indexed accessor property 'P' whose
+ [[Configurable]] attribute is false and throws TypeError
+ exception, 'O' is an Object object (8.12.9 step 11.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ obj.verifySetFunction = "data";
+ var getFunc = function () {
+ return obj.verifySetFunction;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ var result = false;
+ try {
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return 100;
+ }
+ });
+ } catch (e) {
+ result = e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+
+ try {
+ Object.defineProperty(obj, "0", {
+ set: function (value) {
+ obj.verifySetFunction1 = value;
+ }
+ });
+ } catch (e1) {
+ return result && e1 instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-7.js
index 135be307f..3a86b441f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-7.js
@@ -1,51 +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.6/15.2.3.6-4-540-7.js
- * @description Object.defineProperty fails to update [[Get]] and [[Set]] attributes of a named property 'P' whose [[Configurable]] attribute is false and throws TypeError exception, 'A' is an Array object (8.12.9 step 11.a)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunction = "data";
- var getFunc = function () {
- return obj.verifySetFunction;
- };
- var setFunc = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- var result = false;
- try {
- Object.defineProperty(obj, "prop", {
- get: function () {
- return 100;
- }
- });
- } catch (e) {
- result = e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunction", false, false);
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- set: function (value) {
- obj.verifySetFunction1 = value;
- }
- });
- } catch (e1) {
- return result && e1 instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunction", 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.defineProperty fails to update [[Get]] and [[Set]]
+ attributes of a named property 'P' whose [[Configurable]]
+ attribute is false and throws TypeError exception, 'A' is an Array
+ object (8.12.9 step 11.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunction = "data";
+ var getFunc = function () {
+ return obj.verifySetFunction;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ var result = false;
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: function () {
+ return 100;
+ }
+ });
+ } catch (e) {
+ result = e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: function (value) {
+ obj.verifySetFunction1 = value;
+ }
+ });
+ } catch (e1) {
+ return result && e1 instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js
index 19a3d3956..bcbb008d9 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js
@@ -1,53 +1,59 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js
- * @description Object.defineProperty fails to update [[Get]] and [[Set]] attributes of an indexed accessor property 'P' whose [[Configurable]] attribute is false, 'O' is an Arguments object (8.12.9 step 11.a)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunction = "data";
- var getFunc = function () {
- return obj.verifySetFunction;
- };
- var setFunc = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- var result = false;
- try {
- Object.defineProperty(obj, "0", {
- get: function () {
- return 100;
- }
- });
- } catch (e) {
- result = e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
- }
-
- try {
- Object.defineProperty(obj, "0", {
- set: function (value) {
- obj.verifySetFunction1 = value;
- }
- });
- } catch (e1) {
- return result && e1 instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", 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.defineProperty fails to update [[Get]] and [[Set]]
+ attributes of an indexed accessor property 'P' whose
+ [[Configurable]] attribute is false, 'O' is an Arguments object
+ (8.12.9 step 11.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunction = "data";
+ var getFunc = function () {
+ return obj.verifySetFunction;
+ };
+ var setFunc = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ var result = false;
+ try {
+ Object.defineProperty(obj, "0", {
+ get: function () {
+ return 100;
+ }
+ });
+ } catch (e) {
+ result = e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+
+ try {
+ Object.defineProperty(obj, "0", {
+ set: function (value) {
+ obj.verifySetFunction1 = value;
+ }
+ });
+ } catch (e1) {
+ return result && e1 instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-9.js
index f50732dbd..17fe6d146 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-9.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.6/15.2.3.6-4-540-9.js
- * @description ES5 Attributes - Updating a named accessor property 'P' using simple assignment is successful, 'A' is an Array object (8.12.5 step 5.b)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "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: >
+ ES5 Attributes - Updating a named accessor property 'P' using
+ simple assignment is successful, 'A' is an Array object (8.12.5
+ step 5.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && obj.verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540.js
index 6709f809e..cbf974d81 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540.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.6/15.2.3.6-4-540.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-541.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-541.js
index eb8166bd8..38b411744 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-541.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-541.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.6/15.2.3.6-4-541.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return propertyDefineCorrect && desc.enumerable === true;
- }
- }
-
- 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is false) is
+ enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return propertyDefineCorrect && desc.enumerable === true;
+ }
+ }
+
+ return false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-542.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-542.js
index e7a8fff15..08baf29e6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-542.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-542.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.6/15.2.3.6-4-542.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is true, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-543.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-543.js
index 353a38a38..e7aba6923 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-543.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-543.js
@@ -1,47 +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.6/15.2.3.6-4-543.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- return false;
- } catch (e) {
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-544.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-544.js
index 0a714716f..ed26cba3b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-544.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-544.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.6/15.2.3.6-4-544.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && desc2.set === setFunc && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && desc2.set === setFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-545.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-545.js
index 4a7f30fdb..cd936734a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-545.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-545.js
@@ -1,56 +1,60 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-545.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: false
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: false
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return result1 && result2 && desc1.enumerable === true && desc2.enumerable === true && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-546.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-546.js
index 8947e4a41..ca29eb7db 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-546.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-546.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.6/15.2.3.6-4-546.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is true, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-1.js
index 4bd771275..e3d569f15 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-1.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.6/15.2.3.6-4-547-1.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' whose [[Configurable]] attribute is false to a data property does not succeed, 'A' is an Array object (8.12.9 step 9.a)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- try {
- Object.defineProperty(obj, "0", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunc", 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: >
+ ES5 Attributes - Updating an indexed accessor property 'P' whose
+ [[Configurable]] attribute is false to a data property does not
+ succeed, 'A' is an Array object (8.12.9 step 9.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ try {
+ Object.defineProperty(obj, "0", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunc", true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-2.js
index 9f9a3bd68..2fecf2e23 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-2.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.6/15.2.3.6-4-547-2.js
- * @description ES5 Attributes - Updating a named accessor property 'P' whose [[Configurable]] attribute is false to a data property does not succeed, 'A' is an Arguments object (8.12.9 step 9.a)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunc", 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: >
+ ES5 Attributes - Updating a named accessor property 'P' whose
+ [[Configurable]] attribute is false to a data property does not
+ succeed, 'A' is an Arguments object (8.12.9 step 9.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunc", true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-3.js
index c4b1230c1..2fc26b6f3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-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.6/15.2.3.6-4-547-3.js
- * @description ES5 Attributes - Updating a named accessor property 'P' whose [[Configurable]] attribute is false to a data property does not succeed, 'A' is an Array object (8.12.9 step 9.a)
- */
-
-
-function testcase() {
- var obj = [];
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunc", 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: >
+ ES5 Attributes - Updating a named accessor property 'P' whose
+ [[Configurable]] attribute is false to a data property does not
+ succeed, 'A' is an Array object (8.12.9 step 9.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = [];
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "prop", getFunc, setFunc, "verifySetFunc", true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-4.js
index 3bb8eade7..e93f31b4a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547-4.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.6/15.2.3.6-4-547-4.js
- * @description ES5 Attributes - Updating an indexed accessor property 'P' whose [[Configurable]] attribute is false to a data property does not succeed, 'A' is an Arguments object (8.12.9 step 9.a)
- */
-
-
-function testcase() {
- var obj = (function () {
- return arguments;
- }());
-
- obj.verifySetFunc = "data";
- var getFunc = function () {
- return obj.verifySetFunc;
- };
-
- var setFunc = function (value) {
- obj.verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-
- try {
- Object.defineProperty(obj, "0", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunc", 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: >
+ ES5 Attributes - Updating an indexed accessor property 'P' whose
+ [[Configurable]] attribute is false to a data property does not
+ succeed, 'A' is an Arguments object (8.12.9 step 9.a)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = (function () {
+ return arguments;
+ }());
+
+ obj.verifySetFunc = "data";
+ var getFunc = function () {
+ return obj.verifySetFunc;
+ };
+
+ var setFunc = function (value) {
+ obj.verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "0", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ try {
+ Object.defineProperty(obj, "0", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunc", true, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547.js
index c9cdb7007..94bb0672e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-547.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.6/15.2.3.6-4-547.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ a Function, [[Set]] is a Function, [[Enumerable]] is true,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-548.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-548.js
index cb37e02aa..76e780ebc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-548.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-548.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.6/15.2.3.6-4-548.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-549.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-549.js
index 68774f754..60d5ffcbe 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-549.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-549.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.6/15.2.3.6-4-549.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is true) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-55.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-55.js
index 83c12fb92..8d0dd1992 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-55.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-55.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.6/15.2.3.6-4-55.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', test [[Enumerable]] of 'name' property of 'Attributes' is set as false value if absent in accessor descriptor 'desc' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
-
- var setFunc = function (value) {
- obj.setVerifyHelpProp = value;
- };
- var getFunc = function () {
- return 10;
- };
-
- Object.defineProperty(obj, "property", {
- set: setFunc,
- get: getFunc,
- configurable: true
- });
- return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "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.defineProperty - 'name' property doesn't exist in 'O', test
+ [[Enumerable]] of 'name' property of 'Attributes' 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 setFunc = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+ var getFunc = function () {
+ return 10;
+ };
+
+ Object.defineProperty(obj, "property", {
+ set: setFunc,
+ get: getFunc,
+ configurable: true
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-550.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-550.js
index 0faf9153a..f7e67279a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-550.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-550.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.6/15.2.3.6-4-550.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is true) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-551.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-551.js
index 7ee5963d8..11425a63b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-551.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-551.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.6/15.2.3.6-4-551.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) is deletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === true && !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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is true) is
+ deletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-552.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-552.js
index f0bf34e2e..7f74b3307 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-552.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-552.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.6/15.2.3.6-4-552.js
- * @description ES5 Attributes - success to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "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: >
+ ES5 Attributes - success to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ var result2 = typeof obj.prop === "undefined";
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && typeof desc2.get === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-553.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-553.js
index b10c8f925..b49bce68b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-553.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-553.js
@@ -1,41 +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.6/15.2.3.6-4-553.js
- * @description ES5 Attributes - success to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && typeof desc2.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: >
+ ES5 Attributes - success to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && typeof desc2.set === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-554.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-554.js
index 77b26ae9c..36b224950 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-554.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-554.js
@@ -1,52 +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.6/15.2.3.6-4-554.js
- * @description ES5 Attributes - success to update [[Enumerable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === 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: >
+ ES5 Attributes - success to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && result2 && desc1.enumerable === false && desc2.enumerable === true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-555.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-555.js
index e25a6a3f4..1b8788e46 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-555.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-555.js
@@ -1,41 +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.6/15.2.3.6-4-555.js
- * @description ES5 Attributes - success to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- configurable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === true && desc2.configurable === false && 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: >
+ ES5 Attributes - success to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is true) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ configurable: false
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === true && desc2.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-556.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-556.js
index d47ba39c0..687eae4a0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-556.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-556.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.6/15.2.3.6-4-556.js
- * @description ES5 Attributes - success to update the accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is true) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: true
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("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: >
+ ES5 Attributes - success to update the accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is true) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: true
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && desc2.hasOwnProperty("value");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-557.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-557.js
index 39a46bb9b..3a3a69bf4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-557.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-557.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.6/15.2.3.6-4-557.js
- * @description ES5 Attributes - [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.get === getFunc && 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: >
+ ES5 Attributes - [[Get]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.get === getFunc && obj.prop === 1001;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-558.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-558.js
index 27413ebea..7580e220e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-558.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-558.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.6/15.2.3.6-4-558.js
- * @description ES5 Attributes - [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is the expected function
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "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: >
+ ES5 Attributes - [[Set]] attribute of accessor property ([[Get]]
+ is a Function, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is false) is the expected function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ obj.prop = "overrideData";
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return propertyDefineCorrect && desc.set === setFunc && verifySetFunc === "overrideData";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-559.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-559.js
index e7d93cc7d..6ae7baf00 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-559.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-559.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.6/15.2.3.6-4-559.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is non-enumerable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- for (var p in obj) {
- if (p === "prop") {
- return false;
- }
- }
-
- return propertyDefineCorrect && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is false) is
+ non-enumerable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ for (var p in obj) {
+ if (p === "prop") {
+ return false;
+ }
+ }
+
+ return propertyDefineCorrect && desc.enumerable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-56.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-56.js
index 2c9199ebb..8925c4423 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-56.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-56.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.6/15.2.3.6-4-56.js
- * @description Object.defineProperty - 'name' property doesn't exist in 'O', test [[Configurable]] of 'name' property is set as false if it is absent in accessor descriptor 'desc' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
- var setFunc = function (value) {
- obj.setVerifyHelpProp = value;
- };
- var getFunc = function () {
- return 10;
- };
-
- Object.defineProperty(obj, "property", {
- set: setFunc,
- get: getFunc,
- enumerable: true
- });
- return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "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.defineProperty - 'name' property doesn't exist in 'O', test
+ [[Configurable]] of 'name' property is set as false if it is
+ absent in accessor descriptor 'desc' (8.12.9 step 4.b.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var setFunc = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+ var getFunc = function () {
+ return 10;
+ };
+
+ Object.defineProperty(obj, "property", {
+ set: setFunc,
+ get: getFunc,
+ enumerable: true
+ });
+ return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "setVerifyHelpProp", true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-560.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-560.js
index ee6bbe1ae..145ea73ec 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-560.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-560.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.6/15.2.3.6-4-560.js
- * @description ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) is undeletable
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- delete obj.prop;
-
- return propertyDefineCorrect && desc.configurable === false && 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: >
+ ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a
+ Function, [[Enumerable]] is false, [[Configurable]] is false) is
+ undeletable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ delete obj.prop;
+
+ return propertyDefineCorrect && desc.configurable === false && obj.hasOwnProperty("prop");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-561.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-561.js
index 7c1dec1c4..1fedd5714 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-561.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-561.js
@@ -1,47 +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.6/15.2.3.6-4-561.js
- * @description ES5 Attributes - fail to update [[Get]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
-
- return false;
- } catch (e) {
- var result2 = obj.prop === 1001;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && 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: >
+ ES5 Attributes - fail to update [[Get]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var result1 = obj.prop === 1001;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ get: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = obj.prop === 1001;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return result1 && result2 && desc1.get === getFunc && desc2.get === getFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-562.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-562.js
index b5a83cee2..b6ffa88e7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-562.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-562.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.6/15.2.3.6-4-562.js
- * @description ES5 Attributes - fail to update [[Set]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- set: undefined
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.set === setFunc && desc2.set === setFunc && 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: >
+ ES5 Attributes - fail to update [[Set]] attribute of accessor
+ property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ set: undefined
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.set === setFunc && desc2.set === setFunc && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-563.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-563.js
index 8f3b37cf2..e24c227af 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-563.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-563.js
@@ -1,56 +1,60 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-563.js
- * @description ES5 Attributes - fail to update [[Enumerable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- var result1 = false;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p1 in obj) {
- if (p1 === "prop") {
- result1 = true;
- }
- }
-
- try {
- Object.defineProperty(obj, "prop", {
- enumerable: true
- });
-
- return false;
- } catch (e) {
- var result2 = false;
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- for (var p2 in obj) {
- if (p2 === "prop") {
- result2 = true;
- }
- }
-
- return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && 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: >
+ ES5 Attributes - fail to update [[Enumerable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ var result1 = false;
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p1 in obj) {
+ if (p1 === "prop") {
+ result1 = true;
+ }
+ }
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ enumerable: true
+ });
+
+ return false;
+ } catch (e) {
+ var result2 = false;
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ for (var p2 in obj) {
+ if (p2 === "prop") {
+ result2 = true;
+ }
+ }
+
+ return !result1 && !result2 && desc1.enumerable === false && desc2.enumerable === false && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-564.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-564.js
index d788a6593..8fbd17e29 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-564.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-564.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.6/15.2.3.6-4-564.js
- * @description ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to different value
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- configurable: true
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
- delete obj.prop;
-
- return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && 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: >
+ ES5 Attributes - fail to update [[Configurable]] attribute of
+ accessor property ([[Get]] is a Function, [[Set]] is a Function,
+ [[Enumerable]] is false, [[Configurable]] is false) to different
+ value
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ configurable: true
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+ delete obj.prop;
+
+ return desc1.configurable === false && desc2.configurable === false && obj.hasOwnProperty("prop") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-565.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-565.js
index 996f3c821..e68d6276c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-565.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-565.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.6/15.2.3.6-4-565.js
- * @description ES5 Attributes - fail to update the accessor property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is false, [[Configurable]] is false) to a data property
- */
-
-
-function testcase() {
- var obj = {};
-
- var getFunc = function () {
- return 1001;
- };
-
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: false,
- configurable: false
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- try {
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
-
- return false;
- } catch (e) {
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && 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: >
+ ES5 Attributes - fail to update the accessor property ([[Get]] is
+ a Function, [[Set]] is a Function, [[Enumerable]] is false,
+ [[Configurable]] is false) to a data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var getFunc = function () {
+ return 1001;
+ };
+
+ var verifySetFunc = "data";
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: false,
+ configurable: false
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ try {
+ Object.defineProperty(obj, "prop", {
+ value: 1001
+ });
+
+ return false;
+ } catch (e) {
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return desc1.hasOwnProperty("get") && !desc2.hasOwnProperty("value") && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-566.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-566.js
index 1882016b2..aec861a67 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-566.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-566.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.6/15.2.3.6-4-566.js
- * @description ES5 Attributes - [[Get]] attribute is a function which has zero argument
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function () {
- return 2010;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && obj.prop === 2010 && desc.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Get]] attribute is a function which has zero
+ argument
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function () {
+ return 2010;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && obj.prop === 2010 && desc.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-567.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-567.js
index 640d891a4..95ae1fb73 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-567.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-567.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.6/15.2.3.6-4-567.js
- * @description ES5 Attributes - [[Get]] attribute is a function which has one argument
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function (arg1) {
- return 2010;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && obj.prop === 2010 && desc.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Get]] attribute is a function which has one
+ argument
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function (arg1) {
+ return 2010;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && obj.prop === 2010 && desc.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-568.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-568.js
index 1e265a6c7..cbcf5e723 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-568.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-568.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.6/15.2.3.6-4-568.js
- * @description ES5 Attributes - [[Get]] attribute is a function which has two arguments
- */
-
-
-function testcase() {
- var obj = {};
- var getFunc = function (arg1, arg2) {
- return 2010;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && obj.prop === 2010 && desc.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Get]] attribute is a function which has two
+ arguments
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var getFunc = function (arg1, arg2) {
+ return 2010;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && obj.prop === 2010 && desc.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-569.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-569.js
index 5433189e6..4c5146686 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-569.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-569.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.6/15.2.3.6-4-569.js
- * @description ES5 Attributes - [[Get]] attribute is a function which contains global variable
- */
-
-
-function testcase() {
- var obj = {};
- var globalVariable = 20;
- var getFunc = function () {
- globalVariable = 2010;
- return globalVariable;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.get === getFunc && obj.prop === 2010 && globalVariable === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Get]] attribute is a function which contains
+ global variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var globalVariable = 20;
+ var getFunc = function () {
+ globalVariable = 2010;
+ return globalVariable;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.get === getFunc && obj.prop === 2010 && globalVariable === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-57.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-57.js
index 0986bba90..4ee865592 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-57.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-57.js
@@ -1,39 +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.6/15.2.3.6-4-57.js
- * @description Object.defineProperty - 'desc' is accessor descriptor, test updating all attribute values of 'name' (8.12.9 step 4.b.i)
- */
-
-
-function testcase() {
- var obj = {};
- var setFunc = function (value) {
- obj.setVerifyHelpProp = value;
- };
- var getFunc = function () {
- return 14;
- };
-
- Object.defineProperty(obj, "property", {
- get: function () {
- return 11;
- },
- set: function (value) { },
- configurable: true,
- enumerable: true
- });
-
- Object.defineProperty(obj, "property", {
- get: getFunc,
- set: setFunc,
- configurable: false,
- enumerable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "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.defineProperty - 'desc' is accessor descriptor, test
+ updating all attribute values of 'name' (8.12.9 step 4.b.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var setFunc = function (value) {
+ obj.setVerifyHelpProp = value;
+ };
+ var getFunc = function () {
+ return 14;
+ };
+
+ Object.defineProperty(obj, "property", {
+ get: function () {
+ return 11;
+ },
+ set: function (value) { },
+ configurable: true,
+ enumerable: true
+ });
+
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false,
+ enumerable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-570.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-570.js
index 3a328da09..cb9b88243 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-570.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-570.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.6/15.2.3.6-4-570.js
- * @description ES5 Attributes - [[Get]] attribute is a function which doesn't contains return statement
- */
-
-
-function testcase() {
- var obj = {};
- var verifyExecute = false;
- var getFunc = function () {
- verifyExecute = true;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.get === getFunc && typeof obj.prop === "undefined" && verifyExecute;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Get]] attribute is a function which doesn't
+ contains return statement
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var verifyExecute = false;
+ var getFunc = function () {
+ verifyExecute = true;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.get === getFunc && typeof obj.prop === "undefined" && verifyExecute;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-571.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-571.js
index 34d4deeef..9cfe682a4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-571.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-571.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.6/15.2.3.6-4-571.js
- * @description ES5 Attributes - [[Get]] attribute is a function which involves 'this' object into statement(s)
- */
-
-
-function testcase() {
- var obj = {
- len: 2010
- };
- var getFunc = function () {
- return this;
- };
-
- Object.defineProperty(obj, "prop", {
- get: getFunc
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && obj.prop === obj && desc.get === getFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Get]] attribute is a function which involves
+ 'this' object into statement(s)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {
+ len: 2010
+ };
+ var getFunc = function () {
+ return this;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ get: getFunc
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && obj.prop === obj && desc.get === getFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-572.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-572.js
index e220c0bce..27f79b7fd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-572.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-572.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.6/15.2.3.6-4-572.js
- * @description ES5 Attributes - [[Set]] attribute is a function which has zero argument
- */
-
-
-function testcase() {
- var obj = {};
-
- var setFunc = function () { };
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.set === setFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Set]] attribute is a function which has zero
+ argument
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var setFunc = function () { };
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.set === setFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js
index 6f02c91b6..b1119f7aa 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.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.6/15.2.3.6-4-573.js
- * @description ES5 Attributes - [[Set]] attribute is a function which has one argument
- */
-
-
-function testcase() {
- var obj = {};
-
- var verifySetFunc = 20;
- var setFunc = function (value) {
- verifySetFunc = value;
- };
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
- obj.prop = 2010;
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.set === setFunc && verifySetFunc === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Set]] attribute is a function which has one
+ argument
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var verifySetFunc = 20;
+ var setFunc = function (value) {
+ verifySetFunc = value;
+ };
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+ obj.prop = 2010;
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.set === setFunc && verifySetFunc === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js
index 13bac13fd..1270c1c4b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.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.6/15.2.3.6-4-574.js
- * @description ES5 Attributes - [[Set]] attribute is a function which has two arguments
- */
-
-
-function testcase() {
- var obj = {};
- var firstArg = 12;
- var secondArg = 12;
-
- var setFunc = function (a, b) {
- firstArg = a;
- secondArg = b;
- };
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
- obj.prop = 100;
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.set === setFunc && firstArg === 100 && typeof secondArg === "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: >
+ ES5 Attributes - [[Set]] attribute is a function which has two
+ arguments
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var firstArg = 12;
+ var secondArg = 12;
+
+ var setFunc = function (a, b) {
+ firstArg = a;
+ secondArg = b;
+ };
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+ obj.prop = 100;
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.set === setFunc && firstArg === 100 && typeof secondArg === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-575.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-575.js
index 1a694d0a2..986c78b51 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-575.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-575.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.6/15.2.3.6-4-575.js
- * @description ES5 Attributes - [[Set]] attribute is a function which contains global variable
- */
-
-
-function testcase() {
- var obj = {};
- var globalVariable = 20;
- var setFunc = function () {
- globalVariable = 2010;
- };
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
- obj.prop = 10;
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.set === setFunc && globalVariable === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Set]] attribute is a function which contains
+ global variable
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+ var globalVariable = 20;
+ var setFunc = function () {
+ globalVariable = 2010;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+ obj.prop = 10;
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.set === setFunc && globalVariable === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-576.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-576.js
index 616a39222..947451ab4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-576.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-576.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.6/15.2.3.6-4-576.js
- * @description ES5 Attributes - [[Set]] attribute is a function which contains return statement
- */
-
-
-function testcase() {
- var obj = {};
-
- var setFunc = function () {
- return 2010;
- };
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.set === setFunc;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Set]] attribute is a function which contains
+ return statement
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var setFunc = function () {
+ return 2010;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.set === setFunc;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-577.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-577.js
index 637b92771..1298a0185 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-577.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-577.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.6/15.2.3.6-4-577.js
- * @description ES5 Attributes - [[Set]] attribute is a function which involves 'this' object into statement(s)
- */
-
-
-function testcase() {
- var obj = {};
-
- var setFunc = function (value) {
- this.len = value;
- };
-
- Object.defineProperty(obj, "prop", {
- set: setFunc
- });
- obj.prop = 2010;
-
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
-
- return obj.hasOwnProperty("prop") && desc.set === setFunc && obj.len === 2010;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Set]] attribute is a function which involves
+ 'this' object into statement(s)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ var setFunc = function (value) {
+ this.len = value;
+ };
+
+ Object.defineProperty(obj, "prop", {
+ set: setFunc
+ });
+ obj.prop = 2010;
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+
+ return obj.hasOwnProperty("prop") && desc.set === setFunc && obj.len === 2010;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-578.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-578.js
index 203627997..3110bfa48 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-578.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-578.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.6/15.2.3.6-4-578.js
- * @description ES5 Attributes - [[Get]] field of inherited property of [[Prototype]] internal property is correct (String instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(String.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
- var strObj = new String();
-
- return !strObj.hasOwnProperty("prop") && strObj.prop === "data";
- } finally {
- delete String.prototype.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: >
+ ES5 Attributes - [[Get]] field of inherited property of
+ [[Prototype]] internal property is correct (String instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(String.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var strObj = new String();
+
+ return !strObj.hasOwnProperty("prop") && strObj.prop === "data";
+ } finally {
+ delete String.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-579.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-579.js
index 5ec7355f0..1d678ca0c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-579.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-579.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.6/15.2.3.6-4-579.js
- * @description ES5 Attributes - Success to add property into object (Array instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Array.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
- var arrObj = [];
- arrObj.prop = "myOwnProperty";
-
- return !arrObj.hasOwnProperty("prop") && arrObj.prop === "myOwnProperty" && data === "myOwnProperty";
- } finally {
- delete Array.prototype.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: >
+ ES5 Attributes - Success to add property into object (Array
+ instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Array.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var arrObj = [];
+ arrObj.prop = "myOwnProperty";
+
+ return !arrObj.hasOwnProperty("prop") && arrObj.prop === "myOwnProperty" && data === "myOwnProperty";
+ } finally {
+ delete Array.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-58.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-58.js
index 940502705..753ac0c37 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-58.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-58.js
@@ -1,21 +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.6/15.2.3.6-4-58.js
- * @description Object.defineProperty - 'name' is data descriptor and every fields in 'desc' is absent (8.12.9 step 5)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(obj, "foo", {});
- 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.defineProperty - 'name' is data descriptor and every fields
+ in 'desc' is absent (8.12.9 step 5)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
+
+ Object.defineProperty(obj, "foo", {});
+ return dataPropertyAttributesAreCorrect(obj, "foo", 101, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-580.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-580.js
index 7f1f3dbf3..73bcddb17 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-580.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-580.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.6/15.2.3.6-4-580.js
- * @description ES5 Attributes - Inherited property is enumerable (Boolean instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Boolean.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
- var boolObj = new Boolean();
- var verifyEnumerable = false;
- for (var p in boolObj) {
- if(p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !boolObj.hasOwnProperty("prop") && verifyEnumerable;
- } finally {
- delete Boolean.prototype.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: >
+ ES5 Attributes - Inherited property is enumerable (Boolean
+ instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Boolean.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var boolObj = new Boolean();
+ var verifyEnumerable = false;
+ for (var p in boolObj) {
+ if(p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !boolObj.hasOwnProperty("prop") && verifyEnumerable;
+ } finally {
+ delete Boolean.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-581.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-581.js
index fbfdd41a8..196a4afba 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-581.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-581.js
@@ -1,30 +1,30 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-581.js
- * @description ES5 Attributes - Fail to add property into object (Number instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Number.prototype, "prop", {
- get: function () {
- return data;
- },
- enumerable: false,
- configurable: true
- });
- var numObj = new Number();
- numObj.prop = "myOwnProperty";
-
- return !numObj.hasOwnProperty("prop") && numObj.prop === "data" && data === "data";
- } finally {
- delete Number.prototype.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: ES5 Attributes - Fail to add property into object (Number instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Number.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ enumerable: false,
+ configurable: true
+ });
+ var numObj = new Number();
+ numObj.prop = "myOwnProperty";
+
+ return !numObj.hasOwnProperty("prop") && numObj.prop === "data" && data === "data";
+ } finally {
+ delete Number.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-582.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-582.js
index 0921eb47f..28c1faafd 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-582.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-582.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.6/15.2.3.6-4-582.js
- * @description ES5 Attributes - Inherited property is non-enumerable (Function instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Function.prototype, "prop", {
- get: function () {
- return data;
- },
- enumerable: false,
- configurable: true
- });
- var funObj = function () { };
- var verifyEnumerable = false;
- for (var p in funObj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !funObj.hasOwnProperty("prop") && !verifyEnumerable;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Inherited property is non-enumerable (Function
+ instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ enumerable: false,
+ configurable: true
+ });
+ var funObj = function () { };
+ var verifyEnumerable = false;
+ for (var p in funObj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !funObj.hasOwnProperty("prop") && !verifyEnumerable;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-583.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-583.js
index eaa760b39..6f2964604 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-583.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-583.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.6/15.2.3.6-4-583.js
- * @description ES5 Attributes - [[Get]] field of inherited property of [[Prototype]] internal property is correct (Error Instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Error.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
- var errObj = new Error();
-
- return !errObj.hasOwnProperty("prop") && errObj.prop === "data";
- } finally {
- delete Error.prototype.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: >
+ ES5 Attributes - [[Get]] field of inherited property of
+ [[Prototype]] internal property is correct (Error Instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Error.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var errObj = new Error();
+
+ return !errObj.hasOwnProperty("prop") && errObj.prop === "data";
+ } finally {
+ delete Error.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-584.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-584.js
index 53fd9d923..dea200d63 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-584.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-584.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.6/15.2.3.6-4-584.js
- * @description ES5 Attributes - Failed to add property into object (Date instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Date.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
- var dateObj = new Date();
- dateObj.prop = "myOwnProperty";
-
- return !dateObj.hasOwnProperty("prop") && dateObj.prop === "myOwnProperty" && data === "myOwnProperty";
- } finally {
- delete Date.prototype.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: ES5 Attributes - Failed to add property into object (Date instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Date.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var dateObj = new Date();
+ dateObj.prop = "myOwnProperty";
+
+ return !dateObj.hasOwnProperty("prop") && dateObj.prop === "myOwnProperty" && data === "myOwnProperty";
+ } finally {
+ delete Date.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-585.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-585.js
index 8bacb1806..8df26d92c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-585.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-585.js
@@ -1,38 +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.6/15.2.3.6-4-585.js
- * @description ES5 Attributes - Inherited property is enumerable (RegExp instance)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(RegExp.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
- var regObj = new RegExp();
- var verifyEnumerable = false;
- for (var p in regObj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !regObj.hasOwnProperty("prop") && verifyEnumerable;
- } finally {
- delete RegExp.prototype.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: ES5 Attributes - Inherited property is enumerable (RegExp instance)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(RegExp.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var regObj = new RegExp();
+ var verifyEnumerable = false;
+ for (var p in regObj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !regObj.hasOwnProperty("prop") && verifyEnumerable;
+ } finally {
+ delete RegExp.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-586.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-586.js
index 76f5408ac..9f1eb65cf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-586.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-586.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.6/15.2.3.6-4-586.js
- * @description ES5 Attributes - Fail to update value of property into of [[Proptotype]] internal property (JSON)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Object.prototype, "prop", {
- get: function () {
- return data;
- },
- enumerable: false,
- configurable: true
- });
- JSON.prop = "myOwnProperty";
-
- return !JSON.hasOwnProperty("prop") && JSON.prop === "data" && data === "data";
- } finally {
- delete Object.prototype.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: >
+ ES5 Attributes - Fail to update value of property into of
+ [[Proptotype]] internal property (JSON)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Object.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ enumerable: false,
+ configurable: true
+ });
+ JSON.prop = "myOwnProperty";
+
+ return !JSON.hasOwnProperty("prop") && JSON.prop === "data" && data === "data";
+ } finally {
+ delete Object.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-587.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-587.js
index 59de6bbd1..c094a5902 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-587.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-587.js
@@ -1,34 +1,34 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-587.js
- * @description ES5 Attributes - Inherited property is non-enumerable (Math)
- */
-
-
-function testcase() {
- var data = "data";
- try {
- Object.defineProperty(Object.prototype, "prop", {
- get: function () {
- return data;
- },
- enumerable: false,
- configurable: true
- });
- var verifyEnumerable = false;
- for (var p in Math) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !Math.hasOwnProperty("prop") && !verifyEnumerable;
- } finally {
- delete Object.prototype.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: ES5 Attributes - Inherited property is non-enumerable (Math)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var data = "data";
+ try {
+ Object.defineProperty(Object.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ enumerable: false,
+ configurable: true
+ });
+ var verifyEnumerable = false;
+ for (var p in Math) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !Math.hasOwnProperty("prop") && !verifyEnumerable;
+ } finally {
+ delete Object.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-588.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-588.js
index 0ca8b745d..8047e3df8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-588.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-588.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.6/15.2.3.6-4-588.js
- * @description ES5 Attributes - [[Get]] field of inherited property of [[Prototype]] internal property is correct (Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- var data1 = 1001;
- Object.defineProperty(appointment, "startTime", {
- get: function () {
- return data1;
- },
- enumerable: true,
- configurable: false
- });
- var data2 = "NAME";
- Object.defineProperty(appointment, "name", {
- get: function () {
- return data2;
- },
- set: function (value) {
- data2 = value;
- },
- enumerable: true,
- configurable: true
- });
-
- var meeting = Object.create(appointment);
- var data3 = "In-person meeting";
- Object.defineProperty(meeting, "conferenceCall", {
- get: function () {
- return data3;
- },
- enumerable: true,
- configurable: false
- });
-
- var teamMeeting = Object.create(meeting);
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && teamMeeting.name === "NAME" &&
- teamMeeting.startTime === 1001 &&
- teamMeeting.conferenceCall === "In-person meeting";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - [[Get]] field of inherited property of
+ [[Prototype]] internal property is correct (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ var data1 = 1001;
+ Object.defineProperty(appointment, "startTime", {
+ get: function () {
+ return data1;
+ },
+ enumerable: true,
+ configurable: false
+ });
+ var data2 = "NAME";
+ Object.defineProperty(appointment, "name", {
+ get: function () {
+ return data2;
+ },
+ set: function (value) {
+ data2 = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ var meeting = Object.create(appointment);
+ var data3 = "In-person meeting";
+ Object.defineProperty(meeting, "conferenceCall", {
+ get: function () {
+ return data3;
+ },
+ enumerable: true,
+ configurable: false
+ });
+
+ var teamMeeting = Object.create(meeting);
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && teamMeeting.name === "NAME" &&
+ teamMeeting.startTime === 1001 &&
+ teamMeeting.conferenceCall === "In-person meeting";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-589.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-589.js
index 1ae6e4812..6b7659e65 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-589.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-589.js
@@ -1,65 +1,67 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-589.js
- * @description ES5 Attributes - Success to update value of property into of [[Proptotype]] internal property (Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- var data1 = 1001;
- Object.defineProperty(appointment, "startTime", {
- get: function () {
- return data1;
- },
- set: function (value) {
- data1 = value;
- },
- enumerable: true,
- configurable: true
- });
- var data2 = "NAME";
- Object.defineProperty(appointment, "name", {
- get: function () {
- return data2;
- },
- set: function (value) {
- data2 = value;
- },
- enumerable: true,
- configurable: false
- });
-
- var meeting = Object.create(appointment);
- var data3 = "In-person meeting";
- Object.defineProperty(meeting, "conferenceCall", {
- get: function () {
- return data3;
- },
- set: function (value) {
- data3 = value;
- },
- enumerable: true,
- configurable: false
- });
-
- var teamMeeting = Object.create(meeting);
- teamMeeting.name = "Team Meeting";
- var dateObj = new Date("10/31/2010 08:00");
- teamMeeting.startTime = dateObj;
- teamMeeting.conferenceCall = "4255551212";
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && teamMeeting.name === "Team Meeting" &&
- teamMeeting.startTime === dateObj &&
- teamMeeting.conferenceCall === "4255551212";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Success to update value of property into of
+ [[Proptotype]] internal property (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ var data1 = 1001;
+ Object.defineProperty(appointment, "startTime", {
+ get: function () {
+ return data1;
+ },
+ set: function (value) {
+ data1 = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var data2 = "NAME";
+ Object.defineProperty(appointment, "name", {
+ get: function () {
+ return data2;
+ },
+ set: function (value) {
+ data2 = value;
+ },
+ enumerable: true,
+ configurable: false
+ });
+
+ var meeting = Object.create(appointment);
+ var data3 = "In-person meeting";
+ Object.defineProperty(meeting, "conferenceCall", {
+ get: function () {
+ return data3;
+ },
+ set: function (value) {
+ data3 = value;
+ },
+ enumerable: true,
+ configurable: false
+ });
+
+ var teamMeeting = Object.create(meeting);
+ teamMeeting.name = "Team Meeting";
+ var dateObj = new Date("10/31/2010 08:00");
+ teamMeeting.startTime = dateObj;
+ teamMeeting.conferenceCall = "4255551212";
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && teamMeeting.name === "Team Meeting" &&
+ teamMeeting.startTime === dateObj &&
+ teamMeeting.conferenceCall === "4255551212";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-59.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-59.js
index f22db8b83..c42088b76 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-59.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-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.6/15.2.3.6-4-59.js
- * @description Object.defineProperty - 'name' is accessor descriptor and every fields in 'desc' is absent (8.12.9 step 5)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 0;
- }
- function setFunc(value) {
- obj.helpVerifySet = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc
- });
-
- Object.defineProperty(obj, "foo", {});
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "helpVerifySet", 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.defineProperty - 'name' is accessor descriptor and every
+ fields in 'desc' is absent (8.12.9 step 5)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return 0;
+ }
+ function setFunc(value) {
+ obj.helpVerifySet = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ Object.defineProperty(obj, "foo", {});
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "helpVerifySet", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-590.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-590.js
index 90e38e864..33086b845 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-590.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-590.js
@@ -1,74 +1,74 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-590.js
- * @description ES5 Attributes - Inherited property is enumerable (Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- var data1 = 1001;
- Object.defineProperty(appointment, "startTime", {
- get: function () {
- return data1;
- },
- set: function (value) {
- data1 = value;
- },
- enumerable: true,
- configurable: true
- });
- var data2 = "NAME";
- Object.defineProperty(appointment, "name", {
- get: function () {
- return data2;
- },
- set: function (value) {
- data2 = value;
- },
- enumerable: true,
- configurable: false
- });
-
- var meeting = Object.create(appointment);
- var data3 = "In-person meeting";
- Object.defineProperty(meeting, "conferenceCall", {
- get: function () {
- return data3;
- },
- set: function (value) {
- data3 = value;
- },
- enumerable: true,
- configurable: false
- });
-
- var teamMeeting = Object.create(meeting);
-
- var verifyTimeProp = false;
- var verifyNameProp = false;
- var verifyCallProp = false;
- for (var p in teamMeeting) {
- if (p === "startTime") {
- verifyTimeProp = true;
- }
- if (p === "name") {
- verifyNameProp = true;
- }
- if (p === "conferenceCall") {
- verifyCallProp = true;
- }
- }
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && verifyTimeProp && verifyNameProp && verifyCallProp;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: ES5 Attributes - Inherited property is enumerable (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ var data1 = 1001;
+ Object.defineProperty(appointment, "startTime", {
+ get: function () {
+ return data1;
+ },
+ set: function (value) {
+ data1 = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+ var data2 = "NAME";
+ Object.defineProperty(appointment, "name", {
+ get: function () {
+ return data2;
+ },
+ set: function (value) {
+ data2 = value;
+ },
+ enumerable: true,
+ configurable: false
+ });
+
+ var meeting = Object.create(appointment);
+ var data3 = "In-person meeting";
+ Object.defineProperty(meeting, "conferenceCall", {
+ get: function () {
+ return data3;
+ },
+ set: function (value) {
+ data3 = value;
+ },
+ enumerable: true,
+ configurable: false
+ });
+
+ var teamMeeting = Object.create(meeting);
+
+ var verifyTimeProp = false;
+ var verifyNameProp = false;
+ var verifyCallProp = false;
+ for (var p in teamMeeting) {
+ if (p === "startTime") {
+ verifyTimeProp = true;
+ }
+ if (p === "name") {
+ verifyNameProp = true;
+ }
+ if (p === "conferenceCall") {
+ verifyCallProp = true;
+ }
+ }
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && verifyTimeProp && verifyNameProp && verifyCallProp;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-591.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-591.js
index 79ed15687..a16c498a0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-591.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-591.js
@@ -1,56 +1,58 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-591.js
- * @description ES5 Attributes - Fail to update value of property of [[Proptotype]] internal property (Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- var data1 = 1001;
- Object.defineProperty(appointment, "startTime", {
- get: function () {
- return data1;
- },
- enumerable: false,
- configurable: false
- });
- var data2 = "NAME";
- Object.defineProperty(appointment, "name", {
- get: function () {
- return data2;
- },
- enumerable: false,
- configurable: true
- });
-
- var meeting = Object.create(appointment);
- var data3 = "In-person meeting";
- Object.defineProperty(meeting, "conferenceCall", {
- get: function () {
- return data3;
- },
- enumerable: false,
- configurable: false
- });
-
- var teamMeeting = Object.create(meeting);
- teamMeeting.name = "IE Team Meeting";
- var dateObj = new Date("10/31/2010 08:00");
- teamMeeting.startTime = dateObj;
- teamMeeting.conferenceCall = "4255551212";
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && teamMeeting.name === "NAME" &&
- teamMeeting.startTime === 1001 &&
- teamMeeting.conferenceCall === "In-person meeting";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Fail to update value of property of
+ [[Proptotype]] internal property (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ var data1 = 1001;
+ Object.defineProperty(appointment, "startTime", {
+ get: function () {
+ return data1;
+ },
+ enumerable: false,
+ configurable: false
+ });
+ var data2 = "NAME";
+ Object.defineProperty(appointment, "name", {
+ get: function () {
+ return data2;
+ },
+ enumerable: false,
+ configurable: true
+ });
+
+ var meeting = Object.create(appointment);
+ var data3 = "In-person meeting";
+ Object.defineProperty(meeting, "conferenceCall", {
+ get: function () {
+ return data3;
+ },
+ enumerable: false,
+ configurable: false
+ });
+
+ var teamMeeting = Object.create(meeting);
+ teamMeeting.name = "IE Team Meeting";
+ var dateObj = new Date("10/31/2010 08:00");
+ teamMeeting.startTime = dateObj;
+ teamMeeting.conferenceCall = "4255551212";
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && teamMeeting.name === "NAME" &&
+ teamMeeting.startTime === 1001 &&
+ teamMeeting.conferenceCall === "In-person meeting";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-592.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-592.js
index 768c6e82e..4779187e8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-592.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-592.js
@@ -1,65 +1,67 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-592.js
- * @description ES5 Attributes - Inherited property is non-enumerable (Object.create)
- */
-
-
-function testcase() {
- var appointment = {};
-
- var data1 = 1001;
- Object.defineProperty(appointment, "startTime", {
- get: function () {
- return data1;
- },
- enumerable: false,
- configurable: true
- });
- var data2 = "NAME";
- Object.defineProperty(appointment, "name", {
- get: function () {
- return data2;
- },
- enumerable: false,
- configurable: false
- });
-
- var meeting = Object.create(appointment);
- var data3 = "In-person meeting";
- Object.defineProperty(meeting, "conferenceCall", {
- get: function () {
- return data3;
- },
- enumerable: false,
- configurable: true
- });
-
- var teamMeeting = Object.create(meeting);
-
- var verifyTimeProp = false;
- var verifyNameProp = false;
- var verifyCallProp = false;
- for (var p in teamMeeting) {
- if (p === "startTime") {
- verifyTimeProp = true;
- }
- if (p === "name") {
- verifyNameProp = true;
- }
- if (p === "conferenceCall") {
- verifyCallProp = true;
- }
- }
-
- var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
- !teamMeeting.hasOwnProperty("startTime") &&
- !teamMeeting.hasOwnProperty('conferenceCall');
-
- return hasOwnProperty && !verifyTimeProp && !verifyNameProp && !verifyCallProp;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ ES5 Attributes - Inherited property is non-enumerable
+ (Object.create)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var appointment = {};
+
+ var data1 = 1001;
+ Object.defineProperty(appointment, "startTime", {
+ get: function () {
+ return data1;
+ },
+ enumerable: false,
+ configurable: true
+ });
+ var data2 = "NAME";
+ Object.defineProperty(appointment, "name", {
+ get: function () {
+ return data2;
+ },
+ enumerable: false,
+ configurable: false
+ });
+
+ var meeting = Object.create(appointment);
+ var data3 = "In-person meeting";
+ Object.defineProperty(meeting, "conferenceCall", {
+ get: function () {
+ return data3;
+ },
+ enumerable: false,
+ configurable: true
+ });
+
+ var teamMeeting = Object.create(meeting);
+
+ var verifyTimeProp = false;
+ var verifyNameProp = false;
+ var verifyCallProp = false;
+ for (var p in teamMeeting) {
+ if (p === "startTime") {
+ verifyTimeProp = true;
+ }
+ if (p === "name") {
+ verifyNameProp = true;
+ }
+ if (p === "conferenceCall") {
+ verifyCallProp = true;
+ }
+ }
+
+ var hasOwnProperty = !teamMeeting.hasOwnProperty("name") &&
+ !teamMeeting.hasOwnProperty("startTime") &&
+ !teamMeeting.hasOwnProperty('conferenceCall');
+
+ return hasOwnProperty && !verifyTimeProp && !verifyNameProp && !verifyCallProp;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-593.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-593.js
index 8cdc6efd5..60e14d5a5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-593.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-593.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.6/15.2.3.6-4-593.js
- * @description ES5 Attributes - [[Get]] field of inherited property of [[Prototype]] internal property is correct (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- var data = "data";
- try {
- Object.defineProperty(Function.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
-
- var obj = foo.bind({});
-
- return !obj.hasOwnProperty("prop") && obj.prop === data;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - [[Get]] field of inherited property of
+ [[Prototype]] internal property is correct
+ (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ var data = "data";
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+
+ return !obj.hasOwnProperty("prop") && obj.prop === data;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-594.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-594.js
index ee25ffe10..bef13d73d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-594.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-594.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.6/15.2.3.6-4-594.js
- * @description ES5 Attributes - Success to update value of property into of [[Proptotype]] internal property (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- var data = "data";
- try {
- Object.defineProperty(Function.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
-
- var obj = foo.bind({});
- obj.prop = "overrideData";
-
- return !obj.hasOwnProperty("prop") && obj.prop === "overrideData";
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Success to update value of property into of
+ [[Proptotype]] internal property (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ var data = "data";
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+ obj.prop = "overrideData";
+
+ return !obj.hasOwnProperty("prop") && obj.prop === "overrideData";
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-595.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-595.js
index ab1824e31..c765d4f12 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-595.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-595.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.6/15.2.3.6-4-595.js
- * @description ES5 Attributes - Inherited property is enumerable (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- var data = "data";
- try {
- Object.defineProperty(Function.prototype, "prop", {
- get: function () {
- return data;
- },
- set: function (value) {
- data = value;
- },
- enumerable: true,
- configurable: true
- });
-
- var obj = foo.bind({});
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !obj.hasOwnProperty("prop") && verifyEnumerable;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Inherited property is enumerable
+ (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ var data = "data";
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ set: function (value) {
+ data = value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !obj.hasOwnProperty("prop") && verifyEnumerable;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-596.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-596.js
index ece37b866..126b5a034 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-596.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-596.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.6/15.2.3.6-4-596.js
- * @description ES5 Attributes - Fail to update value of property into of [[Proptotype]] internal property (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- var data = "data";
- try {
- Object.defineProperty(Function.prototype, "prop", {
- get: function () {
- return data;
- },
- enumerable: false,
- configurable: true
- });
-
- var obj = foo.bind({});
- obj.prop = "overrideData";
-
- return !obj.hasOwnProperty("prop") && obj.prop === "data";
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Fail to update value of property into of
+ [[Proptotype]] internal property (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ var data = "data";
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ enumerable: false,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+ obj.prop = "overrideData";
+
+ return !obj.hasOwnProperty("prop") && obj.prop === "data";
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-597.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-597.js
index b867c929a..3dc61e75a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-597.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-597.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.6/15.2.3.6-4-597.js
- * @description ES5 Attributes - Inherited property is non-enumerable (Function.prototype.bind)
- */
-
-
-function testcase() {
- var foo = function () { };
- var data = "data";
- try {
- Object.defineProperty(Function.prototype, "prop", {
- get: function () {
- return data;
- },
- enumerable: false,
- configurable: true
- });
-
- var obj = foo.bind({});
-
- var verifyEnumerable = false;
- for (var p in obj) {
- if (p === "prop") {
- verifyEnumerable = true;
- }
- }
-
- return !obj.hasOwnProperty("prop") && !verifyEnumerable;
- } finally {
- delete Function.prototype.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: >
+ ES5 Attributes - Inherited property is non-enumerable
+ (Function.prototype.bind)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var foo = function () { };
+ var data = "data";
+ try {
+ Object.defineProperty(Function.prototype, "prop", {
+ get: function () {
+ return data;
+ },
+ enumerable: false,
+ configurable: true
+ });
+
+ var obj = foo.bind({});
+
+ var verifyEnumerable = false;
+ for (var p in obj) {
+ if (p === "prop") {
+ verifyEnumerable = true;
+ }
+ }
+
+ return !obj.hasOwnProperty("prop") && !verifyEnumerable;
+ } finally {
+ delete Function.prototype.prop;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-598.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-598.js
index 8b3fe016f..b565eb175 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-598.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-598.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-598.js
- * @description ES5 Attributes - all attributes in Object.getPrototypeOf are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "getPrototypeOf");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.getPrototypeOf;
-
- try {
- Object.getPrototypeOf = "2010";
-
- var isWritable = (Object.getPrototypeOf === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "getPrototypeOf") {
- isEnumerable = true;
- }
- }
-
- delete Object.getPrototypeOf;
-
- var isConfigurable = !Object.hasOwnProperty("getPrototypeOf");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "getPrototypeOf", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Object.getPrototypeOf are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "getPrototypeOf");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.getPrototypeOf;
+
+ try {
+ Object.getPrototypeOf = "2010";
+
+ var isWritable = (Object.getPrototypeOf === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "getPrototypeOf") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.getPrototypeOf;
+
+ var isConfigurable = !Object.hasOwnProperty("getPrototypeOf");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "getPrototypeOf", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-599.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-599.js
index b29e86826..55d167797 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-599.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-599.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-599.js
- * @description ES5 Attributes - all attributes in Object.getOwnPropertyDescriptor are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "getOwnPropertyDescriptor");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.getOwnPropertyDescriptor;
-
- try {
- Object.getOwnPropertyDescriptor = "2010";
-
- var isWritable = (Object.getOwnPropertyDescriptor === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "getOwnPropertyDescriptor") {
- isEnumerable = true;
- }
- }
-
- delete Object.getOwnPropertyDescriptor;
-
- var isConfigurable = !Object.hasOwnProperty("getOwnPropertyDescriptor");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "getOwnPropertyDescriptor", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Object.getOwnPropertyDescriptor
+ are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "getOwnPropertyDescriptor");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.getOwnPropertyDescriptor;
+
+ try {
+ Object.getOwnPropertyDescriptor = "2010";
+
+ var isWritable = (Object.getOwnPropertyDescriptor === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "getOwnPropertyDescriptor") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.getOwnPropertyDescriptor;
+
+ var isConfigurable = !Object.hasOwnProperty("getOwnPropertyDescriptor");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "getOwnPropertyDescriptor", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-6.js
index b1724509d..9a2347fc8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-6.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. Step 6 of [[DefineOwnProperty]] returns if
- * every field of desc also occurs in current and every field in desc has
- * the same value as current.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-6.js
- * @description Object.defineProperty is no-op if current and desc are the same accessor desc
- */
-
-
-function testcase() {
- function sameAccessorDescriptorValues(d1, d2) {
- return (d1.get == d2.get &&
- d1.enumerable == d2.enumerable &&
- d1.configurable == d2.configurable);
- }
-
- var o = {};
-
- // create an accessor property with the following attributes:
- // enumerable: true, configurable: true
- var desc = {
- get: function () {},
- enumerable: true,
- configurable: true
- };
-
- Object.defineProperty(o, "foo", desc);
-
- // query for, and save, the desc. A subsequent call to defineProperty
- // with the same desc should not disturb the property definition.
- var d1 = Object.getOwnPropertyDescriptor(o, "foo");
-
- // now, redefine the property with the same descriptor
- // the property defintion should not get disturbed.
- Object.defineProperty(o, "foo", desc);
-
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
-
- if (sameAccessorDescriptorValues(d1, d2) === true) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. Step 6 of [[DefineOwnProperty]] returns if
+ every field of desc also occurs in current and every field in desc has
+ the same value as current.
+description: >
+ Object.defineProperty is no-op if current and desc are the same
+ accessor desc
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ function sameAccessorDescriptorValues(d1, d2) {
+ return (d1.get == d2.get &&
+ d1.enumerable == d2.enumerable &&
+ d1.configurable == d2.configurable);
+ }
+
+ var o = {};
+
+ // create an accessor property with the following attributes:
+ // enumerable: true, configurable: true
+ var desc = {
+ get: function () {},
+ enumerable: true,
+ configurable: true
+ };
+
+ Object.defineProperty(o, "foo", desc);
+
+ // query for, and save, the desc. A subsequent call to defineProperty
+ // with the same desc should not disturb the property definition.
+ var d1 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ // now, redefine the property with the same descriptor
+ // the property defintion should not get disturbed.
+ Object.defineProperty(o, "foo", desc);
+
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+
+ if (sameAccessorDescriptorValues(d1, d2) === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-60.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-60.js
index bb92e157e..b6e1cf267 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-60.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-60.js
@@ -1,21 +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.6/15.2.3.6-4-60.js
- * @description Object.defineProperty - type of desc.value is different from type of name.value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 101; // default value of attributes: writable: true, configurable: true, enumerable: true
-
- Object.defineProperty(obj, "foo", { value: "abc" });
- return dataPropertyAttributesAreCorrect(obj, "foo", "abc", 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.defineProperty - type of desc.value is different from type
+ of name.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.defineProperty(obj, "foo", { value: "abc" });
+ return dataPropertyAttributesAreCorrect(obj, "foo", "abc", true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-600.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-600.js
index 7cb441839..5554af1da 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-600.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-600.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-600.js
- * @description ES5 Attributes - all attributes in Object.getOwnPropertyNames are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "getOwnPropertyNames");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.getOwnPropertyNames;
-
- try {
- Object.getOwnPropertyNames = "2010";
-
- var isWritable = (Object.getOwnPropertyNames === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "getOwnPropertyNames") {
- isEnumerable = true;
- }
- }
-
- delete Object.getOwnPropertyNames;
-
- var isConfigurable = !Object.hasOwnProperty("getOwnPropertyNames");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "getOwnPropertyNames", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Object.getOwnPropertyNames are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "getOwnPropertyNames");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.getOwnPropertyNames;
+
+ try {
+ Object.getOwnPropertyNames = "2010";
+
+ var isWritable = (Object.getOwnPropertyNames === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "getOwnPropertyNames") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.getOwnPropertyNames;
+
+ var isConfigurable = !Object.hasOwnProperty("getOwnPropertyNames");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "getOwnPropertyNames", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-601.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-601.js
index cbe186e3a..870903da2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-601.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-601.js
@@ -1,46 +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.6/15.2.3.6-4-601.js
- * @description ES5 Attributes - all attributes in Object.create are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "create");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.create;
-
- try {
- Object.create = "2010";
-
- var isWritable = (Object.create === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "create") {
- isEnumerable = true;
- }
- }
-
- delete Object.create;
-
- var isConfigurable = !Object.hasOwnProperty("create");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "create", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.create are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "create");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.create;
+
+ try {
+ Object.create = "2010";
+
+ var isWritable = (Object.create === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "create") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.create;
+
+ var isConfigurable = !Object.hasOwnProperty("create");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "create", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-602.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-602.js
index 61b30ad1f..a71377456 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-602.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-602.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.6/15.2.3.6-4-602.js
- * @description ES5 Attributes - all attributes in Object.defineProperty are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "defineProperty");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
- var temp = Object.defineProperty;
- try {
- Object.defineProperty = "2010";
-
- var isWritable = (Object.defineProperty === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "defineProperty") {
- isEnumerable = true;
- }
- }
-
- delete Object.defineProperty;
-
- var isConfigurable = !Object.hasOwnProperty("defineProperty");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty = temp;
- Object.defineProperty(Object, "defineProperty", {
- 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: >
+ ES5 Attributes - all attributes in Object.defineProperty are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "defineProperty");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+ var temp = Object.defineProperty;
+ try {
+ Object.defineProperty = "2010";
+
+ var isWritable = (Object.defineProperty === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "defineProperty") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.defineProperty;
+
+ var isConfigurable = !Object.hasOwnProperty("defineProperty");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty = temp;
+ Object.defineProperty(Object, "defineProperty", {
+ enumerable: false
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-603.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-603.js
index d67b2596b..f029d8fcc 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-603.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-603.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-603.js
- * @description ES5 Attributes - all attributes in Object.defineProperties are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "defineProperties");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.defineProperties;
-
- try {
- Object.defineProperties = "2010";
-
- var isWritable = (Object.defineProperties === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "defineProperties") {
- isEnumerable = true;
- }
- }
-
- delete Object.defineProperties;
-
- var isConfigurable = !Object.hasOwnProperty("defineProperties");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "defineProperties", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Object.defineProperties are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "defineProperties");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.defineProperties;
+
+ try {
+ Object.defineProperties = "2010";
+
+ var isWritable = (Object.defineProperties === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "defineProperties") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.defineProperties;
+
+ var isConfigurable = !Object.hasOwnProperty("defineProperties");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "defineProperties", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-604.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-604.js
index 73dae60e5..a8c45166e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-604.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-604.js
@@ -1,46 +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.6/15.2.3.6-4-604.js
- * @description ES5 Attributes - all attributes in Object.seal are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "seal");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.seal;
-
- try {
- Object.seal = "2010";
-
- var isWritable = (Object.seal === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "seal") {
- isEnumerable = true;
- }
- }
-
- delete Object.seal;
-
- var isConfigurable = !Object.hasOwnProperty("seal");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "seal", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.seal are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "seal");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.seal;
+
+ try {
+ Object.seal = "2010";
+
+ var isWritable = (Object.seal === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "seal") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.seal;
+
+ var isConfigurable = !Object.hasOwnProperty("seal");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "seal", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-605.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-605.js
index aad6bd4fa..e5f04c300 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-605.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-605.js
@@ -1,46 +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.6/15.2.3.6-4-605.js
- * @description ES5 Attributes - all attributes in Object.freeze are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "freeze");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.freeze;
-
- try {
- Object.freeze = "2010";
-
- var isWritable = (Object.freeze === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "freeze") {
- isEnumerable = true;
- }
- }
-
- delete Object.freeze;
-
- var isConfigurable = !Object.hasOwnProperty("freeze");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "freeze", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.freeze are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "freeze");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.freeze;
+
+ try {
+ Object.freeze = "2010";
+
+ var isWritable = (Object.freeze === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "freeze") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.freeze;
+
+ var isConfigurable = !Object.hasOwnProperty("freeze");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "freeze", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-606.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-606.js
index f4528bc56..ed3784e89 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-606.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-606.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-606.js
- * @description ES5 Attributes - all attributes in Object.preventExtensions are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "preventExtensions");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.preventExtensions;
-
- try {
- Object.preventExtensions = "2010";
-
- var isWritable = (Object.preventExtensions === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "preventExtensions") {
- isEnumerable = true;
- }
- }
-
- delete Object.preventExtensions;
-
- var isConfigurable = !Object.hasOwnProperty("preventExtensions");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "preventExtensions", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Object.preventExtensions are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "preventExtensions");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.preventExtensions;
+
+ try {
+ Object.preventExtensions = "2010";
+
+ var isWritable = (Object.preventExtensions === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "preventExtensions") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.preventExtensions;
+
+ var isConfigurable = !Object.hasOwnProperty("preventExtensions");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "preventExtensions", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-607.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-607.js
index f3bf6fc03..e3f9eb39d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-607.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-607.js
@@ -1,46 +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.6/15.2.3.6-4-607.js
- * @description ES5 Attributes - all attributes in Object.isSealed are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "isSealed");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.isSealed;
-
- try {
- Object.isSealed = "2010";
-
- var isWritable = (Object.isSealed === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "isSealed") {
- isEnumerable = true;
- }
- }
-
- delete Object.isSealed;
-
- var isConfigurable = !Object.hasOwnProperty("isSealed");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "isSealed", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.isSealed are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "isSealed");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.isSealed;
+
+ try {
+ Object.isSealed = "2010";
+
+ var isWritable = (Object.isSealed === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "isSealed") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.isSealed;
+
+ var isConfigurable = !Object.hasOwnProperty("isSealed");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "isSealed", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-608.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-608.js
index dac49dd37..0bb01911f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-608.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-608.js
@@ -1,46 +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.6/15.2.3.6-4-608.js
- * @description ES5 Attributes - all attributes in Object.isFrozen are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "isFrozen");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.isFrozen;
-
- try {
- Object.isFrozen = "2010";
-
- var isWritable = (Object.isFrozen === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "isFrozen") {
- isEnumerable = true;
- }
- }
-
- delete Object.isFrozen;
-
- var isConfigurable = !Object.hasOwnProperty("isFrozen");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "isFrozen", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.isFrozen are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "isFrozen");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.isFrozen;
+
+ try {
+ Object.isFrozen = "2010";
+
+ var isWritable = (Object.isFrozen === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "isFrozen") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.isFrozen;
+
+ var isConfigurable = !Object.hasOwnProperty("isFrozen");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "isFrozen", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-609.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-609.js
index ac69ba508..4965b41c4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-609.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-609.js
@@ -1,46 +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.6/15.2.3.6-4-609.js
- * @description ES5 Attributes - all attributes in Object.isExtensible are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "isExtensible");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.isExtensible;
-
- try {
- Object.isExtensible = "2010";
-
- var isWritable = (Object.isExtensible === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "isExtensible") {
- isEnumerable = true;
- }
- }
-
- delete Object.isExtensible;
-
- var isConfigurable = !Object.hasOwnProperty("isExtensible");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "isExtensible", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.isExtensible are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "isExtensible");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.isExtensible;
+
+ try {
+ Object.isExtensible = "2010";
+
+ var isWritable = (Object.isExtensible === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "isExtensible") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.isExtensible;
+
+ var isConfigurable = !Object.hasOwnProperty("isExtensible");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "isExtensible", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-61.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-61.js
index 9d61bb08b..c102c3a1b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-61.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-61.js
@@ -1,21 +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.6/15.2.3.6-4-61.js
- * @description Object.defineProperty - both desc.value and name.value are undefined (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { value: undefined });
-
- Object.defineProperty(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.defineProperty - both desc.value and name.value are
+ undefined (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { value: undefined });
+
+ Object.defineProperty(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.6/15.2.3.6-4-610.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-610.js
index 09b6cee63..d1766bf0a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-610.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-610.js
@@ -1,46 +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.6/15.2.3.6-4-610.js
- * @description ES5 Attributes - all attributes in Object.keys are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Object, "keys");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Object.keys;
-
- try {
- Object.keys = "2010";
-
- var isWritable = (Object.keys === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Object) {
- if (prop === "keys") {
- isEnumerable = true;
- }
- }
-
- delete Object.keys;
-
- var isConfigurable = !Object.hasOwnProperty("keys");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Object, "keys", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.keys are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Object, "keys");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Object.keys;
+
+ try {
+ Object.keys = "2010";
+
+ var isWritable = (Object.keys === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Object) {
+ if (prop === "keys") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Object.keys;
+
+ var isConfigurable = !Object.hasOwnProperty("keys");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Object, "keys", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-611.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-611.js
index 038b31c38..c1e57c97e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-611.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-611.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-611.js
- * @description ES5 Attributes - all attributes in Function.prototype.bind are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Function.prototype, "bind");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Function.prototype.bind;
-
- try {
- Function.prototype.bind = "2010";
-
- var isWritable = (Function.prototype.bind === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Function.prototype) {
- if (prop === "bind") {
- isEnumerable = true;
- }
- }
-
- delete Function.prototype.bind;
-
- var isConfigurable = !Function.prototype.hasOwnProperty("bind");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Function.prototype, "bind", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Function.prototype.bind are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Function.prototype, "bind");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Function.prototype.bind;
+
+ try {
+ Function.prototype.bind = "2010";
+
+ var isWritable = (Function.prototype.bind === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Function.prototype) {
+ if (prop === "bind") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Function.prototype.bind;
+
+ var isConfigurable = !Function.prototype.hasOwnProperty("bind");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Function.prototype, "bind", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-612.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-612.js
index 1bcd93bba..2964385e5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-612.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-612.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-612.js
- * @description ES5 Attributes - all attributes in Array.prototype.indexOf are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "indexOf");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.indexOf;
-
- try {
- Array.prototype.indexOf = "2010";
-
- var isWritable = (Array.prototype.indexOf === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "indexOf") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.indexOf;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("indexOf");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "indexOf", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Array.prototype.indexOf are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "indexOf");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.indexOf;
+
+ try {
+ Array.prototype.indexOf = "2010";
+
+ var isWritable = (Array.prototype.indexOf === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "indexOf") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.indexOf;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("indexOf");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "indexOf", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-613.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-613.js
index fa16480f4..7bd466b4e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-613.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-613.js
@@ -1,46 +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.6/15.2.3.6-4-613.js
- * @description ES5 Attributes - all attributes in Object.lastIndexOf are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "lastIndexOf");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.lastIndexOf;
-
- try {
- Array.prototype.lastIndexOf = "2010";
-
- var isWritable = (Array.prototype.lastIndexOf === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "lastIndexOf") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.lastIndexOf;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("lastIndexOf");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "lastIndexOf", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Object.lastIndexOf are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "lastIndexOf");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.lastIndexOf;
+
+ try {
+ Array.prototype.lastIndexOf = "2010";
+
+ var isWritable = (Array.prototype.lastIndexOf === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "lastIndexOf") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.lastIndexOf;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("lastIndexOf");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "lastIndexOf", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-614.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-614.js
index d96f0687c..82e5b07d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-614.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-614.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-614.js
- * @description ES5 Attributes - all attributes in Array.prototype.every are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "every");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.every;
-
- try {
- Array.prototype.every = "2010";
-
- var isWritable = (Array.prototype.every === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "every") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.every;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("every");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "every", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Array.prototype.every are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "every");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.every;
+
+ try {
+ Array.prototype.every = "2010";
+
+ var isWritable = (Array.prototype.every === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "every") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.every;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("every");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "every", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-615.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-615.js
index 7fbaf9f52..8fc9b933c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-615.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-615.js
@@ -1,46 +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.6/15.2.3.6-4-615.js
- * @description ES5 Attributes - all attributes in Array.prototype.some are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "some");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.some;
-
- try {
- Array.prototype.some = "2010";
-
- var isWritable = (Array.prototype.some === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "some") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.some;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("some");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "some", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Array.prototype.some are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "some");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.some;
+
+ try {
+ Array.prototype.some = "2010";
+
+ var isWritable = (Array.prototype.some === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "some") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.some;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("some");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "some", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-616.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-616.js
index 189e3e03a..de305ebab 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-616.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-616.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-616.js
- * @description ES5 Attributes - all attributes in Array.prototype.forEach are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "forEach");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.forEach;
-
- try {
- Array.prototype.forEach = "2010";
-
- var isWritable = (Array.prototype.forEach === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "forEach") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.forEach;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("forEach");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "forEach", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Array.prototype.forEach are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "forEach");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.forEach;
+
+ try {
+ Array.prototype.forEach = "2010";
+
+ var isWritable = (Array.prototype.forEach === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "forEach") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.forEach;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("forEach");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "forEach", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-617.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-617.js
index b75875dd5..9ad53a263 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-617.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-617.js
@@ -1,46 +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.6/15.2.3.6-4-617.js
- * @description ES5 Attributes - all attributes in Array.prototype.map are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "map");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.map;
-
- try {
- Array.prototype.map = "2010";
-
- var isWritable = (Array.prototype.map === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "map") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.map;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("map");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "map", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Array.prototype.map are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "map");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.map;
+
+ try {
+ Array.prototype.map = "2010";
+
+ var isWritable = (Array.prototype.map === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "map") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.map;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("map");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "map", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-618.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-618.js
index 176f93485..adfaea4c0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-618.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-618.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-618.js
- * @description ES5 Attributes - all attributes in Array.prototype.filter are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "filter");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.filter;
-
- try {
- Array.prototype.filter = "2010";
-
- var isWritable = (Array.prototype.filter === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "filter") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.filter;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("filter");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "filter", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Array.prototype.filter are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "filter");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.filter;
+
+ try {
+ Array.prototype.filter = "2010";
+
+ var isWritable = (Array.prototype.filter === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "filter") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.filter;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("filter");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "filter", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-619.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-619.js
index 317661492..06342451a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-619.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-619.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-619.js
- * @description ES5 Attributes - all attributes in Array.prototype.reduce are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "reduce");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.reduce;
-
- try {
- Array.prototype.reduce = "2010";
-
- var isWritable = (Array.prototype.reduce === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "reduce") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.reduce;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("reduce");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "reduce", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Array.prototype.reduce are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "reduce");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.reduce;
+
+ try {
+ Array.prototype.reduce = "2010";
+
+ var isWritable = (Array.prototype.reduce === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "reduce") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.reduce;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("reduce");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "reduce", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-62.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-62.js
index 582b4c62c..1461c4c65 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-62.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-62.js
@@ -1,21 +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.6/15.2.3.6-4-62.js
- * @description Object.defineProperty - both desc.value and name.value are null (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { value: null });
-
- Object.defineProperty(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.defineProperty - both desc.value and name.value are null
+ (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { value: null });
+
+ Object.defineProperty(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.6/15.2.3.6-4-620.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-620.js
index 1c77bfcca..1df777bda 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-620.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-620.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-620.js
- * @description ES5 Attributes - all attributes in Array.prototype.reduceRight are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Array.prototype, "reduceRight");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Array.prototype.reduceRight;
-
- try {
- Array.prototype.reduceRight = "2010";
-
- var isWritable = (Array.prototype.reduceRight === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Array.prototype) {
- if (prop === "reduceRight") {
- isEnumerable = true;
- }
- }
-
- delete Array.prototype.reduceRight;
-
- var isConfigurable = !Array.prototype.hasOwnProperty("reduceRight");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Array.prototype, "reduceRight", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Array.prototype.reduceRight are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Array.prototype, "reduceRight");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Array.prototype.reduceRight;
+
+ try {
+ Array.prototype.reduceRight = "2010";
+
+ var isWritable = (Array.prototype.reduceRight === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Array.prototype) {
+ if (prop === "reduceRight") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Array.prototype.reduceRight;
+
+ var isConfigurable = !Array.prototype.hasOwnProperty("reduceRight");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Array.prototype, "reduceRight", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-621.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-621.js
index 48a14ce13..9a0d94c0c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-621.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-621.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-621.js
- * @description ES5 Attributes - all attributes in String.prototype.trim are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(String.prototype, "trim");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = String.prototype.trim;
-
- try {
- String.prototype.trim = "2010";
-
- var isWritable = (String.prototype.trim === "2010");
-
- var isEnumerable = false;
-
- for (var prop in String.prototype) {
- if (prop === "trim") {
- isEnumerable = true;
- }
- }
-
- delete String.prototype.trim;
-
- var isConfigurable = !String.prototype.hasOwnProperty("trim");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(String.prototype, "trim", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in String.prototype.trim are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(String.prototype, "trim");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = String.prototype.trim;
+
+ try {
+ String.prototype.trim = "2010";
+
+ var isWritable = (String.prototype.trim === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in String.prototype) {
+ if (prop === "trim") {
+ isEnumerable = true;
+ }
+ }
+
+ delete String.prototype.trim;
+
+ var isConfigurable = !String.prototype.hasOwnProperty("trim");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(String.prototype, "trim", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-622.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-622.js
index aae0a80be..81c6f87e0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-622.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-622.js
@@ -1,46 +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.6/15.2.3.6-4-622.js
- * @description ES5 Attributes - all attributes in Date.now are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Date, "now");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Date.now;
-
- try {
- Date.now = "2010";
-
- var isWritable = (Date.now === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Date) {
- if (prop === "now") {
- isEnumerable = true;
- }
- }
-
- delete Date.now;
-
- var isConfigurable = !Date.hasOwnProperty("now");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Date, "now", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: ES5 Attributes - all attributes in Date.now are correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Date, "now");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Date.now;
+
+ try {
+ Date.now = "2010";
+
+ var isWritable = (Date.now === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Date) {
+ if (prop === "now") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Date.now;
+
+ var isConfigurable = !Date.hasOwnProperty("now");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Date, "now", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-623.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-623.js
index 1b29367a3..4c1845ee3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-623.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-623.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-623.js
- * @description ES5 Attributes - all attributes in Date.prototype.toISOString are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Date.prototype, "toISOString");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Date.prototype.toISOString;
-
- try {
- Date.prototype.toISOString = "2010";
-
- var isWritable = (Date.prototype.toISOString === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Date.prototype) {
- if (prop === "toISOString") {
- isEnumerable = true;
- }
- }
-
- delete Date.prototype.toISOString;
-
- var isConfigurable = !Date.prototype.hasOwnProperty("toISOString");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Date.prototype, "toISOString", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Date.prototype.toISOString are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Date.prototype, "toISOString");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Date.prototype.toISOString;
+
+ try {
+ Date.prototype.toISOString = "2010";
+
+ var isWritable = (Date.prototype.toISOString === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Date.prototype) {
+ if (prop === "toISOString") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Date.prototype.toISOString;
+
+ var isConfigurable = !Date.prototype.hasOwnProperty("toISOString");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Date.prototype, "toISOString", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-624.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-624.js
index 3b479d488..41702fb73 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-624.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-624.js
@@ -1,46 +1,48 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-624.js
- * @description ES5 Attributes - all attributes in Date.prototype.toJSON are correct
- */
-
-
-function testcase() {
- var desc = Object.getOwnPropertyDescriptor(Date.prototype, "toJSON");
-
- var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
-
- var temp = Date.prototype.toJSON;
-
- try {
- Date.prototype.toJSON = "2010";
-
- var isWritable = (Date.prototype.toJSON === "2010");
-
- var isEnumerable = false;
-
- for (var prop in Date.prototype) {
- if (prop === "toJSON") {
- isEnumerable = true;
- }
- }
-
- delete Date.prototype.toJSON;
-
- var isConfigurable = !Date.prototype.hasOwnProperty("toJSON");
-
- return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
- } finally {
- Object.defineProperty(Date.prototype, "toJSON", {
- value: temp,
- writable: true,
- enumerable: false,
- configurable: 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: >
+ ES5 Attributes - all attributes in Date.prototype.toJSON are
+ correct
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(Date.prototype, "toJSON");
+
+ var propertyAreCorrect = (desc.writable === true && desc.enumerable === false && desc.configurable === true);
+
+ var temp = Date.prototype.toJSON;
+
+ try {
+ Date.prototype.toJSON = "2010";
+
+ var isWritable = (Date.prototype.toJSON === "2010");
+
+ var isEnumerable = false;
+
+ for (var prop in Date.prototype) {
+ if (prop === "toJSON") {
+ isEnumerable = true;
+ }
+ }
+
+ delete Date.prototype.toJSON;
+
+ var isConfigurable = !Date.prototype.hasOwnProperty("toJSON");
+
+ return propertyAreCorrect && isWritable && !isEnumerable && isConfigurable;
+ } finally {
+ Object.defineProperty(Date.prototype, "toJSON", {
+ value: temp,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js
index 924e47d10..695f527d8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-625gs.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.6/15.2.3.6-4-625gs.js
- * @description Globally declared variable should take precedence over Object.prototype property of the same name
- */
-
-Object.defineProperty(Object.prototype,
- "prop",
- { value: 1001, writable: false, enumerable: false, configurable: false}
- );
-var prop = 1002;
-
-if (! (this.hasOwnProperty("prop") && prop === 1002)) {
- throw "this.prop should take precedence over Object.prototype.prop";
-}
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Globally declared variable should take precedence over
+ Object.prototype property of the same name
+---*/
+
+Object.defineProperty(Object.prototype,
+ "prop",
+ { value: 1001, writable: false, enumerable: false, configurable: false}
+ );
+var prop = 1002;
+
+if (! (this.hasOwnProperty("prop") && prop === 1002)) {
+ throw "this.prop should take precedence over Object.prototype.prop";
+}
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-63.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-63.js
index 02733ff66..1b126319b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-63.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-63.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.6/15.2.3.6-4-63.js
- * @description Object.defineProperty - both desc.value and name.value are NaN (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { value: NaN });
-
- Object.defineProperty(obj, "foo", { value: NaN });
-
- if (!isNaN(obj.foo)) {
- return false;
- }
-
- obj.foo = "verifyValue";
- if (obj.foo === "verifyValue") {
- return false;
- }
-
- for (var prop in obj) {
- if (obj.hasOwnProperty(prop) && prop === "foo") {
- return false;
- }
- }
-
- delete obj.foo;
- if (!obj.hasOwnProperty("foo")) {
- 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.defineProperty - both desc.value and name.value are NaN
+ (8.12.9 step 6)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { value: NaN });
+
+ Object.defineProperty(obj, "foo", { value: NaN });
+
+ if (!isNaN(obj.foo)) {
+ return false;
+ }
+
+ obj.foo = "verifyValue";
+ if (obj.foo === "verifyValue") {
+ return false;
+ }
+
+ for (var prop in obj) {
+ if (obj.hasOwnProperty(prop) && prop === "foo") {
+ return false;
+ }
+ }
+
+ delete obj.foo;
+ if (!obj.hasOwnProperty("foo")) {
+ return false;
+ }
+
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-64.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-64.js
index 3f60c4f09..b2087b8e2 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-64.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-64.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.6/15.2.3.6-4-64.js
- * @description Object.defineProperty - desc.value = +0 and name.value = -0 (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { value: -0 });
-
- try {
- Object.defineProperty(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.defineProperty - desc.value = +0 and name.value = -0
+ (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { value: -0 });
+
+ try {
+ Object.defineProperty(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.6/15.2.3.6-4-65.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-65.js
index 5538ec7a2..21bb36889 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-65.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-65.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.6/15.2.3.6-4-65.js
- * @description Object.defineProperty - desc.value = -0 and name.value = +0 (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { value: +0 });
-
- try {
- Object.defineProperty(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.defineProperty - desc.value = -0 and name.value = +0
+ (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { value: +0 });
+
+ try {
+ Object.defineProperty(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.6/15.2.3.6-4-66.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-66.js
index 7b59c2714..c73d7a2b8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-66.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-66.js
@@ -1,21 +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.6/15.2.3.6-4-66.js
- * @description Object.defineProperty - desc.value and name.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.defineProperty(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.defineProperty - desc.value and name.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.defineProperty(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.6/15.2.3.6-4-67.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-67.js
index 5ce17b5ce..547833788 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-67.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-67.js
@@ -1,21 +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.6/15.2.3.6-4-67.js
- * @description Object.defineProperty - both desc.value and name.value are two strings which have same length and same characters in corresponding positions (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { value: "abcd" });
-
- Object.defineProperty(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.defineProperty - both desc.value and name.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 = {};
+
+ Object.defineProperty(obj, "foo", { value: "abcd" });
+
+ Object.defineProperty(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.6/15.2.3.6-4-68.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-68.js
index 8b60868db..8d20b7e8a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-68.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-68.js
@@ -1,21 +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.6/15.2.3.6-4-68.js
- * @description Object.defineProperty - desc.value and name.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.defineProperty(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.defineProperty - desc.value and name.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.defineProperty(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.6/15.2.3.6-4-69.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-69.js
index e00bc118b..3f2b00b40 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-69.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-69.js
@@ -1,21 +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.6/15.2.3.6-4-69.js
- * @description Object.defineProperty - both desc.value and name.value are boolean values with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { value: true });
-
- Object.defineProperty(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.defineProperty - both desc.value and name.value 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: true });
+
+ Object.defineProperty(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.6/15.2.3.6-4-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-7.js
index d9d86c0ba..c103f10e6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-7.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. Step 7a of [[DefineOwnProperty]] rejects if
- * current.[[Configurable]] is false and desc.[[Configurable]] is true.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-7.js
- * @description Object.defineProperty throws TypeError when changing [[Configurable]] from false to true
- */
-
-
-function testcase() {
- var o = {};
-
- // create a data valued property; all other attributes default to false.
- var d1 = { value: 101, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- var desc = { value: 101, configurable: true };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.value === 101 &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. Step 7a of [[DefineOwnProperty]] rejects if
+ current.[[Configurable]] is false and desc.[[Configurable]] is true.
+description: >
+ Object.defineProperty throws TypeError when changing
+ [[Configurable]] from false to true
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create a data valued property; all other attributes default to false.
+ var d1 = { value: 101, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ var desc = { value: 101, configurable: true };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.value === 101 &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-70.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-70.js
index 8cbd26969..d712118a0 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-70.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-70.js
@@ -1,21 +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.6/15.2.3.6-4-70.js
- * @description Object.defineProperty - desc.value and name.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.defineProperty(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.defineProperty - desc.value and name.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.defineProperty(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.6/15.2.3.6-4-71.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-71.js
index 02878239e..2a1b4bc6f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-71.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-71.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.6/15.2.3.6-4-71.js
- * @description Object.defineProperty - both desc.value and name.value are Ojbects which refer to the same Object (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- var obj1 = { length: 10 };
-
- Object.defineProperty(obj, "foo", { value: obj1 });
-
- Object.defineProperty(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.defineProperty - both desc.value and name.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 };
+
+ Object.defineProperty(obj, "foo", { value: obj1 });
+
+ Object.defineProperty(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.6/15.2.3.6-4-72.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-72.js
index 09a0aba9b..06eeef5f3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-72.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-72.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.6/15.2.3.6-4-72.js
- * @description Object.defineProperty - desc.value and name.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.defineProperty(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.defineProperty - desc.value and name.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.defineProperty(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.6/15.2.3.6-4-73.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-73.js
index c45f4fd31..b5c104ca7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-73.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-73.js
@@ -1,21 +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.6/15.2.3.6-4-73.js
- * @description Object.defineProperty - both desc.writable and name.writable are boolean values with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { writable: false});
-
- Object.defineProperty(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.defineProperty - both desc.writable and name.writable 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", { writable: false});
+
+ Object.defineProperty(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.6/15.2.3.6-4-74.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-74.js
index b933de520..d4de6ab9d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-74.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-74.js
@@ -1,21 +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.6/15.2.3.6-4-74.js
- * @description Object.defineProperty - desc.writable and name.writable are two boolean values with different values (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { writable: false, configurable: true });
-
- Object.defineProperty(obj, "foo", { writable: 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.defineProperty - desc.writable and name.writable 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", { writable: false, configurable: true });
+
+ Object.defineProperty(obj, "foo", { writable: 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.6/15.2.3.6-4-75.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-75.js
index 93e983b8b..1de816b7c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-75.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-75.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.6/15.2.3.6-4-75.js
- * @description Object.defineProperty - both desc.[[Get]] and name.[[Get]] are two objects which refer to the same object (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 10;
- }
- function setFunc(value) {
- obj.helpVerifySet = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc
- });
-
- Object.defineProperty(obj, "foo", { get: getFunc });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "helpVerifySet", 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.defineProperty - both desc.[[Get]] and name.[[Get]] are two
+ objects which refer to the same object (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return 10;
+ }
+ function setFunc(value) {
+ obj.helpVerifySet = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc
+ });
+
+ Object.defineProperty(obj, "foo", { get: getFunc });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "helpVerifySet", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-76.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-76.js
index 40e31f14c..654340a36 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-76.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-76.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.6/15.2.3.6-4-76.js
- * @description Object.defineProperty - desc.[[Get]] and name.[[Get]] are two objects which refer to the different objects (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc1() {
- return 10;
- }
- function setFunc1(value) {
- obj.helpVerifySet = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc1,
- set: setFunc1,
- configurable: true
- });
-
- function getFunc2() {
- return 20;
- }
-
- Object.defineProperty(obj, "foo", { get: getFunc2 });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc2, setFunc1, "helpVerifySet", 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.defineProperty - desc.[[Get]] and name.[[Get]] are two
+ objects which refer to the different objects (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc1() {
+ return 10;
+ }
+ function setFunc1(value) {
+ obj.helpVerifySet = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc1,
+ set: setFunc1,
+ configurable: true
+ });
+
+ function getFunc2() {
+ return 20;
+ }
+
+ Object.defineProperty(obj, "foo", { get: getFunc2 });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc2, setFunc1, "helpVerifySet", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-77.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-77.js
index ae16bedc0..9d5c10f61 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-77.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-77.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.6/15.2.3.6-4-77.js
- * @description Object.defineProperty - both desc.[[Set]] and name.[[Set]] are two objects which refer to the same object (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", { set: setFunc });
-
- Object.defineProperty(obj, "foo", { set: setFunc });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "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.defineProperty - both desc.[[Set]] and name.[[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 setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", { set: setFunc });
+
+ Object.defineProperty(obj, "foo", { set: setFunc });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-78.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-78.js
index ed4a0d89a..017e31803 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-78.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-78.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.6/15.2.3.6-4-78.js
- * @description Object.defineProperty - desc.[[Set]] and name.[[Set]] are two objects which refer to the different objects (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function setFunc1() { }
-
- Object.defineProperty(obj, "foo", {
- set: setFunc1,
- configurable: true
- });
-
- function setFunc2(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", { set: setFunc2 });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc2, "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.defineProperty - desc.[[Set]] and name.[[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 setFunc1() { }
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc1,
+ configurable: true
+ });
+
+ function setFunc2(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", { set: setFunc2 });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc2, "setVerifyHelpProp", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-79.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-79.js
index 1d6c8d9d2..43ebd14cf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-79.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-79.js
@@ -1,21 +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.6/15.2.3.6-4-79.js
- * @description Object.defineProperty - both desc.enumerable and name.enumerable are boolean values with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { enumerable: false });
-
- Object.defineProperty(obj, "foo", { enumerable: 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.defineProperty - both desc.enumerable and name.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", { enumerable: false });
+
+ Object.defineProperty(obj, "foo", { enumerable: 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.6/15.2.3.6-4-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-8.js
index 72ff05af9..6de42573d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-8.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
- * current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
- * of each other.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-8.js
- * @description Object.defineProperty throws TypeError when changing [[Enumerable]] from false to true on non-configurable data properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create a data valued property; all other attributes default to false.
- var d1 = { value: 101, enumerable: false, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- // now, setting enumerable to true should fail, since [[Configurable]]
- // on the original property will be false.
- var desc = { value: 101, enumerable: true };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.value === 101 &&
- d2.enumerable === false &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
+ current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
+ of each other.
+description: >
+ Object.defineProperty throws TypeError when changing
+ [[Enumerable]] from false to true on non-configurable data
+ properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create a data valued property; all other attributes default to false.
+ var d1 = { value: 101, enumerable: false, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, setting enumerable to true should fail, since [[Configurable]]
+ // on the original property will be false.
+ var desc = { value: 101, enumerable: true };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.value === 101 &&
+ d2.enumerable === false &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-80.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-80.js
index 45dade816..dfe126742 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-80.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-80.js
@@ -1,21 +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.6/15.2.3.6-4-80.js
- * @description Object.defineProperty - desc.enumerable and name.enumerable are boolean negation of each other (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { enumerable: false, configurable: true });
-
- Object.defineProperty(obj, "foo", { enumerable: true });
- return dataPropertyAttributesAreCorrect(obj, "foo", undefined, 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.defineProperty - desc.enumerable and name.enumerable are
+ boolean negation of each other (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { enumerable: false, configurable: true });
+
+ Object.defineProperty(obj, "foo", { enumerable: true });
+ return dataPropertyAttributesAreCorrect(obj, "foo", undefined, false, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-81.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-81.js
index 5fe6acada..a929cb3ae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-81.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-81.js
@@ -1,21 +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.6/15.2.3.6-4-81.js
- * @description Object.defineProperty - both desc.configurable and name.configurable are booleans with the same value (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { configurable: false });
-
- Object.defineProperty(obj, "foo", { configurable: 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.defineProperty - both desc.configurable and
+ name.configurable are booleans with the same value (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { configurable: false });
+
+ Object.defineProperty(obj, "foo", { configurable: 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.6/15.2.3.6-4-82-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-1.js
index e7fdde43c..b2df49150 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-1.js
@@ -1,29 +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.6/15.2.3.6-4-82-1.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which only contains [[Enumerable]] attribute as false, 'name' property is a data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 1001, 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which only contains [[Enumerable]]
+ attribute as false, 'name' property is a data property (8.12.9
+ step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 1001, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-10.js
index 785d45f77..c756961b8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-10.js
@@ -1,36 +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.6/15.2.3.6-4-82-10.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] attribute as true and [[Configurable]] attribute is false, 'name' property is an accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: true,
- configurable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [[Enumerable]]
+ attribute as true and [[Configurable]] attribute is false, 'name'
+ property is an accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: true,
+ configurable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-11.js
index 3e0c8daea..f5d0877db 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-11.js
@@ -1,36 +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.6/15.2.3.6-4-82-11.js
- * @description Object.defineProperty - Update [[Enumerable]] and [[Configurable]] attributes of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] and [[Configurable]] attributes as false, 'name' property is an accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: false,
- configurable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] and [[Configurable]]
+ attributes of 'name' property to false successfully when
+ [[Enumerable]] and [[Configurable]] attributes of 'name' property
+ are true, the 'desc' is a generic descriptor which contains
+ [[Enumerable]] and [[Configurable]] attributes as false, 'name'
+ property is an accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: false,
+ configurable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-12.js
index ae8dc1d7b..af444d2d5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-12.js
@@ -1,35 +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.6/15.2.3.6-4-82-12.js
- * @description Object.defineProperty - Update [[Enumerable]] attributes of 'name' property to true successfully when [[Enumerable]] attribute of 'name' is false and [[Configurable]] attribute of 'name' is true, the 'desc' is a generic descriptor which only contains [[Enumerable]] attribute as true, 'name' property is an accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: true
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] attributes of 'name'
+ property to true successfully when [[Enumerable]] attribute of
+ 'name' is false and [[Configurable]] attribute of 'name' is true,
+ the 'desc' is a generic descriptor which only contains
+ [[Enumerable]] attribute as true, 'name' property is an accessor
+ property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: true
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-13.js
index db242f255..ab5973c28 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-13.js
@@ -1,29 +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.6/15.2.3.6-4-82-13.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which only contains [[Enumerable]] attribute as false, 'name' property is an index data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1001, 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which only contains [[Enumerable]]
+ attribute as false, 'name' property is an index data property
+ (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1001, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-14.js
index f4fb29329..93d9bbfce 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-14.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.6/15.2.3.6-4-82-14.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] attribute as false and [[Configurable]] attribute as true, 'name' property is an index data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: false,
- configurable: true
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1001, 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [[Enumerable]]
+ attribute as false and [[Configurable]] attribute as true, 'name'
+ property is an index data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: false,
+ configurable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1001, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-15.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-15.js
index 9b5cb812a..54e48fe7d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-15.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-15.js
@@ -1,29 +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.6/15.2.3.6-4-82-15.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Configurable]] attribute of 'name' property is true, the 'desc' is a generic descriptor which contains [[Configurable]] attribute as false, 'name' property is an index data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1001, 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Configurable]]
+ attribute of 'name' property is true, the 'desc' is a generic
+ descriptor which contains [[Configurable]] attribute as false,
+ 'name' property is an index data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1001, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-16.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-16.js
index 43ee9c892..b05a41087 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-16.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-16.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.6/15.2.3.6-4-82-16.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] attribute as true and [[Configurable]] attribute as false, 'name' property is an index data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: true,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1001, 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [[Enumerable]]
+ attribute as true and [[Configurable]] attribute as false, 'name'
+ property is an index data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: true,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1001, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-17.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-17.js
index 79df0b86a..419f87c4a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-17.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-17.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.6/15.2.3.6-4-82-17.js
- * @description Object.defineProperty - Update [[Enumerable]] and [[Configurable]] attributes of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] and [[Configurable]] attributes as false, 'name' property is an index data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: false,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 1001, 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.defineProperty - Update [[Enumerable]] and [[Configurable]]
+ attributes of 'name' property to false successfully when
+ [[Enumerable]] and [[Configurable]] attributes of 'name' property
+ are true, the 'desc' is a generic descriptor which contains
+ [[Enumerable]] and [[Configurable]] attributes as false, 'name'
+ property is an index data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: false,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1001, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-18.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-18.js
index c935503f2..efee15214 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-18.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-18.js
@@ -1,29 +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.6/15.2.3.6-4-82-18.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to true successfully when [[Enumerable]] attribute of 'name' is false and [[Configurable]] attribute of 'name' is true, the 'desc' is a generic descriptor which only contains [[Enumerable]] attribute as true, 'name' property is an index data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "0", {
- value: 1001,
- writable: true,
- enumerable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: true
- });
-
- return dataPropertyAttributesAreCorrect(obj, "0", 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to true successfully when [[Enumerable]] attribute of
+ 'name' is false and [[Configurable]] attribute of 'name' is true,
+ the 'desc' is a generic descriptor which only contains
+ [[Enumerable]] attribute as true, 'name' property is an index data
+ property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "0", {
+ value: 1001,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "0", 1001, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-19.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-19.js
index e64f31c8f..5192eaae3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-19.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-19.js
@@ -1,35 +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.6/15.2.3.6-4-82-19.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which only contains [Enumerable]] attribute as false and 'name' property is an index accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which only contains [Enumerable]]
+ attribute as false and 'name' property is an index accessor
+ property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-2.js
index 7b8bb7b54..de2e27a2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-2.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.6/15.2.3.6-4-82-2.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] attribute as false and [[Configurable]] attribute as true, 'name' property is a data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: false,
- configurable: true
- });
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 1001, 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [[Enumerable]]
+ attribute as false and [[Configurable]] attribute as true, 'name'
+ property is a data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: false,
+ configurable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 1001, true, false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-20.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-20.js
index 8d81f176d..ad117b152 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-20.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-20.js
@@ -1,36 +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.6/15.2.3.6-4-82-20.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [Enumerable]] attribute as false and [[Configurable]] property is true, 'name' property is an index accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: false,
- configurable: true
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [Enumerable]]
+ attribute as false and [[Configurable]] property is true, 'name'
+ property is an index accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: false,
+ configurable: true
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-21.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-21.js
index 547a29d84..326d75abf 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-21.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-21.js
@@ -1,35 +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.6/15.2.3.6-4-82-21.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which only contains [[Configurable]] attribute as false, 'name' property is an index accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- configurable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which only contains
+ [[Configurable]] attribute as false, 'name' property is an index
+ accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ configurable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-22.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-22.js
index b2cbc501c..e61e6515d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-22.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-22.js
@@ -1,36 +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.6/15.2.3.6-4-82-22.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] attribute as true and [[Configurable]] attribute is false, 'name' property is an index accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: true,
- configurable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [[Enumerable]]
+ attribute as true and [[Configurable]] attribute is false, 'name'
+ property is an index accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: true,
+ configurable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-23.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-23.js
index 1acfafee4..8d775bf9f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-23.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-23.js
@@ -1,36 +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.6/15.2.3.6-4-82-23.js
- * @description Object.defineProperty - Update [[Enumerable]] and [[Configurable]] attributes of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] and [[Configurable]] attributes as false, 'name' property is an index accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: false,
- configurable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] and [[Configurable]]
+ attributes of 'name' property to false successfully when
+ [[Enumerable]] and [[Configurable]] attributes of 'name' property
+ are true, the 'desc' is a generic descriptor which contains
+ [[Enumerable]] and [[Configurable]] attributes as false, 'name'
+ property is an index accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: false,
+ configurable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-24.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-24.js
index ea23ee7de..3f4b22a4a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-24.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-24.js
@@ -1,35 +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.6/15.2.3.6-4-82-24.js
- * @description Object.defineProperty - Update [[Enumerable]] attributes of 'name' property to true successfully when [[Enumerable]] attribute of 'name' is false and [[Configurable]] attribute of 'name' is true, the 'desc' is a generic descriptor which only contains [[Enumerable]] attribute as true, 'name' property is an index accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "0", {
- get: get_func,
- set: set_func,
- enumerable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "0", {
- enumerable: true
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] attributes of 'name'
+ property to true successfully when [[Enumerable]] attribute of
+ 'name' is false and [[Configurable]] attribute of 'name' is true,
+ the 'desc' is a generic descriptor which only contains
+ [[Enumerable]] attribute as true, 'name' property is an index
+ accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "0", {
+ get: get_func,
+ set: set_func,
+ enumerable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "0", {
+ enumerable: true
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "0", get_func, set_func, "verifySetFunction", true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-3.js
index 45234601e..60bec7655 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-3.js
@@ -1,29 +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.6/15.2.3.6-4-82-3.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Configurable]] attribute of 'name' property is true, the 'desc' is a generic descriptor which contains [[Configurable]] attribute as false, 'name' property is a data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 1001, 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Configurable]]
+ attribute of 'name' property is true, the 'desc' is a generic
+ descriptor which contains [[Configurable]] attribute as false,
+ 'name' property is a data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 1001, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-4.js
index b211bd757..e4f1801c1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-4.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.6/15.2.3.6-4-82-4.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] attribute as true and [[Configurable]] attribute as false, 'name' property is a data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: true,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 1001, 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [[Enumerable]]
+ attribute as true and [[Configurable]] attribute as false, 'name'
+ property is a data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: true,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 1001, true, true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-5.js
index ba167dde2..fdbccc14e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-5.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.6/15.2.3.6-4-82-5.js
- * @description Object.defineProperty - Update [[Enumerable]] and [[Configurable]] attributes of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [[Enumerable]] and [[Configurable]] attributes as false, 'name' property is a data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 1001,
- writable: true,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: false,
- configurable: false
- });
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 1001, 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.defineProperty - Update [[Enumerable]] and [[Configurable]]
+ attributes of 'name' property to false successfully when
+ [[Enumerable]] and [[Configurable]] attributes of 'name' property
+ are true, the 'desc' is a generic descriptor which contains
+ [[Enumerable]] and [[Configurable]] attributes as false, 'name'
+ property is a data property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 1001,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: false,
+ configurable: false
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 1001, true, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-6.js
index b11388da9..cba102b91 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-6.js
@@ -1,29 +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.6/15.2.3.6-4-82-6.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to true successfully when [[Enumerable]] attribute of 'name' is false and [[Configurable]] attribute of 'name' is true, the 'desc' is a generic descriptor which only contains [[Enumerable]] attribute as true, 'name' property is a data property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 1001,
- writable: true,
- enumerable: false,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: true
- });
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to true successfully when [[Enumerable]] attribute of
+ 'name' is false and [[Configurable]] attribute of 'name' is true,
+ the 'desc' is a generic descriptor which only contains
+ [[Enumerable]] attribute as true, 'name' property is a data
+ property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 1001,
+ writable: true,
+ enumerable: false,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: true
+ });
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 1001, true, true, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-7.js
index cdcb1286e..a2ae4cec6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-7.js
@@ -1,35 +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.6/15.2.3.6-4-82-7.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which only contains [Enumerable]] attribute as false and 'name' property is an accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which only contains [Enumerable]]
+ attribute as false and 'name' property is an accessor property
+ (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-8.js
index 23df37c12..ec503b836 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-8.js
@@ -1,36 +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.6/15.2.3.6-4-82-8.js
- * @description Object.defineProperty - Update [[Enumerable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which contains [Enumerable]] attribute as false and [[Configurable]] property is true, 'name' property is an accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- enumerable: false,
- configurable: true
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Enumerable]] attribute of 'name'
+ property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which contains [Enumerable]]
+ attribute as false and [[Configurable]] property is true, 'name'
+ property is an accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ enumerable: false,
+ configurable: true
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", false, true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-9.js
index 5cb332369..11fde7b9e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82-9.js
@@ -1,35 +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.6/15.2.3.6-4-82-9.js
- * @description Object.defineProperty - Update [[Configurable]] attribute of 'name' property to false successfully when [[Enumerable]] and [[Configurable]] attributes of 'name' property are true, the 'desc' is a generic descriptor which only contains [[Configurable]] attribute as false, 'name' property is an accessor property (8.12.9 step 8)
- */
-
-
-function testcase() {
-
- var obj = {};
- obj.verifySetFunction = "data";
- var get_func = function () {
- return obj.verifySetFunction;
- };
- var set_func = function (value) {
- obj.verifySetFunction = value;
- };
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.defineProperty(obj, "foo", {
- configurable: false
- });
-
- return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", 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.defineProperty - Update [[Configurable]] attribute of
+ 'name' property to false successfully when [[Enumerable]] and
+ [[Configurable]] attributes of 'name' property are true, the
+ 'desc' is a generic descriptor which only contains
+ [[Configurable]] attribute as false, 'name' property is an
+ accessor property (8.12.9 step 8)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ obj.verifySetFunction = "data";
+ var get_func = function () {
+ return obj.verifySetFunction;
+ };
+ var set_func = function (value) {
+ obj.verifySetFunction = value;
+ };
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.defineProperty(obj, "foo", {
+ configurable: false
+ });
+
+ return accessorPropertyAttributesAreCorrect(obj, "foo", get_func, set_func, "verifySetFunction", true, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82.js
index 4f90454af..8995828f6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-82.js
@@ -1,21 +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.6/15.2.3.6-4-82.js
- * @description Object.defineProperty - desc.configurable and name.configurable are boolean negation of each other (8.12.9 step 6)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", { configurable: true });
-
- Object.defineProperty(obj, "foo", { configurable: 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.defineProperty - desc.configurable and name.configurable
+ are boolean negation of each other (8.12.9 step 6)
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", { configurable: true });
+
+ Object.defineProperty(obj, "foo", { configurable: 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.6/15.2.3.6-4-83.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-83.js
index 6199a0f01..1ce435839 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-83.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-83.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.6/15.2.3.6-4-83.js
- * @description Object.defineProperty will not throw TypeError if name.configurable = false, name.writable = false, name.value = undefined and desc.value = undefined (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: undefined,
- writable: false,
- configurable: false
- });
-
- Object.defineProperty(obj, "foo", {
- value: undefined,
- writable: false,
- configurable: 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.defineProperty will not throw TypeError if
+ name.configurable = false, name.writable = false, name.value =
+ undefined and desc.value = 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.defineProperty(obj, "foo", {
+ value: undefined,
+ writable: false,
+ configurable: 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.6/15.2.3.6-4-84.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-84.js
index d36d691b5..a47322b64 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-84.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-84.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.6/15.2.3.6-4-84.js
- * @description Object.defineProperty will not throw TypeError if name.configurable = false, name.writable = false, name.value = null and desc.value = null (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: null,
- writable: false,
- configurable: false
- });
-
- Object.defineProperty(obj, "foo", {
- value: null,
- writable: false,
- configurable: false
- });
- 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.defineProperty will not throw TypeError if
+ name.configurable = false, name.writable = false, name.value =
+ null and desc.value = 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.defineProperty(obj, "foo", {
+ value: null,
+ writable: false,
+ configurable: false
+ });
+ return dataPropertyAttributesAreCorrect(obj, "foo", null, false, false, false);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-85.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-85.js
index fbda3581d..3174d2d02 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-85.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-85.js
@@ -1,50 +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.6/15.2.3.6-4-85.js
- * @description Object.defineProperty will not throw TypeError if name.configurable = false, name.writable = false, name.value = NaN and desc.value = NaN (8.12.9 step 10.a.ii.1)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: NaN,
- writable: false,
- configurable: false
- });
-
- Object.defineProperty(obj, "foo", {
- value: NaN,
- writable: false,
- configurable: false
- });
-
- if (!isNaN(obj.foo)) {
- return false;
- }
-
- obj.foo = "verifyValue";
- if (obj.foo === "verifyValue") {
- return false;
- }
-
- for (var prop in obj) {
- if (obj.hasOwnProperty(prop) && prop === "foo") {
- return false;
- }
- }
-
- delete obj.foo;
- if (!obj.hasOwnProperty("foo")) {
- 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.defineProperty will not throw TypeError if
+ name.configurable = false, name.writable = false, name.value = NaN
+ and desc.value = NaN (8.12.9 step 10.a.ii.1)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: NaN,
+ writable: false,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "foo", {
+ value: NaN,
+ writable: false,
+ configurable: false
+ });
+
+ if (!isNaN(obj.foo)) {
+ return false;
+ }
+
+ obj.foo = "verifyValue";
+ if (obj.foo === "verifyValue") {
+ return false;
+ }
+
+ for (var prop in obj) {
+ if (obj.hasOwnProperty(prop) && prop === "foo") {
+ return false;
+ }
+ }
+
+ delete obj.foo;
+ if (!obj.hasOwnProperty("foo")) {
+ return false;
+ }
+
+ return true;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-86.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-86.js
index 069287930..f8da608df 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-86.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-86.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.6/15.2.3.6-4-86.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.writable = false, desc.value = +0 and name.value = -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.defineProperty(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.defineProperty will throw TypeError when name.configurable
+ = false, name.writable = false, desc.value = +0 and name.value =
+ -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.defineProperty(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.6/15.2.3.6-4-87.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-87.js
index 146360732..4c22ecf44 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-87.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-87.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.6/15.2.3.6-4-87.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.writable = false, desc.value = -0 and name.value = +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.defineProperty(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.defineProperty will throw TypeError when name.configurable
+ = false, name.writable = false, desc.value = -0 and name.value =
+ +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.defineProperty(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.6/15.2.3.6-4-88.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-88.js
index a54c9a03d..561eb6d2f 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-88.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-88.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.6/15.2.3.6-4-88.js
- * @description Object.defineProperty will not throw TypeError when name.configurable = false, name.writable = false, desc.value and name.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
- });
-
- try {
- Object.defineProperty(obj, "foo", { value: 100 });
- return dataPropertyAttributesAreCorrect(obj, "foo", 100, 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.defineProperty will not throw TypeError when
+ name.configurable = false, name.writable = false, desc.value and
+ name.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
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", { value: 100 });
+ return dataPropertyAttributesAreCorrect(obj, "foo", 100, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-89.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-89.js
index cce60fc0f..4c12f977c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-89.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-89.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.6/15.2.3.6-4-89.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.writable = false, desc.value and name.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.defineProperty(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.defineProperty will throw TypeError when name.configurable
+ = false, name.writable = false, desc.value and name.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.defineProperty(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.6/15.2.3.6-4-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-9.js
index 618b974e0..5d03e85c7 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-9.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.
-/**
- * Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
- * of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
- * current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
- * of each other.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-9.js
- * @description Object.defineProperty throws TypeError when changing [[Enumerable]] from true to false on non-configurable data properties
- */
-
-
-function testcase() {
- var o = {};
-
- // create a data valued property with [[Enumerable]] explicitly set to true;
- // all other attributes default to false.
- var d1 = { value: 101, enumerable: true, configurable: false };
- Object.defineProperty(o, "foo", d1);
-
- // now, setting enumerable to false should fail, since [[Configurable]]
- // on the original property will be false.
- var desc = { value: 101, enumerable: false };
-
- try {
- Object.defineProperty(o, "foo", desc);
- }
- catch (e) {
- if (e instanceof TypeError) {
- // the property should remain unchanged.
- var d2 = Object.getOwnPropertyDescriptor(o, "foo");
- if (d2.value === 101 &&
- d2.enumerable === true &&
- d2.configurable === false) {
- return true;
- }
- }
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method
+ of O to define the property. Step 7b of [[DefineOwnProperty]] rejects if
+ current.[[Enumerable]] and desc.[[Enumerable]] are the boolean negations
+ of each other.
+description: >
+ Object.defineProperty throws TypeError when changing
+ [[Enumerable]] from true to false on non-configurable data
+ properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = {};
+
+ // create a data valued property with [[Enumerable]] explicitly set to true;
+ // all other attributes default to false.
+ var d1 = { value: 101, enumerable: true, configurable: false };
+ Object.defineProperty(o, "foo", d1);
+
+ // now, setting enumerable to false should fail, since [[Configurable]]
+ // on the original property will be false.
+ var desc = { value: 101, enumerable: false };
+
+ try {
+ Object.defineProperty(o, "foo", desc);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ // the property should remain unchanged.
+ var d2 = Object.getOwnPropertyDescriptor(o, "foo");
+ if (d2.value === 101 &&
+ d2.enumerable === true &&
+ d2.configurable === false) {
+ return true;
+ }
+ }
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-90.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-90.js
index b0a2872ab..23fdcd65d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-90.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-90.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.6/15.2.3.6-4-90.js
- * @description Object.defineProperty will not throw TypeError when name.configurable = false, name.writable = false, desc.value and name.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
- });
-
- try {
- Object.defineProperty(obj, "foo", { value: "abcd" });
- return dataPropertyAttributesAreCorrect(obj, "foo", "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.defineProperty will not throw TypeError when
+ name.configurable = false, name.writable = false, desc.value and
+ name.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
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", { value: "abcd" });
+ return dataPropertyAttributesAreCorrect(obj, "foo", "abcd", false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-91.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-91.js
index 53096d5f1..455f6b48b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-91.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-91.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.6/15.2.3.6-4-91.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.writable = false, desc.value and name.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.defineProperty(obj, "foo", { value: "fghj" });
- 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.defineProperty will throw TypeError when name.configurable
+ = false, name.writable = false, desc.value and name.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.defineProperty(obj, "foo", { value: "fghj" });
+ 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.6/15.2.3.6-4-92.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-92.js
index 339056a44..1576678c6 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-92.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-92.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.6/15.2.3.6-4-92.js
- * @description Object.defineProperty will not throw TypeError when name.configurable = false, name.writable = false, desc.value and name.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
- });
-
- try {
- Object.defineProperty(obj, "foo", { value: false });
- return dataPropertyAttributesAreCorrect(obj, "foo", false, 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.defineProperty will not throw TypeError when
+ name.configurable = false, name.writable = false, desc.value and
+ name.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
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", { value: false });
+ return dataPropertyAttributesAreCorrect(obj, "foo", false, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-93.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-93.js
index a58fa696f..401ad6f0c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-93.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-93.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.6/15.2.3.6-4-93.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.writable = false, desc.value and name.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.defineProperty(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.defineProperty will throw TypeError when name.configurable
+ = false, name.writable = false, desc.value and name.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.defineProperty(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.6/15.2.3.6-4-94.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-94.js
index 2b1429446..e6a033796 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-94.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-94.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.6/15.2.3.6-4-94.js
- * @description Object.defineProperty will not throw TypeError when name.configurable = false, name.writable = false, desc.value and name.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
- });
-
- try {
- Object.defineProperty(obj, "foo", { value: obj1 });
- return dataPropertyAttributesAreCorrect(obj, "foo", 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.defineProperty will not throw TypeError when
+ name.configurable = false, name.writable = false, desc.value and
+ name.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
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", { value: obj1 });
+ return dataPropertyAttributesAreCorrect(obj, "foo", obj1, false, false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-95.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-95.js
index d175f92ac..3f92a7c2e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-95.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-95.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.6/15.2.3.6-4-95.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.writable = false, desc.value and name.value are two objects which refer to the different objects (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.defineProperty(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.defineProperty will throw TypeError when name.configurable
+ = false, name.writable = false, desc.value and name.value are two
+ objects which refer to the different objects (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.defineProperty(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.6/15.2.3.6-4-96.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-96.js
index 061dac5ac..8268acd1b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-96.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-96.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.6/15.2.3.6-4-96.js
- * @description Object.defineProperty will not throw TypeError when name.configurable = false, both desc.[[Set]] and name.[[Set]] are two objects which refer to the same object (8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: setFunc,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", { set: setFunc });
- return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "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.defineProperty will not throw TypeError when
+ name.configurable = false, both desc.[[Set]] and name.[[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 setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", { set: setFunc });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "setVerifyHelpProp", false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-97.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-97.js
index 5eb9455c3..a903f8ba5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-97.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-97.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.6/15.2.3.6-4-97.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.[[Set]] is undefined, desc.[[Set]] refers to an object (8.12.9 step 11.a.i)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return "property";
- }
-
- Object.defineProperty(obj, "property", {
- get: getFunc,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "property", {
- get: getFunc,
- set: function () { },
- configurable: false
- });
-
- return false;
- } catch (e) {
- return e instanceof TypeError &&
- accessorPropertyAttributesAreCorrect(obj, "property", 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.defineProperty will throw TypeError when name.configurable
+ = false, name.[[Set]] is undefined, desc.[[Set]] refers to an
+ object (8.12.9 step 11.a.i)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function getFunc() {
+ return "property";
+ }
+
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "property", {
+ get: getFunc,
+ set: function () { },
+ configurable: false
+ });
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError &&
+ accessorPropertyAttributesAreCorrect(obj, "property", getFunc, undefined, undefined, false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-98.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-98.js
index 0b1cd9f2a..d813539a3 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-98.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-98.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.6/15.2.3.6-4-98.js
- * @description Object.defineProperty will not throw TypeError when name.configurable = false, both desc.[[Get]] and name.[[Get]] are two objects which refer to the same object (8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function getFunc() {
- return 10;
- }
- function setFunc(value) {
- obj.verifyGetHelpMethod = value;
- }
-
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc,
- configurable: false
- });
-
- try {
- Object.defineProperty(obj, "foo", { get: getFunc });
- return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "verifyGetHelpMethod", 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.defineProperty will not throw TypeError when
+ name.configurable = false, both desc.[[Get]] and name.[[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 getFunc() {
+ return 10;
+ }
+ function setFunc(value) {
+ obj.verifyGetHelpMethod = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc,
+ configurable: false
+ });
+
+ try {
+ Object.defineProperty(obj, "foo", { get: getFunc });
+ return accessorPropertyAttributesAreCorrect(obj, "foo", getFunc, setFunc, "verifyGetHelpMethod", false, false);
+ } catch (e) {
+ return false;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-99.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-99.js
index af8d79687..33ee03d3e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-99.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-99.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.6/15.2.3.6-4-99.js
- * @description Object.defineProperty will throw TypeError when name.configurable = false, name.[[Get]] is undefined, desc.[[Get]] refers to an object (8.12.9 step 11.a.ii)
- */
-
-
-function testcase() {
-
- var obj = {};
-
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
-
- Object.defineProperty(obj, "foo", {
- set: setFunc,
- configurable: false
- });
-
- function getFunc() {
- return 10;
- }
-
- try {
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc
- });
- return false;
- } catch (e) {
- return e instanceof TypeError && accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "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.defineProperty will throw TypeError when name.configurable
+ = false, name.[[Get]] is undefined, desc.[[Get]] refers to an
+ object (8.12.9 step 11.a.ii)
+includes:
+ - runTestCase.js
+ - accessorPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ set: setFunc,
+ configurable: false
+ });
+
+ function getFunc() {
+ return 10;
+ }
+
+ try {
+ Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc
+ });
+ return false;
+ } catch (e) {
+ return e instanceof TypeError && accessorPropertyAttributesAreCorrect(obj, "foo", undefined, setFunc, "setVerifyHelpProp", false, false);
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A1.js
index 714098e5e..1332bd8d1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A1.js
@@ -1,16 +1,15 @@
// Copyright 2011 Google Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If a particular API exists (document.createElement, as happens to
- * exist in a browser environment), check if the form objects it makes
- * obey the constraints that even host objects must obey. In this
- * case, that if defineProperty seems to have successfully installed a
- * non-configurable getter, that it is still there.
- *
- * @path ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A1.js
- * @description Do getters on HTMLFormElements disappear?
- */
+/*---
+info: >
+ If a particular API exists (document.createElement, as happens to
+ exist in a browser environment), check if the form objects it makes
+ obey the constraints that even host objects must obey. In this
+ case, that if defineProperty seems to have successfully installed a
+ non-configurable getter, that it is still there.
+description: Do getters on HTMLFormElements disappear?
+---*/
function getter() { return 'gotten'; }
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A2.js
index 7693af845..15993773a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A2.js
@@ -1,11 +1,11 @@
// Copyright 2011 Google Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.6/S15.2.3.6_A2.js
- * @description Checks if an inherited accessor property appears to be
- * an own property.
- */
+/*---
+description: >
+ Checks if an inherited accessor property appears to be an own
+ property.
+---*/
var base = {};
var derived = Object.create(base);
@@ -14,4 +14,3 @@ Object.defineProperty(base, 'foo', {get: getter});
if (derived.hasOwnProperty('foo')) {
$ERROR('Accessor properties inherit as own properties');
}
-