aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.5/15.5.4/15.5.4.7
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.5/15.5.4/15.5.4.7')
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A10.js14
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A11.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T1.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T10.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T11.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T12.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T2.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T4.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T5.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T6.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T7.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T8.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T9.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T1.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T2.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T3.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T4.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T1.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T2.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T3.js15
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T1.js15
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T2.js17
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T3.js14
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T4.js15
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T5.js17
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T1.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T2.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T3.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T4.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T5.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T6.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A6.js11
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A7.js14
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A8.js13
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A9.js14
35 files changed, 191 insertions, 250 deletions
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A10.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A10.js
index 97fa3828d..faf463d24 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A10.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A10.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 String.prototype.indexOf.length property has the attribute ReadOnly
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A10.js
- * @description Checking if varying the String.prototype.indexOf.length property fails
- */
+/*---
+info: The String.prototype.indexOf.length property has the attribute ReadOnly
+description: >
+ Checking if varying the String.prototype.indexOf.length property
+ fails
+includes: [$FAIL.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -27,4 +28,3 @@ if (String.prototype.indexOf.length !== __obj) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A11.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A11.js
index 7531afe14..4a84304b5 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A11.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_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.
-/**
- * The length property of the indexOf method is 1
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A11.js
- * @description Checking String.prototype.indexOf.length
- */
+/*---
+info: The length property of the indexOf method is 1
+description: Checking String.prototype.indexOf.length
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -23,4 +21,3 @@ if (String.prototype.indexOf.length !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T1.js
index fdfd829ac..2f8f0890c 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T1.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T1.js
- * @description Arguments are false and true, and instance is object
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: Arguments are false and true, and instance is object
+---*/
var __instance = new Object(true);
@@ -19,4 +17,3 @@ if (__instance.indexOf(true, false) !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T10.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T10.js
index d43e2b48c..e05e2fddd 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T10.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T10.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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T10.js
- * @description Call indexOf(searchString, position) function with object arguments
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: Call indexOf(searchString, position) function with object arguments
+---*/
var __obj = {toString:function(){return "\u0041B";}}
var __obj2 = {valueOf:function(){return true;}}
@@ -23,4 +21,3 @@ with(__str){
//////////////////////////////////////////////////////////////////////////////
var x;
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T11.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T11.js
index f952ceb23..7cd35bef6 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T11.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T11.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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T11.js
- * @description Instance is Date(0) object
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: Instance is Date(0) object
+---*/
var __instance = new Date(0);
@@ -19,4 +17,3 @@ if ((__instance.getTimezoneOffset()>0 ? __instance.indexOf('31') : __instance.in
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T12.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T12.js
index f6bbcde90..99ff9a8ee 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T12.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T12.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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T12.js
- * @description Argument is string, and instance is array of strings
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: Argument is string, and instance is array of strings
+---*/
var __instance = new Array('new','zoo','revue');
@@ -25,4 +23,3 @@ if (__instance.indexOf('zoo') !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T2.js
index 0e4fc8da5..972c4a7dd 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T2.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T2.js
- * @description Arguments are boolean equation, function and null, and instance is Boolean object
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: >
+ Arguments are boolean equation, function and null, and instance is
+ Boolean object
+---*/
var __instance = new Boolean;
@@ -19,4 +19,3 @@ if (__instance.indexOf("A"!=="\u0041", function(){return 0;}(),null) !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T4.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T4.js
index 1339dda27..4051930f8 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T4.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T4.js
- * @description Call indexOf(searchString, position) function without arguments of string
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: >
+ Call indexOf(searchString, position) function without arguments of
+ string
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -16,4 +16,3 @@ if ("".indexOf() !== -1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T5.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T5.js
index b397ff385..aea257a42 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T5.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T5.js
- * @description Call indexOf(searchString, position) function with null argument of function object
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: >
+ Call indexOf(searchString, position) function with null argument
+ of function object
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -16,4 +16,3 @@ if (function(){return "gnulluna"}().indexOf(null) !== 1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T6.js
index 97c926bba..2e7367345 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T6.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T6.js
- * @description Call indexOf(searchString, position) function with x argument of new String object, where x is undefined variable
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: >
+ Call indexOf(searchString, position) function with x argument of
+ new String object, where x is undefined variable
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -18,4 +18,3 @@ if (new String("undefined").indexOf(x) !== 0) {
//////////////////////////////////////////////////////////////////////////////
var x;
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T7.js
index 4b18ea23f..88e8b63d8 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T7.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T7.js
- * @description Call indexOf(searchString, position) function with undefined argument of string object
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: >
+ Call indexOf(searchString, position) function with undefined
+ argument of string object
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -16,4 +16,3 @@ if (String("undefined").indexOf(undefined) !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T8.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T8.js
index 14219aa0d..a21b2966d 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T8.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T8.js
- * @description Call indexOf(searchString, position) function with void 0 argument of string object
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: >
+ Call indexOf(searchString, position) function with void 0 argument
+ of string object
+---*/
var __obj = {toString:function(){}};
@@ -18,4 +18,3 @@ if (String(__obj).indexOf(void 0) !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T9.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T9.js
index c13d6c4de..1c1e375e7 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T9.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_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.
-/**
- * String.prototype.indexOf(searchString, position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T9.js
- * @description Call indexOf(searchString, position) function with function(){}() argument of string object
- */
+/*---
+info: String.prototype.indexOf(searchString, position)
+description: >
+ Call indexOf(searchString, position) function with function(){}()
+ argument of string object
+---*/
var __obj = {
valueOf:function(){},
@@ -21,4 +21,3 @@ if (new String(__obj).indexOf(function(){}()) !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T1.js
index e7f880dd7..4a8782131 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T1.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When length of searchString less than length of ToString(this) -1 returns
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T1.js
- * @description Call "abcd".indexOf("abcdab") and check result
- */
+/*---
+info: When length of searchString less than length of ToString(this) -1 returns
+description: Call "abcd".indexOf("abcdab") and check result
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +13,3 @@ if ("abcd".indexOf("abcdab")!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T2.js
index 65087c437..7a607130c 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T2.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_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.
-/**
- * When length of searchString less than length of ToString(this) -1 returns
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T2.js
- * @description Call "abcd".indexOf("abcdab",0) and check result
- */
+/*---
+info: When length of searchString less than length of ToString(this) -1 returns
+description: Call "abcd".indexOf("abcdab",0) and check result
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +13,3 @@ if ("abcd".indexOf("abcdab",0)!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T3.js
index 8420f3402..6e64c0870 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T3.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T3.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.
-/**
- * When length of searchString less than length of ToString(this) -1 returns
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T3.js
- * @description Call "abcd".indexOf("abcdab",99) and check result
- */
+/*---
+info: When length of searchString less than length of ToString(this) -1 returns
+description: Call "abcd".indexOf("abcdab",99) and check result
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +13,3 @@ if ("abcd".indexOf("abcdab",99)!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T4.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T4.js
index 28c766db7..941f4ab06 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T4.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T4.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.
-/**
- * When length of searchString less than length of ToString(this) -1 returns
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A2_T4.js
- * @description Call "abcd".indexOf("abcdab",NaN) and check result
- */
+/*---
+info: When length of searchString less than length of ToString(this) -1 returns
+description: Call "abcd".indexOf("abcdab",NaN) and check result
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +13,3 @@ if ("abcd".indexOf("abcdab",NaN)!==-1) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T1.js
index 5264ebdc0..6954ab70f 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T1.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T1.js
- * @description Call "$$abcdabcd".indexOf("ab",NaN) and check result
- */
+/*---
+info: >
+ Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0
+ indexOf(searchString,0) returns
+description: Call "$$abcdabcd".indexOf("ab",NaN) and check result
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +15,3 @@ if ("$$abcdabcd".indexOf("ab",NaN)!==2) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T2.js
index 4820875d3..4a1ca4cc1 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T2.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_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.
-/**
- * Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T2.js
- * @description Call "$$abcdabcd".indexOf("ab",eval("\"-99\"")) and check result
- */
+/*---
+info: >
+ Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0
+ indexOf(searchString,0) returns
+description: Call "$$abcdabcd".indexOf("ab",eval("\"-99\"")) and check result
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +15,3 @@ if ("$$abcdabcd".indexOf("ab",eval("\"-99\""))!==2) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T3.js
index bccc2e6b3..7917bb914 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T3.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T3.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.
-/**
- * Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0 indexOf(searchString,0) returns
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A3_T3.js
- * @description Call "$$abcdabcd".indexOf("ab",function(){return -Infinity;}()) and check result
- */
+/*---
+info: >
+ Since we deal with max(ToInteger(pos), 0) if ToInteger(pos) less than 0
+ indexOf(searchString,0) returns
+description: >
+ Call "$$abcdabcd".indexOf("ab",function(){return -Infinity;}())
+ and check result
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +17,3 @@ if ("$$abcdabcd".indexOf("ab", function(){return -Infinity;}())!==2) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T1.js
index d47dfdf7d..014f6f3ba 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T1.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_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.
-/**
- * when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
- * Then Call ToString(searchString) and Call ToNumber(position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T1.js
- * @description Override toString and valueOf functions, valueOf throw exception
- */
+/*---
+info: >
+ when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
+ Then Call ToString(searchString) and Call ToNumber(position)
+description: Override toString and valueOf functions, valueOf throw exception
+includes: [$FAIL.js]
+---*/
var __obj = {toString:function(){return "\u0041B";}}
var __obj2 = {valueOf:function(){throw "intointeger";}}
@@ -29,4 +29,3 @@ with(__str){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T2.js
index 0960e05f3..8808c0815 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T2.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T2.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.
-/**
- * when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
- * Then Call ToString(searchString) and Call ToNumber(position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T2.js
- * @description Override toString and valueOf functions, second toString throw exception
- */
+/*---
+info: >
+ when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
+ Then Call ToString(searchString) and Call ToNumber(position)
+description: >
+ Override toString and valueOf functions, second toString throw
+ exception
+includes: [$FAIL.js]
+---*/
var __obj = {toString:function(){return "\u0041B";}}
var __obj2 = {valueOf:function(){return {};},toString:function(){throw "intointeger";}}
@@ -27,4 +29,3 @@ with(__str){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T3.js
index 978293a6f..623291646 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T3.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_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.
-/**
- * when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
- * Then Call ToString(searchString) and Call ToNumber(position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T3.js
- * @description Override toString and valueOf functions
- */
+/*---
+info: >
+ when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
+ Then Call ToString(searchString) and Call ToNumber(position)
+description: Override toString and valueOf functions
+---*/
var __obj = {toString:function(){return "\u0041B";}}
var __obj2 = {valueOf:function(){return {};},toString:function(){return "1";}}
@@ -19,4 +18,3 @@ if ("ABB\u0041BABAB".indexOf(__obj, __obj2)!==3) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T4.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T4.js
index 3783f73c6..b18a57532 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T4.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T4.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.
-/**
- * when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
- * Then Call ToString(searchString) and Call ToNumber(position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T4.js
- * @description Override toString and valueOf functions, and they throw exceptions
- */
+/*---
+info: >
+ when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
+ Then Call ToString(searchString) and Call ToNumber(position)
+description: Override toString and valueOf functions, and they throw exceptions
+includes: [$FAIL.js]
+---*/
var __obj = {toString:function(){throw "intostr";}};
var __obj2 = {valueOf:function(){throw "intoint";}};
@@ -28,4 +28,3 @@ with(__instance){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T5.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T5.js
index 1bd6fcb86..b50363b04 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T5.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_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.
-/**
- * when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
- * Then Call ToString(searchString) and Call ToNumber(position)
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A4_T5.js
- * @description Override toString and valueOf functions, first and second valueOf throw exception
- */
+/*---
+info: >
+ when String.prototype.indexOf(searchString, position) is called first Call ToString, giving it the this value as its argument.
+ Then Call ToString(searchString) and Call ToNumber(position)
+description: >
+ Override toString and valueOf functions, first and second valueOf
+ throw exception
+includes: [$FAIL.js]
+---*/
var __obj = {toString:function(){return {};},valueOf:function(){throw "intostr";}};
@@ -35,4 +37,3 @@ function __FACTORY( value ) {
this.toString = function() { return new Number; };
this.valueOf=function(){return this.value+""};
}
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T1.js
index a71670742..345d861a0 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T1.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_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.
-/**
- * String.prototype.indexOf works properly
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T1.js
- * @description Search one symbol from begin of string
- */
+/*---
+info: String.prototype.indexOf works properly
+description: Search one symbol from begin of string
+---*/
var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" );
@@ -19,4 +17,3 @@ for (var k = 0, i = 0x0020; i < 0x007e; i++, k++ ) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T2.js
index bb5170215..be2955e0e 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T2.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_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.
-/**
- * String.prototype.indexOf works properly
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T2.js
- * @description Search one symbol from it`s position in the string
- */
+/*---
+info: String.prototype.indexOf works properly
+description: Search one symbol from it`s position in the string
+---*/
var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" );
@@ -19,4 +17,3 @@ for (var k = 0, i = 0x0020; i < 0x007e; i++, k++ ) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T3.js
index 63ac59304..1e441620f 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T3.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T3.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.
-/**
- * String.prototype.indexOf works properly
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T3.js
- * @description Search one symbol from it`s position+1 in the string
- */
+/*---
+info: String.prototype.indexOf works properly
+description: Search one symbol from it`s position+1 in the string
+---*/
var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" );
@@ -19,4 +17,3 @@ for ( var k = 0, i = 0x0020; i < 0x007e; i++, k++ ) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T4.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T4.js
index acb405bd5..35c82e264 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T4.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T4.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.
-/**
- * String.prototype.indexOf works properly
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T4.js
- * @description Search substring from begin of string
- */
+/*---
+info: String.prototype.indexOf works properly
+description: Search substring from begin of string
+---*/
var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" );
@@ -19,4 +17,3 @@ for (var k = 0, i = 0x0020; i < 0x007d; i++, k++ ) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T5.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T5.js
index 4882bd16c..9f584d83b 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T5.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T5.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.
-/**
- * String.prototype.indexOf works properly
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T5.js
- * @description Search substring from it`s position in the string
- */
+/*---
+info: String.prototype.indexOf works properly
+description: Search substring from it`s position in the string
+---*/
var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" );
@@ -19,4 +17,3 @@ for ( var k = 0, i = 0x0020; i < 0x007d; i++, k++ ) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T6.js
index 46ee650e8..5008611b5 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T6.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T6.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.
-/**
- * String.prototype.indexOf works properly
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A5_T6.js
- * @description Search substring from it`s position+1 in the string
- */
+/*---
+info: String.prototype.indexOf works properly
+description: Search substring from it`s position+1 in the string
+---*/
var TEST_STRING = new String( " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" );
@@ -19,4 +17,3 @@ for (var k = 0, i = 0x0020; i < 0x007d; i++, k++ ) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A6.js
index b7b2773fe..4a92be07e 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A6.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A6.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.
-/**
- * String.prototype.indexOf has not prototype property
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A6.js
- * @description Checking String.prototype.indexOf.prototype
- */
+/*---
+info: String.prototype.indexOf has not prototype property
+description: Checking String.prototype.indexOf.prototype
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -15,4 +13,3 @@ if (String.prototype.indexOf.prototype !== undefined) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A7.js
index e9fda93c9..912a7c2de 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A7.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A7.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.
-/**
- * String.prototype.indexOf can't be used as constructor
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A7.js
- * @description Checking if creating the String.prototype.indexOf object fails
- */
+/*---
+info: String.prototype.indexOf can't be used as constructor
+description: Checking if creating the String.prototype.indexOf object fails
+includes:
+ - $PRINT.js
+ - $FAIL.js
+---*/
var __FACTORY = String.prototype.indexOf;
@@ -19,4 +20,3 @@ try {
}
$PRINT(e);
}
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A8.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A8.js
index 99a509ed3..15a710450 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A8.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_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 String.prototype.indexOf.length property has the attribute DontEnum
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A8.js
- * @description Checking if enumerating the String.prototype.indexOf.length property fails
- */
+/*---
+info: The String.prototype.indexOf.length property has the attribute DontEnum
+description: >
+ Checking if enumerating the String.prototype.indexOf.length
+ property fails
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#0
@@ -38,4 +38,3 @@ if (count !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A9.js b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A9.js
index 61f691344..3dedb7661 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A9.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_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 String.prototype.indexOf.length property has the attribute DontDelete
- *
- * @path ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A9.js
- * @description Checking if deleting the String.prototype.indexOf.length property fails
- */
+/*---
+info: The String.prototype.indexOf.length property has the attribute DontDelete
+description: >
+ Checking if deleting the String.prototype.indexOf.length property
+ fails
+includes: [$FAIL.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#0
@@ -31,4 +32,3 @@ if (!(String.prototype.indexOf.hasOwnProperty('length'))) {
}
//
//////////////////////////////////////////////////////////////////////////////
-