aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.2/15.2.3/15.2.3.9
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.2/15.2.3/15.2.3.9')
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-1.js36
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-2.js34
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-1.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-2.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-3.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-4.js42
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-1.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-2.js64
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-3.js68
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-4.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-1.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-10.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-11.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-12.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-13.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-14.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-2.js62
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-3.js78
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-4.js58
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-5.js76
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-6.js84
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-7.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-8.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-9.js50
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-1.js60
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-2.js83
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-1.js61
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-2.js107
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-3.js135
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-4.js130
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-1.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-2.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-3.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-4.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-5.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-6.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-7.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-8.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-9.js40
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-3-1.js38
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-1.js46
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-2.js48
-rw-r--r--test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-3.js46
44 files changed, 1241 insertions, 1187 deletions
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-1.js
index 594458a26..0463551d1 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-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.9/15.2.3.9-0-1.js
- * @description Object.freeze must exist as a function
- */
-
-
-function testcase() {
- var f = Object.freeze;
- 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.freeze must exist as a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var f = Object.freeze;
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-2.js
index 3d5dd332f..b65a2186e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-0-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-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.9/15.2.3.9-0-2.js
- * @description Object.freeze must exist as a function taking 1 parameter
- */
-
-
-function testcase() {
- if (Object.freeze.length === 1) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze must exist as a function taking 1 parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ if (Object.freeze.length === 1) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-1.js
index 9313c3163..c477dcd9b 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-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.9/15.2.3.9-1-1.js
- * @description Object.freeze throws TypeError if type of first param is undefined
- */
-
-
-function testcase() {
- try {
- Object.freeze(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.freeze throws TypeError if type of first param is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.freeze(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.9/15.2.3.9-1-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-2.js
index 6e9024d32..abc2ea267 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-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.9/15.2.3.9-1-2.js
- * @description Object.freeze throws TypeError if type of first param is null
- */
-
-
-function testcase() {
- try {
- Object.freeze(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.freeze throws TypeError if type of first param is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.freeze(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.9/15.2.3.9-1-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-3.js
index 6f23bae11..e44b29e38 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-3.js
@@ -1,29 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-3.js
- * @description Object.freeze throws TypeError if type of first param is boolean primitive
- */
-
-
-function testcase() {
- var result = false;
- try {
- Object.freeze(false);
-
- return false;
- } catch (e) {
- result = e instanceof TypeError;
- }
- try {
- Object.freeze(true);
-
- return false;
- } catch (e) {
- return result && 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.freeze throws TypeError if type of first param is boolean
+ primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var result = false;
+ try {
+ Object.freeze(false);
+
+ return false;
+ } catch (e) {
+ result = e instanceof TypeError;
+ }
+ try {
+ Object.freeze(true);
+
+ return false;
+ } catch (e) {
+ return result && e instanceof TypeError;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-4.js
index fe32d4549..3ee79010e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-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.9/15.2.3.9-1-4.js
- * @description Object.freeze throws TypeError if type of first param is string primitive
- */
-
-
-function testcase() {
- try {
- Object.freeze("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.freeze throws TypeError if type of first param is string
+ primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.freeze("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.9/15.2.3.9-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1.js
index 2511f89d4..ca78e433c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-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.9/15.2.3.9-1.js
- * @description Object.freeze throws TypeError if type of first param is not Object
- */
-
-
-function testcase() {
- try {
- Object.freeze(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.freeze throws TypeError if type of first param is not Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.freeze(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.9/15.2.3.9-2-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-1.js
index 9d0312273..b26e5254d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-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.9/15.2.3.9-2-1.js
- * @description Object.freeze - extensible of 'O' is set as false even if 'O' has no own property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.freeze(obj);
-
- return !Object.isExtensible(obj);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.freeze - extensible of 'O' is set as false even if 'O' has
+ no own property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.freeze(obj);
+
+ return !Object.isExtensible(obj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-2.js
index 4f52a43a2..bbd8a8b83 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-2.js
@@ -1,32 +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.9/15.2.3.9-2-2.js
- * @description Object.freeze - inherited data properties are not frozen
- */
-
-
-function testcase() {
- var proto = {};
-
- Object.defineProperty(proto, "Father", {
- value: 10,
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.freeze(child);
-
- var beforeDeleted = proto.hasOwnProperty("Father");
- delete proto.Father;
- var afterDeleted = proto.hasOwnProperty("Father");
-
- return beforeDeleted && !afterDeleted;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - inherited data properties are not frozen
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+
+ Object.defineProperty(proto, "Father", {
+ value: 10,
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.freeze(child);
+
+ var beforeDeleted = proto.hasOwnProperty("Father");
+ delete proto.Father;
+ var afterDeleted = proto.hasOwnProperty("Father");
+
+ return beforeDeleted && !afterDeleted;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-3.js
index 4f2c988e4..5507ab780 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-3.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.9/15.2.3.9-2-3.js
- * @description Object.freeze - inherited accessor properties are not frozen
- */
-
-
-function testcase() {
- var proto = {};
-
- Object.defineProperty(proto, "Father", {
- get: function () {
- return 10;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.freeze(child);
-
- var beforeDeleted = proto.hasOwnProperty("Father");
- delete proto.Father;
- var afterDeleted = proto.hasOwnProperty("Father");
-
- return beforeDeleted && !afterDeleted;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - inherited accessor properties are not frozen
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+
+ Object.defineProperty(proto, "Father", {
+ get: function () {
+ return 10;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.freeze(child);
+
+ var beforeDeleted = proto.hasOwnProperty("Father");
+ delete proto.Father;
+ var afterDeleted = proto.hasOwnProperty("Father");
+
+ return beforeDeleted && !afterDeleted;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-4.js
index 43191dd89..dded7fe27 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-4.js
@@ -1,31 +1,31 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-4.js
- * @description Object.freeze - Non-enumerable own properties of 'O' are frozen
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- enumerable: false,
- configurable: true
- });
-
- Object.freeze(obj);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- var beforeDeleted = obj.hasOwnProperty("foo");
- delete obj.foo;
- var afterDeleted = obj.hasOwnProperty("foo");
-
- return beforeDeleted && afterDeleted && desc.configurable === false && desc.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: Object.freeze - Non-enumerable own properties of 'O' are frozen
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ enumerable: false,
+ configurable: true
+ });
+
+ Object.freeze(obj);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ var beforeDeleted = obj.hasOwnProperty("foo");
+ delete obj.foo;
+ var afterDeleted = obj.hasOwnProperty("foo");
+
+ return beforeDeleted && afterDeleted && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-1.js
index 535a3304d..a03205914 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-1.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-1.js
- * @description Object.freeze - 'P' is own data property
- */
-
-
-function testcase() {
- var obj = {};
-
- obj.foo = 10; // default [[Configurable]] attribute value of foo: true
-
- Object.freeze(obj);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- delete obj.foo;
- return obj.foo === 10 && desc.configurable === false && desc.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: Object.freeze - 'P' is own data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ obj.foo = 10; // default [[Configurable]] attribute value of foo: true
+
+ Object.freeze(obj);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ delete obj.foo;
+ return obj.foo === 10 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-10.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-10.js
index efb9a18a1..ff25a3aac 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-10.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-10.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.9/15.2.3.9-2-a-10.js
- * @description Object.freeze - 'P' is own named property of an Array object that uses Object's [[GetOwnProperty]]
- */
-
-
-function testcase() {
- var arrObj = [];
-
- arrObj.foo = 10; // default [[Configurable]] attribute value of foo: true
-
- Object.freeze(arrObj);
-
- var desc = Object.getOwnPropertyDescriptor(arrObj, "foo");
-
- delete arrObj.foo;
- return arrObj.foo === 10 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own named property of an Array object that
+ uses Object's [[GetOwnProperty]]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [];
+
+ arrObj.foo = 10; // default [[Configurable]] attribute value of foo: true
+
+ Object.freeze(arrObj);
+
+ var desc = Object.getOwnPropertyDescriptor(arrObj, "foo");
+
+ delete arrObj.foo;
+ return arrObj.foo === 10 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-11.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-11.js
index 0cda9043b..63e12ef3a 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-11.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-11.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.9/15.2.3.9-2-a-11.js
- * @description Object.freeze - 'P' is own index property of the Arguments object that implements its own [[GetOwnProperty]]
- */
-
-
-function testcase() {
-
- // default [[Configurable]] attribute value of "0": true
- var argObj = (function () { return arguments; }(1, 2, 3));
-
- Object.freeze(argObj);
-
- var desc = Object.getOwnPropertyDescriptor(argObj, "0");
-
- delete argObj[0];
- return argObj[0] === 1 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own index property of the Arguments object
+ that implements its own [[GetOwnProperty]]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ // default [[Configurable]] attribute value of "0": true
+ var argObj = (function () { return arguments; }(1, 2, 3));
+
+ Object.freeze(argObj);
+
+ var desc = Object.getOwnPropertyDescriptor(argObj, "0");
+
+ delete argObj[0];
+ return argObj[0] === 1 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-12.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-12.js
index 97f0ba013..69af04a53 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-12.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-12.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-12.js
- * @description Object.freeze - 'P' is own index property of a String object that implements its own [[GetOwnProperty]]
- */
-
-
-function testcase() {
-
- // default [[Configurable]] attribute value of "0": true
- var strObj = new String("abc");
-
- Object.freeze(strObj);
-
- var desc = Object.getOwnPropertyDescriptor(strObj, "0");
-
- delete strObj[0];
- return strObj[0] === "a" && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own index property of a String object that
+ implements its own [[GetOwnProperty]]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ // default [[Configurable]] attribute value of "0": true
+ var strObj = new String("abc");
+
+ Object.freeze(strObj);
+
+ var desc = Object.getOwnPropertyDescriptor(strObj, "0");
+
+ delete strObj[0];
+ return strObj[0] === "a" && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-13.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-13.js
index 4cad5afea..7d929d59d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-13.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-13.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-13.js
- * @description Object.freeze - 'P' is own index property of the Object
- */
-
-
-function testcase() {
-
- // default [[Configurable]] attribute value of "0": true
- var obj = { 0: 0, 1: 1, length: 2};
-
- Object.freeze(obj);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "0");
-
- delete obj[0];
- return obj[0] === 0 && desc.configurable === false && desc.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: Object.freeze - 'P' is own index property of the Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ // default [[Configurable]] attribute value of "0": true
+ var obj = { 0: 0, 1: 1, length: 2};
+
+ Object.freeze(obj);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "0");
+
+ delete obj[0];
+ return obj[0] === 0 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-14.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-14.js
index a96c924ca..40999ffad 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-14.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-14.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-14.js
- * @description Object.freeze - 'P' is own index property of an Array object that uses Object's [[GetOwnProperty]]
- */
-
-
-function testcase() {
-
- // default [[Configurable]] attribute value of "0": true
- var arrObj = [0, 1, 2];
-
- Object.freeze(arrObj);
-
- var desc = Object.getOwnPropertyDescriptor(arrObj, "0");
-
- delete arrObj[0];
- return arrObj[0] === 0 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own index property of an Array object that
+ uses Object's [[GetOwnProperty]]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ // default [[Configurable]] attribute value of "0": true
+ var arrObj = [0, 1, 2];
+
+ Object.freeze(arrObj);
+
+ var desc = Object.getOwnPropertyDescriptor(arrObj, "0");
+
+ delete arrObj[0];
+ return arrObj[0] === 0 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-2.js
index 74d681c25..db0b60685 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-2.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.9/15.2.3.9-2-a-2.js
- * @description Object.freeze - 'P' is own data property that overrides an inherited data property
- */
-
-
-function testcase() {
-
- var proto = { foo: 0 }; // default [[Configurable]] attribute value of foo: true
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
-
- child.foo = 10; // default [[Configurable]] attribute value of foo: true
-
- Object.freeze(child);
-
- var desc = Object.getOwnPropertyDescriptor(child, "foo");
-
- delete child.foo;
- return child.foo === 10 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own data property that overrides an
+ inherited data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var proto = { foo: 0 }; // default [[Configurable]] attribute value of foo: true
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ child.foo = 10; // default [[Configurable]] attribute value of foo: true
+
+ Object.freeze(child);
+
+ var desc = Object.getOwnPropertyDescriptor(child, "foo");
+
+ delete child.foo;
+ return child.foo === 10 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-3.js
index f8d1189b9..91d8b579d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-3.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.9/15.2.3.9-2-a-3.js
- * @description Object.freeze - 'P' is own data property that overrides an inherited accessor property
- */
-
-
-function testcase() {
- var proto = {};
-
- Object.defineProperty(proto, "foo", {
- get: function () {
- return 0;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- Object.defineProperty(child, "foo", {
- value: 10,
- configurable: true
- });
-
- Object.freeze(child);
-
- var desc = Object.getOwnPropertyDescriptor(child, "foo");
-
- delete child.foo;
- return child.foo === 10 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own data property that overrides an
+ inherited accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+
+ Object.defineProperty(proto, "foo", {
+ get: function () {
+ return 0;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ Object.defineProperty(child, "foo", {
+ value: 10,
+ configurable: true
+ });
+
+ Object.freeze(child);
+
+ var desc = Object.getOwnPropertyDescriptor(child, "foo");
+
+ delete child.foo;
+ return child.foo === 10 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-4.js
index 304287fef..94a1a7272 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-4.js
@@ -1,29 +1,29 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-4.js
- * @description Object.freeze - 'P' is own accessor property
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- get: function () {
- return 10;
- },
- configurable: true
- });
-
- Object.freeze(obj);
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- delete obj.foo;
- return obj.foo === 10 && desc.configurable === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - 'P' is own accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ get: function () {
+ return 10;
+ },
+ configurable: true
+ });
+
+ Object.freeze(obj);
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ delete obj.foo;
+ return obj.foo === 10 && desc.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-5.js
index ebd51f99b..2da1998ff 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-5.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.9/15.2.3.9-2-a-5.js
- * @description Object.freeze - 'P' is own accessor property that overrides an inherited data property
- */
-
-
-function testcase() {
-
- var proto = {};
-
- proto.foo = 0; // default [[Configurable]] attribute value of foo: true
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
-
- Object.defineProperty(child, "foo", {
- get: function () {
- return 10;
- },
- configurable: true
- });
-
- Object.freeze(child);
-
- var desc = Object.getOwnPropertyDescriptor(child, "foo");
-
- delete child.foo;
- return child.foo === 10 && desc.configurable === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.freeze - 'P' is own accessor property that overrides an
+ inherited data property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var proto = {};
+
+ proto.foo = 0; // default [[Configurable]] attribute value of foo: true
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ Object.defineProperty(child, "foo", {
+ get: function () {
+ return 10;
+ },
+ configurable: true
+ });
+
+ Object.freeze(child);
+
+ var desc = Object.getOwnPropertyDescriptor(child, "foo");
+
+ delete child.foo;
+ return child.foo === 10 && desc.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-6.js
index 4999d84e8..40efd9e0d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-6.js
@@ -1,41 +1,43 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-6.js
- * @description Object.freeze - 'P' is own accessor property that overrides an inherited accessor property
- */
-
-
-function testcase() {
- var proto = {};
-
- Object.defineProperty(proto, "foo", {
- get: function () {
- return 0;
- },
- configurable: true
- });
-
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
-
- Object.defineProperty(child, "foo", {
- get: function () {
- return 10;
- },
- configurable: true
- });
-
- Object.freeze(child);
-
- var desc = Object.getOwnPropertyDescriptor(child, "foo");
-
- delete child.foo;
- return child.foo === 10 && desc.configurable === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.freeze - 'P' is own accessor property that overrides an
+ inherited accessor property
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {};
+
+ Object.defineProperty(proto, "foo", {
+ get: function () {
+ return 0;
+ },
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ Object.defineProperty(child, "foo", {
+ get: function () {
+ return 10;
+ },
+ configurable: true
+ });
+
+ Object.freeze(child);
+
+ var desc = Object.getOwnPropertyDescriptor(child, "foo");
+
+ delete child.foo;
+ return child.foo === 10 && desc.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-7.js
index 44fc1eccd..6c470ccd4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-7.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-7.js
- * @description Object.freeze - 'P' is own named property of an Arguments object that implements its own [[GetOwnProperty]]
- */
-
-
-function testcase() {
- var argObj = (function () { return arguments; }());
-
- argObj.foo = 10; // default [[Configurable]] attribute value of foo: true
-
- Object.freeze(argObj);
-
- var desc = Object.getOwnPropertyDescriptor(argObj, "foo");
-
- delete argObj.foo;
- return argObj.foo === 10 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own named property of an Arguments object
+ that implements its own [[GetOwnProperty]]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var argObj = (function () { return arguments; }());
+
+ argObj.foo = 10; // default [[Configurable]] attribute value of foo: true
+
+ Object.freeze(argObj);
+
+ var desc = Object.getOwnPropertyDescriptor(argObj, "foo");
+
+ delete argObj.foo;
+ return argObj.foo === 10 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-8.js
index 0b81f9849..7b800af09 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-8.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.9/15.2.3.9-2-a-8.js
- * @description Object.freeze - 'P' is own named property of the String object that implements its own [[GetOwnProperty]]
- */
-
-
-function testcase() {
- var strObj = new String("abc");
-
- strObj.foo = 10; // default [[Configurable]] attribute value of foo: true
-
- Object.freeze(strObj);
-
- var desc = Object.getOwnPropertyDescriptor(strObj, "foo");
-
- delete strObj.foo;
- return strObj.foo === 10 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own named property of the String object
+ that implements its own [[GetOwnProperty]]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var strObj = new String("abc");
+
+ strObj.foo = 10; // default [[Configurable]] attribute value of foo: true
+
+ Object.freeze(strObj);
+
+ var desc = Object.getOwnPropertyDescriptor(strObj, "foo");
+
+ delete strObj.foo;
+ return strObj.foo === 10 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-9.js
index bcc125919..d8dda4e93 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-a-9.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.9/15.2.3.9-2-a-9.js
- * @description Object.freeze - 'P' is own property of the Function object that uses Object's [[GetOwnProperty]]
- */
-
-
-function testcase() {
- var funObj = function () { };
-
- funObj.foo = 10; // default [[Configurable]] attribute value of foo: true
-
- Object.freeze(funObj);
-
- var desc = Object.getOwnPropertyDescriptor(funObj, "foo");
-
- delete funObj.foo;
- return funObj.foo === 10 && desc.configurable === false && desc.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: >
+ Object.freeze - 'P' is own property of the Function object that
+ uses Object's [[GetOwnProperty]]
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var funObj = function () { };
+
+ funObj.foo = 10; // default [[Configurable]] attribute value of foo: true
+
+ Object.freeze(funObj);
+
+ var desc = Object.getOwnPropertyDescriptor(funObj, "foo");
+
+ delete funObj.foo;
+ return funObj.foo === 10 && desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-1.js
index c7bf0fd78..caab036de 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-1.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.9/15.2.3.9-2-b-i-1.js
- * @description Object.freeze - The [[Wrtiable]] attribute of own data property of 'O' is set to false while other attributes are unchanged
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- writable: true,
- enumerable: true,
- configurable: false
- });
-
- Object.freeze(obj);
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, false) &&
- desc.writable === false && desc.configurable === false;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.freeze - The [[Wrtiable]] attribute of own data property of
+ 'O' is set to false while other attributes are unchanged
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ writable: true,
+ enumerable: true,
+ configurable: false
+ });
+
+ Object.freeze(obj);
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, false) &&
+ desc.writable === false && desc.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-2.js
index 58bb173e1..be021142c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-b-i-2.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.9/15.2.3.9-2-b-i-2.js
- * @description Object.freeze - The [[Wrtiable]] attribute of all own data property of 'O' is set to false while other attributes are unchanged
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "foo1", {
- value: 10,
- writable: false,
- enumerable: true,
- configurable: false
- });
-
- Object.defineProperty(obj, "foo2", {
- value: 20,
- writable: true,
- enumerable: false,
- configurable: false
- });
-
- Object.freeze(obj);
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "foo1");
- var desc2 = Object.getOwnPropertyDescriptor(obj, "foo2");
-
- return dataPropertyAttributesAreCorrect(obj, "foo1", 10, false, true, false) &&
- dataPropertyAttributesAreCorrect(obj, "foo2", 20, false, false, false) &&
- desc1.configurable === false && desc1.writable === false &&
- desc2.configurable === false && 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: >
+ Object.freeze - The [[Wrtiable]] attribute of all own data
+ property of 'O' is set to false while other attributes are
+ unchanged
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "foo1", {
+ value: 10,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+
+ Object.defineProperty(obj, "foo2", {
+ value: 20,
+ writable: true,
+ enumerable: false,
+ configurable: false
+ });
+
+ Object.freeze(obj);
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "foo1");
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "foo2");
+
+ return dataPropertyAttributesAreCorrect(obj, "foo1", 10, false, true, false) &&
+ dataPropertyAttributesAreCorrect(obj, "foo2", 20, false, false, false) &&
+ desc1.configurable === false && desc1.writable === false &&
+ desc2.configurable === false && desc2.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-1.js
index 3d87e76e6..089e810ae 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-1.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.9/15.2.3.9-2-c-1.js
- * @description Object.freeze - The [[Configurable]] attribute of own data property of 'O' is set to false while other attributes are unchanged
- */
-
-
-function testcase() {
- var obj = {};
-
- Object.defineProperty(obj, "foo", {
- value: 10,
- writable: false,
- enumerable: true,
- configurable: true
- });
-
- Object.freeze(obj);
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
-
- return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, false) &&
- desc.configurable === false && desc.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: >
+ Object.freeze - The [[Configurable]] attribute of own data
+ property of 'O' is set to false while other attributes are
+ unchanged
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 10,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.freeze(obj);
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+
+ return dataPropertyAttributesAreCorrect(obj, "foo", 10, false, true, false) &&
+ desc.configurable === false && desc.writable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-2.js
index 55d5133e3..1b586f80e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-2.js
@@ -1,52 +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.9/15.2.3.9-2-c-2.js
- * @description Object.freeze - The [[Configurable]] attribute of own accessor property of 'O' is set to false while other attributes are unchanged
- */
-
-
-function testcase() {
- var obj = {};
-
- function get_func() {
- return 10;
- }
-
- var resultSetFun = false;
- function set_func() {
- resultSetFun = true;
- }
-
- Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.freeze(obj);
- var res1 = obj.hasOwnProperty("foo");
- delete obj.foo;
- var res2 = obj.hasOwnProperty("foo");
- var resultConfigurable = (res1 && res2);
-
- var resultGetFun = (obj.foo === 10);
- obj.foo = 12;
-
- var resultEnumerable = false;
- for (var prop in obj) {
- if (prop === "foo") {
- resultEnumerable = true;
- }
- }
-
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
- var result = resultConfigurable && resultEnumerable && resultGetFun && resultSetFun;
-
- return desc.configurable === false && result;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Object.freeze - The [[Configurable]] attribute of own accessor
+ property of 'O' is set to false while other attributes are
+ unchanged
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+
+ var resultSetFun = false;
+ function set_func() {
+ resultSetFun = true;
+ }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.freeze(obj);
+ var res1 = obj.hasOwnProperty("foo");
+ delete obj.foo;
+ var res2 = obj.hasOwnProperty("foo");
+ var resultConfigurable = (res1 && res2);
+
+ var resultGetFun = (obj.foo === 10);
+ obj.foo = 12;
+
+ var resultEnumerable = false;
+ for (var prop in obj) {
+ if (prop === "foo") {
+ resultEnumerable = true;
+ }
+ }
+
+ var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+ var result = resultConfigurable && resultEnumerable && resultGetFun && resultSetFun;
+
+ return desc.configurable === false && result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-3.js
index e0973ab9e..0c96bfb63 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-3.js
@@ -1,65 +1,70 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-3.js
- * @description Object.freeze - The [[Configurable]] attribute of all own data property of 'O' is set to false while other attributes are unchanged
- */
-
-
-function testcase() {
-
- var obj = {};
- var resultSetFun = false;
-
- Object.defineProperty(obj, "foo1", {
- value: 10,
- writable: false,
- enumerable: true,
- configurable: true
- });
-
- function get_func() {
- return 10;
- }
-
- function set_func() {
- resultSetFun = true;
- }
-
- Object.defineProperty(obj, "foo2", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.freeze(obj);
-
- var res1 = obj.hasOwnProperty("foo2");
- delete obj.foo2;
- var res2 = obj.hasOwnProperty("foo2");
- var resultConfigurable = (res1 && res2);
-
- var resultGetFun = (obj.foo2 === 10);
- obj.foo2 = 12;
-
- var resultEnumerable = false;
- for (var prop in obj) {
- if (prop === "foo2") {
- resultEnumerable = true;
- }
- }
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "foo1");
- var desc2 = Object.getOwnPropertyDescriptor(obj, "foo2");
-
- var result = resultConfigurable && resultEnumerable && resultGetFun && resultSetFun;
-
- return dataPropertyAttributesAreCorrect(obj, "foo1", 10, false, true, false) && result &&
- desc1.configurable === false && desc1.writable === false && 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: >
+ Object.freeze - The [[Configurable]] attribute of all own data
+ property of 'O' is set to false while other attributes are
+ unchanged
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+
+ var obj = {};
+ var resultSetFun = false;
+
+ Object.defineProperty(obj, "foo1", {
+ value: 10,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+
+ function get_func() {
+ return 10;
+ }
+
+ function set_func() {
+ resultSetFun = true;
+ }
+
+ Object.defineProperty(obj, "foo2", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.freeze(obj);
+
+ var res1 = obj.hasOwnProperty("foo2");
+ delete obj.foo2;
+ var res2 = obj.hasOwnProperty("foo2");
+ var resultConfigurable = (res1 && res2);
+
+ var resultGetFun = (obj.foo2 === 10);
+ obj.foo2 = 12;
+
+ var resultEnumerable = false;
+ for (var prop in obj) {
+ if (prop === "foo2") {
+ resultEnumerable = true;
+ }
+ }
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "foo1");
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "foo2");
+
+ var result = resultConfigurable && resultEnumerable && resultGetFun && resultSetFun;
+
+ return dataPropertyAttributesAreCorrect(obj, "foo1", 10, false, true, false) && result &&
+ desc1.configurable === false && desc1.writable === false && desc2.configurable === false;
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-4.js
index 60ecd93a9..87e17a75e 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-c-4.js
@@ -1,63 +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.9/15.2.3.9-2-c-4.js
- * @description Object.freeze - all own properties of 'O' are not writable and not configurable
- */
-
-
-function testcase() {
- var obj = {};
- var resultSetFun = false;
-
- Object.defineProperty(obj, "foo1", {
- value: 10,
- writable: false,
- enumerable: true,
- configurable: false
- });
-
- function get_func() {
- return 10;
- }
-
- function set_func() {
- resultSetFun = true;
- }
-
- Object.defineProperty(obj, "foo2", {
- get: get_func,
- set: set_func,
- enumerable: true,
- configurable: true
- });
-
- Object.freeze(obj);
-
- var res1 = obj.hasOwnProperty("foo2");
- delete obj.foo2;
- var res2 = obj.hasOwnProperty("foo2");
- var resultConfigurable = (res1 && res2);
-
- var resultGetFun = (obj.foo2 === 10);
- obj.foo2 = 12;
-
- var resultEnumerable = false;
- for (var prop in obj) {
- if (prop === "foo2") {
- resultEnumerable = true;
- }
- }
-
- var desc1 = Object.getOwnPropertyDescriptor(obj, "foo1");
- var desc2 = Object.getOwnPropertyDescriptor(obj, "foo2");
-
- var result = resultConfigurable && resultEnumerable && resultGetFun && resultSetFun;
-
- return dataPropertyAttributesAreCorrect(obj, "foo1", 10, false, true, false) &&
- result && desc1.configurable === false && desc1.writable === false && 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: >
+ Object.freeze - all own properties of 'O' are not writable and not
+ configurable
+includes:
+ - runTestCase.js
+ - dataPropertyAttributesAreCorrect.js
+---*/
+
+function testcase() {
+ var obj = {};
+ var resultSetFun = false;
+
+ Object.defineProperty(obj, "foo1", {
+ value: 10,
+ writable: false,
+ enumerable: true,
+ configurable: false
+ });
+
+ function get_func() {
+ return 10;
+ }
+
+ function set_func() {
+ resultSetFun = true;
+ }
+
+ Object.defineProperty(obj, "foo2", {
+ get: get_func,
+ set: set_func,
+ enumerable: true,
+ configurable: true
+ });
+
+ Object.freeze(obj);
+
+ var res1 = obj.hasOwnProperty("foo2");
+ delete obj.foo2;
+ var res2 = obj.hasOwnProperty("foo2");
+ var resultConfigurable = (res1 && res2);
+
+ var resultGetFun = (obj.foo2 === 10);
+ obj.foo2 = 12;
+
+ var resultEnumerable = false;
+ for (var prop in obj) {
+ if (prop === "foo2") {
+ resultEnumerable = true;
+ }
+ }
+
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "foo1");
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "foo2");
+
+ var result = resultConfigurable && resultEnumerable && resultGetFun && resultSetFun;
+
+ return dataPropertyAttributesAreCorrect(obj, "foo1", 10, false, true, false) &&
+ result && desc1.configurable === false && desc1.writable === false && desc2.configurable === false;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-1.js
index d93a4588a..2dd38534c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-1.js
@@ -1,19 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-1.js
- * @description Object.freeze - 'O' is a Function object
- */
-
-
-function testcase() {
- var funObj = function () { };
-
- Object.freeze(funObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is a Function object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var funObj = function () { };
+
+ Object.freeze(funObj);
+
+ return Object.isFrozen(funObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-2.js
index 1f571b75c..8510219b4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-2.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.9/15.2.3.9-2-d-2.js
- * @description Object.freeze - 'O' is an Array object
- */
-
-
-function testcase() {
- var arrObj = [0, 1];
-
- Object.freeze(arrObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is an Array object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var arrObj = [0, 1];
+
+ Object.freeze(arrObj);
+
+ return Object.isFrozen(arrObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-3.js
index 6b6cc4351..42ff6fe63 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-3.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.9/15.2.3.9-2-d-3.js
- * @description Object.freeze - 'O' is a String object
- */
-
-
-function testcase() {
- var strObj = new String("a");
-
- Object.freeze(strObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is a String object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var strObj = new String("a");
+
+ Object.freeze(strObj);
+
+ return Object.isFrozen(strObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-4.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-4.js
index 0b27c3e64..9ad3027f8 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-4.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-4.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.9/15.2.3.9-2-d-4.js
- * @description Object.freeze - 'O' is a Boolean object
- */
-
-
-function testcase() {
- var boolObj = new Boolean(false);
-
- Object.freeze(boolObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is a Boolean object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var boolObj = new Boolean(false);
+
+ Object.freeze(boolObj);
+
+ return Object.isFrozen(boolObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-5.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-5.js
index 5f9a87691..a5a70d593 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-5.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-5.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.9/15.2.3.9-2-d-5.js
- * @description Object.freeze - 'O' is a Number object
- */
-
-
-function testcase() {
- var numObj = new Number(3);
-
- Object.freeze(numObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is a Number object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var numObj = new Number(3);
+
+ Object.freeze(numObj);
+
+ return Object.isFrozen(numObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-6.js
index 5e14d6df5..3ad8daeee 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-6.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-6.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.9/15.2.3.9-2-d-6.js
- * @description Object.freeze - 'O' is a Date object
- */
-
-
-function testcase() {
- var dateObj = new Date();
-
- Object.freeze(dateObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is a Date object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var dateObj = new Date();
+
+ Object.freeze(dateObj);
+
+ return Object.isFrozen(dateObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-7.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-7.js
index a5ae89491..d2ad88764 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-7.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-7.js
@@ -1,19 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-7.js
- * @description Object.freeze - 'O' is a RegExp object
- */
-
-
-function testcase() {
- var regObj = new RegExp();
-
- Object.freeze(regObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is a RegExp object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var regObj = new RegExp();
+
+ Object.freeze(regObj);
+
+ return Object.isFrozen(regObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-8.js
index 1750b542f..c771e3b75 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-8.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-8.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.9/15.2.3.9-2-d-8.js
- * @description Object.freeze - 'O' is an Error object
- */
-
-
-function testcase() {
- var errObj = new SyntaxError();
-
- Object.freeze(errObj);
-
- return Object.isFrozen(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: Object.freeze - 'O' is an Error object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var errObj = new SyntaxError();
+
+ Object.freeze(errObj);
+
+ return Object.isFrozen(errObj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-9.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-9.js
index e8bcaac00..8ae44a0a5 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-9.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-9.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-2-d-9.js
- * @description Object.freeze - 'O' is the Arguments object
- */
-
-
-function testcase() {
- var argObj = (function () { return arguments; } ());
-
- Object.freeze(argObj);
-
- return Object.isFrozen(argObj);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - 'O' is the Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var argObj = (function () { return arguments; } ());
+
+ Object.freeze(argObj);
+
+ return Object.isFrozen(argObj);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-3-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-3-1.js
index 9cecf9f61..bfbb087c4 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-3-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-3-1.js
@@ -1,19 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-3-1.js
- * @description Object.freeze - returned object is not extensible
- */
-
-
-function testcase() {
-
- var obj = {};
- Object.freeze(obj);
- return !Object.isExtensible(obj);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - returned object is not extensible
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+ Object.freeze(obj);
+ return !Object.isExtensible(obj);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-1.js
index dce11e657..68dfe0f57 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-1.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-1.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.9/15.2.3.9-4-1.js
- * @description Object.freeze - 'O' is sealed already
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 10; // default value of attributes: writable: true, enumerable: true
-
- Object.seal(obj);
-
- Object.freeze(obj);
- return Object.isFrozen(obj);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - 'O' is sealed already
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 10; // default value of attributes: writable: true, enumerable: true
+
+ Object.seal(obj);
+
+ Object.freeze(obj);
+ return Object.isFrozen(obj);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-2.js
index cda6cb31c..db81a650d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-2.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-2.js
@@ -1,24 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-2.js
- * @description Object.freeze - 'O' is frozen already
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 10; // default value of attributes: writable: true, enumerable: true
-
- Object.freeze(obj);
-
- Object.freeze(obj);
- return Object.isFrozen(obj);
-
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - 'O' is frozen already
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 10; // default value of attributes: writable: true, enumerable: true
+
+ Object.freeze(obj);
+
+ Object.freeze(obj);
+ return Object.isFrozen(obj);
+
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-3.js
index f00502e56..ceb4cf77d 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-3.js
+++ b/test/suite/ch15/15.2/15.2.3/15.2.3.9/15.2.3.9-4-3.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.9/15.2.3.9-4-3.js
- * @description Object.freeze - the extensions of 'O' is prevented already
- */
-
-
-function testcase() {
-
- var obj = {};
-
- obj.foo = 10; // default value of attributes: writable: true, enumerable: true
-
- Object.preventExtensions(obj);
-
- Object.freeze(obj);
- return Object.isFrozen(obj);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Object.freeze - the extensions of 'O' is prevented already
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var obj = {};
+
+ obj.foo = 10; // default value of attributes: writable: true, enumerable: true
+
+ Object.preventExtensions(obj);
+
+ Object.freeze(obj);
+ return Object.isFrozen(obj);
+ }
+runTestCase(testcase);