Debian Codegraph @

js/src/tests/non262/regress/regress-96526-002.js

raw
1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 /*
7 *
8 * Date: 04 Sep 2002
9 * SUMMARY: Just seeing that we don't crash when compiling this script -
10 *
11 * See http://bugzilla.mozilla.org/show_bug.cgi?id=96526
12 *
13 */
14 //-----------------------------------------------------------------------------
15 var BUGNUMBER = 96526;
16 printBugNumber(BUGNUMBER);
17 printStatus("Just seeing that we don't crash when compiling this script -");
18
19
20 /*
21 * Tail recursion test by Georgi Guninski
22 */
23 a="[\"b\"]";
24 s="g";
25 for(i=0;i<20000;i++)
26 s += a;
27 try {eval(s);}
28 catch (e) {};
29
30 reportCompare('No Crash', 'No Crash', '');