Mark Miller 2011-09-25 11:48:37 -07:00
parent 72a64280ae
commit 58740a7088
2 changed files with 0 additions and 19 deletions

View File

@ -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>

View File

@ -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());
}