diff options
author | Mark Miller <erights@gmail.com> | 2011-09-25 10:50:40 -0700 |
---|---|---|
committer | Mark Miller <erights@gmail.com> | 2011-09-25 10:50:40 -0700 |
commit | 8a52d9cc3313e81b0c5fdc4914d665f28baa8dc3 (patch) | |
tree | 5776a92346ce1b7fceabd47480a47680919b71fc /test | |
parent | e691523b51d718e04ff9f87e73ebd75dae501c52 (diff) |
Fixes https://bugs.ecmascript.org/show_bug.cgi?id=128
Diffstat (limited to 'test')
-rw-r--r-- | test/config/excludelist.xml | 1 | ||||
-rw-r--r-- | test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js | 19 |
2 files changed, 0 insertions, 20 deletions
diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml index 24b2299f4..423d540f4 100644 --- a/test/config/excludelist.xml +++ b/test/config/excludelist.xml @@ -132,7 +132,6 @@ <!-- Extension clause -->
<test id="S13.0_A5">https://bugs.ecmascript.org/show_bug.cgi?id=133</test>
- <test id="S15.10.4.1_A5_T5">https://bugs.ecmascript.org/show_bug.cgi?id=128</test>
<test id="S7.8.4_A4.3_T5">https://bugs.ecmascript.org/show_bug.cgi?id=127</test>
<test id="S7.8.4_A4.3_T6">https://bugs.ecmascript.org/show_bug.cgi?id=127</test>
diff --git a/test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js b/test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js deleted file mode 100644 index a9753166d..000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js +++ /dev/null @@ -1,19 +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.4.1_A5_T5;
-* @section: 15.10.4.1;
-* @assertion: If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception;
-* @description: Checking if using "{toString:function(){return "x";}}" as F leads to throwing the correct exception;
-*/
-
-//CHECK#1
-try {
- $ERROR('#1.1: new RegExp("a|b|[a-b]",{toString:function(){return "x" throw SyntaxError. Actual: ' + (new RegExp("a|b|[a-b]",{toString:function(){return "x"}})));
-} catch (e) {
- if ((e instanceof SyntaxError) !== true) {
- $ERROR('#1.2: new RegExp("a|b|[a-b]",{toString:function(){return "x" throw SyntaxError. Actual: ' + (e));
- }
-}
-
|