aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.4/15.4.3
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.4/15.4.3')
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A1.js13
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A2.js12
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A3.js16
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A4.js14
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A5.js14
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-1.js36
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js34
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-3.js38
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-4.js58
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-5.js38
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-6.js38
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-7.js40
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-1.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-10.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-11.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-12.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-13.js44
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-15.js34
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-2.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-3.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-4.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-5.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-6.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-7.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-8.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-9.js32
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-1.js42
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-2.js46
-rw-r--r--test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-3.js34
-rw-r--r--test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T1.js16
-rw-r--r--test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T2.js14
-rw-r--r--test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T3.js14
-rw-r--r--test/suite/ch15/15.4/15.4.3/S15.4.3_A2.1.js12
-rw-r--r--test/suite/ch15/15.4/15.4.3/S15.4.3_A2.2.js14
-rw-r--r--test/suite/ch15/15.4/15.4.3/S15.4.3_A2.3.js12
-rw-r--r--test/suite/ch15/15.4/15.4.3/S15.4.3_A2.4.js12
36 files changed, 499 insertions, 530 deletions
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A1.js b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A1.js
index 55388ecde..21cb56c70 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A1.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A1.js
@@ -1,16 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The Array has property prototype
- *
- * @path ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A1.js
- * @description Checking use hasOwnProperty
- */
+/*---
+info: The Array has property prototype
+description: Checking use hasOwnProperty
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (Array.hasOwnProperty('prototype') !== true) {
$FAIL('#1: Array.hasOwnProperty(\'prototype\') === true. Actual: ' + (Array.hasOwnProperty('prototype')));
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A2.js b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A2.js
index 138116089..bc018302a 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A2.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The Array.prototype property has the attribute DontEnum
- *
- * @path ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A2.js
- * @description Checking if enumerating the Array.prototype property fails
- */
+/*---
+info: The Array.prototype property has the attribute DontEnum
+description: Checking if enumerating the Array.prototype property fails
+---*/
//CHECK#1
if (Array.propertyIsEnumerable('prototype') !== false) {
@@ -24,5 +22,3 @@ for (var p in Array){
if (result !== true) {
$ERROR('#2: result = true; for (p in Array) { if (p === "prototype") result = false; } result === true;');
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A3.js b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A3.js
index 12d2d914b..d3993a628 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A3.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The Array.prototype property has the attribute DontDelete
- *
- * @path ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A3.js
- * @description Checking if deleting the Array.prototype property fails
- * @noStrict
- */
+/*---
+info: The Array.prototype property has the attribute DontDelete
+description: Checking if deleting the Array.prototype property fails
+flags: [noStrict]
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (Array.hasOwnProperty('prototype') !== true) {
@@ -25,6 +24,3 @@ if (Array.hasOwnProperty('prototype') !== true) {
if (Array.prototype === undefined) {
$ERROR('#3: delete Array.prototype; Array.prototype !== undefined');
}
-
-
-
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A4.js b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A4.js
index 40c4140f8..d571bb182 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A4.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A4.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The Array.prototype property has the attribute ReadOnly
- *
- * @path ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A4.js
- * @description Checking if varying the Array.prototype property fails
- * @noStrict
- */
+/*---
+info: The Array.prototype property has the attribute ReadOnly
+description: Checking if varying the Array.prototype property fails
+flags: [noStrict]
+---*/
//CHECK#1
var x = Array.prototype;
@@ -15,5 +13,3 @@ Array.prototype = 1;
if (Array.prototype !== x) {
$ERROR('#1: x = Array.prototype; Array.prototype = 1; Array.prototype === x. Actual: ' + (Array.prototype));
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A5.js b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A5.js
index bd9f87f0a..67dc2e91f 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A5.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of Array.prototype is 0
- *
- * @path ch15/15.4/15.4.3/15.4.3.1/S15.4.3.1_A5.js
- * @description Array.prototype.length === 0
- */
+/*---
+info: The length property of Array.prototype is 0
+description: Array.prototype.length === 0
+---*/
//CHECK#1
if (Array.prototype.length !== 0) {
@@ -15,6 +13,4 @@ if (Array.prototype.length !== 0) {
if (1 / Array.prototype.length !== Number.POSITIVE_INFINITY) {
$ERROR('#1.2: Array.prototype.length === +0. Actual: -' + (Array.prototype.length));
}
-}
-
-
+}
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-1.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-1.js
index ee5d7d5e4..e17332a92 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-1.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-1.js
@@ -1,18 +1,18 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-1.js
- * @description Array.isArray must exist as a function
- */
-
-
-function testcase() {
- var f = Array.isArray;
- if (typeof(f) === "function") {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray must exist as a function
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var f = Array.isArray;
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js
index c213e3be2..250822c2c 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js
@@ -1,17 +1,17 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js
- * @description Array.isArray must exist as a function taking 1 parameter
- */
-
-
-function testcase() {
- if (Array.isArray.length === 1) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray must exist as a function taking 1 parameter
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ if (Array.isArray.length === 1) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-3.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-3.js
index 7aff2e755..d76863e3a 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-3.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-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.4/15.4.3/15.4.3.2/15.4.3.2-0-3.js
- * @description Array.isArray return true if its argument is an Array
- */
-
-
-function testcase() {
- var a = [];
- var b = Array.isArray(a);
- if (b === true) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray return true if its argument is an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var a = [];
+ var b = Array.isArray(a);
+ if (b === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-4.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-4.js
index 0c3b7b533..d3d79e2ec 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-4.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-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.4/15.4.3/15.4.3.2/15.4.3.2-0-4.js
- * @description Array.isArray return false if its argument is not an Array
- */
-
-
-function testcase() {
- var b_num = Array.isArray(42);
- var b_undef = Array.isArray(undefined);
- var b_bool = Array.isArray(true);
- var b_str = Array.isArray("abc");
- var b_obj = Array.isArray({});
- var b_null = Array.isArray(null);
-
- if (b_num === false &&
- b_undef === false &&
- b_bool === false &&
- b_str === false &&
- b_obj === false &&
- b_null === false) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray return false if its argument is not an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var b_num = Array.isArray(42);
+ var b_undef = Array.isArray(undefined);
+ var b_bool = Array.isArray(true);
+ var b_str = Array.isArray("abc");
+ var b_obj = Array.isArray({});
+ var b_null = Array.isArray(null);
+
+ if (b_num === false &&
+ b_undef === false &&
+ b_bool === false &&
+ b_str === false &&
+ b_obj === false &&
+ b_null === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-5.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-5.js
index 3e32f06ad..89573cc14 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-5.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-5.js
@@ -1,18 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-5.js
- * @description Array.isArray return true if its argument is an Array (Array.prototype)
- */
-
-
-function testcase() {
- var b = Array.isArray(Array.prototype);
- if (b === true) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.isArray return true if its argument is an Array
+ (Array.prototype)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var b = Array.isArray(Array.prototype);
+ if (b === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-6.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-6.js
index b827c30e4..cb6b8151e 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-6.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-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.4/15.4.3/15.4.3.2/15.4.3.2-0-6.js
- * @description Array.isArray return true if its argument is an Array (new Array())
- */
-
-
-function testcase() {
- var a = new Array(10);
- var b = Array.isArray(a);
- if (b === true) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray return true if its argument is an Array (new Array())
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var a = new Array(10);
+ var b = Array.isArray(a);
+ if (b === true) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-7.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-7.js
index 7ddb7e14d..4789d3c9c 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-7.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-7.js
@@ -1,20 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-7.js
- * @description Array.isArray returns false if its argument is not an Array
- */
-
-
-function testcase() {
- var o = new Object();
- o[12] = 13;
- var b = Array.isArray(o);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray returns false if its argument is not an Array
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var o = new Object();
+ o[12] = 13;
+ var b = Array.isArray(o);
+ if (b === false) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-1.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-1.js
index e42ce7e28..243f09f53 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-1.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-1.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-1.js
- * @description Array.isArray applied to boolean primitive
- */
-
-
-function testcase() {
-
- return !Array.isArray(true);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to boolean primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(true);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-10.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-10.js
index 5aa9edd0c..93962f52d 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-10.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-10.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-10.js
- * @description Array.isArray applied to RegExp object
- */
-
-
-function testcase() {
-
- return !Array.isArray(new RegExp());
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to RegExp object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(new RegExp());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-11.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-11.js
index a14b3c3d5..da7ba096e 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-11.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-11.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-11.js
- * @description Array.isArray applied to the JSON object
- */
-
-
-function testcase() {
-
- return !Array.isArray(JSON);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to the JSON object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(JSON);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-12.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-12.js
index ab1dbb612..eb0956d6b 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-12.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-12.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-12.js
- * @description Array.isArray applied to Error object
- */
-
-
-function testcase() {
-
- return !Array.isArray(new SyntaxError());
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to Error object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(new SyntaxError());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-13.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-13.js
index e623d1d36..74f3009e2 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-13.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-13.js
@@ -1,22 +1,22 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-13.js
- * @description Array.isArray applied to Arguments object
- */
-
-
-function testcase() {
-
- var arg;
-
- (function fun() {
- arg = arguments;
- }(1, 2, 3));
-
- return !Array.isArray(arg);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to Arguments object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }(1, 2, 3));
+
+ return !Array.isArray(arg);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-15.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-15.js
index 113f390db..bab56c19a 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-15.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-15.js
@@ -1,16 +1,18 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-15.js
- * @description Array.isArray applied to the global object
- */
-
-
-function testcase() {
-
- return !Array.isArray(fnGlobalObject());
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to the global object
+includes:
+ - runTestCase.js
+ - fnGlobalObject.js
+---*/
+
+function testcase() {
+
+ return !Array.isArray(fnGlobalObject());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-2.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-2.js
index 66b7dd25b..2555f362a 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-2.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-2.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-2.js
- * @description Array.isArray applied to Boolean Object
- */
-
-
-function testcase() {
-
- return !Array.isArray(new Boolean(false));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to Boolean Object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(new Boolean(false));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-3.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-3.js
index 343ddc43e..42627edc6 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-3.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-3.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-3.js
- * @description Array.isArray applied to number primitive
- */
-
-
-function testcase() {
-
- return !Array.isArray(5);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to number primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(5);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-4.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-4.js
index 7f1870671..f2e7d3d76 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-4.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-4.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-4.js
- * @description Array.isArray applied to Number object
- */
-
-
-function testcase() {
-
- return !Array.isArray(new Number(-3));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to Number object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(new Number(-3));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-5.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-5.js
index bb517c45e..4d180e716 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-5.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-5.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-5.js
- * @description Array.isArray applied to string primitive
- */
-
-
-function testcase() {
-
- return !Array.isArray("abc");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to string primitive
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray("abc");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-6.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-6.js
index 5a2a723d7..d5904e677 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-6.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-6.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-6.js
- * @description Array.isArray applied to String object
- */
-
-
-function testcase() {
-
- return !Array.isArray(new String("hello\nworld\\!"));
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to String object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(new String("hello\nworld\\!"));
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-7.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-7.js
index ce564de44..1491314b0 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-7.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-7.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-7.js
- * @description Array.isArray applied to Function object
- */
-
-
-function testcase() {
-
- return !Array.isArray(function () { });
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to Function object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(function () { });
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-8.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-8.js
index c296bd373..8f870dd20 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-8.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-8.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-8.js
- * @description Array.isArray applied to the Math object
- */
-
-
-function testcase() {
-
- return !Array.isArray(Math);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to the Math object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(Math);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-9.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-9.js
index e535d2083..38b4c1140 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-9.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-9.js
@@ -1,16 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-1-9.js
- * @description Array.isArray applied to Date object
- */
-
-
-function testcase() {
-
- return !Array.isArray(new Date());
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to Date object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray(new Date());
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-1.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-1.js
index 69c642e88..baa7bf5cd 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-1.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-1.js
@@ -1,21 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-1.js
- * @description Array.isArray applied to an object with an array as the prototype
- */
-
-
-function testcase() {
-
- var proto = [];
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
- return !Array.isArray(child);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Array.isArray applied to an object with an array as the prototype
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var proto = [];
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+ return !Array.isArray(child);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-2.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-2.js
index 493f4c760..eccfeda17 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-2.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-2.js
@@ -1,22 +1,24 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-2.js
- * @description Array.isArray applied to an object with Array.prototype as the prototype
- */
-
-
-function testcase() {
-
- var proto = Array.prototype;
- var Con = function () { };
- Con.prototype = proto;
-
- var child = new Con();
-
- return !Array.isArray(child);
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.isArray applied to an object with Array.prototype as the
+ prototype
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ var proto = Array.prototype;
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ return !Array.isArray(child);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-3.js b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-3.js
index 67e8881e7..be03e800a 100644
--- a/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-3.js
+++ b/test/suite/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-3.js
@@ -1,16 +1,18 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-2-3.js
- * @description Array.isArray applied to an Array-like object with length and some indexed properties
- */
-
-
-function testcase() {
-
- return !Array.isArray({ 0: 12, 1: 9, length: 2 });
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.isArray applied to an Array-like object with length and some
+ indexed properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+
+ return !Array.isArray({ 0: 12, 1: 9, length: 2 });
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T1.js b/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T1.js
index afb16971f..cbc7e5f86 100644
--- a/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T1.js
+++ b/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T1.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The value of the internal [[Prototype]] property of
- * the Array constructor is the Function prototype object
- *
- * @path ch15/15.4/15.4.3/S15.4.3_A1.1_T1.js
- * @description Create new property of Function.prototype. When Array constructor has this property
- */
+/*---
+info: >
+ The value of the internal [[Prototype]] property of
+ the Array constructor is the Function prototype object
+description: >
+ Create new property of Function.prototype. When Array constructor
+ has this property
+---*/
Function.prototype.myproperty = 1;
@@ -20,4 +21,3 @@ if (Array.myproperty !== 1) {
if (Array.hasOwnProperty('myproperty') !== false) {
$ERROR('#2: Function.prototype.myproperty = 1; Array.hasOwnProperty(\'myproperty\') === false. Actual: ' + (Array.hasOwnProperty('myproperty')));
}
-
diff --git a/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T2.js b/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T2.js
index ef6ab6b97..40041b6c0 100644
--- a/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T2.js
+++ b/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T2.js
@@ -1,17 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The value of the internal [[Prototype]] property of
- * the Array constructor is the Function prototype object
- *
- * @path ch15/15.4/15.4.3/S15.4.3_A1.1_T2.js
- * @description Function.prototype.toString = Object.prototype.toString
- */
+/*---
+info: >
+ The value of the internal [[Prototype]] property of
+ the Array constructor is the Function prototype object
+description: Function.prototype.toString = Object.prototype.toString
+---*/
//CHECK#1
Function.prototype.toString = Object.prototype.toString;
if (Array.toString() !== "[object " + "Function" + "]") {
$ERROR('#1: Function.prototype.toString = Object.prototype.toString; Array.toString() === "[object " + "Function" + "]". Actual: ' + (Array.toString()));
}
-
diff --git a/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T3.js b/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T3.js
index 4ef0ea020..8fd864efc 100644
--- a/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T3.js
+++ b/test/suite/ch15/15.4/15.4.3/S15.4.3_A1.1_T3.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The value of the internal [[Prototype]] property of
- * the Array constructor is the Function prototype object
- *
- * @path ch15/15.4/15.4.3/S15.4.3_A1.1_T3.js
- * @description Checking use isPrototypeOf
- */
+/*---
+info: >
+ The value of the internal [[Prototype]] property of
+ the Array constructor is the Function prototype object
+description: Checking use isPrototypeOf
+---*/
//CHECK#1
if (Function.prototype.isPrototypeOf(Array) !== true) {
$ERROR('#1: Function.prototype.isPrototypeOf(Array) === true. Actual: ' + (Function.prototype.isPrototypeOf(Array)));
}
-
diff --git a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.1.js b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.1.js
index ace47db44..ea9cb4b0f 100644
--- a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.1.js
+++ b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of Array has the attribute DontEnum
- *
- * @path ch15/15.4/15.4.3/S15.4.3_A2.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of Array has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (Array.propertyIsEnumerable('length') !== false) {
@@ -24,5 +22,3 @@ for (p in Array){
if (result !== true) {
$ERROR('#2: result = true; for (p in Array.slice) { if (p === "length") result = false; } result === true;');
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.2.js b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.2.js
index 9fc73527d..7f3d8cdb9 100644
--- a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.2.js
+++ b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.2.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of Array has the attribute DontDelete
- *
- * @path ch15/15.4/15.4.3/S15.4.3_A2.2.js
- * @description Checking use hasOwnProperty, delete
- */
+/*---
+info: The length property of Array has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (Array.hasOwnProperty('length') !== true) {
@@ -24,6 +23,3 @@ if (Array.hasOwnProperty('length') !== true) {
if (Array.length === undefined) {
$ERROR('#3: delete Array.length; Array.length !== undefined');
}
-
-
-
diff --git a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.3.js b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.3.js
index f7b6323a2..45d6aa275 100644
--- a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.3.js
+++ b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of Array has the attribute ReadOnly
- *
- * @path ch15/15.4/15.4.3/S15.4.3_A2.3.js
- * @description Checking if varying the length property fails
- */
+/*---
+info: The length property of Array has the attribute ReadOnly
+description: Checking if varying the length property fails
+---*/
//CHECK#1
x = Array.length;
@@ -14,5 +12,3 @@ Array.length = Infinity;
if (Array.length !== x) {
$ERROR('#1: x = Array.length; Array.length = Infinity; Array.length === x. Actual: ' + (Array.length));
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.4.js b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.4.js
index 40bdaf796..81adbb2a5 100644
--- a/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.4.js
+++ b/test/suite/ch15/15.4/15.4.3/S15.4.3_A2.4.js
@@ -1,16 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of Array is 1
- *
- * @path ch15/15.4/15.4.3/S15.4.3_A2.4.js
- * @description Array.length === 1
- */
+/*---
+info: The length property of Array is 1
+description: Array.length === 1
+---*/
//CHECK#1
if (Array.length !== 1) {
$ERROR('#1: Array.length === 1. Actual: ' + (Array.length));
}
-
-