| browser.js |
|
0 |
- |
| regress-3649-n.js |
|
792 |
- |
| regress-31255.js |
Date: 09 November 2002
SUMMARY: JS should treat --> as a single-line comment indicator.
Whitespace may occur before the --> on the same line.
See http://bugzilla.mozilla.org/show_bug.cgi?id=31255
and http://bugzilla.mozilla.org/show_bug.cgi?id=179366 (Rhino version)
Note: <!--, --> are the HTML multi-line comment opener, closer.
JS already accepted <!-- as a single-line comment indicator.
|
1910 |
- |
| regress-39309.js |
Date: 30 Sep 2003
SUMMARY: Testing concatenation of string + number
See http://bugzilla.mozilla.org/show_bug.cgi?id=39309
|
1443 |
- |
| regress-57043.js |
Date: 03 December 2000
SUMMARY: This test arose from Bugzilla bug 57043:
"Negative integers as object properties: strange behavior!"
We check that object properties may be indexed by signed
numeric literals, as in assignments like obj[-1] = 'Hello'
NOTE: it should not matter whether we provide the literal with
quotes around it or not; e.g. these should be equivalent:
obj[-1] = 'Hello'
obj['-1'] = 'Hello'
|
2254 |
- |
| regress-58116.js |
|
1065 |
- |
| regress-68498-001.js |
Date: 15 Feb 2001
SUMMARY: var self = global JS object, outside any eval, is DontDelete
See http://bugzilla.mozilla.org/show_bug.cgi?id=68498
See http://bugzilla.mozilla.org/showattachment.cgi?attach_id=25251
Brendan:
"Demonstrate that variable statement outside any eval creates a
DontDelete property of the global object"
|
1276 |
- |
| regress-68498-002.js |
Date: 15 Feb 2001
SUMMARY: create a Deletable local variable using eval
See http://bugzilla.mozilla.org/show_bug.cgi?id=68498
See http://bugzilla.mozilla.org/showattachment.cgi?attach_id=25251
Brendan:
"Demonstrate the creation of a Deletable local variable using eval"
|
1662 |
- |
| regress-68498-003.js |
Date: 15 Feb 2001
SUMMARY: calling obj.eval(str)
See http://bugzilla.mozilla.org/show_bug.cgi?id=68498
See http://bugzilla.mozilla.org/showattachment.cgi?attach_id=25251
Brendan:
"Backward compatibility: support calling obj.eval(str), which evaluates
str using obj as the scope chain and variable object."
|
1676 |
- |
| regress-68498-004.js |
Date: 15 Feb 2001
SUMMARY: self.eval(str) inside a function
NOTE: 'self' is just a variable used to capture the global JS object.
See http://bugzilla.mozilla.org/show_bug.cgi?id=68498
See http://bugzilla.mozilla.org/showattachment.cgi?attach_id=25251
See http://bugzilla.mozilla.org/show_bug.cgi?id=69441 (!!!)
Brendan:
"ECMA-262 Edition 3, 10.1.3 requires a FunctionDeclaration parsed as part
of a Program by eval to create a property of eval's caller's variable object.
This test evals in the body of a with statement, whose scope chain *is*
relevant to the effect of parsing the FunctionDeclaration."
|
3170 |
- |
| regress-69607.js |
Date: 21 Feb 2001
See http://bugzilla.mozilla.org/show_bug.cgi?id=69607
SUMMARY: testing that we don't crash on trivial JavaScript
|
872 |
- |
| regress-71107.js |
Date: 06 Mar 2001
SUMMARY: Propagate heavyweightness back up the function-nesting
chain. See http://bugzilla.mozilla.org/show_bug.cgi?id=71107
|
1106 |
- |
| regress-76054.js |
Date: 16 May 2001
SUMMARY: Regression test for bug 76054
See http://bugzilla.mozilla.org/show_bug.cgi?id=76054
See http://bugzilla.mozilla.org/show_bug.cgi?id=78706
All String HTML methods should be LOWER case -
|
2509 |
- |
| regress-80981.js |
Date: 19 Nov 2001
SUMMARY: Regression test for bug 80981.
See http://bugzilla.mozilla.org/show_bug.cgi?id=80981
"Need extended jump bytecode to avoid "script too large" errors, etc."
Before this bug was fixed, the script below caused a run-time error because
its switch statement was too big. After the fix, SpiderMonkey should compile
this script just fine. The same fix has not been made in Rhino, however,
so it will continue to error there...
If you ever run this test against an old SpiderMonkey shell to see the bug,
you should run it interactively: i.e. launch the JS shell manually, and load
the test manually. Do not run it via the test driver jsDriverl.pl. Why? -
before the fix for bug 97646, the JS shell would error on this script, but
would NOT give non-0 exit code. As a result, the test driver couldn't detect
the error (it looks for non-0 exit codes).
|
197576 |
- |
| regress-82306.js |
Date: 23 May 2001
SUMMARY: Regression test for Bugzilla bug 82306
See http://bugzilla.mozilla.org/show_bug.cgi?id=82306
This test used to crash the JS engine. This was discovered
by Mike Epstein <epstein@tellme.com>
|
1302 |
- |
| regress-89443.js |
Date: 2001-07-12
SUMMARY: Regression test for bug 89443
See http://bugzilla.mozilla.org/show_bug.cgi?id=89443
Just seeing if this script will compile without stack overflow.
|
94329 |
- |
| regress-89474.js |
Date: 07 July 2001
SUMMARY: Regression test for Bugzilla bug 89474
See http://bugzilla.mozilla.org/show_bug.cgi?id=89474
This test used to crash the JS shell. This was discovered
by Darren DeRidder <darren.deridder@icarusproject.com
|
1137 |
- |
| regress-90445.js |
Date: 2001-07-12
SUMMARY: Regression test for bug 90445
See http://bugzilla.mozilla.org/show_bug.cgi?id=90445
Just seeing if this script will compile without crashing.
|
16331 |
- |
| regress-96128-n.js |
Date: 29 Aug 2001
SUMMARY: Negative test that JS infinite recursion protection works.
We expect the code here to fail (i.e. exit code 3), but NOT crash.
See http://bugzilla.mozilla.org/show_bug.cgi?id=96128
|
1473 |
- |
| regress-96526-001.js |
Date: 04 Sep 2002
SUMMARY: Just seeing that we don't crash when compiling this script -
See http://bugzilla.mozilla.org/show_bug.cgi?id=96526
|
52151 |
- |
| regress-96526-002.js |
Date: 04 Sep 2002
SUMMARY: Just seeing that we don't crash when compiling this script -
See http://bugzilla.mozilla.org/show_bug.cgi?id=96526
|
758 |
- |
| regress-96526-003.js |
Date: 04 Sep 2002
SUMMARY: Just seeing that we don't crash when compiling this script -
See http://bugzilla.mozilla.org/show_bug.cgi?id=96526
See http://bugzilla.mozilla.org/show_bug.cgi?id=133897
|
141554 |
- |
| regress-98901.js |
|
51922 |
- |
| regress-102725.js |
Date: 09 October 2001
SUMMARY: Regression test for Bugzilla bug 102725
See http://bugzilla.mozilla.org/show_bug.cgi?id=102725
"gcc -O2 problems converting numbers to strings"
|
1392 |
- |
| regress-104077.js |
Date: 10 October 2001
SUMMARY: Regression test for Bugzilla bug 104077
See http://bugzilla.mozilla.org/show_bug.cgi?id=104077
"JS crash: with/finally/return"
Also http://bugzilla.mozilla.org/show_bug.cgi?id=120571
"JS crash: try/catch/continue."
SpiderMonkey crashed on this code - it shouldn't.
NOTE: the finally-blocks below should execute even if their try-blocks
have return or throw statements in them:
------- Additional Comment #76 From Mike Shaver 2001-12-07 01:21 -------
finally trumps return, and all other control-flow constructs that cause
program execution to jump out of the try block: throw, break, etc. Once you
enter a try block, you will execute the finally block after leaving the try,
regardless of what happens to make you leave the try.
|
6932 |
- |
| regress-110286.js |
Date: 16 Nov 2001
SUMMARY: multiline comments containing "/*" should not be syntax errors
See http://bugzilla.mozilla.org/show_bug.cgi?id=110286
|
2051 |
- |
| regress-111557.js |
Date: 26 Nov 2001
SUMMARY: JS should not crash on this code
See http://bugzilla.mozilla.org/show_bug.cgi?id=111557
|
566757 |
- |
| regress-114491.js |
Date: 10 December 2001
SUMMARY: Regression test for bug 114491
See http://bugzilla.mozilla.org/show_bug.cgi?id=114491
Rhino crashed on this code. It should produce a syntax error, not a crash.
Using the () operator after a function STATEMENT is incorrect syntax.
Rhino correctly caught the error when there was no |if (true)|.
With the |if (true)|, however, Rhino crashed -
|
1659 |
- |
| regress-114493.js |
Date: 10 December 2001
SUMMARY: Regression test for bug 114493
See http://bugzilla.mozilla.org/show_bug.cgi?id=114493
Rhino crashed on this code. It should produce a syntax error, not a crash.
Note that "3"[5] === undefined, and Rhino correctly gave an error if you
tried to use the call operator on |undefined|:
js> undefined();
js: TypeError: undefined is not a function.
However, Rhino CRASHED if you tried to do "3"[5]().
Rhino would NOT crash if you tried "3"[0]() or "3"[5]. Only array indices
that were out of bounds, followed by the call operator, would crash.
|
1879 |
- |
| regress-116228.js |
|
629 |
- |
| regress-118849.js |
Date: 08 Jan 2002
SUMMARY: Just testing that we don't crash on this code
See http://bugzilla.mozilla.org/show_bug.cgi?id=118849
http://developer.netscape.com:80/docs/manuals/js/core/jsref/function.htm
The Function constructor:
Function ([arg1[, arg2[, ... argN]],] functionBody)
Parameters
arg1, arg2, ... argN
(Optional) Names to be used by the function as formal argument names.
Each must be a string that corresponds to a valid JavaScript identifier.
functionBody
A string containing JS statements comprising the function definition.
|
3345 |
- |
| regress-131510-001.js |
Date: 16 Mar 2002
SUMMARY: Shouldn't crash if define |var arguments| inside a function
See http://bugzilla.mozilla.org/show_bug.cgi?id=131510
|
989 |
- |
| regress-139316.js |
|
1116 |
- |
| regress-140852.js |
|
814 |
- |
| regress-140974.js |
Date: 04 May 2002
SUMMARY: |if (false) {var x;} should create the variable x
See http://bugzilla.mozilla.org/show_bug.cgi?id=140974
|
2270 |
- |
| regress-146596.js |
Date: 18 Jun 2002
SUMMARY: Shouldn't crash when catch parameter is "hidden" by varX
See http://bugzilla.mozilla.org/show_bug.cgi?id=146596
|
2414 |
- |
| regress-152646.js |
Date: 08 July 2002
SUMMARY: Testing expressions with large numbers of parentheses
See http://bugzilla.mozilla.org/show_bug.cgi?id=152646
|
2087 |
- |
| regress-155081-2.js |
|
619453 |
- |
| regress-155081.js |
|
654524 |
- |
| regress-156354.js |
Date: 16 September 2002
SUMMARY: Testing propertyIsEnumerable() on nonexistent property
See http://bugzilla.mozilla.org/show_bug.cgi?id=156354
|
2007 |
- |
| regress-159334.js |
Date: 31 Oct 2002
SUMMARY: Testing script with at least 64K of different string literals
See http://bugzilla.mozilla.org/show_bug.cgi?id=159334
Testing that script engine can handle scripts with at least 64K of different
string literals. The following will evaluate, via eval(), a script like this:
f('0')
f('1')
...
f('N - 1')
where N is 0xFFFE
|
2052 |
- |
| regress-165201.js |
Define function returning a regular expression literal
and override RegExp.prototype.toSource
|
1229 |
- |
| regress-167328.js |
|
714 |
- |
| regress-167658.js |
|
785 |
- |
| regress-168347.js |
Date: 13 Sep 2002
SUMMARY: Testing F.toString()
See http://bugzilla.mozilla.org/show_bug.cgi?id=168347
|
4155 |
- |
| regress-170193.js |
Date: 22 Sep 2002
SUMMARY: adding prop after middle-delete of function w duplicate formal args
See http://bugzilla.mozilla.org/show_bug.cgi?id=170193
|
1555 |
- |
| regress-172699.js |
Date: 07 Oct 2002
SUMMARY: UTF-8 decoder should not accept overlong sequences
See http://bugzilla.mozilla.org/show_bug.cgi?id=172699
|
1490 |
- |
| regress-174709.js |
code removed until replacement can be created. |
1517 |
- |
| regress-176125.js |
|
895 |
- |
| regress-179524.js |
Date: 11 Nov 2002
SUMMARY: JS shouldn't crash on extraneous args to str.match(), etc.
See http://bugzilla.mozilla.org/show_bug.cgi?id=179524
Note that when testing str.replace(), we have to be careful if the first
argument provided to str.replace() is not a regexp object. ECMA-262 says
it is NOT converted to one, unlike the case for str.match(), str.search().
See http://bugzilla.mozilla.org/show_bug.cgi?id=83293#c21. This means
we have to be careful how we test meta-characters in the first argument
to str.replace(), if that argument is a string -
|
6762 |
- |
| regress-185165.js |
Date: 13 Dec 2002
SUMMARY: Decompilation of "\\" should give "\\"
See http://bugzilla.mozilla.org/show_bug.cgi?id=185165
|
1404 |
- |
| regress-191633.js |
Date: 03 February 2003
SUMMARY: Testing script with huge number of comments
See http://bugzilla.mozilla.org/show_bug.cgi?id=191633
|
1541 |
- |
| regress-191668.js |
Date: 03 February 2003
SUMMARY: Testing script containing <!- at internal buffer boundary.
JS parser must look for HTML comment-opener <!--, but mustn't disallow <!-
See http://bugzilla.mozilla.org/show_bug.cgi?id=191668
|
1443 |
- |
| regress-192414.js |
Date: 08 February 2003
SUMMARY: Parser recursion should check stack overflow
See http://bugzilla.mozilla.org/show_bug.cgi?id=192414
|
1931 |
- |
| regress-193418.js |
Date: 17 February 2003
SUMMARY: Testing empty blocks
See http://bugzilla.mozilla.org/show_bug.cgi?id=193418
|
1254 |
- |
| regress-203278-1.js |
|
760 |
- |
| regress-203402.js |
Date: 28 April 2003
SUMMARY: Testing the ternary query operator
See http://bugzilla.mozilla.org/show_bug.cgi?id=203402
|
1271 |
- |
| regress-203841.js |
Date: 29 April 2003
SUMMARY: Testing merged if-clauses
See http://bugzilla.mozilla.org/show_bug.cgi?id=203841
|
2137 |
- |
| regress-204210.js |
Date: 29 April 2003
SUMMARY: eval() is not a constructor, but don't crash on |new eval();|
See http://bugzilla.mozilla.org/show_bug.cgi?id=204210
|
1754 |
- |
| regress-210682.js |
Date: 02 July 2003
SUMMARY: testing line ending with |continue| and only terminated by a CR
See http://bugzilla.mozilla.org/show_bug.cgi?id=210682
|
1335 |
- |
| regress-211590.js |
|
998 |
- |
| regress-214761.js |
|
1099 |
- |
| regress-216320.js |
Date: 09 September 2003
SUMMARY: Just seeing we don't crash on this code
See http://bugzilla.mozilla.org/show_bug.cgi?id=216320
|
24509 |
- |
| regress-224956.js |
Date: 08 November 2003
SUMMARY: |expr()| should cause a TypeError if |typeof expr| != 'function'
See http://bugzilla.mozilla.org/show_bug.cgi?id=224956
|
4683 |
- |
| regress-229006.js |
|
66318 |
- |
| regress-230216-1.js |
|
990 |
- |
| regress-230216-2.js |
|
1019 |
- |
| regress-230216-3.js |
|
1089 |
- |
| regress-233483-2.js |
|
1490 |
- |
| regress-233483.js |
|
1137 |
- |
| regress-234389.js |
|
888 |
- |
| regress-238881.js |
|
632 |
- |
| regress-238945.js |
|
599 |
- |
| regress-243174.js |
|
4704 |
- |
| regress-243389-n.js |
|
734 |
- |
| regress-243869.js |
|
778 |
- |
| regress-244470.js |
|
43673 |
- |
| regress-244619.js |
|
670 |
- |
| regress-245113.js |
|
1240 |
- |
| regress-245308.js |
|
611 |
- |
| regress-246911.js |
|
625 |
- |
| regress-246964.js |
|
3685 |
- |
| regress-247179.js |
|
584 |
- |
| regress-248444.js |
|
870 |
- |
| regress-252892.js |
|
1530 |
- |
| regress-254296.js |
|
748 |
- |
| regress-254974.js |
remove function eek and the code will change its behavior |
1126 |
- |
| regress-256501.js |
|
881 |
- |
| regress-256617.js |
|
761 |
- |
| regress-256798.js |
|
1039 |
- |
| regress-259935.js |
|
841 |
- |
| regress-260541.js |
|
648 |
- |
| regress-261886.js |
|
616 |
- |
| regress-261887.js |
|
882 |
- |
| regress-271716-n.js |
|
672 |
- |
| regress-274035.js |
|
964 |
- |
| regress-274888.js |
|
66396 |
- |
| regress-275378.js |
|
963 |
- |
| regress-276103.js |
|
750 |
- |
| regress-278873.js |
|
680 |
- |
| regress-280769-1.js |
|
960 |
- |
| regress-280769-2.js |
|
1014 |
- |
| regress-280769-3.js |
|
976 |
- |
| regress-280769-4.js |
|
1155 |
- |
| regress-280769-5.js |
|
910 |
- |
| regress-280769.js |
|
33775 |
- |
| regress-281606.js |
|
944 |
- |
| regress-281930.js |
|
601 |
- |
| regress-283477.js |
|
814 |
- |
| regress-288688.js |
|
2904 |
- |
| regress-289094.js |
|
740 |
- |
| regress-290575.js |
|
1335 |
- |
| regress-290656.js |
|
694 |
- |
| regress-294191.js |
|
595 |
- |
| regress-294195-01.js |
|
939 |
- |
| regress-294195-02.js |
|
595 |
- |
| regress-294302.js |
|
619 |
- |
| regress-295052.js |
|
736 |
- |
| regress-295666.js |
|
565 |
- |
| regress-299209.js |
|
614 |
- |
| regress-299641.js |
|
624 |
- |
| regress-303213.js |
|
1178 |
- |
| regress-306633.js |
|
616 |
- |
| regress-308085.js |
|
35015 |
- |
| regress-310295.js |
|
631 |
- |
| regress-310607.js |
|
746 |
- |
| regress-310993.js |
|
590 |
- |
| regress-311071.js |
|
579 |
- |
| regress-311157-01.js |
|
533 |
- |
| regress-311157-02.js |
|
538 |
- |
| regress-311629.js |
|
120538 |
- |
| regress-312588.js |
|
648 |
- |
| regress-314401.js |
|
987 |
- |
| regress-315990.js |
|
864 |
- |
| regress-317476.js |
|
688 |
- |
| regress-317714-01.js |
|
561 |
- |
| regress-317714-02.js |
|
541 |
- |
| regress-319384.js |
|
667 |
- |
| regress-319391.js |
|
784 |
- |
| regress-320032.js |
|
695 |
- |
| regress-320172.js |
|
594 |
- |
| regress-321757.js |
|
1466 |
- |
| regress-321874.js |
|
3813 |
- |
| regress-321971.js |
|
618 |
- |
| regress-326467.js |
|
560 |
- |
| regress-328012.js |
|
710 |
- |
| regress-328664.js |
|
726 |
- |
| regress-329383.js |
|
1555 |
- |
| regress-329530.js |
|
1008 |
- |
| regress-330352.js |
|
948 |
- |
| regress-330951.js |
|
543 |
- |
| regress-334807-01.js |
|
663 |
- |
| regress-334807-02.js |
|
717 |
- |
| regress-334807-03.js |
|
664 |
- |
| regress-334807-04.js |
|
718 |
- |
| regress-334807-05.js |
|
736 |
- |
| regress-334807-06.js |
|
789 |
- |
| regress-336100.js |
|
730 |
- |
| regress-338307.js |
|
642 |
- |
| regress-340369.js |
|
538 |
- |
| regress-341360.js |
|
1090 |
- |
| regress-343713.js |
|
659 |
- |
| regress-343966.js |
|
836 |
- |
| regress-344711-n.js |
|
952 |
- |
| regress-344804.js |
|
798 |
- |
| regress-344959.js |
|
967 |
- |
| regress-346237.js |
|
728 |
- |
| regress-346801.js |
|
1722 |
- |
| regress-349482-01.js |
|
799 |
- |
| regress-349482-02.js |
|
797 |
- |
| regress-349592.js |
|
773 |
- |
| regress-350253.js |
|
742 |
- |
| regress-350268.js |
|
1452 |
- |
| regress-350312.js |
|
1333 |
- |
| regress-350415.js |
|
771 |
- |
| regress-350529.js |
|
737 |
- |
| regress-351116.js |
|
800 |
- |
| regress-351515.js |
|
842 |
- |
| regress-351795.js |
|
826 |
- |
| regress-352208.js |
\n")';
var actual = 'No Crash';
var expect = 'No Crash';
//-----------------------------------------------------------------------------
test();
//-----------------------------------------------------------------------------
function test()
{
printBugNumber(BUGNUMBER);
printStatus (summary);
expect = 'SyntaxError';
try
{
eval('new Function("setter/*\n");');
}
catch(ex)
{
actual = ex.constructor.name;
}
reportCompare(expect, actual, 'new Function("setter/*\n");');
try
{
eval('new Function("setter/*\n |
1042 |
- |
| regress-352604.js |
|
752 |
- |
| regress-352640-01.js |
|
800 |
- |
| regress-352640-02.js |
|
800 |
- |
| regress-352640-04.js |
|
804 |
- |
| regress-353078.js |
|
819 |
- |
| regress-353079.js |
|
814 |
- |
| regress-355023.js |
|
827 |
- |
| regress-355556.js |
|
849 |
- |
| regress-355569.js |
mov eax, 0xdeadfeed; mov ebx, eax; mov ecx, eax; mov edx, eax; int3 |
4410 |
- |
| regress-355829-01.js |
|
746 |
- |
| regress-355829-02.js |
|
1150 |
- |
| regress-355829-03.js |
|
826 |
- |
| regress-355832-01.js |
|
736 |
- |
| regress-355832-02.js |
|
762 |
- |
| regress-356250.js |
|
1125 |
- |
| regress-356693.js |
|
822 |
- |
| regress-360969-01.js |
|
998 |
- |
| regress-360969-02.js |
|
784 |
- |
| regress-360969-03.js |
|
1023 |
- |
| regress-360969-04.js |
|
809 |
- |
| regress-360969-05.js |
|
1023 |
- |
| regress-360969-06.js |
|
808 |
- |
| regress-363040-01.js |
|
2938 |
- |
| regress-363040-02.js |
|
1873 |
- |
| regress-366122.js |
|
1045 |
- |
| regress-366468.js |
|
806 |
- |
| regress-366601.js |
|
1034 |
- |
| regress-367561-01.js |
|
982 |
- |
| regress-367561-03.js |
|
946 |
- |
| regress-369666-01.js |
|
1106 |
- |
| regress-369666-02.js |
|
1160 |
- |
| regress-372364.js |
|
1076 |
- |
| regress-373827-01.js |
|
755 |
- |
| regress-373827-02.js |
|
796 |
- |
| regress-379245.js |
|
813 |
- |
| regress-379442.js |
|
733 |
- |
| regress-379483.js |
|
764 |
- |
| regress-383674.js |
|
1387 |
- |
| regress-385393-04.js |
|
760 |
- |
| regress-387951-01.js |
|
730 |
- |
| regress-387951-02.js |
|
753 |
- |
| regress-387951-03.js |
|
740 |
- |
| regress-396684.js |
The test case builds a function containing f(0,0,...,0,Math.atan2()) with
enough zero arguments to exhaust the current stack arena fully. Thus, when
Math.atan2 is loaded into the stack, there would be no room for the extra 2
args required by Math.atan2 and args will be allocated from the new arena.
|
1318 |
- |
| regress-398085-01.js |
|
37428 |
- |
| regress-398085-02.js |
|
36663 |
- |
| regress-398609.js |
|
878 |
- |
| regress-404734.js |
|
774 |
- |
| regress-404755.js |
|
1140 |
- |
| regress-406769.js |
|
1911 |
- |
| regress-407024.js |
|
711 |
- |
| regress-407727-01.js |
|
518 |
- |
| regress-407727-02.js |
|
527 |
- |
| regress-410649.js |
|
1028 |
- |
| regress-414553.js |
|
711 |
- |
| regress-416737-01.js |
|
740 |
- |
| regress-416737-02.js |
|
790 |
- |
| regress-417893.js |
|
968 |
- |
| regress-418540.js |
|
1288 |
- |
| regress-418641.js |
|
2441 |
- |
| regress-419018.js |
|
1232 |
- |
| regress-419152.js |
|
1302 |
- |
| regress-419803.js |
|
759 |
- |
| regress-420087.js |
|
802 |
- |
| regress-420610.js |
|
538 |
- |
| regress-420919.js |
|
864 |
- |
| regress-422348.js |
|
932 |
- |
| regress-424311.js |
|
836 |
- |
| regress-425360.js |
|
867 |
- |
| regress-426827.js |
|
763 |
- |
| regress-427798.js |
|
1265 |
- |
| regress-433279-01.js |
|
754 |
- |
| regress-433279-02.js |
|
784 |
- |
| regress-433279-03.js |
|
805 |
- |
| regress-438415-01.js |
|
714 |
- |
| regress-438415-02.js |
|
799 |
- |
| regress-440926.js |
|
935 |
- |
| regress-442333-01.js |
|
831 |
- |
| regress-450369.js |
json2.js
2007-11-06
Public Domain
See http://www.JSON.org/js.html
This file creates a global JSON object containing two methods:
JSON.stringify(value, whitelist)
value any JavaScript value, usually an object or array.
whitelist an optional that determines how object values are
stringified.
This method produces a JSON text from a JavaScript value.
There are three possible ways to stringify an object, depending
on the optional whitelist parameter.
If an object has a toJSON method, then the toJSON() method will be
called. The value returned from the toJSON method will be
stringified.
Otherwise, if the optional whitelist parameter is an array, then
the elements of the array will be used to select members of the
object for stringification.
Otherwise, if there is no whitelist parameter, then all of the
members of the object will be stringified.
Values that do not have JSON representaions, such as undefined or
functions, will not be serialized. Such values in objects will be
dropped, in arrays will be replaced with null. JSON.stringify()
returns undefined. Dates will be stringified as quoted ISO dates.
Example:
var text = JSON.stringify(['e', {pluribus: 'unum'}]);
// text is '["e",{"pluribus":"unum"}]'
JSON.parse(text, filter)
This method parses a JSON text to produce an object or
array. It can throw a SyntaxError exception.
The optional filter parameter is a function that can filter and
transform the results. It receives each of the keys and values, and
its return value is used instead of the original value. If it
returns what it received, then structure is not modified. If it
returns undefined then the member is deleted.
Example:
// Parse the text. If a key contains the string 'date' then
// convert the value to a date.
myData = JSON.parse(text, function (key, value) {
return key.indexOf('date') >= 0 ? new Date(value) : value;
});
This is a reference implementation. You are free to copy, modify, or
redistribute.
Use your own copy. It is extremely unwise to load third party
code into your pages.
|
10515 |
- |
| regress-450833.js |
|
919 |
- |
| regress-451322.js |
|
903 |
- |
| regress-451884.js |
|
763 |
- |
| regress-451946.js |
|
850 |
- |
| regress-452008.js |
|
4216 |
- |
| regress-452170.js |
|
776 |
- |
| regress-452333.js |
|
778 |
- |
| regress-452336.js |
|
771 |
- |
| regress-452346.js |
|
737 |
- |
| regress-452491.js |
|
760 |
- |
| regress-452495.js |
|
586 |
- |
| regress-452498-006.js |
|
967 |
- |
| regress-452498-027.js |
|
834 |
- |
| regress-452498-030.js |
|
767 |
- |
| regress-452498-040.js |
|
842 |
- |
| regress-452498-050.js |
|
957 |
- |
| regress-452498-052-a.js |
|
999 |
- |
| regress-452498-058.js |
|
893 |
- |
| regress-452498-062.js |
|
972 |
- |
| regress-452498-063.js |
|
816 |
- |
| regress-452498-071.js |
|
801 |
- |
| regress-452498-072.js |
|
828 |
- |
| regress-452498-073.js |
|
865 |
- |
| regress-452498-074.js |
|
805 |
- |
| regress-452498-075.js |
|
863 |
- |
| regress-452498-076.js |
|
798 |
- |
| regress-452498-082.js |
|
1374 |
- |
| regress-452498-092.js |
|
1053 |
- |
| regress-452498-102.js |
|
1436 |
- |
| regress-452498-104.js |
|
834 |
- |
| regress-452498-111.js |
|
856 |
- |
| regress-452498-112.js |
|
949 |
- |
| regress-452498-114-a.js |
|
986 |
- |
| regress-452498-114.js |
|
1296 |
- |
| regress-452498-116.js |
|
845 |
- |
| regress-452498-117.js |
|
1917 |
- |
| regress-452498-118.js |
|
876 |
- |
| regress-452498-121.js |
|
844 |
- |
| regress-452498-123.js |
|
1423 |
- |
| regress-452498-129.js |
|
1115 |
- |
| regress-452498-131.js |
|
1107 |
- |
| regress-452498-135.js |
|
1102 |
- |
| regress-452498-155.js |
|
752 |
- |
| regress-452498-160.js |
|
872 |
- |
| regress-452498-168-1.js |
|
887 |
- |
| regress-452498-176.js |
|
853 |
- |
| regress-452498-181.js |
|
799 |
- |
| regress-452498-185.js |
|
887 |
- |
| regress-452498-187.js |
|
829 |
- |
| regress-452498-191.js |
|
1024 |
- |
| regress-452498-192.js |
|
782 |
- |
| regress-452573-01.js |
|
772 |
- |
| regress-452573-02.js |
|
761 |
- |
| regress-452703.js |
|
568 |
- |
| regress-452713.js |
|
787 |
- |
| regress-452724-01.js |
|
779 |
- |
| regress-452724-02.js |
|
757 |
- |
| regress-452742-01.js |
|
1120 |
- |
| regress-452742-02.js |
|
1190 |
- |
| regress-452853.js |
|
770 |
- |
| regress-452884-01.js |
|
753 |
- |
| regress-452884-02.js |
|
753 |
- |
| regress-452960.js |
|
790 |
- |
| regress-453024.js |
|
994 |
- |
| regress-453049.js |
|
784 |
- |
| regress-453051.js |
|
842 |
- |
| regress-453173.js |
|
773 |
- |
| regress-453397.js |
|
1108 |
- |
| regress-453701.js |
|
795 |
- |
| regress-453747.js |
|
908 |
- |
| regress-454682.js |
|
789 |
- |
| regress-454981.js |
|
862 |
- |
| regress-455605.js |
|
795 |
- |
| regress-455748.js |
|
780 |
- |
| regress-455758-01.js |
|
788 |
- |
| regress-455758-02.js |
|
762 |
- |
| regress-455775.js |
|
802 |
- |
| regress-455981-01.js |
|
894 |
- |
| regress-455981-02.js |
|
910 |
- |
| regress-456470.js |
|
840 |
- |
| regress-456477-01.js |
|
801 |
- |
| regress-456477-02.js |
|
813 |
- |
| regress-456494.js |
|
820 |
- |
| regress-456540-01.js |
|
799 |
- |
| regress-456540-02.js |
|
811 |
- |
| regress-457065-01.js |
|
831 |
- |
| regress-457065-02.js |
|
803 |
- |
| regress-457065-03.js |
|
803 |
- |
| regress-457456.js |
|
769 |
- |
| regress-457778.js |
|
769 |
- |
| regress-458076.js |
|
771 |
- |
| regress-458851.js |
|
695 |
- |
| regress-459185.js |
|
773 |
- |
| regress-459186.js |
|
766 |
- |
| regress-459389.js |
|
2823 |
- |
| regress-459628.js |
|
815 |
- |
| regress-459990.js |
|
753 |
- |
| regress-460024.js |
|
915 |
- |
| regress-460117.js |
|
1138 |
- |
| regress-460886-01.js |
|
731 |
- |
| regress-460886-02.js |
|
740 |
- |
| regress-461307.js |
|
729 |
- |
| regress-461723.js |
|
755 |
- |
| regress-462071.js |
|
764 |
- |
| regress-462282.js |
|
776 |
- |
| regress-462292.js |
|
769 |
- |
| regress-462388.js |
|
765 |
- |
| regress-462407.js |
|
595 |
- |
| regress-462879.js |
|
780 |
- |
| regress-462989.js |
|
677 |
- |
| regress-463259.js |
|
622 |
- |
| regress-463782.js |
|
1638 |
- |
| regress-464096.js |
|
882 |
- |
| regress-464334.js |
|
839 |
- |
| regress-464403.js |
|
780 |
- |
| regress-464418.js |
|
1104 |
- |
| regress-464862.js |
|
3198 |
- |
| regress-464978.js |
|
725 |
- |
| regress-465013.js |
ka[la] |
992 |
- |
| regress-465132.js |
|
1043 |
- |
| regress-465133.js |
|
773 |
- |
| regress-465135.js |
|
763 |
- |
| regress-465136.js |
|
776 |
- |
| regress-465137.js |
|
803 |
- |
| regress-465220.js |
|
1017 |
- |
| regress-465234.js |
|
761 |
- |
| regress-465236.js |
|
757 |
- |
| regress-465239.js |
|
768 |
- |
| regress-465241.js |
|
761 |
- |
| regress-465249.js |
|
773 |
- |
| regress-465261.js |
|
790 |
- |
| regress-465262.js |
|
777 |
- |
| regress-465272.js |
|
750 |
- |
| regress-465308.js |
|
848 |
- |
| regress-465347.js |
|
1139 |
- |
| regress-465366.js |
|
826 |
- |
| regress-465424.js |
|
784 |
- |
| regress-465454.js |
|
836 |
- |
| regress-465460-01.js |
|
806 |
- |
| regress-465460-02.js |
|
734 |
- |
| regress-465460-03.js |
|
723 |
- |
| regress-465460-04.js |
|
738 |
- |
| regress-465460-05.js |
|
733 |
- |
| regress-465460-06.js |
|
747 |
- |
| regress-465460-07.js |
|
823 |
- |
| regress-465460-08.js |
|
744 |
- |
| regress-465460-10.js |
|
734 |
- |
| regress-465460-11.js |
|
762 |
- |
| regress-465460-12.js |
|
743 |
- |
| regress-465483.js |
|
820 |
- |
| regress-465484.js |
|
818 |
- |
| regress-465567-01.js |
|
642 |
- |
| regress-465567-02.js |
|
610 |
- |
| regress-465686.js |
|
884 |
- |
| regress-465688.js |
|
749 |
- |
| regress-466128.js |
|
812 |
- |
| regress-466262.js |
|
766 |
- |
| regress-466747.js |
|
1393 |
- |
| regress-466787.js |
|
839 |
- |
| regress-466905-01.js |
|
812 |
- |
| regress-466905-02.js |
|
783 |
- |
| regress-467495-01.js |
|
755 |
- |
| regress-467495-02.js |
|
789 |
- |
| regress-467495-03.js |
|
995 |
- |
| regress-467495-04.js |
|
835 |
- |
| regress-467495-05.js |
|
785 |
- |
| regress-467495-06.js |
|
951 |
- |
| regress-468711.js |
|
749 |
- |
| regress-469044.js |
|
1541 |
- |
| regress-469239-01.js |
|
841 |
- |
| regress-469239-02.js |
|
814 |
- |
| regress-469547.js |
|
778 |
- |
| regress-469937.js |
|
745 |
- |
| regress-470061.js |
|
910 |
- |
| regress-470187-01.js |
|
772 |
- |
| regress-470187-02.js |
|
750 |
- |
| regress-470223.js |
|
891 |
- |
| regress-470388-01.js |
|
773 |
- |
| regress-471660.js |
|
841 |
- |
| regress-472533.js |
|
742 |
- |
| regress-474769.js |
|
817 |
- |
| regress-474771-01.js |
|
931 |
- |
| regress-474771.js |
|
995 |
- |
| regress-474935.js |
|
916 |
- |
| regress-475469.js |
|
958 |
- |
| regress-475645-01.js |
|
1064 |
- |
| regress-475645-02.js |
|
1154 |
- |
| regress-476049.js |
|
1099 |
- |
| regress-476192.js |
|
926 |
- |
| regress-476655.js |
|
886 |
- |
| regress-477053.js |
|
458 |
- |
| regress-477234.js |
|
1046 |
- |
| regress-477733.js |
|
841 |
- |
| regress-477758.js |
|
1149 |
- |
| regress-478205.js |
|
724 |
- |
| regress-478314.js |
|
778 |
- |
| regress-479353-01.js |
|
636 |
- |
| regress-479353.js |
|
742 |
- |
| regress-479430-01.js |
|
909 |
- |
| regress-479430-02.js |
|
967 |
- |
| regress-479430-03.js |
|
978 |
- |
| regress-479430-04.js |
|
983 |
- |
| regress-479430-05.js |
|
954 |
- |
| regress-479740.js |
|
870 |
- |
| regress-480147.js |
|
778 |
- |
| regress-480244.js |
|
1004 |
- |
| regress-481436.js |
|
924 |
- |
| regress-481800.js |
|
804 |
- |
| regress-482421.js |
|
644 |
- |
| regress-482783.js |
|
753 |
- |
| regress-483103.js |
|
766 |
- |
| regress-483749.js |
|
627 |
- |
| regress-495773.js |
|
1103 |
- |
| regress-495907.js |
|
977 |
- |
| regress-496922.js |
|
988 |
- |
| regress-501124.js |
|
1074 |
- |
| regress-504078.js |
|
1075 |
- |
| regress-507053.js |
|
1015 |
- |
| regress-507295.js |
|
988 |
- |
| regress-509354.js |
|
1445 |
- |
| regress-511859.js |
Date: 22 Aug 2009
SUMMARY: Utf8ToOneUcs4Char in jsstr.cpp ,overlong UTF-8 seqence detection problem
See http://bugzilla.mozilla.org/show_bug.cgi?id=511859
|
3218 |
- |
| regress-522123.js |
|
798 |
- |
| regress-524743.js |
|
522 |
- |
| regress-532491.js |
|
859 |
- |
| regress-555246-0.js |
|
323 |
- |
| regress-555246-1.js |
|
429 |
- |
| regress-563210.js |
|
575 |
- |
| regress-566549.js |
|
475 |
- |
| regress-585257.js |
|
313 |
- |
| regress-591846.js |
|
906 |
- |
| regress-595230-2.js |
|
296 |
- |
| regress-607799.js |
|
88 |
- |
| regress-607863.js |
|
479 |
- |
| regress-609617.js |
NB: JSOP_SETCALL throws only JSMSG_ASSIGN_TO_CALL, it does not
specialize for ++ and -- as the compiler's error reporting does. See
the next section's forked assertEq code.
|
2236 |
- |
| regress-614714.js |
|
365 |
- |
| regress-620376-1.js |
|
506 |
- |
| regress-698028-2.js |
|
1763 |
- |
| regress-698028-3.js |
|
438 |
- |
| regress-1456512-greyreadbarrier.js |
|
233 |
- |
| regress-1456512.js |
|
564 |
- |
| regress-1456518-workergray.js |
|
209 |
- |
| regress-1463421.js |
|
699 |
- |
| regress-1466387-worker-grayroot.js |
|
811 |
- |
| regress-1476383-calloc-exc.js |
|
317 |
- |
| regress-1572988-nurseryRegisterCheck.js |
|
1063 |
- |
| regress-1707974.js |
|
629 |
- |
| regress-1714532-oom-gc-yield.js |
|
245 |
- |
| regress-1918438.js |
|
320 |
- |
| shell.js |
|
0 |
- |