diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml index 2946a7c4ce..13c89c474c 100644 --- a/test/config/excludelist.xml +++ b/test/config/excludelist.xml @@ -104,33 +104,6 @@ https://bugs.ecmascript.org/show_bug.cgi?id=15 https://bugs.ecmascript.org/show_bug.cgi?id=15 - - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=18 - https://bugs.ecmascript.org/show_bug.cgi?id=80 @@ -154,22 +127,8 @@ https://bugs.ecmascript.org/show_bug.cgi?id=25 - https://bugs.ecmascript.org/show_bug.cgi?id=27 - https://bugs.ecmascript.org/show_bug.cgi?id=27 - https://bugs.ecmascript.org/show_bug.cgi?id=27 - https://bugs.ecmascript.org/show_bug.cgi?id=27 - https://bugs.ecmascript.org/show_bug.cgi?id=27 - - https://bugs.ecmascript.org/show_bug.cgi?id=28 - https://bugs.ecmascript.org/show_bug.cgi?id=28 - - https://bugs.ecmascript.org/show_bug.cgi?id=29 - https://bugs.ecmascript.org/show_bug.cgi?id=29 - https://bugs.ecmascript.org/show_bug.cgi?id=30 - https://bugs.ecmascript.org/show_bug.cgi?id=31 - https://bugs.ecmascript.org/show_bug.cgi?id=58 https://bugs.ecmascript.org/show_bug.cgi?id=58 https://bugs.ecmascript.org/show_bug.cgi?id=58 @@ -184,16 +143,6 @@ https://bugs.ecmascript.org/show_bug.cgi?id=69 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=117 - https://bugs.ecmascript.org/show_bug.cgi?id=120 https://bugs.ecmascript.org/show_bug.cgi?id=120 diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js deleted file mode 100644 index bcef568b33..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A1_T3; -* @section: 15.5.4.11; -* @assertion: String.prototype.replace (searchValue, replaceValue); -* @description: Checking by using eval; -*/ - -replace = String.prototype.replace; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -__class__ = toString(); -__toggle = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -__replaced = replace(eval("\"b\""),"^"); - -__golden = ""; -for(var i=0; i<__class__.length; i++) { - if ((__class__.charAt(i)==="b")&&(__toggle)) { - __golden+="^"; - __toggle = 0; - } else { - __golden+=__class__.charAt(i); - } - -} -if (__replaced !==__golden) { - $ERROR('#1: __replaced ===__golden. Actual: '+__replaced ); -} -// -////////////////////////////////////////////////////////////////////////////// diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js deleted file mode 100644 index a27b22d3fe..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3.js +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.12_A1_T3; -* @section: 15.5.4.12; -* @assertion: String.prototype.search (regexp); -* @description: Checking by using eval; -*/ - -var search = String.prototype.search; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (search(eval("\"bj\"")) !== 2) { - $ERROR('#1: search = String.prototype.search; search(eval("\\"bj\\"")) === 2. Actual: '+search(eval("\"bj\"")) ); -} -// -////////////////////////////////////////////////////////////////////////////// diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js deleted file mode 100644 index a7e3b069c5..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3.js +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.13_A1_T3; -* @section: 15.5.4.13; -* @assertion: String.prototype.slice (start, end); -* @description: Checking by using eval; -*/ - -var slice = String.prototype.slice; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); -var __toggle = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (slice(eval("\"1\""),{valueOf:function(){return "0x0007"}})!=="object") { - $ERROR('#1: slice = String.prototype.slice; slice(eval("\\"1\\""),{valueOf:function(){return "0x0007"}})==="object". Actual: '+slice(eval("\"1\""),{valueOf:function(){return "0x0007"}})); -}; -// -////////////////////////////////////////////////////////////////////////////// diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js deleted file mode 100644 index b20f836ff5..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3.js +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.15_A1_T3; -* @section: 15.5.4.15; -* @assertion: String.prototype.substring (start, end); -* @description: Checking by using eval; -*/ - -var substring = String.prototype.substring; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); -var __toggle = 1; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (substring(eval("\"1\""),{valueOf:function(){return "0x0007"}})!=="object") { - $ERROR('#1: substring(eval("\\"1\\""),{valueOf:function(){return "0x0007"}})==="object". Actual: '+substring(eval("\"1\""),{valueOf:function(){return "0x0007"}})); -}; -// -////////////////////////////////////////////////////////////////////////////// diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js deleted file mode 100644 index 5fb9bab480..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3.js +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.4_A1_T3; -* @section: 15.5.4.4; -* @assertion: String.prototype.charAt(pos); -* @description: Use numbers and strings as pos; -*/ - -var charAt = String.prototype.charAt; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (charAt("1") + charAt(2) + charAt("3") + charAt(4) + charAt("5") + charAt(6) !== "object") { - $ERROR('#1: charAt = String.prototype.charAt; charAt("1") + charAt(2) + charAt("3") + charAt(4) + charAt("5") + charAt(6) === "object". Actual: '+charAt("1") + charAt(2) + charAt("3") + charAt(4) + charAt("5") + charAt(6) ); -} -// -////////////////////////////////////////////////////////////////////////////// diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js deleted file mode 100644 index e1ae18abe1..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3.js +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.5_A1_T3; -* @section: 15.5.4.5; -* @assertion: String.prototype.charCodeAt(pos); -* @description: Use numbers and strings as pos; -*/ - -var charCodeAt = String.prototype.charCodeAt; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (charCodeAt("2") !== 0x62) { - $ERROR('#1: charCodeAt = String.prototype.charCodeAt; charCodeAt("2") === 0x62. Actual: '+charCodeAt("2") ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (charCodeAt(3) !== 0x6A) { - $ERROR('#2: charCodeAt = String.prototype.charCodeAt; charCodeAt(3) === 0x6A. Actual: '+charCodeAt(3) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (charCodeAt("4") !== 0x65) { - $ERROR('#3: charCodeAt = String.prototype.charCodeAt; charCodeAt("4") === 0x65. Actual: '+charCodeAt("4") ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#4 -if (charCodeAt(5) !== 0x63) { - $ERROR('#4: charCodeAt = String.prototype.charCodeAt; charCodeAt(5) === 0x63. Actual: '+charCodeAt(5) ); -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#5 -if (charCodeAt("6") !== 0x74) { - $ERROR('#5: charCodeAt = String.prototype.charCodeAt; charCodeAt("6") === 0x74. Actual: '+charCodeAt("6") ); -} -// -////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js deleted file mode 100644 index 9ee53c78f6..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.6_A1_T3; -* @section: 15.5.4.6; -* @assertion: String.prototype.concat([,[...]]); -* @description: Use numbers and function object as arguments; -*/ - -var concat = String.prototype.concat; - -var __obj5 = {toString:function(){return 5;}}; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (concat(1,2,3,4,__obj5)!=__class__+"12345") { - $ERROR('#1: concat = String.prototype.concat; concat(1,2,3,4,__obj5)==__class__+"12345". Actual: concat(1,2,3,4,__obj5)=='+concat(1,2,3,4,__obj5)); -} -// -////////////////////////////////////////////////////////////////////////////// diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js deleted file mode 100644 index 70ad52b905..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.7_A1_T3; -* @section: 15.5.4.7; -* @assertion: String.prototype.indexOf(searchString, position); -* @description: Checking by using eval; -*/ - -var indexOf = String.prototype.indexOf; - -var __obj__pos = {valueOf:function(){return 5;}}; - -if (typeof toString === "undefined"){ - toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (indexOf(eval("\"[\""),__obj__pos)!=-1) { - $ERROR('#1: indexOf = String.prototype.indexOf; indexOf(eval("\\"[\\""),__obj__pos)==-1. Actual: indexOf(eval("\\"[\\""),__obj__pos)=='+indexOf(eval("\"[\""),__obj__pos)); -} -// -////////////////////////////////////////////////////////////////////////////// diff --git a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js b/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js deleted file mode 100644 index a81622ed55..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T3; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Checking by using eval; -*/ - -var lastIndexOf = String.prototype.lastIndexOf; - -var __obj__pos = {valueOf:function(){return 7;}}; - -if (typeof toString === "undefined"){ - var toString = Object.prototype.toString; -} - -var __class__ = toString(); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (lastIndexOf(eval("\"[\""),__obj__pos)!= 0) { - $ERROR('#1: lastIndexOf(eval("\\"[\\""),__obj__pos)== 0. Actual: '+lastIndexOf(eval("\"[\""),__obj__pos)); -} -// -//////////////////////////////////////////////////////////////////////////////