Skip to content
Snippets Groups Projects
Commit 58740a70 authored by Mark Miller's avatar Mark Miller
Browse files
parent 72a64280
No related branches found
No related tags found
No related merge requests found
...@@ -107,8 +107,6 @@ ...@@ -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_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="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.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> <test id="S15.5.4.8_A1_T11">https://bugs.ecmascript.org/show_bug.cgi?id=30</test>
......
// 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());
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment