7.8.5-01.js |
BEGIN TEST *
************ |
791 |
15.5.4.11.js |
|
9053 |
15.10.5-01.js |
BEGIN TEST *
************ |
420 |
15.10.6.2-2.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
8439 |
15.10.7.5-01.js |
BEGIN TEST *
************ |
1630 |
browser.js |
|
0 |
character-class-escape-s.js |
Generated by make_unicode.py DO NOT MODIFY |
1913 |
character-escape-class-s-mongolian-vowel-separator.js |
|
1178 |
class-null.js |
|
365 |
compile-lastIndex.js |
BEGIN TEST *
************ |
2813 |
compile-symbol.js |
|
486 |
constructor-constructor.js |
|
1872 |
constructor-IsRegExp.js |
|
1721 |
constructor-ordering-2.js |
|
596 |
constructor-ordering.js |
|
435 |
constructor-regexp-unicode.js |
|
297 |
constructor-regexp.js |
|
1396 |
constructor-symbol.js |
|
596 |
control_characters.js |
Filename: control_characters.js
Description: 'Tests regular expressions containing .'
Author: Nick Lerissa
Date: April 8, 1998
|
1311 |
cross-compartment-getter.js |
|
1232 |
descriptor.js |
|
606 |
empty-lookahead.js |
|
151 |
escape.js |
|
2142 |
everything.js |
Filename: everything.js
Description: 'Tests regular expressions'
Author: Nick Lerissa
Date: March 24, 1998
|
2254 |
exec-002.js |
File Name: RegExp/exec-002.js
ECMA Section: 15.7.5.3
Description: Based on ECMA 2 Draft 7 February 1999
Test cases provided by rogerl@netscape.com
Author: christine@netscape.com
Date: 19 February 1999
|
3339 |
exec-lastIndex-negative.js |
|
609 |
exec-lastIndex-ToInteger.js |
BEGIN TEST *
************ |
952 |
exec.js |
BEGIN TEST *
************ |
7421 |
flag-accessors.js |
|
1189 |
flags-param-handling.js |
|
833 |
flags.js |
|
950 |
getter-name.js |
|
960 |
ignoreCase-multiple.js |
|
2826 |
ignoreCase-non-latin1-to-latin1.js |
|
4372 |
instance-property-storage-introspection.js |
BEGIN TEST *
************ |
4299 |
lastIndex-exec.js |
|
2817 |
lastIndex-match-or-replace.js |
|
4701 |
lastIndex-nonwritable.js |
|
759 |
lastIndex-search.js |
|
4024 |
match-local-tolength-recompilation.js |
|
2151 |
match-this.js |
|
377 |
match-trace.js |
|
4258 |
match.js |
|
912 |
multiline-001.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1752 |
octal-001.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2005 |
octal-002.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2499 |
octal-003.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2760 |
oom-in-construction.js |
|
376 |
perlstress-001.js |
Date: 2002-07-07
SUMMARY: Testing JS RegExp engine against Perl 5 RegExp engine.
Adjust cnLBOUND, cnUBOUND below to restrict which sections are tested.
This test was created by running various patterns and strings through the
Perl 5 RegExp engine. We saved the results below to test the JS engine.
NOTE: ECMA/JS and Perl do differ on certain points. We have either commented
out such sections altogether, or modified them to fit what we expect from JS.
EXAMPLES:
- In JS, regexp captures (/(a) etc./) must hold |undefined| if not used.
See http://bugzilla.mozilla.org/show_bug.cgi?id=123437.
By contrast, in Perl, unmatched captures hold the empty string.
We have modified such sections accordingly. Example:
pattern = /^([^a-z])|(\^)$/;
string = '.';
actualmatch = string.match(pattern);
//expectedmatch = Array('.', '.', ''); <<<--- Perl
expectedmatch = Array('.', '.', undefined); <<<--- JS
addThis();
- In JS, you can't refer to a capture before it's encountered & completed
- Perl supports ] & ^] inside a [], ECMA does not
- ECMA does support (?: (?= and (?! operators, but doesn't support (?< etc.
- ECMA doesn't support (?imsx or (?-imsx
- ECMA doesn't support (?(condition)
- Perl has \Z has end-of-line, ECMA doesn't
- In ECMA, ^ matches only the empty string before the first character
- In ECMA, $ matches only the empty string at end of input (unless multiline)
- ECMA spec says that each atom in a range must be a single character
- ECMA doesn't support \A
- ECMA doesn't have rules for [:
|
75121 |
perlstress-002.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
35951 |
properties-001.js |
File Name: RegExp/properties-001.js
ECMA Section: 15.7.6.js
Description: Based on ECMA 2 Draft 7 February 1999
Author: christine@netscape.com
Date: 19 February 1999
|
2734 |
properties-002.js |
File Name: RegExp/properties-002.js
ECMA Section: 15.7.6.js
Description: Based on ECMA 2 Draft 7 February 1999
Author: christine@netscape.com
Date: 19 February 1999
|
3715 |
prototype-different-global.js |
|
987 |
prototype.js |
|
1296 |
regexp-enumerate-001.js |
File Name: regexp-enumerate-001.js
ECMA V2 Section:
Description: Regression Test.
If instance Native Object have properties that are enumerable,
JavaScript enumerated through the properties twice. This only
happened if objects had been instantiated, but their properties
had not been enumerated. ie, the object inherited properties
from its prototype that are enumerated.
In the core JavaScript, this is only a problem with RegExp
objects, since the inherited properties of most core JavaScript
objects are not enumerated.
Author: christine@netscape.com, pschwartau@netscape.com
Date: 12 November 1997
Modified: 14 July 2002
Reason: See http://bugzilla.mozilla.org/show_bug.cgi?id=155291
ECMA-262 Ed.3 Sections 15.10.7.1 through 15.10.7.5
RegExp properties should be DontEnum
|
2245 |
regexp-space-character-class.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
975 |
RegExp_dollar_number.js |
Filename: RegExp_dollar_number.js
Description: 'Tests RegExps $1, ..., $9 properties'
Author: Nick Lerissa
Date: March 12, 1998
|
2882 |
RegExp_lastMatch.js |
Filename: RegExp_lastMatch.js
Description: 'Tests RegExps lastMatch property'
Author: Nick Lerissa
Date: March 12, 1998
|
1719 |
RegExp_lastMatch_as_array.js |
Filename: RegExp_lastMatch_as_array.js
Description: 'Tests RegExps $& property (same tests as RegExp_lastMatch.js but using $&)'
Author: Nick Lerissa
Date: March 13, 1998
|
1700 |
RegExp_lastParen.js |
Filename: RegExp_lastParen.js
Description: 'Tests RegExps lastParen property'
Author: Nick Lerissa
Date: March 12, 1998
|
2267 |
RegExp_lastParen_as_array.js |
Filename: RegExp_lastParen_as_array.js
Description: 'Tests RegExps $+ property (same tests as RegExp_lastParen.js but using $+)'
Author: Nick Lerissa
Date: March 13, 1998
|
2246 |
RegExp_leftContext.js |
Filename: RegExp_leftContext.js
Description: 'Tests RegExps leftContext property'
Author: Nick Lerissa
Date: March 12, 1998
|
1883 |
RegExp_leftContext_as_array.js |
Filename: RegExp_leftContext_as_array.js
Description: 'Tests RegExps leftContext property (same tests as RegExp_leftContext.js but using $`)'
Author: Nick Lerissa
Date: March 12, 1998
|
1817 |
RegExp_object.js |
Filename: RegExp_object.js
Description: 'Tests regular expressions creating RexExp Objects'
Author: Nick Lerissa
Date: March 10, 1998
|
2078 |
RegExp_rightContext.js |
Filename: RegExp_rightContext.js
Description: 'Tests RegExps rightContext property'
Author: Nick Lerissa
Date: March 12, 1998
|
1908 |
RegExp_rightContext_as_array.js |
Filename: RegExp_rightContext_as_array.js
Description: 'Tests RegExps $\' property (same tests as RegExp_rightContext.js but using $\)'
Author: Nick Lerissa
Date: March 12, 1998
|
1825 |
RegExpExec-exec-type-check.js |
|
199 |
RegExpExec-exec.js |
|
557 |
RegExpExec-return.js |
|
679 |
regress-001.js |
File Name: RegExp/regress-001.js
ECMA Section: N/A
Description: Regression test case:
JS regexp anchoring on empty match bug
http://bugzilla.mozilla.org/show_bug.cgi?id=2157
Author: christine@netscape.com
Date: 19 February 1999
|
1178 |
regress-6359.js |
File Name: regress-6359.js
Reference: ** replace with bugzilla URL or document reference **
Description: ** replace with description of test **
Author: ** replace with your e-mail address **
|
1833 |
regress-9141.js |
File Name: regress-9141.js
Reference: "http://bugzilla.mozilla.org/show_bug.cgi?id=9141";
Description:
From waldemar@netscape.com:
The following page crashes the system:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
</HEAD>
<BODY>
<SCRIPT type="text/javascript">
var s = "x";
for (var i = 0; i != 13; i++) s += s;
var a = /(?:xx|x)*[slash](s);
var b = /(xx|x)*[slash](s);
document.write("Results = " + a.length + "," + b.length);
</SCRIPT>
</BODY>
|
2244 |
regress-24712.js |
|
549 |
regress-28686.js |
|
491 |
regress-31316.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1647 |
regress-57572.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3451 |
regress-57631.js |
Date: 26 November 2000
SUMMARY: This test arose from Bugzilla bug 57631:
"RegExp with invalid pattern or invalid flag causes segfault"
Either error should throw an exception of type SyntaxError,
and we check to see that it does...
|
3102 |
regress-67773.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
4420 |
regress-72964.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2324 |
regress-76683.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2229 |
regress-78156.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2227 |
regress-87231.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2991 |
regress-98306.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1359 |
regress-100199.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
5736 |
regress-105972.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3341 |
regress-119909.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1552 |
regress-122076.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2275 |
regress-123437.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1903 |
regress-165353.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2219 |
regress-169497.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1843 |
regress-169534.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1484 |
regress-187133.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2580 |
regress-188206.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3937 |
regress-191479.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3817 |
regress-202564.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1908 |
regress-209067.js |
Date: 12 June 2003
SUMMARY: Testing complicated str.replace()
See http://bugzilla.mozilla.org/show_bug.cgi?id=209067
|
78185 |
regress-209919.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3607 |
regress-216591.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2278 |
regress-220367-001.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1633 |
regress-223273.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
5435 |
regress-223535.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2244 |
regress-224676.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
4289 |
regress-225289.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3092 |
regress-225343.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2242 |
regress-285219.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
640 |
regress-305064.js |
List from ES 3.1 Recommendation for String.trim (bug 305064) * |
1966 |
regress-309840.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
642 |
regress-312351.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
578 |
regress-334158.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
873 |
regress-346090.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
816 |
regress-367888.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
789 |
regress-375642.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
761 |
regress-375651.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
795 |
regress-375711.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1814 |
regress-375715-01-n.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
954 |
regress-375715-02.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
779 |
regress-375715-03.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
797 |
regress-375715-04.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
966 |
regress-429241.js |
|
2958 |
regress-436700.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
855 |
regress-465862.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2126 |
regress-576828.js |
|
229 |
regress-613820-1.js |
Back reference is actually a forwards reference. |
291 |
regress-613820-2.js |
Resetting of inner capture groups across quantified capturing parens. |
371 |
regress-613820-3.js |
Capture group reset to undefined during second iteration, so backreference doesn't see prior result. |
372 |
regress-617935.js |
Length of 32 |
974 |
regress-yarr-regexp.js |
Greedy capture, greedy capture zero. |
890 |
replace-compile-elembase.js |
|
468 |
replace-compile.js |
|
507 |
replace-global-unicode.js |
|
461 |
replace-local-tolength-lastindex.js |
|
536 |
replace-local-tolength-recompilation.js |
|
2180 |
replace-sticky-lastIndex.js |
|
644 |
replace-sticky.js |
|
650 |
replace-this.js |
|
383 |
replace-trace.js |
|
10017 |
replace-twoBytes.js |
|
1131 |
replace.js |
|
1052 |
search-this.js |
|
379 |
search-trace.js |
|
1641 |
search.js |
|
687 |
shell.js |
---
defines: [testRegExp, makeExpectedMatch, checkRegExpMatch]
allow_unused: True
--- |
7031 |
source.js |
|
1088 |
split-deleted-flags.js |
|
320 |
split-flags-on-obj.js |
|
598 |
split-invalid-lastIndex.js |
|
856 |
split-limit.js |
|
371 |
split-obj.js |
|
357 |
split-prop-access.js |
|
400 |
split-this.js |
|
377 |
split-trace.js |
|
6600 |
split.js |
|
871 |
sticky.js |
|
2995 |
test-emptyMatch.js |
|
540 |
test-trailing.js |
|
782 |
toString.js |
|
1514 |
unicode-back-reference.js |
|
1765 |
unicode-braced.js |
|
5447 |
unicode-character-class-escape.js |
|
2586 |
unicode-class-braced.js |
|
8473 |
unicode-class-empty.js |
|
672 |
unicode-class-ignoreCase.js |
|
1968 |
unicode-class-lead-trail.js |
|
4878 |
unicode-class-negated.js |
|
1986 |
unicode-class-range.js |
|
1447 |
unicode-class-raw.js |
|
1849 |
unicode-disallow-extended.js |
|
5863 |
unicode-everything.js |
|
1744 |
unicode-ignoreCase-ascii.js |
|
1312 |
unicode-ignoreCase-escape.js |
|
1703 |
unicode-ignoreCase-negated.js |
|
468 |
unicode-ignoreCase-word-boundary.js |
|
1612 |
unicode-ignoreCase.js |
Generated by make_unicode.py DO NOT MODIFY |
299894 |
unicode-index.js |
|
613 |
unicode-lead-trail.js |
|
6837 |
unicode-raw.js |
|
3907 |
yflag.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3329 |