aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.11
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.11')
-rw-r--r--test/suite/ch15/15.11/15.11-1.js30
-rw-r--r--test/suite/ch15/15.11/15.11-2.js30
-rw-r--r--test/suite/ch15/15.11/15.11.1/S15.11.1.1_A1_T1.js14
-rw-r--r--test/suite/ch15/15.11/15.11.1/S15.11.1.1_A2_T1.js14
-rw-r--r--test/suite/ch15/15.11/15.11.1/S15.11.1.1_A3_T1.js13
-rw-r--r--test/suite/ch15/15.11/15.11.1/S15.11.1_A1_T1.js14
-rw-r--r--test/suite/ch15/15.11/15.11.2/S15.11.2.1_A1_T1.js14
-rw-r--r--test/suite/ch15/15.11/15.11.2/S15.11.2.1_A2_T1.js14
-rw-r--r--test/suite/ch15/15.11/15.11.2/S15.11.2.1_A3_T1.js13
-rw-r--r--test/suite/ch15/15.11/15.11.3/S15.11.3.1_A1_T1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.3/S15.11.3.1_A2_T1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.3/S15.11.3.1_A3_T1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.3/S15.11.3.1_A4_T1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.3/S15.11.3_A1_T1.js15
-rw-r--r--test/suite/ch15/15.11/15.11.3/S15.11.3_A2_T1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.2/15.11.4.2-1.js42
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.3/15.11.4.3-1.js42
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-10-1.js37
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-1.js34
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-2.js35
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-1.js36
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-2.js36
-rw-r--r--test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-9-1.js36
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T1.js13
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T2.js15
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.2_A1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.2_A2.js11
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.3_A1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.3_A2.js11
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.4_A1.js11
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4.4_A2.js11
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4_A1.js14
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4_A2.js15
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4_A3.js18
-rw-r--r--test/suite/ch15/15.11/15.11.4/S15.11.4_A4.js18
35 files changed, 324 insertions, 359 deletions
diff --git a/test/suite/ch15/15.11/15.11-1.js b/test/suite/ch15/15.11/15.11-1.js
index cb91a2eee..bb9ffbd64 100644
--- a/test/suite/ch15/15.11/15.11-1.js
+++ b/test/suite/ch15/15.11/15.11-1.js
@@ -1,15 +1,15 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.11/15.11-1.js
- * @description Error - ConversionError has been removed from IE9 standard mode
- */
-
-
-function testcase() {
- return typeof ConversionError === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Error - ConversionError has been removed from IE9 standard mode
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ return typeof ConversionError === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11-2.js b/test/suite/ch15/15.11/15.11-2.js
index 26368d242..f25ea5094 100644
--- a/test/suite/ch15/15.11/15.11-2.js
+++ b/test/suite/ch15/15.11/15.11-2.js
@@ -1,15 +1,15 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.11/15.11-2.js
- * @description Error - RegExpError has been removed from IE9 standard mode
- */
-
-
-function testcase() {
- return typeof RegExpError === "undefined";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Error - RegExpError has been removed from IE9 standard mode
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ return typeof RegExpError === "undefined";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A1_T1.js b/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A1_T1.js
index d39a29049..eafe4dd91 100644
--- a/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A1_T1.js
+++ b/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A1_T1.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.
-/**
- * If the argument "message" is not undefined, the message property of the newly constructed object is
- * set to ToString(message)
- *
- * @path ch15/15.11/15.11.1/S15.11.1.1_A1_T1.js
- * @description Checking message property of different error objects
- */
+/*---
+info: >
+ If the argument "message" is not undefined, the message property of the newly constructed object is
+ set to ToString(message)
+description: Checking message property of different error objects
+---*/
function otherScope(msg)
{
@@ -49,4 +48,3 @@ if(err4.message!=="msg4"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A2_T1.js b/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A2_T1.js
index b681dc8d6..509e6712f 100644
--- a/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A2_T1.js
+++ b/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A2_T1.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 [[Prototype]] property of the newly constructed object is set to the original Error prototype
- * object, the one that is the initial value of Error.prototype (15.11.3.1)
- *
- * @path ch15/15.11/15.11.1/S15.11.1.1_A2_T1.js
- * @description Checking prototype of the newly constructed Error object
- */
+/*---
+info: >
+ The [[Prototype]] property of the newly constructed object is set to the original Error prototype
+ object, the one that is the initial value of Error.prototype (15.11.3.1)
+description: Checking prototype of the newly constructed Error object
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -17,4 +16,3 @@ if(!Error.prototype.isPrototypeOf(err1)){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A3_T1.js b/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A3_T1.js
index b9bf2cc7a..3120943c8 100644
--- a/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A3_T1.js
+++ b/test/suite/ch15/15.11/15.11.1/S15.11.1.1_A3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The [[Class]] property of the newly constructed object is set to "Error"
- *
- * @path ch15/15.11/15.11.1/S15.11.1.1_A3_T1.js
- * @description Checking Class of the newly constructed Error object using toSting() function
- */
+/*---
+info: The [[Class]] property of the newly constructed object is set to "Error"
+description: >
+ Checking Class of the newly constructed Error object using
+ toSting() function
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -17,4 +17,3 @@ if(err1.toString()!=='[object '+ 'Error' +']'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.1/S15.11.1_A1_T1.js b/test/suite/ch15/15.11/15.11.1/S15.11.1_A1_T1.js
index edc20a3a8..c6611959c 100644
--- a/test/suite/ch15/15.11/15.11.1/S15.11.1_A1_T1.js
+++ b/test/suite/ch15/15.11/15.11.1/S15.11.1_A1_T1.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 function call Error(...) is equivalent to the object creation expression new
- * Error(...) with the same arguments
- *
- * @path ch15/15.11/15.11.1/S15.11.1_A1_T1.js
- * @description Checking constructor of the newly constructed Error object
- */
+/*---
+info: >
+ The function call Error(...) is equivalent to the object creation expression new
+ Error(...) with the same arguments
+description: Checking constructor of the newly constructed Error object
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +17,3 @@ if(err1.constructor!==Error){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A1_T1.js b/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A1_T1.js
index 4fe9dc58f..8a81a95f4 100644
--- a/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A1_T1.js
+++ b/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A1_T1.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.
-/**
- * If the argument "message" is not undefined, the message property of the newly constructed object is
- * set to ToString(message)
- *
- * @path ch15/15.11/15.11.2/S15.11.2.1_A1_T1.js
- * @description Checking message property of different error objects
- */
+/*---
+info: >
+ If the argument "message" is not undefined, the message property of the newly constructed object is
+ set to ToString(message)
+description: Checking message property of different error objects
+---*/
function otherScope(msg)
{
@@ -49,4 +48,3 @@ if(err4.message!=="msg4"){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A2_T1.js b/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A2_T1.js
index f574d222a..18370413a 100644
--- a/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A2_T1.js
+++ b/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A2_T1.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 [[Prototype]] property of the newly constructed object is set to the original Error prototype
- * object, the one that is the initial value of Error.prototype (15.11.3.1)
- *
- * @path ch15/15.11/15.11.2/S15.11.2.1_A2_T1.js
- * @description Checking prototype of the newly constructed Error object
- */
+/*---
+info: >
+ The [[Prototype]] property of the newly constructed object is set to the original Error prototype
+ object, the one that is the initial value of Error.prototype (15.11.3.1)
+description: Checking prototype of the newly constructed Error object
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -17,4 +16,3 @@ if(!Error.prototype.isPrototypeOf(err1)){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A3_T1.js b/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A3_T1.js
index 22cd7eac0..8afef68f5 100644
--- a/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A3_T1.js
+++ b/test/suite/ch15/15.11/15.11.2/S15.11.2.1_A3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The [[Class]] property of the newly constructed object is set to "Error"
- *
- * @path ch15/15.11/15.11.2/S15.11.2.1_A3_T1.js
- * @description Checking Class of the newly constructed Error object using toSting() function
- */
+/*---
+info: The [[Class]] property of the newly constructed object is set to "Error"
+description: >
+ Checking Class of the newly constructed Error object using
+ toSting() function
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -17,4 +17,3 @@ if(err1.toString()!=='[object '+ 'Error' +']'){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A1_T1.js b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A1_T1.js
index 12bfdf2b6..59c7e655f 100644
--- a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A1_T1.js
+++ b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A1_T1.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.
-/**
- * Error.prototype property has the attributes {DontDelete}
- *
- * @path ch15/15.11/15.11.3/S15.11.3.1_A1_T1.js
- * @description Checking if deleting the Error.prototype property fails
- */
+/*---
+info: Error.prototype property has the attributes {DontDelete}
+description: Checking if deleting the Error.prototype property fails
+---*/
var proto=Error.prototype;
//////////////////////////////////////////////////////////////////////////////
@@ -24,4 +22,3 @@ if(Error.prototype!==proto){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A2_T1.js b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A2_T1.js
index a50147e8e..2e5164646 100644
--- a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A2_T1.js
+++ b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A2_T1.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.
-/**
- * Error.prototype property has the attributes {DontEnum}
- *
- * @path ch15/15.11/15.11.3/S15.11.3.1_A2_T1.js
- * @description Checking if enumerating the Error.prototype property fails
- */
+/*---
+info: Error.prototype property has the attributes {DontEnum}
+description: Checking if enumerating the Error.prototype property fails
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#0
@@ -39,4 +37,3 @@ if (cout !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A3_T1.js b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A3_T1.js
index 4229efe59..99614a20d 100644
--- a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A3_T1.js
+++ b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A3_T1.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.
-/**
- * Error.prototype property has the attributes {ReadOnly}
- *
- * @path ch15/15.11/15.11.3/S15.11.3.1_A3_T1.js
- * @description Checking if varying the Error.prototype property fails
- */
+/*---
+info: Error.prototype property has the attributes {ReadOnly}
+description: Checking if varying the Error.prototype property fails
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -38,4 +36,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A4_T1.js b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A4_T1.js
index 55469a992..943496050 100644
--- a/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A4_T1.js
+++ b/test/suite/ch15/15.11/15.11.3/S15.11.3.1_A4_T1.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 Error has property prototype
- *
- * @path ch15/15.11/15.11.3/S15.11.3.1_A4_T1.js
- * @description Checking Error.hasOwnProperty('prototype')
- */
+/*---
+info: The Error has property prototype
+description: Checking Error.hasOwnProperty('prototype')
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +13,3 @@ if (!(Error.hasOwnProperty('prototype'))) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.3/S15.11.3_A1_T1.js b/test/suite/ch15/15.11/15.11.3/S15.11.3_A1_T1.js
index 75e8bfd44..051001033 100644
--- a/test/suite/ch15/15.11/15.11.3/S15.11.3_A1_T1.js
+++ b/test/suite/ch15/15.11/15.11.3/S15.11.3_A1_T1.js
@@ -1,12 +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 Error constructor is the Function prototype object(15.3.4)
- *
- * @path ch15/15.11/15.11.3/S15.11.3_A1_T1.js
- * @description Checking prototype of constructor of the newly constructed Error object
- */
+/*---
+info: >
+ The value of the internal [[Prototype]] property of the Error constructor
+ is the Function prototype object(15.3.4)
+description: >
+ Checking prototype of constructor of the newly constructed Error
+ object
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -24,4 +26,3 @@ if(!Function.prototype.isPrototypeOf(Error.constructor)){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.3/S15.11.3_A2_T1.js b/test/suite/ch15/15.11/15.11.3/S15.11.3_A2_T1.js
index 4cc976bfd..80a00cbf6 100644
--- a/test/suite/ch15/15.11/15.11.3/S15.11.3_A2_T1.js
+++ b/test/suite/ch15/15.11/15.11.3/S15.11.3_A2_T1.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 value is 1
- *
- * @path ch15/15.11/15.11.3/S15.11.3_A2_T1.js
- * @description Checking length property
- */
+/*---
+info: The length property value is 1
+description: Checking length property
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -24,4 +22,3 @@ if(Error.constructor.length!==1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.2/15.11.4.2-1.js b/test/suite/ch15/15.11/15.11.4/15.11.4.2/15.11.4.2-1.js
index 2dc2b04b1..cc0fa4374 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.2/15.11.4.2-1.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.2/15.11.4.2-1.js
@@ -1,22 +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.11/15.11.4/15.11.4.2/15.11.4.2-1.js
- * @description Error.prototype.name is not enumerable.
- */
-
-
-
-
-function testcase() {
- for (var i in Error.prototype) {
- if (i==="name") {
- return false;
- }
- }
- return true;
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Error.prototype.name is not enumerable.
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ for (var i in Error.prototype) {
+ if (i==="name") {
+ return false;
+ }
+ }
+ return true;
+}
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.3/15.11.4.3-1.js b/test/suite/ch15/15.11/15.11.4/15.11.4.3/15.11.4.3-1.js
index 74ce0ce0f..bb391739d 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.3/15.11.4.3-1.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.3/15.11.4.3-1.js
@@ -1,22 +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.11/15.11.4/15.11.4.3/15.11.4.3-1.js
- * @description Error.prototype.message is not enumerable.
- */
-
-
-
-
-function testcase() {
- for (var i in Error.prototype) {
- if (i==="message") {
- return false;
- }
- }
- return true;
-}
-runTestCase(testcase); \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: Error.prototype.message is not enumerable.
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ for (var i in Error.prototype) {
+ if (i==="message") {
+ return false;
+ }
+ }
+ return true;
+}
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-10-1.js b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-10-1.js
index d897e52e5..e88c62f92 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-10-1.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-10-1.js
@@ -1,17 +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.11/15.11.4/15.11.4.4/15.11.4.4-10-1.js
- * @description Error.prototype.toString return the result of concatenating 'name', ':', a single space character, and 'msg' when 'name' and 'msg' are non-empty string
- */
-
-
-function testcase() {
- var errObj = new Error("ErrorMessage");
- errObj.name = "ErrorName";
- return errObj.toString() === "ErrorName: ErrorMessage";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Error.prototype.toString return the result of concatenating
+ 'name', ':', a single space character, and 'msg' when 'name' and
+ 'msg' are non-empty string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var errObj = new Error("ErrorMessage");
+ errObj.name = "ErrorName";
+ return errObj.toString() === "ErrorName: ErrorMessage";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-1.js b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-1.js
index 6156ad2c3..0662afadf 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-1.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-1.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.11/15.11.4/15.11.4.4/15.11.4.4-6-1.js
- * @description Error.prototype.toString - 'Error' is returned when 'name' is absent and empty string is returned when 'msg' is undefined
- */
-
-
-function testcase() {
- var errObj = new Error();
- return errObj.toString() === "Error";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Error.prototype.toString - 'Error' is returned when 'name' is
+ absent and empty string is returned when 'msg' is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var errObj = new Error();
+ return errObj.toString() === "Error";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-2.js b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-2.js
index b3f85693a..a20573b69 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-2.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-6-2.js
@@ -1,16 +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.11/15.11.4/15.11.4.4/15.11.4.4-6-2.js
- * @description Error.prototype.toString - 'Error' is returned when 'name' is absent and value of 'msg' is returned when 'msg' is non-empty string
- */
-
-
-function testcase() {
- var errObj = new Error("ErrorMessage");
- return errObj.toString() === "Error: ErrorMessage";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Error.prototype.toString - 'Error' is returned when 'name' is
+ absent and value of 'msg' is returned when 'msg' is non-empty
+ string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var errObj = new Error("ErrorMessage");
+ return errObj.toString() === "Error: ErrorMessage";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-1.js b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-1.js
index 8541ba36c..21c4d5386 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-1.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-1.js
@@ -1,17 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-1.js
- * @description Error.prototype.toString return the value of 'msg' when 'name' is empty string and 'msg' isn't undefined
- */
-
-
-function testcase() {
- var errObj = new Error("ErrorMessage");
- errObj.name = "";
- return errObj.toString() === "ErrorMessage";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Error.prototype.toString return the value of 'msg' when 'name' is
+ empty string and 'msg' isn't undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var errObj = new Error("ErrorMessage");
+ errObj.name = "";
+ return errObj.toString() === "ErrorMessage";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-2.js b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-2.js
index 627e83e59..86822ef82 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-2.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-2.js
@@ -1,17 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-8-2.js
- * @description Error.prototype.toString return empty string when 'name' is empty string and 'msg' is undefined
- */
-
-
-function testcase() {
- var errObj = new Error();
- errObj.name = "";
- return errObj.toString() === "";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Error.prototype.toString return empty string when 'name' is empty
+ string and 'msg' is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var errObj = new Error();
+ errObj.name = "";
+ return errObj.toString() === "";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-9-1.js b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-9-1.js
index fda516b62..e6e2a486a 100644
--- a/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-9-1.js
+++ b/test/suite/ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-9-1.js
@@ -1,17 +1,19 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.11/15.11.4/15.11.4.4/15.11.4.4-9-1.js
- * @description Error.prototype.toString return 'name' when 'name' is non-empty string and 'msg' is empty string
- */
-
-
-function testcase() {
- var errObj = new Error();
- errObj.name = "ErrorName";
- return errObj.toString() === "ErrorName";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Error.prototype.toString return 'name' when 'name' is non-empty
+ string and 'msg' is empty string
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var errObj = new Error();
+ errObj.name = "ErrorName";
+ return errObj.toString() === "ErrorName";
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T1.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T1.js
index 7cd2f6c02..ca5d54501 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T1.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The initial value of Error.prototype.constructor is the built-in Error constructor
- *
- * @path ch15/15.11/15.11.4/S15.11.4.1_A1_T1.js
- * @description Checking Error.prototype.constructor
- */
+/*---
+info: >
+ The initial value of Error.prototype.constructor is the built-in Error
+ constructor
+description: Checking Error.prototype.constructor
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +15,3 @@ if (Error.prototype.constructor !== Error) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T2.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T2.js
index 9954e3f87..ee073cf41 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T2.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.1_A1_T2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The initial value of Error.prototype.constructor is the built-in Error constructor
- *
- * @path ch15/15.11/15.11.4/S15.11.4.1_A1_T2.js
- * @description Checking if creating "new Error.prototype.constructor" passes and checking its properties
- */
+/*---
+info: >
+ The initial value of Error.prototype.constructor is the built-in Error
+ constructor
+description: >
+ Checking if creating "new Error.prototype.constructor" passes and
+ checking its properties
+---*/
constr = Error.prototype.constructor;
@@ -53,4 +55,3 @@ if (err.valueOf().toString() !== to_string_result) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.2_A1.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.2_A1.js
index 5a93eb456..e699e7c57 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.2_A1.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.2_A1.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 Error.prototype has name property
- *
- * @path ch15/15.11/15.11.4/S15.11.4.2_A1.js
- * @description Checking Error.prototype.name
- */
+/*---
+info: The Error.prototype has name property
+description: Checking Error.prototype.name
+---*/
//////////////////////////////////////////////////////////////////////////////
// CHECK#1
@@ -15,4 +13,3 @@ if (!Error.prototype.hasOwnProperty('name')) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.2_A2.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.2_A2.js
index 66eab2c82..01e330424 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.2_A2.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.2_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 initial value of Error.prototype.name is "Error"
- *
- * @path ch15/15.11/15.11.4/S15.11.4.2_A2.js
- * @description Checking value of Error.prototype.name
- */
+/*---
+info: The initial value of Error.prototype.name is "Error"
+description: Checking value of Error.prototype.name
+---*/
//////////////////////////////////////////////////////////////////////////////
// CHECK#1
@@ -15,4 +13,3 @@ if (Error.prototype.name!=="Error") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.3_A1.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.3_A1.js
index dc51512fd..879ade692 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.3_A1.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.3_A1.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 Error.prototype has message property
- *
- * @path ch15/15.11/15.11.4/S15.11.4.3_A1.js
- * @description Checking Error.prototype.message
- */
+/*---
+info: The Error.prototype has message property
+description: Checking Error.prototype.message
+---*/
//////////////////////////////////////////////////////////////////////////////
// CHECK#1
@@ -15,4 +13,3 @@ if (!Error.prototype.hasOwnProperty('message')) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.3_A2.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.3_A2.js
index 48ada9c30..f032ea74c 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.3_A2.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.3_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 initial value of Error.prototype.message is ""
- *
- * @path ch15/15.11/15.11.4/S15.11.4.3_A2.js
- * @description Checking value of Error.prototype.message
- */
+/*---
+info: The initial value of Error.prototype.message is ""
+description: Checking value of Error.prototype.message
+---*/
//////////////////////////////////////////////////////////////////////////////
// CHECK#1
@@ -15,4 +13,3 @@ if (typeof Error.prototype.message !== "string") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.4_A1.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.4_A1.js
index b0ff33231..212c470de 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.4_A1.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.4_A1.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 Error.prototype has toString property
- *
- * @path ch15/15.11/15.11.4/S15.11.4.4_A1.js
- * @description Checking Error.prototype.toString
- */
+/*---
+info: The Error.prototype has toString property
+description: Checking Error.prototype.toString
+---*/
//////////////////////////////////////////////////////////////////////////////
// CHECK#1
@@ -15,4 +13,3 @@ if (!Error.prototype.hasOwnProperty('toString')) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4.4_A2.js b/test/suite/ch15/15.11/15.11.4/S15.11.4.4_A2.js
index 297a97b8f..7cd3e6d77 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4.4_A2.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4.4_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 Error.prototype.toString returns an implementation defined string
- *
- * @path ch15/15.11/15.11.4/S15.11.4.4_A2.js
- * @description Checking if call of Error.prototype.toSting() fails
- */
+/*---
+info: The Error.prototype.toString returns an implementation defined string
+description: Checking if call of Error.prototype.toSting() fails
+---*/
//////////////////////////////////////////////////////////////////////////////
// CHECK#1
@@ -22,4 +20,3 @@ if (toStr===undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4_A1.js b/test/suite/ch15/15.11/15.11.4/S15.11.4_A1.js
index 9bbd6a9e8..72f4100e6 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4_A1.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4_A1.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 value of the internal [[Prototype]] property of the Error prototype object is the Object prototype
- * object(15.2.3.1)
- *
- * @path ch15/15.11/15.11.4/S15.11.4_A1.js
- * @description Get Error.prototype and compare with Object.prototype
- */
+/*---
+info: >
+ The value of the internal [[Prototype]] property of the Error prototype object is the Object prototype
+ object(15.2.3.1)
+description: Get Error.prototype and compare with Object.prototype
+---*/
//////////////////////////////////////////////////////////////////////////////
// CHECK#1
@@ -16,4 +15,3 @@ if (!Object.prototype.isPrototypeOf(Error.prototype)) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4_A2.js b/test/suite/ch15/15.11/15.11.4/S15.11.4_A2.js
index ec39fe60d..b728591c2 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4_A2.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4_A2.js
@@ -1,12 +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 [[Class]] property of Error prototype object is "Error"
- *
- * @path ch15/15.11/15.11.4/S15.11.4_A2.js
- * @description Getting the value of the internal [[Class]] property using Error.prototype.toString() function
- */
+/*---
+info: >
+ The value of the internal [[Class]] property of Error prototype object is
+ "Error"
+description: >
+ Getting the value of the internal [[Class]] property using
+ Error.prototype.toString() function
+---*/
Error.prototype.toString=Object.prototype.toString;
__tostr = Error.prototype.toString();
@@ -18,4 +20,3 @@ if (__tostr !== "[object Error]") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4_A3.js b/test/suite/ch15/15.11/15.11.4/S15.11.4_A3.js
index 6b39d0bca..2e20ba950 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4_A3.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4_A3.js
@@ -1,21 +1,21 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Since Error prototype object is not function it has not [[call]] method
- *
- * @path ch15/15.11/15.11.4/S15.11.4_A3.js
- * @description Checking if call of Error prototype as a function fails
- */
+/*---
+info: Since Error prototype object is not function it has not [[call]] method
+description: Checking if call of Error prototype as a function fails
+includes:
+ - $FAIL.js
+ - Test262Error.js
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
try {
Error.prototype();
- $FAIL('#1: "Error.prototype()" lead to throwing exception');
-} catch (e) {
+ $FAIL('#1: "Error.prototype()" lead to throwing exception');
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.11/15.11.4/S15.11.4_A4.js b/test/suite/ch15/15.11/15.11.4/S15.11.4_A4.js
index 2b9dd3ce9..cc62d6192 100644
--- a/test/suite/ch15/15.11/15.11.4/S15.11.4_A4.js
+++ b/test/suite/ch15/15.11/15.11.4/S15.11.4_A4.js
@@ -1,21 +1,21 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Since Error prototype object is not function it has not [[create]] method
- *
- * @path ch15/15.11/15.11.4/S15.11.4_A4.js
- * @description Checking if creating "new Error.prototype" fails
- */
+/*---
+info: Since Error prototype object is not function it has not [[create]] method
+description: Checking if creating "new Error.prototype" fails
+includes:
+ - $FAIL.js
+ - Test262Error.js
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
try {
__instance = new Object.prototype;
- $FAIL('#1: "__instance = new Object.prototype" lead to throwing exception');
-} catch (e) {
+ $FAIL('#1: "__instance = new Object.prototype" lead to throwing exception');
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
//
//////////////////////////////////////////////////////////////////////////////
-