aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.10/15.10.6/15.10.6.2
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.10/15.10.6/15.10.6.2')
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js40
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A10.js12
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A11.js13
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A12.js12
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T1.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T10.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T11.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T12.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T13.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T14.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T15.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T16.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T17.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T18.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T19.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T2.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T20.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T21.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T3.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T4.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T5.js18
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T6.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T7.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T8.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T9.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T1.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T10.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T2.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T3.js13
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T4.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T5.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T6.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T7.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T8.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T9.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T1.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T2.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T3.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T4.js19
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T5.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T6.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T7.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T1.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T10.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T11.js18
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T12.js18
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T2.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T3.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T4.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T5.js16
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T6.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T7.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T8.js15
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T9.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T1.js19
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T2.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T3.js17
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A6.js11
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A7.js11
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A8.js14
-rw-r--r--test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A9.js15
61 files changed, 418 insertions, 544 deletions
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js
index 482748988..8a1a687bf 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js
@@ -1,19 +1,21 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js
- * @description RegExp.prototype.exec - the removed step 9.e won't affected current algorithm
- */
-
-
-function testcase() {
- var str = "Hello World!";
- var regObj = new RegExp("World");
- var result = false;
- result = regObj.exec(str).toString() === "World";
- return result;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ RegExp.prototype.exec - the removed step 9.e won't affected
+ current algorithm
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var str = "Hello World!";
+ var regObj = new RegExp("World");
+ var result = false;
+ result = regObj.exec(str).toString() === "World";
+ return result;
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A10.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A10.js
index 622178b19..2fa8a88cb 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A10.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A10.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The RegExp.prototype.exec.length property has the attribute ReadOnly
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A10.js
- * @description Checking if varying the RegExp.prototype.exec.length property fails
- */
+/*---
+info: The RegExp.prototype.exec.length property has the attribute ReadOnly
+description: Checking if varying the RegExp.prototype.exec.length property fails
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (RegExp.prototype.exec.hasOwnProperty('length') !== true) {
@@ -21,4 +20,3 @@ RegExp.prototype.exec.length = function(){return "shifted";};
if (RegExp.prototype.exec.length !== __obj) {
$ERROR('#2: __obj = RegExp.prototype.exec.length; RegExp.prototype.exec.length = function(){return "shifted";}; RegExp.prototype.exec.length === __obj. Actual: ' + (RegExp.prototype.exec.length));
}
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A11.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A11.js
index cd7ac8ea6..883bd3217 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A11.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A11.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of the exec method is 1
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A11.js
- * @description Checking RegExp.prototype.exec.length
- */
+/*---
+info: The length property of the exec method is 1
+description: Checking RegExp.prototype.exec.length
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (RegExp.prototype.exec.hasOwnProperty("length") !== true) {
@@ -17,5 +16,3 @@ if (RegExp.prototype.exec.hasOwnProperty("length") !== true) {
if (RegExp.prototype.exec.length !== 1) {
$ERROR('#2: RegExp.prototype.exec.length === 1. Actual: ' + (RegExp.prototype.exec.length));
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A12.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A12.js
index d4177de6a..2db3c0ec2 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A12.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A12.js
@@ -1,12 +1,11 @@
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * regExp exec() acts like regExp.exec('undefined') (step 2)
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A12.js
- * @description Checking RegExp.prototype.exec
- */
+/*---
+info: regExp exec() acts like regExp.exec('undefined') (step 2)
+description: Checking RegExp.prototype.exec
+includes: [$FAIL.js]
+---*/
(/foo/).test('xfoox');
var match = new RegExp('(.|\r|\n)*','').exec()[0];
@@ -16,4 +15,3 @@ if (match === 'xfoox') {
if (match !== 'undefined') {
$FAIL('#2: regExp.exec() must coerce absent first arg to "undefined"');
}
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T1.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T1.js
index 3820639df..e94054761 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T1.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T1.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T1.js
- * @description String is "123" and RegExp is /1|12/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is "123" and RegExp is /1|12/
+---*/
__executed = /1|12/.exec("123");
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /1|12/.exec("123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T10.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T10.js
index 9110c8a26..6ba70a801 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T10.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T10.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T10.js
- * @description String is 1.01 and RegExp is /1|12/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is 1.01 and RegExp is /1|12/
+---*/
__executed = /1|12/.exec(1.01);
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /1|12/.exec(1.01); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T11.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T11.js
index 312afbd52..8f9b7a2de 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T11.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T11.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T11.js
- * @description String is new Number(1.012) and RegExp is /2|12/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is new Number(1.012) and RegExp is /2|12/
+---*/
__executed = /2|12/.exec(new Number(1.012));
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /2|12/.exec(new Number(1.012)); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T12.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T12.js
index fe8ec74b9..a442f232c 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T12.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T12.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.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T12.js
- * @description String is {toString:function(){return Math.PI;}} and RegExp is /\.14/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: >
+ String is {toString:function(){return Math.PI;}} and RegExp is
+ /\.14/
+---*/
__executed = /\.14/.exec({toString:function(){return Math.PI}});
@@ -41,5 +42,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /\\.14/.exec({toString:function(){return Math.PI}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T13.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T13.js
index bb068edaa..8233105fe 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T13.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T13.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T13.js
- * @description String is true and RegExp is /t[a-b|q-s]/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is true and RegExp is /t[a-b|q-s]/
+---*/
__executed = /t[a-b|q-s]/.exec(true);
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /t[a-b|q-s]/.exec(true); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T14.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T14.js
index c631d5e40..f7e388f2a 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T14.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T14.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T14.js
- * @description String is new Boolean and RegExp is /AL|se/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is new Boolean and RegExp is /AL|se/
+---*/
__executed = /AL|se/.exec(new Boolean);
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /AL|se/.exec(new Boolean); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T15.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T15.js
index 7bed7f106..e6668c929 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T15.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T15.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T15.js
- * @description String is {toString:function(){return false;}} and RegExp is /LS/i
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: "String is {toString:function(){return false;}} and RegExp is /LS/i"
+---*/
__executed = /LS/i.exec({toString:function(){return false}});
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /LS/i.exec({toString:function(){return false}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T16.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T16.js
index 4431507ee..73c4bb47c 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T16.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T16.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.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T16.js
- * @description RegExp is /undefined/ and call exec() without arguments
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: RegExp is /undefined/ and call exec() without arguments
+---*/
__re = /undefined/.exec()[0];
if (__re !== "undefined") {
$ERROR('#1: /undefined/.exec()[0] === "undefined". Actual: ' + (__re));
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T17.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T17.js
index b66df5954..54ea9ad04 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T17.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T17.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T17.js
- * @description String is null and RegExp is /ll|l/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is null and RegExp is /ll|l/
+---*/
__executed = /ll|l/.exec(null);
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /ll|l/.exec(null); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T18.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T18.js
index b1d5bdaf1..34ca221ce 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T18.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T18.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T18.js
- * @description String is undefined and RegExp is /nd|ne/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is undefined and RegExp is /nd|ne/
+---*/
__executed = /nd|ne/.exec(undefined);
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /nd|ne/.exec(undefined); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T19.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T19.js
index bf5851923..62fe9f440 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T19.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T19.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T19.js
- * @description String is void 0 and RegExp is /e{1}/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is void 0 and RegExp is /e{1}/
+---*/
__executed = /e{1}/.exec(void 0);
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /e{1}/.exec(void 0); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T2.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T2.js
index d910dcfc8..724dc0961 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T2.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T2.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T2.js
- * @description String is new String("123") and RegExp is /((1)|(12))((3)|(23))/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is new String("123") and RegExp is /((1)|(12))((3)|(23))/
+---*/
with(/((1)|(12))((3)|(23))/){
__executed = exec(new String("123"));
@@ -43,5 +42,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: with(/((1)|(12))((3)|(23))/){__executed = exec(new String("123"));} __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T20.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T20.js
index c60a6b048..ab7655350 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T20.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T20.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T20.js
- * @description String is x and RegExp is /[a-f]d/, where x is undefined variable
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is x and RegExp is /[a-f]d/, where x is undefined variable
+---*/
__executed = /[a-f]d/.exec(x);
@@ -43,4 +42,3 @@ for(var index=0; index<__expected.length; index++) {
}
var x;
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T21.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T21.js
index 2ce045593..f2a415e78 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T21.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T21.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T21.js
- * @description String is function(){}() and RegExp is /[a-z]n/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is function(){}() and RegExp is /[a-z]n/
+---*/
__executed = /[a-z]n/.exec(function(){}());
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /[a-z]n/.exec(function(){}()); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T3.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T3.js
index c2a05cc09..b5ff40a2d 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T3.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T3.js
- * @description String is new Object("abcdefghi") and RegExp is /a[a-z]{2,4}/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is new Object("abcdefghi") and RegExp is /a[a-z]{2,4}/
+---*/
__executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi"));
@@ -41,5 +40,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /a[a-z]{2,4}/.exec(new Object("abcdefghi")); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T4.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T4.js
index 07468985e..a8f39248d 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T4.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T4.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.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T4.js
- * @description String is {toString:function(){return "abcdefghi";}} and RegExp is /a[a-z]{2,4}?/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: >
+ String is {toString:function(){return "abcdefghi";}} and RegExp is
+ /a[a-z]{2,4}?/
+---*/
__executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}});
@@ -41,5 +42,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /a[a-z]{2,4}?/.exec({toString:function(){return "abcdefghi"}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T5.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T5.js
index 0efb7b256..6f9f046dd 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T5.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T5.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T5.js
- * @description String is {toString:function(){return {};}, valueOf:function(){return "aabaac";}} and RegExp is /(aa|aabaac|ba|b|c)* /
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: >
+ String is {toString:function(){return {};},
+ valueOf:function(){return "aabaac";}} and RegExp is
+ /(aa|aabaac|ba|b|c)* /
+---*/
__executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}});
@@ -41,5 +43,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /(aa|aabaac|ba|b|c)*/.exec({toString:function(){return {};}, valueOf:function(){return "aabaac";}}); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T6.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T6.js
index 2444d74bc..d44ad4be7 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T6.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T6.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.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T6.js
- * @description String is (function(){return "zaacbbbcac"})() and RegExp is /(z)((a+)?(b+)?(c))* /
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: >
+ String is (function(){return "zaacbbbcac"})() and RegExp is
+ /(z)((a+)?(b+)?(c))* /
+---*/
__executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})());
@@ -41,5 +42,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#4: __executed = /(z)((a+)?(b+)?(c))*/.exec((function(){return "zaacbbbcac"})()); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T7.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T7.js
index 7dbbb81e0..dc9fd0989 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T7.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T7.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.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T7.js
- * @description String is {toString:function(){throw "intostr";}} and RegExp is /[a-z]/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: >
+ String is {toString:function(){throw "intostr";}} and RegExp is
+ /[a-z]/
+---*/
//CHECK#1
try {
@@ -17,5 +18,3 @@ try {
$ERROR('#1.2: /[a-z]/.exec({toString:function(){throw "intostr"}}) throw "intostr". Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T8.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T8.js
index 7d52b7a71..956421df1 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T8.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T8.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.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T8.js
- * @description String is {toString:void 0, valueOf:function(){throw "invalof";}} and RegExp is /[a-z]/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: >
+ String is {toString:void 0, valueOf:function(){throw "invalof";}}
+ and RegExp is /[a-z]/
+---*/
//CHECK#1
try {
@@ -17,5 +18,3 @@ try {
$ERROR('#1.2: /[a-z]/.exec({toString:void 0, valueOf:function(){throw "invalof"}}) throw "invalof". Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T9.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T9.js
index f1dd9d5d6..5be324ebf 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T9.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T9.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
- * returns an Array object containing the results of the match, or null if the string did not match
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A1_T9.js
- * @description String is undefined variable and RegExp is /1|12/
- */
+/*---
+info: >
+ RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and
+ returns an Array object containing the results of the match, or null if the string did not match
+description: String is undefined variable and RegExp is /1|12/
+---*/
var __string;
@@ -18,4 +17,3 @@ if (__re.exec(__string) !== null) {
}
function __string(){};
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T1.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T1.js
index ef0e75779..4954ba0cc 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T1.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T1.js
- * @description The internal [[Class]] property is "Object"
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The internal [[Class]] property is "Object"
+---*/
__instance = new Object;
@@ -20,5 +20,3 @@ try {
$ERROR('#1.2: __instance = new Object; __instance.exec = RegExp.prototype.exec. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T10.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T10.js
index eb3c0d302..1811b10b9 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T10.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T10.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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T10.js
- * @description The tested object is undefined
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is undefined
+---*/
exec = RegExp.prototype.exec;
@@ -18,5 +18,3 @@ try {
$ERROR('#1.2: exec = RegExp.prototype.exec; exec("message to investigate"). Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T2.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T2.js
index 3ad0c6a36..64598565d 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T2.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T2.js
- * @description The tested object is Math
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is Math
+---*/
__instance = Math;
@@ -21,5 +21,3 @@ try {
$ERROR('#1.2: __instance = Math; __instance.exec = RegExp.prototype.exec; with(__instance) exec("message to investigate"). Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T3.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T3.js
index d95f43afa..adb5a2058 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T3.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T3.js
- * @description The tested object is function object
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is function object
+---*/
__instance.exec = RegExp.prototype.exec;
@@ -21,4 +21,3 @@ try {
}
function __instance(){};
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T4.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T4.js
index 54732989f..cdfaac28f 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T4.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T4.js
- * @description The tested object is new String("[a-b]")
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is new String("[a-b]")
+---*/
__instance = new String("[a-b]");
@@ -22,5 +22,3 @@ with(__instance){
}
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T5.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T5.js
index 1fe90d769..89be44645 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T5.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T5.js
- * @description The tested object is new Boolean(false)
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is new Boolean(false)
+---*/
__instance = new Boolean(false);
@@ -22,5 +22,3 @@ with(__instance) {
}
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T6.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T6.js
index 7ecc6c9ef..4a70ac2f1 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T6.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T6.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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T6.js
- * @description The tested object is new Number(1.0)
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is new Number(1.0)
+---*/
__instance = new Number(1.0);
@@ -20,5 +20,3 @@ try {
$ERROR('#1.2: __instance = new Number(1.0); __instance.exec = RegExp.prototype.exec; __instance["exec"]("message to investigate"). Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T7.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T7.js
index 1c698ff1d..468beb97e 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T7.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T7.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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T7.js
- * @description The tested object is false
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is false
+---*/
__instance = false;
@@ -20,5 +20,3 @@ try {
$ERROR('#1.2: __instance = false; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T8.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T8.js
index f95548b61..d4d6f6d0a 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T8.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T8.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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T8.js
- * @description The tested object is "."
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is "."
+---*/
__instance = ".";
@@ -20,5 +20,3 @@ try {
$ERROR('#1.2: __instance = "."; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T9.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T9.js
index ea43ba4db..3d34e2f45 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T9.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T9.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.
-/**
- * A TypeError exception is thrown if the this value is not an object for which the value of the internal [[Class]] property is "RegExp"
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A2_T9.js
- * @description The tested object is 1.0
- */
+/*---
+info: >
+ A TypeError exception is thrown if the this value is not an object for
+ which the value of the internal [[Class]] property is "RegExp"
+description: The tested object is 1.0
+---*/
__instance = 1.0;
@@ -20,5 +20,3 @@ try {
$ERROR('#1.2: __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T1.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T1.js
index 2425d0941..32cec81d0 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T1.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T1.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true and lastIndex not changed manually,
- * next exec calling start to match from position where current match finished
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T1.js
- * @description RegExp is /(?:ab|cd)\d?/g and tested string is "ab cd2 ab34 cd"
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true and lastIndex not changed manually,
+ next exec calling start to match from position where current match finished
+description: "RegExp is /(?:ab|cd)\\d?/g and tested string is \"ab cd2 ab34 cd\""
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -36,5 +35,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#2: __executed = /(?:ab|cd)\\d?/g.exec("ab cd2 ab34 cd"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T2.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T2.js
index 65ba482a6..066861d74 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T2.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T2.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true and lastIndex not changed manually,
- * next exec calling start to match from position where current match finished
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T2.js
- * @description RegExp is /[Nn]evermore/g and tested string is very long string
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true and lastIndex not changed manually,
+ next exec calling start to match from position where current match finished
+description: RegExp is /[Nn]evermore/g and tested string is very long string
+---*/
__the__raven = " Once upon a midnight dreary, while I pondered weak and weary," +
"Over many a quaint and curious volume of forgotten lore," +
@@ -152,5 +151,3 @@ do{
if (__matched !== NEVERMORE) {
$ERROR('#1: __re = /[Nn]evermore/g; __executed = __re.exec(__the__raven)'+__matched);
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T3.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T3.js
index d7dab0af9..b05fd87af 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T3.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T3.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true and lastIndex not changed manually,
- * next exec calling start to match from position where current match finished
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T3.js
- * @description RegExp is /[Nn]?evermore/g and tested string is very long string
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true and lastIndex not changed manually,
+ next exec calling start to match from position where current match finished
+description: RegExp is /[Nn]?evermore/g and tested string is very long string
+---*/
__the__raven = " Once upon a midnight dreary, while I pondered weak and weary," +
"Over many a quaint and curious volume of forgotten lore," +
@@ -152,5 +151,3 @@ do{
if (__matched !== NEVERMORE_AND_EVERMORE) {
$ERROR('#1: __re = /[Nn]?evermore/g; __executed = __re.exec(__the__raven)'+__matched);
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T4.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T4.js
index 72cac2ed5..8ed9f64c1 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T4.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T4.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true and lastIndex not changed manually,
- * next exec calling start to match from position where current match finished
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T4.js
- * @description RegExp is /([Nn]?ever|([Nn]othing\s{1,}))more/g and tested string is very long string
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true and lastIndex not changed manually,
+ next exec calling start to match from position where current match finished
+description: >
+ RegExp is /([Nn]?ever|([Nn]othing\s{1,}))more/g and tested string
+ is very long string
+---*/
__the__raven = " Once upon a midnight dreary, while I pondered weak and weary," +
"Over many a quaint and curious volume of forgotten lore," +
@@ -152,5 +153,3 @@ do{
if (__matched !== ALL_THE_HOPELESS_MORE) {
$ERROR('#1: __re = /([Nn]?ever|([Nn]othing\\s{1,}))more/g; __executed = __re.exec(__the__raven)'+__matched);
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T5.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T5.js
index 1625679e0..f6ba5c3fa 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T5.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T5.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true and lastIndex not changed manually,
- * next exec calling start to match from position where current match finished
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T5.js
- * @description RegExp is /\d+/g and tested string is "123 456 789"
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true and lastIndex not changed manually,
+ next exec calling start to match from position where current match finished
+description: RegExp is /\d+/g and tested string is "123 456 789"
+---*/
__re = /\d+/g;
@@ -36,5 +35,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#2: __executed = /\\d+/g.exec("123 456 789"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T6.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T6.js
index 3ab41a91c..207761cde 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T6.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T6.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true and lastIndex not changed manually,
- * next exec calling start to match from position where current match finished
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T6.js
- * @description RegExp is /(\d+)/g and tested string is "123 456 789"
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true and lastIndex not changed manually,
+ next exec calling start to match from position where current match finished
+description: RegExp is /(\d+)/g and tested string is "123 456 789"
+---*/
__re = /(\d+)/g;
@@ -36,5 +35,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#2: __executed = /(\\d+)/g.exec("123 456 789"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T7.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T7.js
index 1160c0ac0..d9a48ed58 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T7.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T7.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true and lastIndex not changed manually,
- * next exec calling start to match from position where current match finished
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A3_T7.js
- * @description RegExp is /\d+/ and tested string is "123 456 789"
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true and lastIndex not changed manually,
+ next exec calling start to match from position where current match finished
+description: RegExp is /\d+/ and tested string is "123 456 789"
+---*/
__re = /\d+/;
@@ -36,5 +35,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#2: __executed = /\\d+/.exec("123 456 789"); __matched[' + index + '] === ' + __expected[index] + '. Actual: ' + __matched[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T1.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T1.js
index 56d1f7e62..1b04a40fa 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T1.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T1.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T1.js
- * @description Call first exec, then set re.lastIndex = 12 and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: Call first exec, then set re.lastIndex = 12 and again call exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +67,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = 12; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T10.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T10.js
index 0d880dd0f..2ff8a1f9b 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T10.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T10.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.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T10.js
- * @description Call first exec, then set re.lastIndex = {valueOf:function(){return 12;}} and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: >
+ Call first exec, then set re.lastIndex =
+ {valueOf:function(){return 12;}} and again call exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -70,5 +71,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __obj = {valueOf:function(){return 12;}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T11.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T11.js
index 3a8a07cea..463d16510 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T11.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T11.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T11.js
- * @description Call first exec, then set re.lastIndex = {valueOf:function(){throw "intoint";}} and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: >
+ Call first exec, then set re.lastIndex = {valueOf:function(){throw
+ "intoint";}} and again call exec
+includes: [$FAIL.js]
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -51,5 +53,3 @@ try {
$ERROR('#5.2: __obj = {valueOf:function(){throw "intoint";}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42") throw "intoint". Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T12.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T12.js
index 44ae47514..dc5bbe899 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T12.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T12.js
@@ -1,13 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T12.js
- * @description Call first exec, then set re.lastIndex = {toString:function(){return 12;},valueOf:function(){return {};}} and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: >
+ Call first exec, then set re.lastIndex =
+ {toString:function(){return 12;},valueOf:function(){return {};}}
+ and again call exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -70,5 +72,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __obj = {toString:function(){return 12;},valueOf:function(){return {};}}; __re.lastIndex = __obj; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T2.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T2.js
index 485c6e7fa..638184c45 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T2.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_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.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T2.js
- * @description Call first exec, then set re.lastIndex = undefined and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: >
+ Call first exec, then set re.lastIndex = undefined and again call
+ exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +69,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = undefined; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T3.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T3.js
index 07daf65ea..54a891507 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T3.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T3.js
- * @description Call first exec, then set re.lastIndex = void 0 and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: Call first exec, then set re.lastIndex = void 0 and again call exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +67,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = void 0; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T4.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T4.js
index cfdb7a7bd..513dbbe0e 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T4.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T4.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T4.js
- * @description Call first exec, then set re.lastIndex = null and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: Call first exec, then set re.lastIndex = null and again call exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +67,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = null; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T5.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T5.js
index da1c8bc04..5c0d8561a 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T5.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T5.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.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T5.js
- * @description Call first exec, then set re.lastIndex = x and again call exec, where x is undefined variable
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: >
+ Call first exec, then set re.lastIndex = x and again call exec,
+ where x is undefined variable
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -70,4 +71,3 @@ for(var index=0; index<__expected.length; index++) {
}
var x;
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T6.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T6.js
index 482bb420f..2bfa2b1f8 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T6.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T6.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T6.js
- * @description Call first exec, then set re.lastIndex = false and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: Call first exec, then set re.lastIndex = false and again call exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +67,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = false; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T7.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T7.js
index 3d08c9098..f7d9fac24 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T7.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T7.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.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T7.js
- * @description Call first exec, then set re.lastIndex = Math.NaN and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: >
+ Call first exec, then set re.lastIndex = Math.NaN and again call
+ exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +69,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; re.lastIndex = Math.NaN; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T8.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T8.js
index 7d79fd939..97b017e92 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T8.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T8.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T8.js
- * @description Call first exec, then set re.lastIndex = "12" and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: Call first exec, then set re.lastIndex = "12" and again call exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +67,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g; __re.lastIndex = "12"; __executed = __re.exec("aacd2233ab12nm444ab42");__executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T9.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T9.js
index 3a001d425..6364fa4a5 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T9.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T9.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.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * If global is true next exec calling start to match from lastIndex position
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A4_T9.js
- * @description Call first exec, then set re.lastIndex = "eleven" and again call exec
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ If global is true next exec calling start to match from lastIndex position
+description: >
+ Call first exec, then set re.lastIndex = "eleven" and again call
+ exec
+---*/
__re = /(?:ab|cd)\d?/g;
@@ -68,5 +69,3 @@ for(var index=0; index<__expected.length; index++) {
$ERROR('#8: __re = /(?:ab|cd)\\d?/g;__re.lastIndex = "eleven"; __executed = __re.exec("aacd2233ab12nm444ab42"); __executed = __re.exec("aacd2233ab12nm444ab42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]);
}
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T1.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T1.js
index 36a518f16..782b99acb 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T1.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T1.js
@@ -1,14 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * Let global is true and let I = If ToInteger(lastIndex).
- * Then if I<0 orI>length then set lastIndex to 0 and return null
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T1.js
- * @description First call /(?:ab|cd)\d?/g.exec("aac1dz2233a1bz12nm444ab42"), and then First call /(?:ab|cd)\d?/g.exec("aacd22")
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ Let global is true and let I = If ToInteger(lastIndex).
+ Then if I<0 orI>length then set lastIndex to 0 and return null
+description: >
+ First call /(?:ab|cd)\d?/g.exec("aac1dz2233a1bz12nm444ab42"), and
+ then First call /(?:ab|cd)\d?/g.exec("aacd22")
+---*/
__re = /(?:ab|cd)\d?/g;
__executed = __re.exec("aac1dz2233a1bz12nm444ab42");
@@ -50,5 +51,3 @@ if (__executed) {
if (__re.lastIndex !== 0) {
$ERROR('#6: __re = /(?:ab|cd)\\d?/g; __executed = __re.exec("aacd22"); __re.lastIndex === 0. Actual: ' + (__re.lastIndex));
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T2.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T2.js
index 8de8ba885..9b0e20127 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T2.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T2.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * Let global is true and let I = If ToInteger(lastIndex).
- * Then if I<0 orI>length then set lastIndex to 0 and return null
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T2.js
- * @description Set lastIndex to 100 and call /(?:ab|cd)\d?/g.exec("aacd22 ")
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ Let global is true and let I = If ToInteger(lastIndex).
+ Then if I<0 orI>length then set lastIndex to 0 and return null
+description: "Set lastIndex to 100 and call /(?:ab|cd)\\d?/g.exec(\"aacd22 \")"
+---*/
__re = /(?:ab|cd)\d?/g;
__re.lastIndex=100;
@@ -23,5 +22,3 @@ if (__executed) {
if (__re.lastIndex !== 0) {
$ERROR('#2: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=100; __executed = __re.exec("aacd22 "); __re.lastIndex === 0. Actual: ' + (__re.lastIndex));
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T3.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T3.js
index 7e2d76626..b76dd8e75 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T3.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T3.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec behavior depends on global property.
- * Let global is true and let I = If ToInteger(lastIndex).
- * Then if I<0 orI>length then set lastIndex to 0 and return null
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A5_T3.js
- * @description Set lastIndex to -1 and call /(?:ab|cd)\d?/g.exec("aacd22 ")
- */
+/*---
+info: >
+ RegExp.prototype.exec behavior depends on global property.
+ Let global is true and let I = If ToInteger(lastIndex).
+ Then if I<0 orI>length then set lastIndex to 0 and return null
+description: "Set lastIndex to -1 and call /(?:ab|cd)\\d?/g.exec(\"aacd22 \")"
+---*/
__re = /(?:ab|cd)\d?/g;
__re.lastIndex=-1;
@@ -36,5 +35,3 @@ if (__executed) {
if (__re.lastIndex !== 0) {
$ERROR('#4: __re = /(?:ab|cd)\\d?/g; __re.lastIndex=-1; __executed = __re.test("aacd22 "); __re.lastIndex=-100; __executed = __re.test("aacd22 "); __re.lastIndex === 0. Actual: ' + (__re.lastIndex));
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A6.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A6.js
index 5e71a618c..56dd3d0aa 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A6.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A6.js
@@ -1,15 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * RegExp.prototype.exec has not prototype property
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A6.js
- * @description Checking RegExp.prototype.exec.prototype
- */
+/*---
+info: RegExp.prototype.exec has not prototype property
+description: Checking RegExp.prototype.exec.prototype
+---*/
//CHECK#1
if (RegExp.prototype.exec.prototype !== undefined) {
$ERROR('#1: RegExp.prototype.exec.prototype === undefined. Actual: ' + (RegExp.prototype.exec.prototype));
}
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A7.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A7.js
index 7285a2ab1..fa03dda1d 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A7.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A7.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.
-/**
- * RegExp.prototype.exec can't be used as constructor
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A7.js
- * @description Checking if creating the RegExp.prototype.exec object fails
- */
+/*---
+info: RegExp.prototype.exec can't be used as constructor
+description: Checking if creating the RegExp.prototype.exec object fails
+---*/
__FACTORY = RegExp.prototype.exec;
@@ -18,4 +16,3 @@ try {
$ERROR('#1.2: __FACTORY = RegExp.prototype.exec throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A8.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A8.js
index ffe5d7b01..cdf0f62ac 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A8.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A8.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 RegExp.prototype.exec.length property has the attribute DontEnum
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A8.js
- * @description Checking if enumerating the RegExp.prototype.exec.length property fails
- */
+/*---
+info: The RegExp.prototype.exec.length property has the attribute DontEnum
+description: >
+ Checking if enumerating the RegExp.prototype.exec.length property
+ fails
+---*/
//CHECK#0
if (RegExp.prototype.exec.hasOwnProperty('length') !== true) {
@@ -28,5 +28,3 @@ for (p in RegExp.prototype.exec){
if (count !== 0) {
$ERROR('#2: count = 0; for (p in RegExp.prototype.exec){ if (p==="length") count++; } count === 0. Actual: ' + (count));
}
-
-
diff --git a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A9.js b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A9.js
index 1e67a2125..762a6644b 100644
--- a/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A9.js
+++ b/test/suite/ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A9.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.
-/**
- * The RegExp.prototype.exec.length property has the attribute DontDelete
- *
- * @path ch15/15.10/15.10.6/15.10.6.2/S15.10.6.2_A9.js
- * @description Checking if deleting the RegExp.prototype.exec.length property fails
- */
+/*---
+info: The RegExp.prototype.exec.length property has the attribute DontDelete
+description: >
+ Checking if deleting the RegExp.prototype.exec.length property
+ fails
+includes: [$FAIL.js]
+---*/
//CHECK#0
if ((RegExp.prototype.exec.hasOwnProperty('length') !== true)) {
@@ -22,5 +23,3 @@ if (delete RegExp.prototype.exec.length !== false) {
if (RegExp.prototype.exec.hasOwnProperty('length') !== true) {
$ERROR('#2: delete RegExp.prototype.exec.length; RegExp.prototype.exec.hasOwnProperty(\'length\') === true');
}
-
-