Debian Codegraph @

js/src/tests/non262/regress/regress-3649-n.js

raw
1 // |reftest| random -- may cause random oom related errors.
2 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
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
16 printBugNumber(BUGNUMBER);
17 printStatus (summary);
18
19 expectExitCode(0);
20 expectExitCode(3);
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);