Debian Codegraph @

rhino/testsrc/tests/js1_5/Regress/regress-3649-n.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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 var gTestfile = 'regress-3649-n.js';
7 //-----------------------------------------------------------------------------
8 // testcase from bug 2235 [email protected]
9 var BUGNUMBER = 3649;
10 var summary = 'gc-checking branch callback.';
11 var actual = 'error';
12 var expect = 'error';
13
14 DESCRIPTION = summary;
15 EXPECTED = expect;
16
17 printBugNumber(BUGNUMBER);
18 printStatus (summary);
19
20 expectExitCode(0);
21 expectExitCode(5);
22
23 var s = "";
24 s = "abcd";
25 for (i = 0; i < 100000; i++) {
26 s += s;
27 }
28
29 expect = 'No Crash';
30 actual = 'No Crash';
31
32 reportCompare(expect, actual, summary);