From 58740a7088ec22a7c87321349b5fc35fa53ed6fa Mon Sep 17 00:00:00 2001 From: Mark Miller <erights@gmail.com> Date: Sun, 25 Sep 2011 11:48:37 -0700 Subject: [PATCH] https://bugs.ecmascript.org/show_bug.cgi?id=22 --- test/config/excludelist.xml | 2 -- .../S15.10.6_A2.js | 17 ----------------- 2 files changed, 19 deletions(-) delete mode 100644 test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml index 1940aab824..842be06402 100644 --- a/test/config/excludelist.xml +++ b/test/config/excludelist.xml @@ -107,8 +107,6 @@ <test id="S7.8.4_A4.3_T3">https://bugs.ecmascript.org/show_bug.cgi?id=80</test> <test id="S7.8.4_A4.3_T4">https://bugs.ecmascript.org/show_bug.cgi?id=80</test> - <test id="S15.10.6_A2">https://bugs.ecmascript.org/show_bug.cgi?id=22</test> - <test id="S15.5.4.10_A1_T3">https://bugs.ecmascript.org/show_bug.cgi?id=23</test> <test id="S15.5.4.8_A1_T11">https://bugs.ecmascript.org/show_bug.cgi?id=30</test> diff --git a/test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js b/test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js deleted file mode 100644 index a9c5a22563..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js +++ /dev/null @@ -1,17 +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.10.6_A2; -* @section: 15.10.6; -* @assertion: The value of the internal [[Class]] property of the RegExp prototype object is "Object"; -* @description: Checking performs with toString function; -*/ - -RegExp.prototype.toString = Object.prototype.toString; - -//CHECK#1 -if (RegExp.prototype.toString() !== "[object " + "Object" + "]") { - $ERROR('#1: RegExp.prototype.toString = Object.prototype.toString; RegExp.prototype.toString() === "[object " + "Object" + "]". Actual: ' + RegExp.prototype.toString()); -} - -- GitLab