michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* michael@0: * michael@0: * Date: 04 Sep 2002 michael@0: * SUMMARY: Just seeing that we don't crash when compiling this script - michael@0: * michael@0: * See http://bugzilla.mozilla.org/show_bug.cgi?id=96526 michael@0: * michael@0: */ michael@0: //----------------------------------------------------------------------------- michael@0: printBugNumber(96526); michael@0: printStatus("Just seeing that we don't crash when compiling this script -"); michael@0: michael@0: michael@0: /* michael@0: * Tail recursion test by Georgi Guninski michael@0: */ michael@0: a="[\"b\"]"; michael@0: s="g"; michael@0: for(i=0;i<20000;i++) michael@0: s += a; michael@0: try {eval(s);} michael@0: catch (e) {}; michael@0: michael@0: reportCompare('No Crash', 'No Crash', '');