aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch12/12.6
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch12/12.6')
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js11
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js20
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js14
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js11
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js13
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js14
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js12
-rw-r--r--test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js18
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js11
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js11
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js11
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js15
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js14
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js13
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js14
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js12
-rw-r--r--test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js50
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js52
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js54
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js19
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js19
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js16
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js19
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js17
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js14
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js15
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js18
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js13
-rw-r--r--test/suite/ch12/12.6/12.6.4/12.6.4-1.js70
-rw-r--r--test/suite/ch12/12.6/12.6.4/12.6.4-2.js75
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js13
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js11
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js13
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js14
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js17
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js17
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js18
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js15
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js15
-rw-r--r--test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js15
123 files changed, 1275 insertions, 1413 deletions
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js
index b4cf09ab9..af965bd2b 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.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.
-/**
- * When the production "do Statement while ( Expression )" is evaluated, Statement is evaluated first
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A1.js
- * @description Evaluating various Expressions
- */
+/*---
+info: >
+ When the production "do Statement while ( Expression )" is evaluated,
+ Statement is evaluated first
+description: Evaluating various Expressions
+---*/
var __in__do;
@@ -39,4 +39,3 @@ if (__in__do!==3) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js
index 0c01a5e2e..335b86261 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A10.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.
-/**
- * FunctionExpression within a "do-while" statement is allowed, but no function with the given name will appear in the global context
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A10.js
- * @description Also this a test on FunctionExpression
- */
+/*---
+info: >
+ FunctionExpression within a "do-while" statement is allowed, but no
+ function with the given name will appear in the global context
+description: Also this a test on FunctionExpression
+---*/
var check = 0;
do {
@@ -26,4 +26,3 @@ if (check !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js
index 60071bd6b..942ee91f4 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A11.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.
-/**
- * Block "{}" in a "do-while" Expression is evaluated to true
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A11.js
- * @description Checking if execution of "do {} while({})" passes
- */
+/*---
+info: Block "{}" in a "do-while" Expression is evaluated to true
+description: Checking if execution of "do {} while({})" passes
+---*/
do {
var __in__do=1;
@@ -20,4 +18,3 @@ if (__in__do !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js
index 1e623bc43..203054a67 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A12.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Any statement within "do-while" construction must be a compound
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A12.js
- * @description Checking if execution of "do var x=1; var y =2; while (0)" fails
- * @negative
- */
+/*---
+info: Any statement within "do-while" construction must be a compound
+description: Checking if execution of "do var x=1; var y =2; while (0)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do var x=1; var y =2; while (0);
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js
index 38bc21491..d521ddf7c 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_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.
-/**
- * FunctionExpression within a "do-while" Expression is allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A14_T1.js
- * @description Using FunctionExpression "function __func(){return 0;}" as an Expression
- */
+/*---
+info: FunctionExpression within a "do-while" Expression is allowed
+description: >
+ Using FunctionExpression "function __func(){return 0;}" as an
+ Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +24,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js
index 9ae3ad763..2507e55b9 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A14_T2.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.
-/**
- * FunctionExpression within a "do-while" Expression is allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A14_T2.js
- * @description Using FunctionExpression "function __func(){return 0;}()" as an Expression
- */
+/*---
+info: FunctionExpression within a "do-while" Expression is allowed
+description: >
+ Using FunctionExpression "function __func(){return 0;}()" as an
+ Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +24,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js
index 65588750c..9e8783a88 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A15.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.
-/**
- * Block within a "do-while" Expression is not allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A15.js
- * @description Using "{0}" Block as an Expression
- * @negative
- */
+/*---
+info: Block within a "do-while" Expression is not allowed
+description: Using "{0}" Block as an Expression
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -16,4 +14,3 @@ do{
}while({0});
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js
index 023c7d4a2..b54e2fe8c 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A2.js
@@ -1,17 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "do Statement while ( Expression )", Statement is evaluated first and only after it is done Expression is checked
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A2.js
- * @description Evaluating Statement with error Expression
- */
+/*---
+info: >
+ While evaluating "do Statement while ( Expression )", Statement is
+ evaluated first and only after it is done Expression is checked
+description: Evaluating Statement with error Expression
+includes: [Test262Error.js]
+---*/
try {
do __in__do = "reached"; while (abbracadabra);
- $ERROR('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception');
-} catch (e) {
+ $ERROR('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception');
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
@@ -22,6 +23,3 @@ if (__in__do !== "reached") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js
index 5f5f0ed69..3a27a2d6a 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A3.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.
-/**
- * When the production "do Statement while ( Expression )" is evaluated, then (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A3.js
- * @description Using eval "eval("do __in__do=1; while (false)")"
- */
+/*---
+info: >
+ When the production "do Statement while ( Expression )" is evaluated,
+ then (normal, V, empty) is returned
+description: Using eval "eval("do __in__do=1; while (false)")"
+---*/
__evaluated = eval("do __in__do=1; while (false)");
@@ -25,4 +25,3 @@ if (__evaluated !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js
index 917afe329..5a9903ff4 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_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.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T1.js
- * @description Using "break" within a "do-while" loop
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: Using "break" within a "do-while" loop
+---*/
do {
__in__do__before__break="reached";
@@ -29,4 +29,3 @@ if (typeof __in__do__after__break !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js
index 72e01a07d..c703903e0 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T2.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.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T2.js
- * @description "break" and VariableDeclaration within a "do-while" statement
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
+---*/
do_out : do {
var __in__do__before__break="black";
@@ -25,4 +25,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js
index a6adc0836..fc7381faf 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T3.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.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T3.js
- * @description "break" and VariableDeclaration within a "do-while" statement
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
+---*/
do_out : do {
var __in__do__before__break="once";
@@ -25,4 +25,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js
index 52cb23cc9..1cf35fd09 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T4.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.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T4.js
- * @description "break" and VariableDeclaration within a "do-while" statement
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: "\"break\" and VariableDeclaration within a \"do-while\" statement"
+---*/
do_out : do {
var __in__do__before__break="reached";
@@ -25,5 +25,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js
index 97f65bf59..a80e09223 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A4_T5.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.
-/**
- * "break" within a "do-while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A4_T5.js
- * @description Using labeled "break" in order to continue a loop
- */
+/*---
+info: >
+ "break" within a "do-while" Statement is allowed and performed as
+ described in 12.8
+description: Using labeled "break" in order to continue a loop
+---*/
//CHECK#1
var i=0;
@@ -20,4 +20,3 @@ woohoo:{
} while ( true );
if (i!==10) $ERROR('#1.2: i===10. Actual: i==='+ i );
}
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js
index 67bc20de2..a3ae2adda 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A5.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.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.
-/**
- * After "do-while" is broken, (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A5.js
- * @description Using eval
- */
+/*---
+info: After "do-while" is broken, (normal, V, empty) is returned
+description: Using eval
+---*/
__evaluated = eval("do {__in__do__before__break=1; break; __in__do__after__break=2;} while(0)");
@@ -33,4 +31,3 @@ if (__evaluated !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js
index 40af77c63..719e11fb7 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T1.js
- * @description Checking if execution of "do{} while 1" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{} while 1" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while 1;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js
index 06fb063ca..14c81612a 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T2.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T2.js
- * @description Checking if execution of "do{} while 0" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{} while 0" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while 0;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js
index b29c7c83f..fb782aced 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T3.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T3.js
- * @description Checking if execution of "do{}while true" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while true" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while true;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js
index 55b670506..620291efb 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T4.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T4.js
- * @description Checking if execution of "do{}while false" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while false" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while false;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js
index 4b0b06202..342bd5ac1 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T5.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T5.js
- * @description Checking if execution of "do{}while ''" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while ''" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while '';
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js
index 35e96f41e..fcb23fa93 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A6_T6.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "do-while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A6_T6.js
- * @description Checking if execution of "do{}while 'hood'" fails
- * @negative
- */
+/*---
+info: Expression in "do-while" IterationStatement is bracketed with braces
+description: Checking if execution of "do{}while 'hood'" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
do break; while 'hood';
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js
index 78ca8c4ec..7f89e9340 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A7.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 "do-while" Statement is evaluted according to 12.6.1 and returns (normal, V, empty)
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A7.js
- * @description Using eval
- */
+/*---
+info: >
+ The "do-while" Statement is evaluted according to 12.6.1 and returns
+ (normal, V, empty)
+description: Using eval
+---*/
var __condition=0
@@ -27,5 +27,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js
index 2f7c7e742..8261c98c3 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A8.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.
-/**
- * "continue" statement within a "do-while" Statement is allowed
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A8.js
- * @description Using eval
- */
+/*---
+info: "\"continue\" statement within a \"do-while\" Statement is allowed"
+description: Using eval
+---*/
var __condition = 0, __odds=0;
@@ -27,5 +25,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js
index e9e831b07..78de25003 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.js
+++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A9.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.
-/**
- * "do-while" Statement is evaluated without syntax checks
- *
- * @path ch12/12.6/12.6.1/S12.6.1_A9.js
- * @description Throwing system exception whithin a "do-while" loop
- */
+/*---
+info: "\"do-while\" Statement is evaluated without syntax checks"
+description: Throwing system exception whithin a "do-while" loop
+includes: [Test262Error.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,9 +14,9 @@ try {
var x = 1;
abaracadabara;
} while(0);
- $ERROR('#1: "abbracadabra" lead to throwing exception');
-
-} catch (e) {
+ $ERROR('#1: "abbracadabra" lead to throwing exception');
+
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
@@ -26,4 +25,3 @@ if (x !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js
index cb7fff722..cfb5627cc 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression from "while" IterationStatement is evaluated first; "false", "0", "null", "undefined" and "empty" strings used as the Expression are evaluated to "false"
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A1.js
- * @description Evaluating various Expressions
- */
+/*---
+info: >
+ Expression from "while" IterationStatement is evaluated first; "false",
+ "0", "null", "undefined" and "empty" strings used as the Expression are
+ evaluated to "false"
+description: Evaluating various Expressions
+---*/
var __in__do;
@@ -59,4 +60,3 @@ if (__in__do !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js
index 9a05fe317..922a1b1ae 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A10.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.
-/**
- * FunctionExpression within a "while" IterationStatement is allowed, but no function with the given name will appear in the global context
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A10.js
- * @description Testing FunctionExpression too
- */
+/*---
+info: >
+ FunctionExpression within a "while" IterationStatement is allowed, but no
+ function with the given name will appear in the global context
+description: Testing FunctionExpression too
+---*/
var check=0;
while(function f(){}){
@@ -26,4 +26,3 @@ if (check !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js
index 6ff4c779c..883e40e72 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A11.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.
-/**
- * "{}" Block within a "while" Expression is evaluated to true
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A11.js
- * @description Checking if execution of "while({}){}" passes
- */
+/*---
+info: "\"{}\" Block within a \"while\" Expression is evaluated to true"
+description: Checking if execution of "while({}){}" passes
+---*/
while({}){
var __in__do=1;
@@ -20,4 +18,3 @@ if (__in__do !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js
index f27b9df26..e18d31512 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_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.
-/**
- * FunctionExpression within a "while" Expression is allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A14_T1.js
- * @description Using "function __func(){return 0;}" as an Expression
- */
+/*---
+info: FunctionExpression within a "while" Expression is allowed
+description: Using "function __func(){return 0;}" as an Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +22,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js
index cd867ea97..0f8c19edf 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A14_T2.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.
-/**
- * FunctionExpression within a "while" Expression is allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A14_T2.js
- * @description Using function call as an Expression
- */
+/*---
+info: FunctionExpression within a "while" Expression is allowed
+description: Using function call as an Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -24,4 +22,3 @@ if (__reached !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js
index e1e231dd4..abe77952c 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A15.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.
-/**
- * Block within a "while" Expression is not allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A15.js
- * @description Expression is "{0}"
- * @negative
- */
+/*---
+info: Block within a "while" Expression is not allowed
+description: Expression is "{0}"
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -16,4 +14,3 @@ while({1}){
};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js
index e3994d474..dee01bbf9 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A2.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.
-/**
- * While evaluating The production IterationStatement: "while ( Expression ) Statement", Expression is evaluated first
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A2.js
- * @description Evaluating Statement with error Expression
- */
+/*---
+info: >
+ While evaluating The production IterationStatement: "while ( Expression )
+ Statement", Expression is evaluated first
+description: Evaluating Statement with error Expression
+---*/
try {
while ((function(){throw 1})()) __in__while = "reached";
@@ -24,6 +24,3 @@ if (typeof __in__while !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js
index ec8934e8e..82afb9201 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A3.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.
-/**
- * When "while" IterationStatement is evaluated, (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A3.js
- * @description Using eval
- */
+/*---
+info: >
+ When "while" IterationStatement is evaluated, (normal, V, empty) is
+ returned
+description: Using eval
+---*/
var __in__do;
@@ -27,4 +27,3 @@ if (__evaluated !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js
index 5e20d53ba..e94cb3a38 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_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.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T1.js
- * @description "break" within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" within a \"while\" Statement"
+---*/
while(1===1){
__in__do__before__break="reached";
@@ -29,4 +29,3 @@ if (typeof __in__do__after__break !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js
index 616145c02..53cb38fdc 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T2.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.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T2.js
- * @description "break" and VariableDeclaration within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" and VariableDeclaration within a \"while\" Statement"
+---*/
do_out : while(1===1) {
if (__in__do__before__break) break;
@@ -26,4 +26,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js
index a86e95705..ec744ec30 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T3.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.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T3.js
- * @description "break" and VariableDeclaration within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" and VariableDeclaration within a \"while\" Statement"
+---*/
do_out : while(1===1) {
if (__in__do__before__break) break;
@@ -26,4 +26,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js
index 4dc75f137..8af69506d 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T4.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.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T4.js
- * @description "break" and VariableDeclaration within a "while" Statement
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: "\"break\" and VariableDeclaration within a \"while\" Statement"
+---*/
do_out : while(1===1) {
if(__in__do__before__break)break;
@@ -26,5 +26,3 @@ if (!(__in__do__before__break&&__in__do__IN__before__break&&!__in__do__IN__after
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js
index 46e5b95c7..258288937 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A4_T5.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.
-/**
- * "break" within a "while" Statement is allowed and performed as described in 12.8
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A4_T5.js
- * @description Using labeled "break" in order to continue a "while" loop
- */
+/*---
+info: >
+ "break" within a "while" Statement is allowed and performed as described
+ in 12.8
+description: Using labeled "break" in order to continue a "while" loop
+---*/
//CHECK#1
var i=0;
@@ -20,4 +20,3 @@ woohoo:{
}
if (i!==10) $ERROR('#1.2: i===10. Actual: i==='+ i );
}
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js
index 899837466..4263d64a2 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A5.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.
-/**
- * While using "while" within an eval statement, source "break" is allowed and (normal, V, empty) is returned
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A5.js
- * @description Using eval
- */
+/*---
+info: >
+ While using "while" within an eval statement, source "break" is allowed
+ and (normal, V, empty) is returned
+description: Using eval
+---*/
__evaluated = eval("while(1) {__in__do__before__break=1; break; __in__do__after__break=2;}");
@@ -33,4 +33,3 @@ if (__evaluated !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js
index f9a4e9744..b86b36c11 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T1.js
- * @description Checking if execution of "while 1 break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while 1 break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while 1 break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js
index b7f61b8b4..56c8b4d5b 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T2.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T2.js
- * @description Checking if execution of "while 0 break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while 0 break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while 0 break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js
index 4b0eaea03..5496e30be 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T3.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T3.js
- * @description Checking if execution of "while true break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while true break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while true break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js
index 8d17ce8f1..d3de35f74 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T4.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T4.js
- * @description Checking if execution of "while false break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while false break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while false break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js
index e1b677741..e928d4f29 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T5.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T5.js
- * @description Checking if execution of "while '' break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while '' break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while '' break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js
index 78ce3abdb..8a3e4828b 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A6_T6.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Expression in "while" IterationStatement is bracketed with braces
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A6_T6.js
- * @description Checking if execution of "while 'hood' break" fails
- * @negative
- */
+/*---
+info: Expression in "while" IterationStatement is bracketed with braces
+description: Checking if execution of "while 'hood' break" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
while 'hood' break;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js
index 5743cd6d4..25947fd26 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A7.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 "while" Statement is evaluted according to 12.6.2 and returns (normal, V, empty)
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A7.js
- * @description using eval
- */
+/*---
+info: >
+ The "while" Statement is evaluted according to 12.6.2 and returns
+ (normal, V, empty)
+description: using eval
+---*/
var __condition=0
@@ -27,5 +27,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js
index a5af5748d..a6c6ba431 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A8.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.
-/**
- * "continue" statement within a "while" Statement is allowed
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A8.js
- * @description using eval
- */
+/*---
+info: "\"continue\" statement within a \"while\" Statement is allowed"
+description: using eval
+---*/
var __condition = 0, __odds=0;
@@ -27,5 +25,3 @@ if (__evaluated !== 4) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js b/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js
index f8cbed0a1..490903e42 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.js
+++ b/test/suite/ch12/12.6/12.6.2/S12.6.2_A9.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.
-/**
- * "while" Statement is evaluated without syntax checks
- *
- * @path ch12/12.6/12.6.2/S12.6.2_A9.js
- * @description Throwing system exception inside "while" loop
- */
+/*---
+info: "\"while\" Statement is evaluated without syntax checks"
+description: Throwing system exception inside "while" loop
+includes: [Test262Error.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,9 +14,9 @@ try {
var x = 1;
abaracadabara;
};
- $ERROR('#1: "abbracadabra" lead to throwing exception');
-
-} catch (e) {
+ $ERROR('#1: "abbracadabra" lead to throwing exception');
+
+} catch (e) {
if (e instanceof Test262Error) throw e;
}
@@ -26,4 +25,3 @@ if (x !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
index a0aa03156..0399ea202 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-1.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is an Object with value false
- */
-
-
-function testcase() {
- var accessed = false;
- var obj = { value: false };
- for (var i = 0; obj; ) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is an Object with value false
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj = { value: false };
+ for (var i = 0; obj; ) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
index cc1cb63d6..f70ca0e65 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-10.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is '1')
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("1");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is '1')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("1");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
index 2bccf56df..945e111af 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-11.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is undefined
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; undefined;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is undefined
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; undefined;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
index 6698b966b..166c0d55a 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-12.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is null
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; null;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is null
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; null;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
index 4e7d39333..5eb6f1376 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-13.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a boolean (value is false)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; false;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a boolean (value is false)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; false;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
index 865f68d77..b63c01866 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-14.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is NaN)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; NaN;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is NaN)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; NaN;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
index 8f85811f3..0ec3102da 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-15.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is +0)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; +0;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is +0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; +0;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
index 20d03326e..128b13e8a 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-16.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is -0)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; -0;) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; -0;) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
index faca41566..5f10dda2d 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-17.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a number (value is a positive)
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; 2;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a number (value is a positive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; 2;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
index 8fc6251de..abb993f83 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
@@ -1,24 +1,26 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-18.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is empty string)
- */
-
-
-function testcase() {
- var count = 0;
- for (var i = 0; "";) {
- count++;
- }
- return count === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is empty string)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var count = 0;
+ for (var i = 0; "";) {
+ count++;
+ }
+ return count === 0;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
index 19dc79e05..f6d780366 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-19.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is 'undefined')
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; "undefined";) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is 'undefined')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; "undefined";) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
index eaf600c6e..4808a731d 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-2.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Boolean object
- */
-
-
-function testcase() {
- var accessed = false;
- var boolObj = new Boolean(false);
- for (var i = 0; boolObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Boolean object
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var boolObj = new Boolean(false);
+ for (var i = 0; boolObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
index 6c8e61c59..d415b1ab0 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-20.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is 'null')
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; "null";) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is 'null')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; "null";) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
index d83bd0b18..3d67a3267 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
@@ -1,25 +1,27 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-21.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a string (value is '1')
- */
-
-
-function testcase() {
- var accessed = false;
- for (var i = 0; "1";) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a string (value is '1')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ for (var i = 0; "1";) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
index 76f27f8bd..4ee23b491 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-3.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is NaN)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(NaN);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is NaN)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(NaN);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
index 81599d37b..159ba9cb7 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-4.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is +0)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(+0);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is +0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(+0);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
index 5a3199947..a7cb8e415 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-5.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is -0)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(-0);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is -0)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(-0);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
index 6f8ed9cd3..ed45462a2 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-6.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a Number object (value is a positive)
- */
-
-
-function testcase() {
- var accessed = false;
- var numObj = new Number(12);
- for (var i = 0; numObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a Number object (value is a positive)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var numObj = new Number(12);
+ for (var i = 0; numObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
index 920911c94..859432461 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-7.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is empty string)
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is empty string)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
index f087aa207..72ef6d326 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-8.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is 'undefined')
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("undefined");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is 'undefined')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("undefined");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
index 45ed58923..9d3ce47c0 100644
--- a/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
+++ b/test/suite/ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
@@ -1,26 +1,28 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * Refer 12.6.3;
- * The production
- * IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
- * is evaluated as follows:
- *
- * @path ch12/12.6/12.6.3/12.6.3_2-3-a-ii-9.js
- * @description The for Statement - (normal, V, empty) will be returned when first Expression is a String object (value is 'null')
- */
-
-
-function testcase() {
- var accessed = false;
- var strObj = new String("null");
- for (var i = 0; strObj;) {
- accessed = true;
- break;
- }
- return accessed;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+info: >
+ Refer 12.6.3;
+ The production
+ IterationStatement : for ( var VariableDeclarationListNoIn ; Expressionopt ; Expressionopt ) Statement
+ is evaluated as follows:
+description: >
+ The for Statement - (normal, V, empty) will be returned when first
+ Expression is a String object (value is 'null')
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var strObj = new String("null");
+ for (var i = 0; strObj;) {
+ accessed = true;
+ break;
+ }
+ return accessed;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js
index dd200559c..6ab102582 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A1.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 "for {;;}" for Statement with empty expressions is allowed and leads to performing an infinite loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A1.js
- * @description Breaking an infinite loop by throwing exception
- */
+/*---
+info: >
+ The "for {;;}" for Statement with empty expressions is allowed and leads
+ to performing an infinite loop
+description: Breaking an infinite loop by throwing exception
+---*/
var __in__for = 0;
@@ -32,5 +32,3 @@ if (__in__for !== 101) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js
index 13bfc59ff..478eaa052 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.1.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.
-/**
- * Nested "var-loops" nine blocks depth is evaluated properly
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A10.1.js
- * @description Checking if executing nested "var-loops" nine blocks depth is evaluated properly
- */
+/*---
+info: Nested "var-loops" nine blocks depth is evaluated properly
+description: >
+ Checking if executing nested "var-loops" nine blocks depth is
+ evaluated properly
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -108,4 +108,3 @@ if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js
index fb17b0b2c..a06592a1f 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A10.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.
-/**
- * Nested "var-loops" nine blocks depth is evaluated properly
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A10.js
- * @description Checking if executing nested "var-loops" nine blocks depth is evaluated properly
- */
+/*---
+info: Nested "var-loops" nine blocks depth is evaluated properly
+description: >
+ Checking if executing nested "var-loops" nine blocks depth is
+ evaluated properly
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -48,4 +48,3 @@ if (__str!== "000000000\n100000000\n110000000\n110000001\n111000000\n111000001\n
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
index d050b3dbc..4aa6f7540 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11.1_T1.js
- * @description Using "continue" in order to continue a loop
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled
+ "var-loop" breaks
+description: Using "continue" in order to continue a loop
+---*/
__str=""
@@ -18,4 +19,3 @@ for(var index=0; index<10; index+=1) {
if (__str!=="56789") {
$ERROR('#1: __str === "56789". Actual: __str ==='+ __str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
index cc0233d41..0d171277a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11.1_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled
+ "var-loop" breaks
+description: Embedded loops
+---*/
__str="";
@@ -57,7 +58,3 @@ if (__str !== "001011202122303133") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js
index d02abf292..f192f69c2 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11.1_T3.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.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled "var-loop" breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11.1_T3.js
- * @description Trying to continue non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled
+ "var-loop" breaks
+description: Trying to continue non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,7 +22,3 @@ outer:for(var index=0;index<4;index+=1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js
index 192f1ebd5..6657bed06 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11_T1.js
- * @description Simple test of continue loop with using "continue"
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled loop
+ breaks
+description: Simple test of continue loop with using "continue"
+---*/
__str=""
@@ -18,4 +19,3 @@ for(index=0; index<10; index+=1) {
if (__str!=="56789") {
$ERROR('#1: __str === "56789". Actual: __str ==='+ __str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js
index cdc606b5c..daf2b1cd7 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled loop
+ breaks
+description: Embedded loops
+---*/
__str="";
@@ -57,7 +58,3 @@ if (__str !== "001011202122303133") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js
index 2807bc86f..7836fd5b8 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A11_T3.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.
-/**
- * If (Evaluate Statement).type is "continue" and (Evaluate Statement).target is in the current label set, iteration of labeled loop breaks
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A11_T3.js
- * @description Trying to continue non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "continue" and (Evaluate
+ Statement).target is in the current label set, iteration of labeled loop
+ breaks
+description: Trying to continue non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,7 +22,3 @@ outer:for(index=0;index<4;index+=1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
index 48fc3b30c..11b372496 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12.1_T1.js
- * @description Breaking a loop with "break"
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a "var-loop"
+description: Breaking a loop with "break"
+---*/
__str=""
@@ -18,4 +19,3 @@ for(var index=0; index<10; index+=1) {
if (__str!=="012345") {
$ERROR('#1: __str === "012345". Actual: __str ==='+ __str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
index 939fd991d..f50c262e3 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12.1_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a "var-loop"
+description: Embedded loops
+---*/
__str="";
@@ -58,7 +59,3 @@ if (__str !== "00101120213031") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js
index 96a5accd9..bddfe803b 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12.1_T3.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.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a "var-loop"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12.1_T3.js
- * @description Trying to break non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a "var-loop"
+description: Trying to break non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,4 +22,3 @@ outer:for(var index=0;index<4;index+=1){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js
index 55031321d..9d13c8785 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12_T1.js
- * @description Breaking a loop with "break"
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a loop
+description: Breaking a loop with "break"
+---*/
__str=""
@@ -18,4 +19,3 @@ for(index=0; index<10; index+=1) {
if (__str!=="012345") {
$ERROR('#1:__str === "012345". Actual: __str ==='+__str );
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js
index e97dc7da3..bba72cd13 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12_T2.js
- * @description Embedded loops
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a loop
+description: Embedded loops
+---*/
__str="";
@@ -58,7 +59,3 @@ if (__str !== "00101120213031") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js
index 67fd236cd..4e97d47fd 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A12_T3.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.
-/**
- * If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Statement), empty) is returned while evaluating a loop
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A12_T3.js
- * @description Trying to break non-existent label
- * @negative
- */
+/*---
+info: >
+ If (Evaluate Statement).type is "break" and (Evaluate Statement).target
+ is in the current label set, (normal, (Evaluate Statement), empty) is
+ returned while evaluating a loop
+description: Trying to break non-existent label
+flags: [negative]
+---*/
__str="";
@@ -21,7 +22,3 @@ outer:for(index=0;index<4;index+=1){
};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js
index 452902537..f7476724c 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A13.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.
-/**
- * VariableDeclaration in "var VariableDeclarationListNoIn" of for IterationStatement is allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A13.js
- * @description Declaring variable in "for" ExpressionNoIn
- */
+/*---
+info: >
+ VariableDeclaration in "var VariableDeclarationListNoIn" of for
+ IterationStatement is allowed
+description: Declaring variable in "for" ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +22,3 @@ try {
for(var index=0; index<6; index++) {
;
}
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js
index 182482dd9..01fa4ead5 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A14.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 production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A14.js
- * @description Using +,*,/, as the second Expression
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationListNoIn;
+ Expression; Expression) Statement"
+description: Using +,*,/, as the second Expression
+---*/
//CHECK#1
for(var i=0;i<10;i++){}
@@ -43,4 +43,3 @@ for(var i=2;i<10;i*=i){
}
if (i!==16) $ERROR('#5.1: i === 16. Actual: i ==='+ i );
if (j!==2) $ERROR('#5.2: j === 2. Actual: j ==='+ j );
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js
index 4ec6147b9..7f9ef917a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A15.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 production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement"
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A15.js
- * @description Statement must be evaluated before second Expression is evaluated
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationListNoIn;
+ Expression; Expression) Statement"
+description: Statement must be evaluated before second Expression is evaluated
+---*/
//CHECK#1
for(var i=0;i<10;i++){
@@ -20,5 +20,3 @@ for(var i=0;i<10;i++){
i*=2;
if (i===3) $ERROR('#2: i !== 3');
}
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js
index 78372a2d7..61328a35d 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.1.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.
-/**
- * While evaluating "for (ExpressionNoIn ; ; Expression) Statement", Statement is evaulated first
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A2.1.js
- * @description Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn ; ; Expression) Statement",
+ Statement is evaulated first
+description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js
index f6391e2f7..897c9d3cc 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.2.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.
-/**
- * While evaluating "for (ExpressionNoIn;;) Statement", Statement is evaulated first
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A2.2.js
- * @description Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn;;) Statement", Statement is
+ evaulated first
+description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js
index 86718d9d1..c6c145fff 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A2.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.
-/**
- * While evaluating "for (ExpressionNoIn; Expression; Expression) Statement", ExpressionNoIn is evaulated first
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A2.js
- * @description Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn; Expression; Expression)
+ Statement", ExpressionNoIn is evaulated first
+description: Using "(function(){throw "NoInExpression"})()" as ExpressionNoIn
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -30,4 +30,3 @@ if (in_for !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js
index 2c46dbfbb..67995c6c3 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A3.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * While evaluating "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement", ExpressionNoIn is evaulated first, FirstExpressoin is evaluated second
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A3.js
- * @description Using "(function(){throw "FirstExpression"})()" as FirstExpression
- */
+/*---
+info: >
+ While evaluating "for (ExpressionNoIn; FirstExpression; SecondExpression)
+ Statement", ExpressionNoIn is evaulated first, FirstExpressoin is
+ evaluated second
+description: Using "(function(){throw "FirstExpression"})()" as FirstExpression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -38,4 +39,3 @@ if (typeof __in__for !== "undefined") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js
index a64935274..44244f323 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4.1.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.
-/**
- * "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A4.1.js
- * @description Checking if execution of "for (var a in arr;1;){}" fails
- * @negative
- */
+/*---
+info: >
+ "in"-expression is not allowed as a ExpressionNoIn in "for
+ (ExpressionNoIn; FirstExpression; SecondExpression) Statement"
+ IterationStatement
+description: Checking if execution of "for (var a in arr;1;){}" fails
+flags: [negative]
+---*/
arr = [1,2,3,4,5];
@@ -18,5 +19,3 @@ for (var a in arr;1;){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js
index 48e56c4b1..bcfb8ff31 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_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.
-/**
- * "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A4_T1.js
- * @description Checking if execution of "for (a in arr;1;){}" fails
- * @negative
- */
+/*---
+info: >
+ "in"-expression is not allowed as a ExpressionNoIn in "for
+ (ExpressionNoIn; FirstExpression; SecondExpression) Statement"
+ IterationStatement
+description: Checking if execution of "for (a in arr;1;){}" fails
+flags: [negative]
+---*/
arr = [1,2,3,4,5];
@@ -18,5 +19,3 @@ for (a in arr;1;){
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js
index 2a292a808..77b703792 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A4_T2.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.
-/**
- * "in"-expression is not allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A4_T2.js
- * @description Checking if execution of "for (1 in arr;1;){}" fails
- * @negative
- */
+/*---
+info: >
+ "in"-expression is not allowed as a ExpressionNoIn in "for
+ (ExpressionNoIn; FirstExpression; SecondExpression) Statement"
+ IterationStatement
+description: Checking if execution of "for (1 in arr;1;){}" fails
+flags: [negative]
+---*/
arr = [1,2,3,4,5];
@@ -18,5 +19,3 @@ for(1 in arr;1;) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js
index 6cab0f017..78206c179 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A5.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * "in"-expression wrapped into "eval" statement is allowed as a ExpressionNoIn in "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement" IterationStatement
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A5.js
- * @description Using eval "for(eval("i in arr");1;)"
- */
+/*---
+info: >
+ "in"-expression wrapped into "eval" statement is allowed as a
+ ExpressionNoIn in "for (ExpressionNoIn; FirstExpression;
+ SecondExpression) Statement" IterationStatement
+description: Using eval "for(eval("i in arr");1;)"
+---*/
arr = [1,2,3,4,5];
i = 1;
@@ -39,4 +40,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js
index 1dfd5b457..d00ae353f 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A6.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.
-/**
- * While evaluating "for ( ; ; Expression) Statement", Statement is evaluated first and then Expression is evaluated
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A6.js
- * @description Using "(function(){throw "SecondExpression";})()" as an Expression
- */
+/*---
+info: >
+ While evaluating "for ( ; ; Expression) Statement", Statement is
+ evaluated first and then Expression is evaluated
+description: Using "(function(){throw "SecondExpression";})()" as an Expression
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -30,4 +30,3 @@ if (__in__for !== "reached") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
index f8b2fdbd0..bf8c17313 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for(with var)" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7.1_T1.js
- * @description Checking if execution of "for(var index=0; index<10; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for(with var)" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(var index=0; index<10; index++;
+ index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(var index=0; index<10; index++; index--);
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
index 550b14b19..014bc2284 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for(with var)" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7.1_T2.js
- * @description Checking if execution of "for(var index=0; index<10; index+=4; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for(with var)" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(var index=0; index<10; index+=4;
+ index++; index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(var index=0; index<10; index+=4; index++; index--) ;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js
index 39dcc1c6a..9cef2b12a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T1.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7_T1.js
- * @description Checking if execution of "for(index=0; index<10; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(index=0; index<10; index++;
+ index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(index=0; index<10; index++; index--) ;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js
index 2f22dbf3c..dbb1ab424 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A7_T2.js
@@ -1,18 +1,18 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only three expressions and two semicolons in "for" braces are allowed.
- * Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A7_T2.js
- * @description Checking if execution of "for(index=0; index<10; index+=4; index++; index--)" fails
- * @negative
- */
+/*---
+info: >
+ Only three expressions and two semicolons in "for" braces are allowed.
+ Appearing of for (ExpressionNoIn_opt ; Expression_opt ; Expression_opt; Expression_opt; Expression_opt;) statement leads to SyntaxError
+description: >
+ Checking if execution of "for(index=0; index<10; index+=4;
+ index++; index--)" fails
+flags: [negative]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
for(index=0; index<10; index+=4; index++; index--) ;
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
index ddd3c30e4..9560278df 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for(with var)" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8.1_T1.js
- * @description Checking if execution of "for(var index=0; index<100; {index++; index*2;}) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for(with var)" braces are not allowed
+description: >
+ Checking if execution of "for(var index=0; index<100; {index++;
+ index*2;}) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,4 +16,3 @@ var arr = [];
for(var index=0; index<100; {index++; index*2;}) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
index 81cbed22b..01d03c1e5 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for(with var)" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8.1_T2.js
- * @description Checking if execution of "for(var index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for(with var)" braces are not allowed
+description: >
+ Checking if execution of "for(var index=0; {index++;index<100;};
+ index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,7 +16,3 @@ var arr = [];
for(var index=0; {index++;index<100;}; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
index 8c26060e3..c41114522 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for(with var)" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8.1_T3.js
- * @description Checking if execution of "for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for(with var)" braces are not allowed
+description: >
+ Checking if execution of "for({var index=0; index+=1;}
+ index++<=10; index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,7 +16,3 @@ var arr = [];
for({var index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js
index 8f9ce29d6..09fef90b0 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8_T1.js
- * @description Checking if execution of "for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for" braces are not allowed
+description: >
+ Checking if execution of "for(index=0; index<100; {index++;
+ index*2;}) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,4 +16,3 @@ var arr = [];
for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js
index 406d23bbb..3c114311c 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T2.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8_T2.js
- * @description Checking if execution of "for(index=0; {index++;index<100;}; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for" braces are not allowed
+description: >
+ Checking if execution of "for(index=0; {index++;index<100;};
+ index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,4 +16,3 @@ var arr = [];
for(index=0; {index++;index<100;}; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js
index 9843a3229..58e9c2d62 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T3.js
@@ -1,13 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Blocks within "for" braces are not allowed
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A8_T3.js
- * @description Checking if execution of "for({index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);}" fails
- * @negative
- */
+/*---
+info: Blocks within "for" braces are not allowed
+description: >
+ Checking if execution of "for({index=0; index+=1;} index++<=10;
+ index*2;) { arr.add(""+index);}" fails
+flags: [negative]
+---*/
var arr = [];
@@ -16,7 +16,3 @@ var arr = [];
for({index=0; index+=1;} index++<=10; index*2;) { arr.add(""+index);};
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js
index c2031c9ab..ec3417302 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.1.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 result of evaluating "for( ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty)
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A9.1.js
- * @description Using eval
- */
+/*---
+info: >
+ The result of evaluating "for( ExpNoIn;Exp;Exp)" loop is returning
+ (normal, evalValue, empty)
+description: Using eval
+---*/
supreme=5;
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js
index 11b88316f..0df1fdd0a 100644
--- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.js
+++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A9.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 result of evaluating "for(var ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty)
- *
- * @path ch12/12.6/12.6.3/S12.6.3_A9.js
- * @description Using eval
- */
+/*---
+info: >
+ The result of evaluating "for(var ExpNoIn;Exp;Exp)" loop is returning
+ (normal, evalValue, empty)
+description: Using eval
+---*/
supreme=5;
@@ -22,4 +22,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/12.6.4-1.js b/test/suite/ch12/12.6/12.6.4/12.6.4-1.js
index 3929b0a23..89037a23f 100644
--- a/test/suite/ch12/12.6/12.6.4/12.6.4-1.js
+++ b/test/suite/ch12/12.6/12.6.4/12.6.4-1.js
@@ -1,34 +1,36 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.6/12.6.4/12.6.4-1.js
- * @description The for-in Statement - a property name must not be visited more than once in any enumeration.
- */
-
-
-function testcase() {
- var obj = { prop1: "abc", prop2: "bbc", prop3: "cnn" };
-
- var countProp1 = 0;
- var countProp2 = 0;
- var countProp3 = 0;
-
- for (var p in obj) {
- if (obj.hasOwnProperty(p)) {
- if (p === "prop1") {
- countProp1++;
- }
- if (p === "prop2") {
- countProp2++;
- }
- if (p === "prop3") {
- countProp3++;
- }
- }
- }
- return countProp1 === 1 && countProp2 === 1 && countProp3 === 1;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ The for-in Statement - a property name must not be visited more
+ than once in any enumeration.
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var obj = { prop1: "abc", prop2: "bbc", prop3: "cnn" };
+
+ var countProp1 = 0;
+ var countProp2 = 0;
+ var countProp3 = 0;
+
+ for (var p in obj) {
+ if (obj.hasOwnProperty(p)) {
+ if (p === "prop1") {
+ countProp1++;
+ }
+ if (p === "prop2") {
+ countProp2++;
+ }
+ if (p === "prop3") {
+ countProp3++;
+ }
+ }
+ }
+ return countProp1 === 1 && countProp2 === 1 && countProp3 === 1;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.4/12.6.4-2.js b/test/suite/ch12/12.6/12.6.4/12.6.4-2.js
index ffdd58cdf..36778a3dd 100644
--- a/test/suite/ch12/12.6/12.6.4/12.6.4-2.js
+++ b/test/suite/ch12/12.6/12.6.4/12.6.4-2.js
@@ -1,36 +1,39 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch12/12.6/12.6.4/12.6.4-2.js
- * @description The for-in Statement - the values of [[Enumerable]] attributes are not considered when determining if a property of a prototype object is shadowed by a previous object on the prototype chain
- */
-
-
-function testcase() {
- var proto = {
- prop: "enumerableValue"
- };
-
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
-
- var child = new ConstructFun();
-
- Object.defineProperty(child, "prop", {
- value: "nonEnumerableValue",
- enumerable: false
- });
-
- var accessedProp = false;
-
- for (var p in child) {
- if (p === "prop") {
- accessedProp = true;
- }
- }
- return !accessedProp;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ The for-in Statement - the values of [[Enumerable]] attributes are
+ not considered when determining if a property of a prototype
+ object is shadowed by a previous object on the prototype chain
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var proto = {
+ prop: "enumerableValue"
+ };
+
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
+
+ var child = new ConstructFun();
+
+ Object.defineProperty(child, "prop", {
+ value: "nonEnumerableValue",
+ enumerable: false
+ });
+
+ var accessedProp = false;
+
+ for (var p in child) {
+ if (p === "prop") {
+ accessedProp = true;
+ }
+ }
+ return !accessedProp;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js
index fd8c754bf..a82fb651a 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.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.
-/**
- * "for(key in undefined)" Statement is allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A1.js
- * @description Checking if execution of "for(key in undefined)" passes
- */
+/*---
+info: "\"for(key in undefined)\" Statement is allowed"
+description: Checking if execution of "for(key in undefined)" passes
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -28,6 +26,3 @@ if (key!==undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js
index b90e3e99b..be330ce38 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A14_T2.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.
-/**
- * FunctionExpession within a "for-in" Expression is allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A14_T2.js
- * @description Using "function __func(){return {a:1};}()" as Expession
- */
+/*---
+info: FunctionExpession within a "for-in" Expression is allowed
+description: "Using \"function __func(){return {a:1};}()\" as Expession"
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -23,4 +21,3 @@ if (__reached !== "a") {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js
index c19908904..8ddc81613 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A15.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.
-/**
- * Block within a "for-in" Expression is not allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A15.js
- * @description Using block within "for-in" Expression
- * @negative
- */
+/*---
+info: Block within a "for-in" Expression is not allowed
+description: Using block within "for-in" Expression
+flags: [negative]
+---*/
var __arr=[1,2,3];
@@ -18,4 +16,3 @@ for(x in {__arr}){
};
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js
index e8db640c0..56d980789 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A2.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.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.
-/**
- * "for(key in null)" Expression is allowed
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A2.js
- * @description Checking if execution of "for(key in null)" passes
- */
+/*---
+info: "\"for(key in null)\" Expression is allowed"
+description: Checking if execution of "for(key in null)" passes
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
@@ -27,7 +25,3 @@ if (key!==undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js
index d232fe48d..39a41dbc0 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.1.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A3.1.js
- * @description Using an array as an Expression is appropriate. Here Expression is an array of numbers
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using an array as an Expression is appropriate. Here Expression is
+ an array of numbers
+---*/
__str="";
@@ -27,7 +29,3 @@ if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js
index 2b34c38c7..be542b8bf 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A3.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A3.js
- * @description Using an array as an Expression is appropriate. Here Expression is an array of numbers. Eval is used
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using an array as an Expression is appropriate. Here Expression is
+ an array of numbers. Eval is used
+---*/
__str="";
@@ -27,7 +29,3 @@ if (!( (__str.indexOf("2")!==-1)&&(__str.indexOf("1")!==-1)&&(__str.indexOf("4")
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js
index a491b3f34..0fd3bb6de 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.1.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A4.1.js
- * @description Using Object as an Expression is appropriate. Eval is used
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: Using Object as an Expression is appropriate. Eval is used
+---*/
__str="";
@@ -27,8 +27,3 @@ if (__str !== __evaluated) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js
index 79f496b8c..2b197dc13 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A4.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A4.js
- * @description Using Object as an Expression is appropriate. Eval is used
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: Using Object as an Expression is appropriate. Eval is used
+---*/
__str="";
@@ -27,8 +27,3 @@ if (__str !== __evaluated) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js
index 37992e1dd..f38cf383f 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.1.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A5.1.js
- * @description Using hierarchical Object as an Expression is appropriate. The depth is two
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using hierarchical Object as an Expression is appropriate. The
+ depth is two
+---*/
__hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}};
@@ -36,7 +38,3 @@ if(!(
(__arr.indexOf("dc3")!==-1)&
(__arr.indexOf("dd4")!==-1)
)) $ERROR('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard');
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js
index 974659f10..65c7c71d5 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A5.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A5.js
- * @description Using hierarchical Object as an Expression is appropriate. The depth is two
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using hierarchical Object as an Expression is appropriate. The
+ depth is two
+---*/
__hash__map={a:{aa:1,ab:2,ac:3,ad:4},b:{ba:1,bb:2,bc:3,bd:4},c:{ca:1,cb:2,cc:3,cd:4},d:{da:1,db:2,dc:3,dd:4}};
@@ -36,7 +38,3 @@ if(!(
(__arr.indexOf("dc3")!==-1)&
(__arr.indexOf("dd4")!==-1)
)) $ERROR('#1: The nested for-in Statement applied to hierarchial object works properly as described in the Standard');
-
-
-
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js
index 78cc2e842..69d0cdfbf 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.1.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A6.1.js
- * @description Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using Object with custom prototype as an Expression is
+ appropriate. The prototype is "{feat:2,hint:"protohint"}"
+---*/
function FACTORY(){this.prop=1;this.hint="hinted"};
@@ -35,4 +37,3 @@ if (__accum.indexOf("hintprotohint")!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js
index 5a1f8d9c2..ffc7babfb 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A6.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 production IterationStatement: "for (var VariableDeclarationNoIn in Expression) Statement"
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A6.js
- * @description Using Object with custom prototype as an Expression is appropriate. The prototype is "{feat:2,hint:"protohint"}"
- */
+/*---
+info: >
+ The production IterationStatement: "for (var VariableDeclarationNoIn in
+ Expression) Statement"
+description: >
+ Using Object with custom prototype as an Expression is
+ appropriate. The prototype is "{feat:2,hint:"protohint"}"
+---*/
function FACTORY(){this.prop=1;this.hint="hinted"};
@@ -35,4 +37,3 @@ if (__accum.indexOf("hintprotohint")!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js
index 1105b7ff2..734c0168c 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T1.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_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.
-/**
- * Properties of the object being enumerated may be deleted during enumeration
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A7_T1.js
- * @description Checking "for (LeftHandSideExpression in Expression) Statement" case
- */
+/*---
+info: >
+ Properties of the object being enumerated may be deleted during
+ enumeration
+description: >
+ Checking "for (LeftHandSideExpression in Expression) Statement"
+ case
+---*/
__obj={aa:1,ba:2,ca:3};
@@ -46,4 +48,3 @@ function erasator_T_1000(hash_map, charactr){
};
}
}
-
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js
index 48be196ab..0d80694f3 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_T2.js
+++ b/test/suite/ch12/12.6/12.6.4/S12.6.4_A7_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.
-/**
- * Properties of the object being enumerated may be deleted during enumeration
- *
- * @path ch12/12.6/12.6.4/S12.6.4_A7_T2.js
- * @description Checking "for (var VariableDeclarationNoIn in Expression) Statement" case
- */
+/*---
+info: >
+ Properties of the object being enumerated may be deleted during
+ enumeration
+description: >
+ Checking "for (var VariableDeclarationNoIn in Expression)
+ Statement" case
+---*/
__obj={aa:1,ba:2,ca:3};
@@ -46,4 +48,3 @@ function erasator_T_1000(hash_map, charactr){
};
}
}
-